@kl1/contracts 1.3.28 → 1.3.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) 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 +43 -1585
  12. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/channel/schema.d.ts +0 -44
  14. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  15. package/dist/api-contracts/src/channel/validation.d.ts +0 -65
  16. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  17. package/dist/api-contracts/src/chat/index.d.ts +2172 -3246
  18. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/chat/schema.d.ts +463 -712
  20. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  21. package/dist/api-contracts/src/chat/validation.d.ts +392 -778
  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 +39032 -45496
  26. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  27. package/dist/api-contracts/src/cx-log/index.d.ts +65 -115
  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 -123
  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 -962
  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/export/index.d.ts +0 -2
  39. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/extension/index.d.ts +7 -7
  41. package/dist/api-contracts/src/facebook-feed/index.d.ts +273 -781
  42. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -37
  44. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  45. package/dist/api-contracts/src/facebook-feed/validation.d.ts +0 -26
  46. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  47. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  48. package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
  49. package/dist/api-contracts/src/index.d.ts +0 -2
  50. package/dist/api-contracts/src/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/instagram/index.d.ts +261 -659
  52. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/line/index.d.ts +268 -622
  54. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/line/validation.d.ts +7 -49
  56. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  57. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
  58. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  59. package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
  60. package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
  61. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
  62. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
  63. package/dist/api-contracts/src/messenger/index.d.ts +261 -659
  64. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  65. package/dist/api-contracts/src/messenger/validation.d.ts +0 -26
  66. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  67. package/dist/api-contracts/src/notification/index.d.ts +4 -4
  68. package/dist/api-contracts/src/permission/index.d.ts +1 -1
  69. package/dist/api-contracts/src/presence-status/index.d.ts +55 -127
  70. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/presence-status/schema.d.ts +10 -16
  72. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  73. package/dist/api-contracts/src/presence-status/validation.d.ts +12 -30
  74. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  75. package/dist/api-contracts/src/role/index.d.ts +5 -5
  76. package/dist/api-contracts/src/sms/index.d.ts +7 -185
  77. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/snippet/index.d.ts +8 -8
  79. package/dist/api-contracts/src/subscription/index.d.ts +5 -5
  80. package/dist/api-contracts/src/tag/index.d.ts +4 -4
  81. package/dist/api-contracts/src/telegram/index.d.ts +263 -549
  82. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +441 -62
  84. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  85. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +13 -25
  86. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  87. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  88. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  89. package/dist/api-contracts/src/telephony-cdr/index.d.ts +14 -14
  90. package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
  91. package/dist/api-contracts/src/ticket/index.d.ts +660 -660
  92. package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
  93. package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
  94. package/dist/api-contracts/src/upload/index.d.ts +2 -2
  95. package/dist/api-contracts/src/user/index.d.ts +7 -7
  96. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +18 -42
  97. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  98. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -50
  99. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  100. package/dist/api-contracts/src/viber/index.d.ts +263 -549
  101. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  102. package/dist/api-contracts/src/webchat/index.d.ts +261 -547
  103. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/whatsapp/index.d.ts +261 -599
  105. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  106. package/dist/api-contracts/src/workflow-rule/index.d.ts +277 -411
  107. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  108. package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
  109. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
  110. package/dist/index.js +459 -820
  111. package/dist/index.js.map +1 -1
  112. package/dist/index.mjs +459 -818
  113. package/dist/index.mjs.map +1 -1
  114. package/package.json +1 -1
  115. package/dist/api-contracts/src/export/validation.d.ts +0 -3
  116. package/dist/api-contracts/src/export/validation.d.ts.map +0 -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", "referral", "csat", "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;
@@ -2621,16 +2624,6 @@ export declare const RoomSchema: z.ZodObject<{
2621
2624
  mobileNumber: string;
2622
2625
  apiSecret: string;
2623
2626
  }>>;
2624
- line: z.ZodOptional<z.ZodObject<{
2625
- channelId: z.ZodString;
2626
- channelSecret: z.ZodString;
2627
- }, "strip", z.ZodTypeAny, {
2628
- channelId: string;
2629
- channelSecret: string;
2630
- }, {
2631
- channelId: string;
2632
- channelSecret: string;
2633
- }>>;
2634
2627
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2635
2628
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2636
2629
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -2661,10 +2654,6 @@ export declare const RoomSchema: z.ZodObject<{
2661
2654
  mobileNumber: string;
2662
2655
  apiSecret: string;
2663
2656
  } | undefined;
2664
- line?: {
2665
- channelId: string;
2666
- channelSecret: string;
2667
- } | undefined;
2668
2657
  lineRichMenuId?: string | null | undefined;
2669
2658
  messengerIntegrationType?: "own" | "business" | undefined;
2670
2659
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2695,10 +2684,6 @@ export declare const RoomSchema: z.ZodObject<{
2695
2684
  mobileNumber: string;
2696
2685
  apiSecret: string;
2697
2686
  } | undefined;
2698
- line?: {
2699
- channelId: string;
2700
- channelSecret: string;
2701
- } | undefined;
2702
2687
  lineRichMenuId?: string | null | undefined;
2703
2688
  messengerIntegrationType?: "own" | "business" | undefined;
2704
2689
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2963,10 +2948,6 @@ export declare const RoomSchema: z.ZodObject<{
2963
2948
  mobileNumber: string;
2964
2949
  apiSecret: string;
2965
2950
  } | undefined;
2966
- line?: {
2967
- channelId: string;
2968
- channelSecret: string;
2969
- } | undefined;
2970
2951
  lineRichMenuId?: string | null | undefined;
2971
2952
  messengerIntegrationType?: "own" | "business" | undefined;
2972
2953
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3062,10 +3043,6 @@ export declare const RoomSchema: z.ZodObject<{
3062
3043
  mobileNumber: string;
3063
3044
  apiSecret: string;
3064
3045
  } | undefined;
3065
- line?: {
3066
- channelId: string;
3067
- channelSecret: string;
3068
- } | undefined;
3069
3046
  lineRichMenuId?: string | null | undefined;
3070
3047
  messengerIntegrationType?: "own" | "business" | undefined;
3071
3048
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3322,16 +3299,6 @@ export declare const RoomSchema: z.ZodObject<{
3322
3299
  createdAt: Date;
3323
3300
  updatedAt: Date;
3324
3301
  deletedAt: Date | null;
3325
- tags: {
3326
- name: string;
3327
- id: string;
3328
- createdAt: Date;
3329
- updatedAt: Date;
3330
- deletedAt: Date | null;
3331
- }[];
3332
- callFrom: string | null;
3333
- callTo: string | null;
3334
- note: string | null;
3335
3302
  categories: {
3336
3303
  id: string;
3337
3304
  value: string;
@@ -3354,6 +3321,16 @@ export declare const RoomSchema: z.ZodObject<{
3354
3321
  }[];
3355
3322
  }[];
3356
3323
  }[];
3324
+ tags: {
3325
+ name: string;
3326
+ id: string;
3327
+ createdAt: Date;
3328
+ updatedAt: Date;
3329
+ deletedAt: Date | null;
3330
+ }[];
3331
+ callFrom: string | null;
3332
+ callTo: string | null;
3333
+ note: string | null;
3357
3334
  customFields?: {
3358
3335
  id: string;
3359
3336
  createdAt: Date;
@@ -3373,16 +3350,6 @@ export declare const RoomSchema: z.ZodObject<{
3373
3350
  createdAt: Date;
3374
3351
  updatedAt: Date;
3375
3352
  deletedAt: Date | null;
3376
- tags: {
3377
- name: string;
3378
- id: string;
3379
- createdAt: Date;
3380
- updatedAt: Date;
3381
- deletedAt: Date | null;
3382
- }[];
3383
- callFrom: string | null;
3384
- callTo: string | null;
3385
- note: string | null;
3386
3353
  categories: {
3387
3354
  id: string;
3388
3355
  value: string;
@@ -3405,6 +3372,16 @@ export declare const RoomSchema: z.ZodObject<{
3405
3372
  }[];
3406
3373
  }[];
3407
3374
  }[];
3375
+ tags: {
3376
+ name: string;
3377
+ id: string;
3378
+ createdAt: Date;
3379
+ updatedAt: Date;
3380
+ deletedAt: Date | null;
3381
+ }[];
3382
+ callFrom: string | null;
3383
+ callTo: string | null;
3384
+ note: string | null;
3408
3385
  customFields?: {
3409
3386
  id: string;
3410
3387
  createdAt: Date;
@@ -3513,16 +3490,6 @@ export declare const RoomSchema: z.ZodObject<{
3513
3490
  createdAt: Date;
3514
3491
  updatedAt: Date;
3515
3492
  deletedAt: Date | null;
3516
- tags: {
3517
- name: string;
3518
- id: string;
3519
- createdAt: Date;
3520
- updatedAt: Date;
3521
- deletedAt: Date | null;
3522
- }[];
3523
- callFrom: string | null;
3524
- callTo: string | null;
3525
- note: string | null;
3526
3493
  categories: {
3527
3494
  id: string;
3528
3495
  value: string;
@@ -3545,6 +3512,16 @@ export declare const RoomSchema: z.ZodObject<{
3545
3512
  }[];
3546
3513
  }[];
3547
3514
  }[];
3515
+ tags: {
3516
+ name: string;
3517
+ id: string;
3518
+ createdAt: Date;
3519
+ updatedAt: Date;
3520
+ deletedAt: Date | null;
3521
+ }[];
3522
+ callFrom: string | null;
3523
+ callTo: string | null;
3524
+ note: string | null;
3548
3525
  customFields?: {
3549
3526
  id: string;
3550
3527
  createdAt: Date;
@@ -3603,16 +3580,6 @@ export declare const RoomSchema: z.ZodObject<{
3603
3580
  createdAt: Date;
3604
3581
  updatedAt: Date;
3605
3582
  deletedAt: Date | null;
3606
- tags: {
3607
- name: string;
3608
- id: string;
3609
- createdAt: Date;
3610
- updatedAt: Date;
3611
- deletedAt: Date | null;
3612
- }[];
3613
- callFrom: string | null;
3614
- callTo: string | null;
3615
- note: string | null;
3616
3583
  categories: {
3617
3584
  id: string;
3618
3585
  value: string;
@@ -3635,6 +3602,16 @@ export declare const RoomSchema: z.ZodObject<{
3635
3602
  }[];
3636
3603
  }[];
3637
3604
  }[];
3605
+ tags: {
3606
+ name: string;
3607
+ id: string;
3608
+ createdAt: Date;
3609
+ updatedAt: Date;
3610
+ deletedAt: Date | null;
3611
+ }[];
3612
+ callFrom: string | null;
3613
+ callTo: string | null;
3614
+ note: string | null;
3638
3615
  customFields?: {
3639
3616
  id: string;
3640
3617
  createdAt: Date;
@@ -3725,10 +3702,6 @@ export declare const RoomSchema: z.ZodObject<{
3725
3702
  mobileNumber: string;
3726
3703
  apiSecret: string;
3727
3704
  } | undefined;
3728
- line?: {
3729
- channelId: string;
3730
- channelSecret: string;
3731
- } | undefined;
3732
3705
  lineRichMenuId?: string | null | undefined;
3733
3706
  messengerIntegrationType?: "own" | "business" | undefined;
3734
3707
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4052,16 +4025,6 @@ export declare const RoomSchema: z.ZodObject<{
4052
4025
  createdAt: Date;
4053
4026
  updatedAt: Date;
4054
4027
  deletedAt: Date | null;
4055
- tags: {
4056
- name: string;
4057
- id: string;
4058
- createdAt: Date;
4059
- updatedAt: Date;
4060
- deletedAt: Date | null;
4061
- }[];
4062
- callFrom: string | null;
4063
- callTo: string | null;
4064
- note: string | null;
4065
4028
  categories: {
4066
4029
  id: string;
4067
4030
  value: string;
@@ -4084,6 +4047,16 @@ export declare const RoomSchema: z.ZodObject<{
4084
4047
  }[];
4085
4048
  }[];
4086
4049
  }[];
4050
+ tags: {
4051
+ name: string;
4052
+ id: string;
4053
+ createdAt: Date;
4054
+ updatedAt: Date;
4055
+ deletedAt: Date | null;
4056
+ }[];
4057
+ callFrom: string | null;
4058
+ callTo: string | null;
4059
+ note: string | null;
4087
4060
  customFields?: {
4088
4061
  id: string;
4089
4062
  createdAt: Date;
@@ -4158,10 +4131,6 @@ export declare const RoomSchema: z.ZodObject<{
4158
4131
  mobileNumber: string;
4159
4132
  apiSecret: string;
4160
4133
  } | undefined;
4161
- line?: {
4162
- channelId: string;
4163
- channelSecret: string;
4164
- } | undefined;
4165
4134
  lineRichMenuId?: string | null | undefined;
4166
4135
  messengerIntegrationType?: "own" | "business" | undefined;
4167
4136
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4485,16 +4454,6 @@ export declare const RoomSchema: z.ZodObject<{
4485
4454
  createdAt: Date;
4486
4455
  updatedAt: Date;
4487
4456
  deletedAt: Date | null;
4488
- tags: {
4489
- name: string;
4490
- id: string;
4491
- createdAt: Date;
4492
- updatedAt: Date;
4493
- deletedAt: Date | null;
4494
- }[];
4495
- callFrom: string | null;
4496
- callTo: string | null;
4497
- note: string | null;
4498
4457
  categories: {
4499
4458
  id: string;
4500
4459
  value: string;
@@ -4517,6 +4476,16 @@ export declare const RoomSchema: z.ZodObject<{
4517
4476
  }[];
4518
4477
  }[];
4519
4478
  }[];
4479
+ tags: {
4480
+ name: string;
4481
+ id: string;
4482
+ createdAt: Date;
4483
+ updatedAt: Date;
4484
+ deletedAt: Date | null;
4485
+ }[];
4486
+ callFrom: string | null;
4487
+ callTo: string | null;
4488
+ note: string | null;
4520
4489
  customFields?: {
4521
4490
  id: string;
4522
4491
  createdAt: Date;
@@ -4569,8 +4538,8 @@ export declare const MessageSchema: z.ZodObject<{
4569
4538
  updatedAt: z.ZodDate;
4570
4539
  deletedAt: z.ZodNullable<z.ZodDate>;
4571
4540
  message: z.ZodString;
4572
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4573
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
4541
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4542
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
4574
4543
  readAt: z.ZodDate;
4575
4544
  metadata: z.ZodAny;
4576
4545
  platformId: z.ZodString;
@@ -4596,7 +4565,7 @@ export declare const MessageSchema: z.ZodObject<{
4596
4565
  firstResponseTime: z.ZodNumber;
4597
4566
  isLatest: z.ZodBoolean;
4598
4567
  isBotRoom: z.ZodBoolean;
4599
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4568
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4600
4569
  platformContact: z.ZodObject<{
4601
4570
  id: z.ZodString;
4602
4571
  createdAt: z.ZodDate;
@@ -6120,16 +6089,6 @@ export declare const MessageSchema: z.ZodObject<{
6120
6089
  mobileNumber: string;
6121
6090
  apiSecret: string;
6122
6091
  }>>;
6123
- line: z.ZodOptional<z.ZodObject<{
6124
- channelId: z.ZodString;
6125
- channelSecret: z.ZodString;
6126
- }, "strip", z.ZodTypeAny, {
6127
- channelId: string;
6128
- channelSecret: string;
6129
- }, {
6130
- channelId: string;
6131
- channelSecret: string;
6132
- }>>;
6133
6092
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6134
6093
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
6135
6094
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -6160,10 +6119,6 @@ export declare const MessageSchema: z.ZodObject<{
6160
6119
  mobileNumber: string;
6161
6120
  apiSecret: string;
6162
6121
  } | undefined;
6163
- line?: {
6164
- channelId: string;
6165
- channelSecret: string;
6166
- } | undefined;
6167
6122
  lineRichMenuId?: string | null | undefined;
6168
6123
  messengerIntegrationType?: "own" | "business" | undefined;
6169
6124
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6194,10 +6149,6 @@ export declare const MessageSchema: z.ZodObject<{
6194
6149
  mobileNumber: string;
6195
6150
  apiSecret: string;
6196
6151
  } | undefined;
6197
- line?: {
6198
- channelId: string;
6199
- channelSecret: string;
6200
- } | undefined;
6201
6152
  lineRichMenuId?: string | null | undefined;
6202
6153
  messengerIntegrationType?: "own" | "business" | undefined;
6203
6154
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6462,10 +6413,6 @@ export declare const MessageSchema: z.ZodObject<{
6462
6413
  mobileNumber: string;
6463
6414
  apiSecret: string;
6464
6415
  } | undefined;
6465
- line?: {
6466
- channelId: string;
6467
- channelSecret: string;
6468
- } | undefined;
6469
6416
  lineRichMenuId?: string | null | undefined;
6470
6417
  messengerIntegrationType?: "own" | "business" | undefined;
6471
6418
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6561,10 +6508,6 @@ export declare const MessageSchema: z.ZodObject<{
6561
6508
  mobileNumber: string;
6562
6509
  apiSecret: string;
6563
6510
  } | undefined;
6564
- line?: {
6565
- channelId: string;
6566
- channelSecret: string;
6567
- } | undefined;
6568
6511
  lineRichMenuId?: string | null | undefined;
6569
6512
  messengerIntegrationType?: "own" | "business" | undefined;
6570
6513
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6821,16 +6764,6 @@ export declare const MessageSchema: z.ZodObject<{
6821
6764
  createdAt: Date;
6822
6765
  updatedAt: Date;
6823
6766
  deletedAt: Date | null;
6824
- tags: {
6825
- name: string;
6826
- id: string;
6827
- createdAt: Date;
6828
- updatedAt: Date;
6829
- deletedAt: Date | null;
6830
- }[];
6831
- callFrom: string | null;
6832
- callTo: string | null;
6833
- note: string | null;
6834
6767
  categories: {
6835
6768
  id: string;
6836
6769
  value: string;
@@ -6853,6 +6786,16 @@ export declare const MessageSchema: z.ZodObject<{
6853
6786
  }[];
6854
6787
  }[];
6855
6788
  }[];
6789
+ tags: {
6790
+ name: string;
6791
+ id: string;
6792
+ createdAt: Date;
6793
+ updatedAt: Date;
6794
+ deletedAt: Date | null;
6795
+ }[];
6796
+ callFrom: string | null;
6797
+ callTo: string | null;
6798
+ note: string | null;
6856
6799
  customFields?: {
6857
6800
  id: string;
6858
6801
  createdAt: Date;
@@ -6872,16 +6815,6 @@ export declare const MessageSchema: z.ZodObject<{
6872
6815
  createdAt: Date;
6873
6816
  updatedAt: Date;
6874
6817
  deletedAt: Date | null;
6875
- tags: {
6876
- name: string;
6877
- id: string;
6878
- createdAt: Date;
6879
- updatedAt: Date;
6880
- deletedAt: Date | null;
6881
- }[];
6882
- callFrom: string | null;
6883
- callTo: string | null;
6884
- note: string | null;
6885
6818
  categories: {
6886
6819
  id: string;
6887
6820
  value: string;
@@ -6904,6 +6837,16 @@ export declare const MessageSchema: z.ZodObject<{
6904
6837
  }[];
6905
6838
  }[];
6906
6839
  }[];
6840
+ tags: {
6841
+ name: string;
6842
+ id: string;
6843
+ createdAt: Date;
6844
+ updatedAt: Date;
6845
+ deletedAt: Date | null;
6846
+ }[];
6847
+ callFrom: string | null;
6848
+ callTo: string | null;
6849
+ note: string | null;
6907
6850
  customFields?: {
6908
6851
  id: string;
6909
6852
  createdAt: Date;
@@ -7012,16 +6955,6 @@ export declare const MessageSchema: z.ZodObject<{
7012
6955
  createdAt: Date;
7013
6956
  updatedAt: Date;
7014
6957
  deletedAt: Date | null;
7015
- tags: {
7016
- name: string;
7017
- id: string;
7018
- createdAt: Date;
7019
- updatedAt: Date;
7020
- deletedAt: Date | null;
7021
- }[];
7022
- callFrom: string | null;
7023
- callTo: string | null;
7024
- note: string | null;
7025
6958
  categories: {
7026
6959
  id: string;
7027
6960
  value: string;
@@ -7044,6 +6977,16 @@ export declare const MessageSchema: z.ZodObject<{
7044
6977
  }[];
7045
6978
  }[];
7046
6979
  }[];
6980
+ tags: {
6981
+ name: string;
6982
+ id: string;
6983
+ createdAt: Date;
6984
+ updatedAt: Date;
6985
+ deletedAt: Date | null;
6986
+ }[];
6987
+ callFrom: string | null;
6988
+ callTo: string | null;
6989
+ note: string | null;
7047
6990
  customFields?: {
7048
6991
  id: string;
7049
6992
  createdAt: Date;
@@ -7102,16 +7045,6 @@ export declare const MessageSchema: z.ZodObject<{
7102
7045
  createdAt: Date;
7103
7046
  updatedAt: Date;
7104
7047
  deletedAt: Date | null;
7105
- tags: {
7106
- name: string;
7107
- id: string;
7108
- createdAt: Date;
7109
- updatedAt: Date;
7110
- deletedAt: Date | null;
7111
- }[];
7112
- callFrom: string | null;
7113
- callTo: string | null;
7114
- note: string | null;
7115
7048
  categories: {
7116
7049
  id: string;
7117
7050
  value: string;
@@ -7134,6 +7067,16 @@ export declare const MessageSchema: z.ZodObject<{
7134
7067
  }[];
7135
7068
  }[];
7136
7069
  }[];
7070
+ tags: {
7071
+ name: string;
7072
+ id: string;
7073
+ createdAt: Date;
7074
+ updatedAt: Date;
7075
+ deletedAt: Date | null;
7076
+ }[];
7077
+ callFrom: string | null;
7078
+ callTo: string | null;
7079
+ note: string | null;
7137
7080
  customFields?: {
7138
7081
  id: string;
7139
7082
  createdAt: Date;
@@ -7224,10 +7167,6 @@ export declare const MessageSchema: z.ZodObject<{
7224
7167
  mobileNumber: string;
7225
7168
  apiSecret: string;
7226
7169
  } | undefined;
7227
- line?: {
7228
- channelId: string;
7229
- channelSecret: string;
7230
- } | undefined;
7231
7170
  lineRichMenuId?: string | null | undefined;
7232
7171
  messengerIntegrationType?: "own" | "business" | undefined;
7233
7172
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7551,16 +7490,6 @@ export declare const MessageSchema: z.ZodObject<{
7551
7490
  createdAt: Date;
7552
7491
  updatedAt: Date;
7553
7492
  deletedAt: Date | null;
7554
- tags: {
7555
- name: string;
7556
- id: string;
7557
- createdAt: Date;
7558
- updatedAt: Date;
7559
- deletedAt: Date | null;
7560
- }[];
7561
- callFrom: string | null;
7562
- callTo: string | null;
7563
- note: string | null;
7564
7493
  categories: {
7565
7494
  id: string;
7566
7495
  value: string;
@@ -7583,6 +7512,16 @@ export declare const MessageSchema: z.ZodObject<{
7583
7512
  }[];
7584
7513
  }[];
7585
7514
  }[];
7515
+ tags: {
7516
+ name: string;
7517
+ id: string;
7518
+ createdAt: Date;
7519
+ updatedAt: Date;
7520
+ deletedAt: Date | null;
7521
+ }[];
7522
+ callFrom: string | null;
7523
+ callTo: string | null;
7524
+ note: string | null;
7586
7525
  customFields?: {
7587
7526
  id: string;
7588
7527
  createdAt: Date;
@@ -7657,10 +7596,6 @@ export declare const MessageSchema: z.ZodObject<{
7657
7596
  mobileNumber: string;
7658
7597
  apiSecret: string;
7659
7598
  } | undefined;
7660
- line?: {
7661
- channelId: string;
7662
- channelSecret: string;
7663
- } | undefined;
7664
7599
  lineRichMenuId?: string | null | undefined;
7665
7600
  messengerIntegrationType?: "own" | "business" | undefined;
7666
7601
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7984,16 +7919,6 @@ export declare const MessageSchema: z.ZodObject<{
7984
7919
  createdAt: Date;
7985
7920
  updatedAt: Date;
7986
7921
  deletedAt: Date | null;
7987
- tags: {
7988
- name: string;
7989
- id: string;
7990
- createdAt: Date;
7991
- updatedAt: Date;
7992
- deletedAt: Date | null;
7993
- }[];
7994
- callFrom: string | null;
7995
- callTo: string | null;
7996
- note: string | null;
7997
7922
  categories: {
7998
7923
  id: string;
7999
7924
  value: string;
@@ -8016,6 +7941,16 @@ export declare const MessageSchema: z.ZodObject<{
8016
7941
  }[];
8017
7942
  }[];
8018
7943
  }[];
7944
+ tags: {
7945
+ name: string;
7946
+ id: string;
7947
+ createdAt: Date;
7948
+ updatedAt: Date;
7949
+ deletedAt: Date | null;
7950
+ }[];
7951
+ callFrom: string | null;
7952
+ callTo: string | null;
7953
+ note: string | null;
8019
7954
  customFields?: {
8020
7955
  id: string;
8021
7956
  createdAt: Date;
@@ -8099,8 +8034,8 @@ export declare const MessageSchema: z.ZodObject<{
8099
8034
  updatedAt: z.ZodDate;
8100
8035
  deletedAt: z.ZodNullable<z.ZodDate>;
8101
8036
  message: z.ZodString;
8102
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
8103
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
8037
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
8038
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
8104
8039
  readAt: z.ZodDate;
8105
8040
  metadata: z.ZodAny;
8106
8041
  platformId: z.ZodString;
@@ -8758,7 +8693,7 @@ export declare const MessageSchema: z.ZodObject<{
8758
8693
  };
8759
8694
  }>;
8760
8695
  }, "strip", z.ZodTypeAny, {
8761
- type: string;
8696
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8762
8697
  message: string;
8763
8698
  id: string;
8764
8699
  url: string;
@@ -8920,7 +8855,7 @@ export declare const MessageSchema: z.ZodObject<{
8920
8855
  metadata?: any;
8921
8856
  template?: any;
8922
8857
  }, {
8923
- type: string;
8858
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8924
8859
  message: string;
8925
8860
  id: string;
8926
8861
  url: string;
@@ -9722,7 +9657,7 @@ export declare const MessageSchema: z.ZodObject<{
9722
9657
  editedMessageid: z.ZodString;
9723
9658
  label: z.ZodOptional<z.ZodString>;
9724
9659
  }, "strip", z.ZodTypeAny, {
9725
- type: string;
9660
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
9726
9661
  message: string;
9727
9662
  id: string;
9728
9663
  url: string;
@@ -9863,10 +9798,6 @@ export declare const MessageSchema: z.ZodObject<{
9863
9798
  mobileNumber: string;
9864
9799
  apiSecret: string;
9865
9800
  } | undefined;
9866
- line?: {
9867
- channelId: string;
9868
- channelSecret: string;
9869
- } | undefined;
9870
9801
  lineRichMenuId?: string | null | undefined;
9871
9802
  messengerIntegrationType?: "own" | "business" | undefined;
9872
9803
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10190,16 +10121,6 @@ export declare const MessageSchema: z.ZodObject<{
10190
10121
  createdAt: Date;
10191
10122
  updatedAt: Date;
10192
10123
  deletedAt: Date | null;
10193
- tags: {
10194
- name: string;
10195
- id: string;
10196
- createdAt: Date;
10197
- updatedAt: Date;
10198
- deletedAt: Date | null;
10199
- }[];
10200
- callFrom: string | null;
10201
- callTo: string | null;
10202
- note: string | null;
10203
10124
  categories: {
10204
10125
  id: string;
10205
10126
  value: string;
@@ -10222,6 +10143,16 @@ export declare const MessageSchema: z.ZodObject<{
10222
10143
  }[];
10223
10144
  }[];
10224
10145
  }[];
10146
+ tags: {
10147
+ name: string;
10148
+ id: string;
10149
+ createdAt: Date;
10150
+ updatedAt: Date;
10151
+ deletedAt: Date | null;
10152
+ }[];
10153
+ callFrom: string | null;
10154
+ callTo: string | null;
10155
+ note: string | null;
10225
10156
  customFields?: {
10226
10157
  id: string;
10227
10158
  createdAt: Date;
@@ -10281,7 +10212,7 @@ export declare const MessageSchema: z.ZodObject<{
10281
10212
  previewUrl: string;
10282
10213
  imageSetId: string;
10283
10214
  repliedMessage: {
10284
- type: string;
10215
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10285
10216
  message: string;
10286
10217
  id: string;
10287
10218
  url: string;
@@ -10492,7 +10423,7 @@ export declare const MessageSchema: z.ZodObject<{
10492
10423
  template?: any;
10493
10424
  label?: string | undefined;
10494
10425
  }, {
10495
- type: string;
10426
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10496
10427
  message: string;
10497
10428
  id: string;
10498
10429
  url: string;
@@ -10633,10 +10564,6 @@ export declare const MessageSchema: z.ZodObject<{
10633
10564
  mobileNumber: string;
10634
10565
  apiSecret: string;
10635
10566
  } | undefined;
10636
- line?: {
10637
- channelId: string;
10638
- channelSecret: string;
10639
- } | undefined;
10640
10567
  lineRichMenuId?: string | null | undefined;
10641
10568
  messengerIntegrationType?: "own" | "business" | undefined;
10642
10569
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10960,16 +10887,6 @@ export declare const MessageSchema: z.ZodObject<{
10960
10887
  createdAt: Date;
10961
10888
  updatedAt: Date;
10962
10889
  deletedAt: Date | null;
10963
- tags: {
10964
- name: string;
10965
- id: string;
10966
- createdAt: Date;
10967
- updatedAt: Date;
10968
- deletedAt: Date | null;
10969
- }[];
10970
- callFrom: string | null;
10971
- callTo: string | null;
10972
- note: string | null;
10973
10890
  categories: {
10974
10891
  id: string;
10975
10892
  value: string;
@@ -10992,6 +10909,16 @@ export declare const MessageSchema: z.ZodObject<{
10992
10909
  }[];
10993
10910
  }[];
10994
10911
  }[];
10912
+ tags: {
10913
+ name: string;
10914
+ id: string;
10915
+ createdAt: Date;
10916
+ updatedAt: Date;
10917
+ deletedAt: Date | null;
10918
+ }[];
10919
+ callFrom: string | null;
10920
+ callTo: string | null;
10921
+ note: string | null;
10995
10922
  customFields?: {
10996
10923
  id: string;
10997
10924
  createdAt: Date;
@@ -11051,7 +10978,7 @@ export declare const MessageSchema: z.ZodObject<{
11051
10978
  previewUrl: string;
11052
10979
  imageSetId: string;
11053
10980
  repliedMessage: {
11054
- type: string;
10981
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11055
10982
  message: string;
11056
10983
  id: string;
11057
10984
  url: string;
@@ -11263,11 +11190,11 @@ export declare const MessageSchema: z.ZodObject<{
11263
11190
  label?: string | undefined;
11264
11191
  }>;
11265
11192
  export declare const MessageWithFeedPostSchema: z.ZodObject<{
11266
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
11193
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
11267
11194
  message: z.ZodString;
11268
11195
  id: z.ZodString;
11269
11196
  url: z.ZodString;
11270
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11197
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
11271
11198
  label: z.ZodOptional<z.ZodString>;
11272
11199
  template: z.ZodAny;
11273
11200
  metadata: z.ZodAny;
@@ -11732,7 +11659,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
11732
11659
  firstResponseTime: z.ZodNumber;
11733
11660
  isLatest: z.ZodBoolean;
11734
11661
  isBotRoom: z.ZodBoolean;
11735
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11662
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
11736
11663
  platformContact: z.ZodObject<{
11737
11664
  id: z.ZodString;
11738
11665
  createdAt: z.ZodDate;
@@ -13256,16 +13183,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13256
13183
  mobileNumber: string;
13257
13184
  apiSecret: string;
13258
13185
  }>>;
13259
- line: z.ZodOptional<z.ZodObject<{
13260
- channelId: z.ZodString;
13261
- channelSecret: z.ZodString;
13262
- }, "strip", z.ZodTypeAny, {
13263
- channelId: string;
13264
- channelSecret: string;
13265
- }, {
13266
- channelId: string;
13267
- channelSecret: string;
13268
- }>>;
13269
13186
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13270
13187
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
13271
13188
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -13296,10 +13213,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13296
13213
  mobileNumber: string;
13297
13214
  apiSecret: string;
13298
13215
  } | undefined;
13299
- line?: {
13300
- channelId: string;
13301
- channelSecret: string;
13302
- } | undefined;
13303
13216
  lineRichMenuId?: string | null | undefined;
13304
13217
  messengerIntegrationType?: "own" | "business" | undefined;
13305
13218
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13330,10 +13243,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13330
13243
  mobileNumber: string;
13331
13244
  apiSecret: string;
13332
13245
  } | undefined;
13333
- line?: {
13334
- channelId: string;
13335
- channelSecret: string;
13336
- } | undefined;
13337
13246
  lineRichMenuId?: string | null | undefined;
13338
13247
  messengerIntegrationType?: "own" | "business" | undefined;
13339
13248
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13598,10 +13507,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13598
13507
  mobileNumber: string;
13599
13508
  apiSecret: string;
13600
13509
  } | undefined;
13601
- line?: {
13602
- channelId: string;
13603
- channelSecret: string;
13604
- } | undefined;
13605
13510
  lineRichMenuId?: string | null | undefined;
13606
13511
  messengerIntegrationType?: "own" | "business" | undefined;
13607
13512
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13697,10 +13602,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13697
13602
  mobileNumber: string;
13698
13603
  apiSecret: string;
13699
13604
  } | undefined;
13700
- line?: {
13701
- channelId: string;
13702
- channelSecret: string;
13703
- } | undefined;
13704
13605
  lineRichMenuId?: string | null | undefined;
13705
13606
  messengerIntegrationType?: "own" | "business" | undefined;
13706
13607
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13957,16 +13858,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13957
13858
  createdAt: Date;
13958
13859
  updatedAt: Date;
13959
13860
  deletedAt: Date | null;
13960
- tags: {
13961
- name: string;
13962
- id: string;
13963
- createdAt: Date;
13964
- updatedAt: Date;
13965
- deletedAt: Date | null;
13966
- }[];
13967
- callFrom: string | null;
13968
- callTo: string | null;
13969
- note: string | null;
13970
13861
  categories: {
13971
13862
  id: string;
13972
13863
  value: string;
@@ -13989,6 +13880,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13989
13880
  }[];
13990
13881
  }[];
13991
13882
  }[];
13883
+ tags: {
13884
+ name: string;
13885
+ id: string;
13886
+ createdAt: Date;
13887
+ updatedAt: Date;
13888
+ deletedAt: Date | null;
13889
+ }[];
13890
+ callFrom: string | null;
13891
+ callTo: string | null;
13892
+ note: string | null;
13992
13893
  customFields?: {
13993
13894
  id: string;
13994
13895
  createdAt: Date;
@@ -14008,16 +13909,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14008
13909
  createdAt: Date;
14009
13910
  updatedAt: Date;
14010
13911
  deletedAt: Date | null;
14011
- tags: {
14012
- name: string;
14013
- id: string;
14014
- createdAt: Date;
14015
- updatedAt: Date;
14016
- deletedAt: Date | null;
14017
- }[];
14018
- callFrom: string | null;
14019
- callTo: string | null;
14020
- note: string | null;
14021
13912
  categories: {
14022
13913
  id: string;
14023
13914
  value: string;
@@ -14040,6 +13931,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14040
13931
  }[];
14041
13932
  }[];
14042
13933
  }[];
13934
+ tags: {
13935
+ name: string;
13936
+ id: string;
13937
+ createdAt: Date;
13938
+ updatedAt: Date;
13939
+ deletedAt: Date | null;
13940
+ }[];
13941
+ callFrom: string | null;
13942
+ callTo: string | null;
13943
+ note: string | null;
14043
13944
  customFields?: {
14044
13945
  id: string;
14045
13946
  createdAt: Date;
@@ -14148,16 +14049,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14148
14049
  createdAt: Date;
14149
14050
  updatedAt: Date;
14150
14051
  deletedAt: Date | null;
14151
- tags: {
14152
- name: string;
14153
- id: string;
14154
- createdAt: Date;
14155
- updatedAt: Date;
14156
- deletedAt: Date | null;
14157
- }[];
14158
- callFrom: string | null;
14159
- callTo: string | null;
14160
- note: string | null;
14161
14052
  categories: {
14162
14053
  id: string;
14163
14054
  value: string;
@@ -14180,6 +14071,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14180
14071
  }[];
14181
14072
  }[];
14182
14073
  }[];
14074
+ tags: {
14075
+ name: string;
14076
+ id: string;
14077
+ createdAt: Date;
14078
+ updatedAt: Date;
14079
+ deletedAt: Date | null;
14080
+ }[];
14081
+ callFrom: string | null;
14082
+ callTo: string | null;
14083
+ note: string | null;
14183
14084
  customFields?: {
14184
14085
  id: string;
14185
14086
  createdAt: Date;
@@ -14238,16 +14139,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14238
14139
  createdAt: Date;
14239
14140
  updatedAt: Date;
14240
14141
  deletedAt: Date | null;
14241
- tags: {
14242
- name: string;
14243
- id: string;
14244
- createdAt: Date;
14245
- updatedAt: Date;
14246
- deletedAt: Date | null;
14247
- }[];
14248
- callFrom: string | null;
14249
- callTo: string | null;
14250
- note: string | null;
14251
14142
  categories: {
14252
14143
  id: string;
14253
14144
  value: string;
@@ -14270,6 +14161,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14270
14161
  }[];
14271
14162
  }[];
14272
14163
  }[];
14164
+ tags: {
14165
+ name: string;
14166
+ id: string;
14167
+ createdAt: Date;
14168
+ updatedAt: Date;
14169
+ deletedAt: Date | null;
14170
+ }[];
14171
+ callFrom: string | null;
14172
+ callTo: string | null;
14173
+ note: string | null;
14273
14174
  customFields?: {
14274
14175
  id: string;
14275
14176
  createdAt: Date;
@@ -14360,10 +14261,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14360
14261
  mobileNumber: string;
14361
14262
  apiSecret: string;
14362
14263
  } | undefined;
14363
- line?: {
14364
- channelId: string;
14365
- channelSecret: string;
14366
- } | undefined;
14367
14264
  lineRichMenuId?: string | null | undefined;
14368
14265
  messengerIntegrationType?: "own" | "business" | undefined;
14369
14266
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -14687,16 +14584,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14687
14584
  createdAt: Date;
14688
14585
  updatedAt: Date;
14689
14586
  deletedAt: Date | null;
14690
- tags: {
14691
- name: string;
14692
- id: string;
14693
- createdAt: Date;
14694
- updatedAt: Date;
14695
- deletedAt: Date | null;
14696
- }[];
14697
- callFrom: string | null;
14698
- callTo: string | null;
14699
- note: string | null;
14700
14587
  categories: {
14701
14588
  id: string;
14702
14589
  value: string;
@@ -14719,6 +14606,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14719
14606
  }[];
14720
14607
  }[];
14721
14608
  }[];
14609
+ tags: {
14610
+ name: string;
14611
+ id: string;
14612
+ createdAt: Date;
14613
+ updatedAt: Date;
14614
+ deletedAt: Date | null;
14615
+ }[];
14616
+ callFrom: string | null;
14617
+ callTo: string | null;
14618
+ note: string | null;
14722
14619
  customFields?: {
14723
14620
  id: string;
14724
14621
  createdAt: Date;
@@ -14793,10 +14690,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14793
14690
  mobileNumber: string;
14794
14691
  apiSecret: string;
14795
14692
  } | undefined;
14796
- line?: {
14797
- channelId: string;
14798
- channelSecret: string;
14799
- } | undefined;
14800
14693
  lineRichMenuId?: string | null | undefined;
14801
14694
  messengerIntegrationType?: "own" | "business" | undefined;
14802
14695
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -15120,16 +15013,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15120
15013
  createdAt: Date;
15121
15014
  updatedAt: Date;
15122
15015
  deletedAt: Date | null;
15123
- tags: {
15124
- name: string;
15125
- id: string;
15126
- createdAt: Date;
15127
- updatedAt: Date;
15128
- deletedAt: Date | null;
15129
- }[];
15130
- callFrom: string | null;
15131
- callTo: string | null;
15132
- note: string | null;
15133
15016
  categories: {
15134
15017
  id: string;
15135
15018
  value: string;
@@ -15152,6 +15035,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15152
15035
  }[];
15153
15036
  }[];
15154
15037
  }[];
15038
+ tags: {
15039
+ name: string;
15040
+ id: string;
15041
+ createdAt: Date;
15042
+ updatedAt: Date;
15043
+ deletedAt: Date | null;
15044
+ }[];
15045
+ callFrom: string | null;
15046
+ callTo: string | null;
15047
+ note: string | null;
15155
15048
  customFields?: {
15156
15049
  id: string;
15157
15050
  createdAt: Date;
@@ -15232,8 +15125,8 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15232
15125
  updatedAt: z.ZodDate;
15233
15126
  deletedAt: z.ZodNullable<z.ZodDate>;
15234
15127
  message: z.ZodString;
15235
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
15236
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
15128
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
15129
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
15237
15130
  readAt: z.ZodDate;
15238
15131
  metadata: z.ZodAny;
15239
15132
  platformId: z.ZodString;
@@ -15891,7 +15784,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15891
15784
  };
15892
15785
  }>;
15893
15786
  }, "strip", z.ZodTypeAny, {
15894
- type: string;
15787
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15895
15788
  message: string;
15896
15789
  id: string;
15897
15790
  url: string;
@@ -16053,7 +15946,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16053
15946
  metadata?: any;
16054
15947
  template?: any;
16055
15948
  }, {
16056
- type: string;
15949
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16057
15950
  message: string;
16058
15951
  id: string;
16059
15952
  url: string;
@@ -16428,7 +16321,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16428
16321
  updatedAt: z.ZodDate;
16429
16322
  deletedAt: z.ZodNullable<z.ZodDate>;
16430
16323
  message: z.ZodNullable<z.ZodString>;
16431
- 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>[]]>]>;
16324
+ type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>]>;
16432
16325
  metadata: z.ZodAny;
16433
16326
  platformId: z.ZodString;
16434
16327
  platformMessageId: z.ZodString;
@@ -16503,16 +16396,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16503
16396
  mobileNumber: string;
16504
16397
  apiSecret: string;
16505
16398
  }>>;
16506
- line: z.ZodOptional<z.ZodObject<{
16507
- channelId: z.ZodString;
16508
- channelSecret: z.ZodString;
16509
- }, "strip", z.ZodTypeAny, {
16510
- channelId: string;
16511
- channelSecret: string;
16512
- }, {
16513
- channelId: string;
16514
- channelSecret: string;
16515
- }>>;
16516
16399
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16517
16400
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
16518
16401
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -16543,10 +16426,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16543
16426
  mobileNumber: string;
16544
16427
  apiSecret: string;
16545
16428
  } | undefined;
16546
- line?: {
16547
- channelId: string;
16548
- channelSecret: string;
16549
- } | undefined;
16550
16429
  lineRichMenuId?: string | null | undefined;
16551
16430
  messengerIntegrationType?: "own" | "business" | undefined;
16552
16431
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16577,10 +16456,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16577
16456
  mobileNumber: string;
16578
16457
  apiSecret: string;
16579
16458
  } | undefined;
16580
- line?: {
16581
- channelId: string;
16582
- channelSecret: string;
16583
- } | undefined;
16584
16459
  lineRichMenuId?: string | null | undefined;
16585
16460
  messengerIntegrationType?: "own" | "business" | undefined;
16586
16461
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16845,10 +16720,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16845
16720
  mobileNumber: string;
16846
16721
  apiSecret: string;
16847
16722
  } | undefined;
16848
- line?: {
16849
- channelId: string;
16850
- channelSecret: string;
16851
- } | undefined;
16852
16723
  lineRichMenuId?: string | null | undefined;
16853
16724
  messengerIntegrationType?: "own" | "business" | undefined;
16854
16725
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16944,10 +16815,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16944
16815
  mobileNumber: string;
16945
16816
  apiSecret: string;
16946
16817
  } | undefined;
16947
- line?: {
16948
- channelId: string;
16949
- channelSecret: string;
16950
- } | undefined;
16951
16818
  lineRichMenuId?: string | null | undefined;
16952
16819
  messengerIntegrationType?: "own" | "business" | undefined;
16953
16820
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -18267,7 +18134,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18267
18134
  }>;
18268
18135
  permalinkURL: z.ZodString;
18269
18136
  }, "strip", z.ZodTypeAny, {
18270
- type: string;
18137
+ 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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18271
18138
  message: string | null;
18272
18139
  id: string;
18273
18140
  channel: {
@@ -18300,10 +18167,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18300
18167
  mobileNumber: string;
18301
18168
  apiSecret: string;
18302
18169
  } | undefined;
18303
- line?: {
18304
- channelId: string;
18305
- channelSecret: string;
18306
- } | undefined;
18307
18170
  lineRichMenuId?: string | null | undefined;
18308
18171
  messengerIntegrationType?: "own" | "business" | undefined;
18309
18172
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -18553,7 +18416,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18553
18416
  metadata?: any;
18554
18417
  template?: any;
18555
18418
  }, {
18556
- type: string;
18419
+ 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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18557
18420
  message: string | null;
18558
18421
  id: string;
18559
18422
  channel: {
@@ -18586,10 +18449,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18586
18449
  mobileNumber: string;
18587
18450
  apiSecret: string;
18588
18451
  } | undefined;
18589
- line?: {
18590
- channelId: string;
18591
- channelSecret: string;
18592
- } | undefined;
18593
18452
  lineRichMenuId?: string | null | undefined;
18594
18453
  messengerIntegrationType?: "own" | "business" | undefined;
18595
18454
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -18841,7 +18700,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18841
18700
  }>>;
18842
18701
  replyReaction: z.ZodNullable<z.ZodString>;
18843
18702
  }, "strip", z.ZodTypeAny, {
18844
- type: string;
18703
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18845
18704
  message: string;
18846
18705
  id: string;
18847
18706
  url: string;
@@ -18982,10 +18841,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18982
18841
  mobileNumber: string;
18983
18842
  apiSecret: string;
18984
18843
  } | undefined;
18985
- line?: {
18986
- channelId: string;
18987
- channelSecret: string;
18988
- } | undefined;
18989
18844
  lineRichMenuId?: string | null | undefined;
18990
18845
  messengerIntegrationType?: "own" | "business" | undefined;
18991
18846
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -19309,16 +19164,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19309
19164
  createdAt: Date;
19310
19165
  updatedAt: Date;
19311
19166
  deletedAt: Date | null;
19312
- tags: {
19313
- name: string;
19314
- id: string;
19315
- createdAt: Date;
19316
- updatedAt: Date;
19317
- deletedAt: Date | null;
19318
- }[];
19319
- callFrom: string | null;
19320
- callTo: string | null;
19321
- note: string | null;
19322
19167
  categories: {
19323
19168
  id: string;
19324
19169
  value: string;
@@ -19341,6 +19186,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19341
19186
  }[];
19342
19187
  }[];
19343
19188
  }[];
19189
+ tags: {
19190
+ name: string;
19191
+ id: string;
19192
+ createdAt: Date;
19193
+ updatedAt: Date;
19194
+ deletedAt: Date | null;
19195
+ }[];
19196
+ callFrom: string | null;
19197
+ callTo: string | null;
19198
+ note: string | null;
19344
19199
  customFields?: {
19345
19200
  id: string;
19346
19201
  createdAt: Date;
@@ -19400,7 +19255,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19400
19255
  previewUrl: string;
19401
19256
  imageSetId: string;
19402
19257
  repliedMessage: {
19403
- type: string;
19258
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19404
19259
  message: string;
19405
19260
  id: string;
19406
19261
  url: string;
@@ -19610,7 +19465,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19610
19465
  parentMessageId: string | null;
19611
19466
  feedPostId: string | null;
19612
19467
  feedPost: {
19613
- type: string;
19468
+ 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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19614
19469
  message: string | null;
19615
19470
  id: string;
19616
19471
  channel: {
@@ -19643,10 +19498,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19643
19498
  mobileNumber: string;
19644
19499
  apiSecret: string;
19645
19500
  } | undefined;
19646
- line?: {
19647
- channelId: string;
19648
- channelSecret: string;
19649
- } | undefined;
19650
19501
  lineRichMenuId?: string | null | undefined;
19651
19502
  messengerIntegrationType?: "own" | "business" | undefined;
19652
19503
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -19901,7 +19752,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19901
19752
  template?: any;
19902
19753
  metadata?: any;
19903
19754
  }, {
19904
- type: string;
19755
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19905
19756
  message: string;
19906
19757
  id: string;
19907
19758
  url: string;
@@ -20042,10 +19893,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20042
19893
  mobileNumber: string;
20043
19894
  apiSecret: string;
20044
19895
  } | undefined;
20045
- line?: {
20046
- channelId: string;
20047
- channelSecret: string;
20048
- } | undefined;
20049
19896
  lineRichMenuId?: string | null | undefined;
20050
19897
  messengerIntegrationType?: "own" | "business" | undefined;
20051
19898
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20369,16 +20216,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20369
20216
  createdAt: Date;
20370
20217
  updatedAt: Date;
20371
20218
  deletedAt: Date | null;
20372
- tags: {
20373
- name: string;
20374
- id: string;
20375
- createdAt: Date;
20376
- updatedAt: Date;
20377
- deletedAt: Date | null;
20378
- }[];
20379
- callFrom: string | null;
20380
- callTo: string | null;
20381
- note: string | null;
20382
20219
  categories: {
20383
20220
  id: string;
20384
20221
  value: string;
@@ -20401,6 +20238,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20401
20238
  }[];
20402
20239
  }[];
20403
20240
  }[];
20241
+ tags: {
20242
+ name: string;
20243
+ id: string;
20244
+ createdAt: Date;
20245
+ updatedAt: Date;
20246
+ deletedAt: Date | null;
20247
+ }[];
20248
+ callFrom: string | null;
20249
+ callTo: string | null;
20250
+ note: string | null;
20404
20251
  customFields?: {
20405
20252
  id: string;
20406
20253
  createdAt: Date;
@@ -20460,7 +20307,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20460
20307
  previewUrl: string;
20461
20308
  imageSetId: string;
20462
20309
  repliedMessage: {
20463
- type: string;
20310
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20464
20311
  message: string;
20465
20312
  id: string;
20466
20313
  url: string;
@@ -20670,7 +20517,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20670
20517
  parentMessageId: string | null;
20671
20518
  feedPostId: string | null;
20672
20519
  feedPost: {
20673
- type: string;
20520
+ 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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20674
20521
  message: string | null;
20675
20522
  id: string;
20676
20523
  channel: {
@@ -20703,10 +20550,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20703
20550
  mobileNumber: string;
20704
20551
  apiSecret: string;
20705
20552
  } | undefined;
20706
- line?: {
20707
- channelId: string;
20708
- channelSecret: string;
20709
- } | undefined;
20710
20553
  lineRichMenuId?: string | null | undefined;
20711
20554
  messengerIntegrationType?: "own" | "business" | undefined;
20712
20555
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20967,8 +20810,8 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20967
20810
  updatedAt: z.ZodDate;
20968
20811
  deletedAt: z.ZodNullable<z.ZodDate>;
20969
20812
  message: z.ZodString;
20970
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
20971
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
20813
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
20814
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
20972
20815
  readAt: z.ZodDate;
20973
20816
  metadata: z.ZodAny;
20974
20817
  platformId: z.ZodString;
@@ -21626,7 +21469,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
21626
21469
  };
21627
21470
  }>;
21628
21471
  }, "strip", z.ZodTypeAny, {
21629
- type: string;
21472
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
21630
21473
  message: string;
21631
21474
  id: string;
21632
21475
  url: string;
@@ -21788,7 +21631,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
21788
21631
  metadata?: any;
21789
21632
  template?: any;
21790
21633
  }, {
21791
- type: string;
21634
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
21792
21635
  message: string;
21793
21636
  id: string;
21794
21637
  url: string;
@@ -21964,11 +21807,11 @@ export declare const UnreadCountsByAssigneeSchema: z.ZodObject<{
21964
21807
  totalUnreadCount: number;
21965
21808
  }>;
21966
21809
  export declare const MessageRelevanceSchema: z.ZodObject<{
21967
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
21810
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
21968
21811
  message: z.ZodString;
21969
21812
  id: z.ZodString;
21970
21813
  url: z.ZodString;
21971
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
21814
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
21972
21815
  label: z.ZodOptional<z.ZodString>;
21973
21816
  template: z.ZodAny;
21974
21817
  metadata: z.ZodAny;
@@ -22433,7 +22276,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22433
22276
  firstResponseTime: z.ZodNumber;
22434
22277
  isLatest: z.ZodBoolean;
22435
22278
  isBotRoom: z.ZodBoolean;
22436
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
22279
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
22437
22280
  platformContact: z.ZodObject<{
22438
22281
  id: z.ZodString;
22439
22282
  createdAt: z.ZodDate;
@@ -23957,16 +23800,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23957
23800
  mobileNumber: string;
23958
23801
  apiSecret: string;
23959
23802
  }>>;
23960
- line: z.ZodOptional<z.ZodObject<{
23961
- channelId: z.ZodString;
23962
- channelSecret: z.ZodString;
23963
- }, "strip", z.ZodTypeAny, {
23964
- channelId: string;
23965
- channelSecret: string;
23966
- }, {
23967
- channelId: string;
23968
- channelSecret: string;
23969
- }>>;
23970
23803
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23971
23804
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
23972
23805
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -23997,10 +23830,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23997
23830
  mobileNumber: string;
23998
23831
  apiSecret: string;
23999
23832
  } | undefined;
24000
- line?: {
24001
- channelId: string;
24002
- channelSecret: string;
24003
- } | undefined;
24004
23833
  lineRichMenuId?: string | null | undefined;
24005
23834
  messengerIntegrationType?: "own" | "business" | undefined;
24006
23835
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -24031,10 +23860,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24031
23860
  mobileNumber: string;
24032
23861
  apiSecret: string;
24033
23862
  } | undefined;
24034
- line?: {
24035
- channelId: string;
24036
- channelSecret: string;
24037
- } | undefined;
24038
23863
  lineRichMenuId?: string | null | undefined;
24039
23864
  messengerIntegrationType?: "own" | "business" | undefined;
24040
23865
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -24299,10 +24124,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24299
24124
  mobileNumber: string;
24300
24125
  apiSecret: string;
24301
24126
  } | undefined;
24302
- line?: {
24303
- channelId: string;
24304
- channelSecret: string;
24305
- } | undefined;
24306
24127
  lineRichMenuId?: string | null | undefined;
24307
24128
  messengerIntegrationType?: "own" | "business" | undefined;
24308
24129
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -24398,10 +24219,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24398
24219
  mobileNumber: string;
24399
24220
  apiSecret: string;
24400
24221
  } | undefined;
24401
- line?: {
24402
- channelId: string;
24403
- channelSecret: string;
24404
- } | undefined;
24405
24222
  lineRichMenuId?: string | null | undefined;
24406
24223
  messengerIntegrationType?: "own" | "business" | undefined;
24407
24224
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -24658,16 +24475,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24658
24475
  createdAt: Date;
24659
24476
  updatedAt: Date;
24660
24477
  deletedAt: Date | null;
24661
- tags: {
24662
- name: string;
24663
- id: string;
24664
- createdAt: Date;
24665
- updatedAt: Date;
24666
- deletedAt: Date | null;
24667
- }[];
24668
- callFrom: string | null;
24669
- callTo: string | null;
24670
- note: string | null;
24671
24478
  categories: {
24672
24479
  id: string;
24673
24480
  value: string;
@@ -24690,6 +24497,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24690
24497
  }[];
24691
24498
  }[];
24692
24499
  }[];
24500
+ tags: {
24501
+ name: string;
24502
+ id: string;
24503
+ createdAt: Date;
24504
+ updatedAt: Date;
24505
+ deletedAt: Date | null;
24506
+ }[];
24507
+ callFrom: string | null;
24508
+ callTo: string | null;
24509
+ note: string | null;
24693
24510
  customFields?: {
24694
24511
  id: string;
24695
24512
  createdAt: Date;
@@ -24709,16 +24526,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24709
24526
  createdAt: Date;
24710
24527
  updatedAt: Date;
24711
24528
  deletedAt: Date | null;
24712
- tags: {
24713
- name: string;
24714
- id: string;
24715
- createdAt: Date;
24716
- updatedAt: Date;
24717
- deletedAt: Date | null;
24718
- }[];
24719
- callFrom: string | null;
24720
- callTo: string | null;
24721
- note: string | null;
24722
24529
  categories: {
24723
24530
  id: string;
24724
24531
  value: string;
@@ -24741,6 +24548,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24741
24548
  }[];
24742
24549
  }[];
24743
24550
  }[];
24551
+ tags: {
24552
+ name: string;
24553
+ id: string;
24554
+ createdAt: Date;
24555
+ updatedAt: Date;
24556
+ deletedAt: Date | null;
24557
+ }[];
24558
+ callFrom: string | null;
24559
+ callTo: string | null;
24560
+ note: string | null;
24744
24561
  customFields?: {
24745
24562
  id: string;
24746
24563
  createdAt: Date;
@@ -24849,16 +24666,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24849
24666
  createdAt: Date;
24850
24667
  updatedAt: Date;
24851
24668
  deletedAt: Date | null;
24852
- tags: {
24853
- name: string;
24854
- id: string;
24855
- createdAt: Date;
24856
- updatedAt: Date;
24857
- deletedAt: Date | null;
24858
- }[];
24859
- callFrom: string | null;
24860
- callTo: string | null;
24861
- note: string | null;
24862
24669
  categories: {
24863
24670
  id: string;
24864
24671
  value: string;
@@ -24881,6 +24688,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24881
24688
  }[];
24882
24689
  }[];
24883
24690
  }[];
24691
+ tags: {
24692
+ name: string;
24693
+ id: string;
24694
+ createdAt: Date;
24695
+ updatedAt: Date;
24696
+ deletedAt: Date | null;
24697
+ }[];
24698
+ callFrom: string | null;
24699
+ callTo: string | null;
24700
+ note: string | null;
24884
24701
  customFields?: {
24885
24702
  id: string;
24886
24703
  createdAt: Date;
@@ -24939,16 +24756,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24939
24756
  createdAt: Date;
24940
24757
  updatedAt: Date;
24941
24758
  deletedAt: Date | null;
24942
- tags: {
24943
- name: string;
24944
- id: string;
24945
- createdAt: Date;
24946
- updatedAt: Date;
24947
- deletedAt: Date | null;
24948
- }[];
24949
- callFrom: string | null;
24950
- callTo: string | null;
24951
- note: string | null;
24952
24759
  categories: {
24953
24760
  id: string;
24954
24761
  value: string;
@@ -24971,6 +24778,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24971
24778
  }[];
24972
24779
  }[];
24973
24780
  }[];
24781
+ tags: {
24782
+ name: string;
24783
+ id: string;
24784
+ createdAt: Date;
24785
+ updatedAt: Date;
24786
+ deletedAt: Date | null;
24787
+ }[];
24788
+ callFrom: string | null;
24789
+ callTo: string | null;
24790
+ note: string | null;
24974
24791
  customFields?: {
24975
24792
  id: string;
24976
24793
  createdAt: Date;
@@ -25061,10 +24878,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25061
24878
  mobileNumber: string;
25062
24879
  apiSecret: string;
25063
24880
  } | undefined;
25064
- line?: {
25065
- channelId: string;
25066
- channelSecret: string;
25067
- } | undefined;
25068
24881
  lineRichMenuId?: string | null | undefined;
25069
24882
  messengerIntegrationType?: "own" | "business" | undefined;
25070
24883
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -25388,16 +25201,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25388
25201
  createdAt: Date;
25389
25202
  updatedAt: Date;
25390
25203
  deletedAt: Date | null;
25391
- tags: {
25392
- name: string;
25393
- id: string;
25394
- createdAt: Date;
25395
- updatedAt: Date;
25396
- deletedAt: Date | null;
25397
- }[];
25398
- callFrom: string | null;
25399
- callTo: string | null;
25400
- note: string | null;
25401
25204
  categories: {
25402
25205
  id: string;
25403
25206
  value: string;
@@ -25420,6 +25223,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25420
25223
  }[];
25421
25224
  }[];
25422
25225
  }[];
25226
+ tags: {
25227
+ name: string;
25228
+ id: string;
25229
+ createdAt: Date;
25230
+ updatedAt: Date;
25231
+ deletedAt: Date | null;
25232
+ }[];
25233
+ callFrom: string | null;
25234
+ callTo: string | null;
25235
+ note: string | null;
25423
25236
  customFields?: {
25424
25237
  id: string;
25425
25238
  createdAt: Date;
@@ -25494,10 +25307,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25494
25307
  mobileNumber: string;
25495
25308
  apiSecret: string;
25496
25309
  } | undefined;
25497
- line?: {
25498
- channelId: string;
25499
- channelSecret: string;
25500
- } | undefined;
25501
25310
  lineRichMenuId?: string | null | undefined;
25502
25311
  messengerIntegrationType?: "own" | "business" | undefined;
25503
25312
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -25821,16 +25630,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25821
25630
  createdAt: Date;
25822
25631
  updatedAt: Date;
25823
25632
  deletedAt: Date | null;
25824
- tags: {
25825
- name: string;
25826
- id: string;
25827
- createdAt: Date;
25828
- updatedAt: Date;
25829
- deletedAt: Date | null;
25830
- }[];
25831
- callFrom: string | null;
25832
- callTo: string | null;
25833
- note: string | null;
25834
25633
  categories: {
25835
25634
  id: string;
25836
25635
  value: string;
@@ -25853,6 +25652,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25853
25652
  }[];
25854
25653
  }[];
25855
25654
  }[];
25655
+ tags: {
25656
+ name: string;
25657
+ id: string;
25658
+ createdAt: Date;
25659
+ updatedAt: Date;
25660
+ deletedAt: Date | null;
25661
+ }[];
25662
+ callFrom: string | null;
25663
+ callTo: string | null;
25664
+ note: string | null;
25856
25665
  customFields?: {
25857
25666
  id: string;
25858
25667
  createdAt: Date;
@@ -25933,8 +25742,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25933
25742
  updatedAt: z.ZodDate;
25934
25743
  deletedAt: z.ZodNullable<z.ZodDate>;
25935
25744
  message: z.ZodString;
25936
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
25937
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
25745
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
25746
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
25938
25747
  readAt: z.ZodDate;
25939
25748
  metadata: z.ZodAny;
25940
25749
  platformId: z.ZodString;
@@ -26592,7 +26401,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26592
26401
  };
26593
26402
  }>;
26594
26403
  }, "strip", z.ZodTypeAny, {
26595
- type: string;
26404
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
26596
26405
  message: string;
26597
26406
  id: string;
26598
26407
  url: string;
@@ -26754,7 +26563,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26754
26563
  metadata?: any;
26755
26564
  template?: any;
26756
26565
  }, {
26757
- type: string;
26566
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
26758
26567
  message: string;
26759
26568
  id: string;
26760
26569
  url: string;
@@ -28174,8 +27983,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28174
27983
  updatedAt: z.ZodDate;
28175
27984
  deletedAt: z.ZodNullable<z.ZodDate>;
28176
27985
  message: z.ZodString;
28177
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
28178
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
27986
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
27987
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
28179
27988
  readAt: z.ZodDate;
28180
27989
  metadata: z.ZodAny;
28181
27990
  platformId: z.ZodString;
@@ -28201,7 +28010,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28201
28010
  firstResponseTime: z.ZodNumber;
28202
28011
  isLatest: z.ZodBoolean;
28203
28012
  isBotRoom: z.ZodBoolean;
28204
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
28013
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
28205
28014
  platformContact: z.ZodObject<{
28206
28015
  id: z.ZodString;
28207
28016
  createdAt: z.ZodDate;
@@ -29725,16 +29534,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29725
29534
  mobileNumber: string;
29726
29535
  apiSecret: string;
29727
29536
  }>>;
29728
- line: z.ZodOptional<z.ZodObject<{
29729
- channelId: z.ZodString;
29730
- channelSecret: z.ZodString;
29731
- }, "strip", z.ZodTypeAny, {
29732
- channelId: string;
29733
- channelSecret: string;
29734
- }, {
29735
- channelId: string;
29736
- channelSecret: string;
29737
- }>>;
29738
29537
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29739
29538
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
29740
29539
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -29765,10 +29564,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29765
29564
  mobileNumber: string;
29766
29565
  apiSecret: string;
29767
29566
  } | undefined;
29768
- line?: {
29769
- channelId: string;
29770
- channelSecret: string;
29771
- } | undefined;
29772
29567
  lineRichMenuId?: string | null | undefined;
29773
29568
  messengerIntegrationType?: "own" | "business" | undefined;
29774
29569
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -29799,10 +29594,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29799
29594
  mobileNumber: string;
29800
29595
  apiSecret: string;
29801
29596
  } | undefined;
29802
- line?: {
29803
- channelId: string;
29804
- channelSecret: string;
29805
- } | undefined;
29806
29597
  lineRichMenuId?: string | null | undefined;
29807
29598
  messengerIntegrationType?: "own" | "business" | undefined;
29808
29599
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -30067,10 +29858,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30067
29858
  mobileNumber: string;
30068
29859
  apiSecret: string;
30069
29860
  } | undefined;
30070
- line?: {
30071
- channelId: string;
30072
- channelSecret: string;
30073
- } | undefined;
30074
29861
  lineRichMenuId?: string | null | undefined;
30075
29862
  messengerIntegrationType?: "own" | "business" | undefined;
30076
29863
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -30166,10 +29953,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30166
29953
  mobileNumber: string;
30167
29954
  apiSecret: string;
30168
29955
  } | undefined;
30169
- line?: {
30170
- channelId: string;
30171
- channelSecret: string;
30172
- } | undefined;
30173
29956
  lineRichMenuId?: string | null | undefined;
30174
29957
  messengerIntegrationType?: "own" | "business" | undefined;
30175
29958
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -30426,16 +30209,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30426
30209
  createdAt: Date;
30427
30210
  updatedAt: Date;
30428
30211
  deletedAt: Date | null;
30429
- tags: {
30430
- name: string;
30431
- id: string;
30432
- createdAt: Date;
30433
- updatedAt: Date;
30434
- deletedAt: Date | null;
30435
- }[];
30436
- callFrom: string | null;
30437
- callTo: string | null;
30438
- note: string | null;
30439
30212
  categories: {
30440
30213
  id: string;
30441
30214
  value: string;
@@ -30458,6 +30231,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30458
30231
  }[];
30459
30232
  }[];
30460
30233
  }[];
30234
+ tags: {
30235
+ name: string;
30236
+ id: string;
30237
+ createdAt: Date;
30238
+ updatedAt: Date;
30239
+ deletedAt: Date | null;
30240
+ }[];
30241
+ callFrom: string | null;
30242
+ callTo: string | null;
30243
+ note: string | null;
30461
30244
  customFields?: {
30462
30245
  id: string;
30463
30246
  createdAt: Date;
@@ -30477,16 +30260,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30477
30260
  createdAt: Date;
30478
30261
  updatedAt: Date;
30479
30262
  deletedAt: Date | null;
30480
- tags: {
30481
- name: string;
30482
- id: string;
30483
- createdAt: Date;
30484
- updatedAt: Date;
30485
- deletedAt: Date | null;
30486
- }[];
30487
- callFrom: string | null;
30488
- callTo: string | null;
30489
- note: string | null;
30490
30263
  categories: {
30491
30264
  id: string;
30492
30265
  value: string;
@@ -30509,6 +30282,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30509
30282
  }[];
30510
30283
  }[];
30511
30284
  }[];
30285
+ tags: {
30286
+ name: string;
30287
+ id: string;
30288
+ createdAt: Date;
30289
+ updatedAt: Date;
30290
+ deletedAt: Date | null;
30291
+ }[];
30292
+ callFrom: string | null;
30293
+ callTo: string | null;
30294
+ note: string | null;
30512
30295
  customFields?: {
30513
30296
  id: string;
30514
30297
  createdAt: Date;
@@ -30617,16 +30400,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30617
30400
  createdAt: Date;
30618
30401
  updatedAt: Date;
30619
30402
  deletedAt: Date | null;
30620
- tags: {
30621
- name: string;
30622
- id: string;
30623
- createdAt: Date;
30624
- updatedAt: Date;
30625
- deletedAt: Date | null;
30626
- }[];
30627
- callFrom: string | null;
30628
- callTo: string | null;
30629
- note: string | null;
30630
30403
  categories: {
30631
30404
  id: string;
30632
30405
  value: string;
@@ -30649,6 +30422,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30649
30422
  }[];
30650
30423
  }[];
30651
30424
  }[];
30425
+ tags: {
30426
+ name: string;
30427
+ id: string;
30428
+ createdAt: Date;
30429
+ updatedAt: Date;
30430
+ deletedAt: Date | null;
30431
+ }[];
30432
+ callFrom: string | null;
30433
+ callTo: string | null;
30434
+ note: string | null;
30652
30435
  customFields?: {
30653
30436
  id: string;
30654
30437
  createdAt: Date;
@@ -30707,16 +30490,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30707
30490
  createdAt: Date;
30708
30491
  updatedAt: Date;
30709
30492
  deletedAt: Date | null;
30710
- tags: {
30711
- name: string;
30712
- id: string;
30713
- createdAt: Date;
30714
- updatedAt: Date;
30715
- deletedAt: Date | null;
30716
- }[];
30717
- callFrom: string | null;
30718
- callTo: string | null;
30719
- note: string | null;
30720
30493
  categories: {
30721
30494
  id: string;
30722
30495
  value: string;
@@ -30739,6 +30512,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30739
30512
  }[];
30740
30513
  }[];
30741
30514
  }[];
30515
+ tags: {
30516
+ name: string;
30517
+ id: string;
30518
+ createdAt: Date;
30519
+ updatedAt: Date;
30520
+ deletedAt: Date | null;
30521
+ }[];
30522
+ callFrom: string | null;
30523
+ callTo: string | null;
30524
+ note: string | null;
30742
30525
  customFields?: {
30743
30526
  id: string;
30744
30527
  createdAt: Date;
@@ -30829,10 +30612,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30829
30612
  mobileNumber: string;
30830
30613
  apiSecret: string;
30831
30614
  } | undefined;
30832
- line?: {
30833
- channelId: string;
30834
- channelSecret: string;
30835
- } | undefined;
30836
30615
  lineRichMenuId?: string | null | undefined;
30837
30616
  messengerIntegrationType?: "own" | "business" | undefined;
30838
30617
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -31156,16 +30935,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31156
30935
  createdAt: Date;
31157
30936
  updatedAt: Date;
31158
30937
  deletedAt: Date | null;
31159
- tags: {
31160
- name: string;
31161
- id: string;
31162
- createdAt: Date;
31163
- updatedAt: Date;
31164
- deletedAt: Date | null;
31165
- }[];
31166
- callFrom: string | null;
31167
- callTo: string | null;
31168
- note: string | null;
31169
30938
  categories: {
31170
30939
  id: string;
31171
30940
  value: string;
@@ -31188,6 +30957,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31188
30957
  }[];
31189
30958
  }[];
31190
30959
  }[];
30960
+ tags: {
30961
+ name: string;
30962
+ id: string;
30963
+ createdAt: Date;
30964
+ updatedAt: Date;
30965
+ deletedAt: Date | null;
30966
+ }[];
30967
+ callFrom: string | null;
30968
+ callTo: string | null;
30969
+ note: string | null;
31191
30970
  customFields?: {
31192
30971
  id: string;
31193
30972
  createdAt: Date;
@@ -31262,10 +31041,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31262
31041
  mobileNumber: string;
31263
31042
  apiSecret: string;
31264
31043
  } | undefined;
31265
- line?: {
31266
- channelId: string;
31267
- channelSecret: string;
31268
- } | undefined;
31269
31044
  lineRichMenuId?: string | null | undefined;
31270
31045
  messengerIntegrationType?: "own" | "business" | undefined;
31271
31046
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -31589,16 +31364,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31589
31364
  createdAt: Date;
31590
31365
  updatedAt: Date;
31591
31366
  deletedAt: Date | null;
31592
- tags: {
31593
- name: string;
31594
- id: string;
31595
- createdAt: Date;
31596
- updatedAt: Date;
31597
- deletedAt: Date | null;
31598
- }[];
31599
- callFrom: string | null;
31600
- callTo: string | null;
31601
- note: string | null;
31602
31367
  categories: {
31603
31368
  id: string;
31604
31369
  value: string;
@@ -31621,6 +31386,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31621
31386
  }[];
31622
31387
  }[];
31623
31388
  }[];
31389
+ tags: {
31390
+ name: string;
31391
+ id: string;
31392
+ createdAt: Date;
31393
+ updatedAt: Date;
31394
+ deletedAt: Date | null;
31395
+ }[];
31396
+ callFrom: string | null;
31397
+ callTo: string | null;
31398
+ note: string | null;
31624
31399
  customFields?: {
31625
31400
  id: string;
31626
31401
  createdAt: Date;
@@ -31704,8 +31479,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31704
31479
  updatedAt: z.ZodDate;
31705
31480
  deletedAt: z.ZodNullable<z.ZodDate>;
31706
31481
  message: z.ZodString;
31707
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
31708
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
31482
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
31483
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
31709
31484
  readAt: z.ZodDate;
31710
31485
  metadata: z.ZodAny;
31711
31486
  platformId: z.ZodString;
@@ -32363,7 +32138,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32363
32138
  };
32364
32139
  }>;
32365
32140
  }, "strip", z.ZodTypeAny, {
32366
- type: string;
32141
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
32367
32142
  message: string;
32368
32143
  id: string;
32369
32144
  url: string;
@@ -32525,7 +32300,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32525
32300
  metadata?: any;
32526
32301
  template?: any;
32527
32302
  }, {
32528
- type: string;
32303
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
32529
32304
  message: string;
32530
32305
  id: string;
32531
32306
  url: string;
@@ -33327,7 +33102,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33327
33102
  editedMessageid: z.ZodString;
33328
33103
  label: z.ZodOptional<z.ZodString>;
33329
33104
  }, "strip", z.ZodTypeAny, {
33330
- type: string;
33105
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
33331
33106
  message: string;
33332
33107
  id: string;
33333
33108
  url: string;
@@ -33468,10 +33243,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33468
33243
  mobileNumber: string;
33469
33244
  apiSecret: string;
33470
33245
  } | undefined;
33471
- line?: {
33472
- channelId: string;
33473
- channelSecret: string;
33474
- } | undefined;
33475
33246
  lineRichMenuId?: string | null | undefined;
33476
33247
  messengerIntegrationType?: "own" | "business" | undefined;
33477
33248
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -33795,16 +33566,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33795
33566
  createdAt: Date;
33796
33567
  updatedAt: Date;
33797
33568
  deletedAt: Date | null;
33798
- tags: {
33799
- name: string;
33800
- id: string;
33801
- createdAt: Date;
33802
- updatedAt: Date;
33803
- deletedAt: Date | null;
33804
- }[];
33805
- callFrom: string | null;
33806
- callTo: string | null;
33807
- note: string | null;
33808
33569
  categories: {
33809
33570
  id: string;
33810
33571
  value: string;
@@ -33827,6 +33588,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33827
33588
  }[];
33828
33589
  }[];
33829
33590
  }[];
33591
+ tags: {
33592
+ name: string;
33593
+ id: string;
33594
+ createdAt: Date;
33595
+ updatedAt: Date;
33596
+ deletedAt: Date | null;
33597
+ }[];
33598
+ callFrom: string | null;
33599
+ callTo: string | null;
33600
+ note: string | null;
33830
33601
  customFields?: {
33831
33602
  id: string;
33832
33603
  createdAt: Date;
@@ -33886,7 +33657,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33886
33657
  previewUrl: string;
33887
33658
  imageSetId: string;
33888
33659
  repliedMessage: {
33889
- type: string;
33660
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
33890
33661
  message: string;
33891
33662
  id: string;
33892
33663
  url: string;
@@ -34097,7 +33868,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34097
33868
  template?: any;
34098
33869
  label?: string | undefined;
34099
33870
  }, {
34100
- type: string;
33871
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34101
33872
  message: string;
34102
33873
  id: string;
34103
33874
  url: string;
@@ -34238,10 +34009,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34238
34009
  mobileNumber: string;
34239
34010
  apiSecret: string;
34240
34011
  } | undefined;
34241
- line?: {
34242
- channelId: string;
34243
- channelSecret: string;
34244
- } | undefined;
34245
34012
  lineRichMenuId?: string | null | undefined;
34246
34013
  messengerIntegrationType?: "own" | "business" | undefined;
34247
34014
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -34565,16 +34332,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34565
34332
  createdAt: Date;
34566
34333
  updatedAt: Date;
34567
34334
  deletedAt: Date | null;
34568
- tags: {
34569
- name: string;
34570
- id: string;
34571
- createdAt: Date;
34572
- updatedAt: Date;
34573
- deletedAt: Date | null;
34574
- }[];
34575
- callFrom: string | null;
34576
- callTo: string | null;
34577
- note: string | null;
34578
34335
  categories: {
34579
34336
  id: string;
34580
34337
  value: string;
@@ -34597,6 +34354,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34597
34354
  }[];
34598
34355
  }[];
34599
34356
  }[];
34357
+ tags: {
34358
+ name: string;
34359
+ id: string;
34360
+ createdAt: Date;
34361
+ updatedAt: Date;
34362
+ deletedAt: Date | null;
34363
+ }[];
34364
+ callFrom: string | null;
34365
+ callTo: string | null;
34366
+ note: string | null;
34600
34367
  customFields?: {
34601
34368
  id: string;
34602
34369
  createdAt: Date;
@@ -34656,7 +34423,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34656
34423
  previewUrl: string;
34657
34424
  imageSetId: string;
34658
34425
  repliedMessage: {
34659
- type: string;
34426
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34660
34427
  message: string;
34661
34428
  id: string;
34662
34429
  url: string;
@@ -34868,13 +34635,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34868
34635
  label?: string | undefined;
34869
34636
  }>, "many">;
34870
34637
  }, "strip", z.ZodTypeAny, {
34871
- type: string;
34638
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34872
34639
  message: string;
34873
34640
  id: string;
34874
34641
  url: string;
34875
34642
  direction: "incoming" | "outgoing" | "system";
34876
34643
  children: {
34877
- type: string;
34644
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34878
34645
  message: string;
34879
34646
  id: string;
34880
34647
  url: string;
@@ -35015,10 +34782,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35015
34782
  mobileNumber: string;
35016
34783
  apiSecret: string;
35017
34784
  } | undefined;
35018
- line?: {
35019
- channelId: string;
35020
- channelSecret: string;
35021
- } | undefined;
35022
34785
  lineRichMenuId?: string | null | undefined;
35023
34786
  messengerIntegrationType?: "own" | "business" | undefined;
35024
34787
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -35342,16 +35105,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35342
35105
  createdAt: Date;
35343
35106
  updatedAt: Date;
35344
35107
  deletedAt: Date | null;
35345
- tags: {
35346
- name: string;
35347
- id: string;
35348
- createdAt: Date;
35349
- updatedAt: Date;
35350
- deletedAt: Date | null;
35351
- }[];
35352
- callFrom: string | null;
35353
- callTo: string | null;
35354
- note: string | null;
35355
35108
  categories: {
35356
35109
  id: string;
35357
35110
  value: string;
@@ -35374,6 +35127,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35374
35127
  }[];
35375
35128
  }[];
35376
35129
  }[];
35130
+ tags: {
35131
+ name: string;
35132
+ id: string;
35133
+ createdAt: Date;
35134
+ updatedAt: Date;
35135
+ deletedAt: Date | null;
35136
+ }[];
35137
+ callFrom: string | null;
35138
+ callTo: string | null;
35139
+ note: string | null;
35377
35140
  customFields?: {
35378
35141
  id: string;
35379
35142
  createdAt: Date;
@@ -35433,7 +35196,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35433
35196
  previewUrl: string;
35434
35197
  imageSetId: string;
35435
35198
  repliedMessage: {
35436
- type: string;
35199
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
35437
35200
  message: string;
35438
35201
  id: string;
35439
35202
  url: string;
@@ -35780,10 +35543,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35780
35543
  mobileNumber: string;
35781
35544
  apiSecret: string;
35782
35545
  } | undefined;
35783
- line?: {
35784
- channelId: string;
35785
- channelSecret: string;
35786
- } | undefined;
35787
35546
  lineRichMenuId?: string | null | undefined;
35788
35547
  messengerIntegrationType?: "own" | "business" | undefined;
35789
35548
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -36107,16 +35866,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36107
35866
  createdAt: Date;
36108
35867
  updatedAt: Date;
36109
35868
  deletedAt: Date | null;
36110
- tags: {
36111
- name: string;
36112
- id: string;
36113
- createdAt: Date;
36114
- updatedAt: Date;
36115
- deletedAt: Date | null;
36116
- }[];
36117
- callFrom: string | null;
36118
- callTo: string | null;
36119
- note: string | null;
36120
35869
  categories: {
36121
35870
  id: string;
36122
35871
  value: string;
@@ -36139,6 +35888,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36139
35888
  }[];
36140
35889
  }[];
36141
35890
  }[];
35891
+ tags: {
35892
+ name: string;
35893
+ id: string;
35894
+ createdAt: Date;
35895
+ updatedAt: Date;
35896
+ deletedAt: Date | null;
35897
+ }[];
35898
+ callFrom: string | null;
35899
+ callTo: string | null;
35900
+ note: string | null;
36142
35901
  customFields?: {
36143
35902
  id: string;
36144
35903
  createdAt: Date;
@@ -36198,7 +35957,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36198
35957
  previewUrl: string;
36199
35958
  imageSetId: string;
36200
35959
  repliedMessage: {
36201
- type: string;
35960
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
36202
35961
  message: string;
36203
35962
  id: string;
36204
35963
  url: string;
@@ -36536,13 +36295,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36536
36295
  template?: any;
36537
36296
  metadata?: any;
36538
36297
  }, {
36539
- type: string;
36298
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
36540
36299
  message: string;
36541
36300
  id: string;
36542
36301
  url: string;
36543
36302
  direction: "incoming" | "outgoing" | "system";
36544
36303
  children: {
36545
- type: string;
36304
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
36546
36305
  message: string;
36547
36306
  id: string;
36548
36307
  url: string;
@@ -36683,10 +36442,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36683
36442
  mobileNumber: string;
36684
36443
  apiSecret: string;
36685
36444
  } | undefined;
36686
- line?: {
36687
- channelId: string;
36688
- channelSecret: string;
36689
- } | undefined;
36690
36445
  lineRichMenuId?: string | null | undefined;
36691
36446
  messengerIntegrationType?: "own" | "business" | undefined;
36692
36447
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -37010,16 +36765,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37010
36765
  createdAt: Date;
37011
36766
  updatedAt: Date;
37012
36767
  deletedAt: Date | null;
37013
- tags: {
37014
- name: string;
37015
- id: string;
37016
- createdAt: Date;
37017
- updatedAt: Date;
37018
- deletedAt: Date | null;
37019
- }[];
37020
- callFrom: string | null;
37021
- callTo: string | null;
37022
- note: string | null;
37023
36768
  categories: {
37024
36769
  id: string;
37025
36770
  value: string;
@@ -37042,6 +36787,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37042
36787
  }[];
37043
36788
  }[];
37044
36789
  }[];
36790
+ tags: {
36791
+ name: string;
36792
+ id: string;
36793
+ createdAt: Date;
36794
+ updatedAt: Date;
36795
+ deletedAt: Date | null;
36796
+ }[];
36797
+ callFrom: string | null;
36798
+ callTo: string | null;
36799
+ note: string | null;
37045
36800
  customFields?: {
37046
36801
  id: string;
37047
36802
  createdAt: Date;
@@ -37101,7 +36856,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37101
36856
  previewUrl: string;
37102
36857
  imageSetId: string;
37103
36858
  repliedMessage: {
37104
- type: string;
36859
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
37105
36860
  message: string;
37106
36861
  id: string;
37107
36862
  url: string;
@@ -37448,10 +37203,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37448
37203
  mobileNumber: string;
37449
37204
  apiSecret: string;
37450
37205
  } | undefined;
37451
- line?: {
37452
- channelId: string;
37453
- channelSecret: string;
37454
- } | undefined;
37455
37206
  lineRichMenuId?: string | null | undefined;
37456
37207
  messengerIntegrationType?: "own" | "business" | undefined;
37457
37208
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -37775,16 +37526,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37775
37526
  createdAt: Date;
37776
37527
  updatedAt: Date;
37777
37528
  deletedAt: Date | null;
37778
- tags: {
37779
- name: string;
37780
- id: string;
37781
- createdAt: Date;
37782
- updatedAt: Date;
37783
- deletedAt: Date | null;
37784
- }[];
37785
- callFrom: string | null;
37786
- callTo: string | null;
37787
- note: string | null;
37788
37529
  categories: {
37789
37530
  id: string;
37790
37531
  value: string;
@@ -37807,6 +37548,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37807
37548
  }[];
37808
37549
  }[];
37809
37550
  }[];
37551
+ tags: {
37552
+ name: string;
37553
+ id: string;
37554
+ createdAt: Date;
37555
+ updatedAt: Date;
37556
+ deletedAt: Date | null;
37557
+ }[];
37558
+ callFrom: string | null;
37559
+ callTo: string | null;
37560
+ note: string | null;
37810
37561
  customFields?: {
37811
37562
  id: string;
37812
37563
  createdAt: Date;
@@ -37866,7 +37617,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37866
37617
  previewUrl: string;
37867
37618
  imageSetId: string;
37868
37619
  repliedMessage: {
37869
- type: string;
37620
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
37870
37621
  message: string;
37871
37622
  id: string;
37872
37623
  url: string;