@kl1/contracts 1.3.34 → 1.3.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. package/dist/api-contracts/src/automation-queue/index.d.ts +3 -0
  2. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  4. package/dist/api-contracts/src/channel/index.d.ts +1570 -28
  5. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  6. package/dist/api-contracts/src/channel/schema.d.ts +44 -0
  7. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/channel/validation.d.ts +65 -0
  9. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/index.d.ts +1285 -211
  11. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/chat/schema.d.ts +312 -63
  13. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  14. package/dist/api-contracts/src/chat/validation.d.ts +455 -69
  15. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  16. package/dist/api-contracts/src/contract.d.ts +8805 -2879
  17. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  18. package/dist/api-contracts/src/cx-log/index.d.ts +62 -1
  19. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/schema.d.ts +46 -1
  21. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/validation.d.ts +3 -0
  23. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  24. package/dist/api-contracts/src/dashboard/index.d.ts +960 -30
  25. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/schema.d.ts +167 -9
  27. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/validation.d.ts +30 -1
  29. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/export/index.d.ts +2 -0
  31. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/export/validation.d.ts +3 -0
  33. package/dist/api-contracts/src/export/validation.d.ts.map +1 -0
  34. package/dist/api-contracts/src/facebook-feed/index.d.ts +561 -53
  35. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/schema.d.ts +37 -3
  37. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/facebook-feed/validation.d.ts +26 -0
  39. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/index.d.ts +2 -0
  41. package/dist/api-contracts/src/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/instagram/index.d.ts +439 -41
  43. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/index.d.ts +402 -48
  45. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/line/validation.d.ts +49 -7
  47. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  48. package/dist/api-contracts/src/messenger/index.d.ts +439 -41
  49. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/messenger/validation.d.ts +26 -0
  51. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  52. package/dist/api-contracts/src/presence-status/index.d.ts +1 -421
  53. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  54. package/dist/api-contracts/src/presence-status/schema.d.ts +0 -369
  55. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/sms/index.d.ts +185 -7
  57. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/telegram/index.d.ts +327 -41
  59. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  60. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  61. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  62. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  63. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  64. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  65. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  66. package/dist/api-contracts/src/viber/index.d.ts +327 -41
  67. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/webchat/index.d.ts +327 -41
  69. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/whatsapp/index.d.ts +379 -41
  71. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  72. package/dist/api-contracts/src/workflow-rule/index.d.ts +151 -17
  73. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  74. package/dist/index.js +642 -321
  75. package/dist/index.js.map +1 -1
  76. package/dist/index.mjs +640 -321
  77. package/dist/index.mjs.map +1 -1
  78. package/package.json +1 -1
@@ -2,12 +2,9 @@ import z from 'zod';
2
2
  /**
3
3
  * Directions Enum
4
4
  */
5
- export declare const MessageDirectionTypeSchema: z.ZodEnum<["incoming", "outgoing", "system"]>;
5
+ export declare const MessageDirectionTypeSchema: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6
6
  export declare const WorkflowAutoReplyMessageTypeSchema: z.ZodDefault<z.ZodEnum<["text", "image"]>>;
7
- /**
8
- * Message Type Enum
9
- */
10
- export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7
+ export declare const MessageTypeSchema: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
11
8
  export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>;
12
9
  /**
13
10
  * Message Type Enum
@@ -1100,7 +1097,7 @@ export declare const RoomSchema: z.ZodObject<{
1100
1097
  firstResponseTime: z.ZodNumber;
1101
1098
  isLatest: z.ZodBoolean;
1102
1099
  isBotRoom: z.ZodBoolean;
1103
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1100
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1104
1101
  platformContact: z.ZodObject<{
1105
1102
  id: z.ZodString;
1106
1103
  createdAt: z.ZodDate;
@@ -2624,6 +2621,16 @@ export declare const RoomSchema: z.ZodObject<{
2624
2621
  mobileNumber: string;
2625
2622
  apiSecret: string;
2626
2623
  }>>;
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
+ }>>;
2627
2634
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2628
2635
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2629
2636
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -2654,6 +2661,10 @@ export declare const RoomSchema: z.ZodObject<{
2654
2661
  mobileNumber: string;
2655
2662
  apiSecret: string;
2656
2663
  } | undefined;
2664
+ line?: {
2665
+ channelId: string;
2666
+ channelSecret: string;
2667
+ } | undefined;
2657
2668
  lineRichMenuId?: string | null | undefined;
2658
2669
  messengerIntegrationType?: "own" | "business" | undefined;
2659
2670
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2684,6 +2695,10 @@ export declare const RoomSchema: z.ZodObject<{
2684
2695
  mobileNumber: string;
2685
2696
  apiSecret: string;
2686
2697
  } | undefined;
2698
+ line?: {
2699
+ channelId: string;
2700
+ channelSecret: string;
2701
+ } | undefined;
2687
2702
  lineRichMenuId?: string | null | undefined;
2688
2703
  messengerIntegrationType?: "own" | "business" | undefined;
2689
2704
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2948,6 +2963,10 @@ export declare const RoomSchema: z.ZodObject<{
2948
2963
  mobileNumber: string;
2949
2964
  apiSecret: string;
2950
2965
  } | undefined;
2966
+ line?: {
2967
+ channelId: string;
2968
+ channelSecret: string;
2969
+ } | undefined;
2951
2970
  lineRichMenuId?: string | null | undefined;
2952
2971
  messengerIntegrationType?: "own" | "business" | undefined;
2953
2972
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3043,6 +3062,10 @@ export declare const RoomSchema: z.ZodObject<{
3043
3062
  mobileNumber: string;
3044
3063
  apiSecret: string;
3045
3064
  } | undefined;
3065
+ line?: {
3066
+ channelId: string;
3067
+ channelSecret: string;
3068
+ } | undefined;
3046
3069
  lineRichMenuId?: string | null | undefined;
3047
3070
  messengerIntegrationType?: "own" | "business" | undefined;
3048
3071
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3702,6 +3725,10 @@ export declare const RoomSchema: z.ZodObject<{
3702
3725
  mobileNumber: string;
3703
3726
  apiSecret: string;
3704
3727
  } | undefined;
3728
+ line?: {
3729
+ channelId: string;
3730
+ channelSecret: string;
3731
+ } | undefined;
3705
3732
  lineRichMenuId?: string | null | undefined;
3706
3733
  messengerIntegrationType?: "own" | "business" | undefined;
3707
3734
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4131,6 +4158,10 @@ export declare const RoomSchema: z.ZodObject<{
4131
4158
  mobileNumber: string;
4132
4159
  apiSecret: string;
4133
4160
  } | undefined;
4161
+ line?: {
4162
+ channelId: string;
4163
+ channelSecret: string;
4164
+ } | undefined;
4134
4165
  lineRichMenuId?: string | null | undefined;
4135
4166
  messengerIntegrationType?: "own" | "business" | undefined;
4136
4167
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4538,8 +4569,8 @@ export declare const MessageSchema: z.ZodObject<{
4538
4569
  updatedAt: z.ZodDate;
4539
4570
  deletedAt: z.ZodNullable<z.ZodDate>;
4540
4571
  message: z.ZodString;
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"]>;
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>[]]>;
4543
4574
  readAt: z.ZodDate;
4544
4575
  metadata: z.ZodAny;
4545
4576
  platformId: z.ZodString;
@@ -4565,7 +4596,7 @@ export declare const MessageSchema: z.ZodObject<{
4565
4596
  firstResponseTime: z.ZodNumber;
4566
4597
  isLatest: z.ZodBoolean;
4567
4598
  isBotRoom: z.ZodBoolean;
4568
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4599
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4569
4600
  platformContact: z.ZodObject<{
4570
4601
  id: z.ZodString;
4571
4602
  createdAt: z.ZodDate;
@@ -6089,6 +6120,16 @@ export declare const MessageSchema: z.ZodObject<{
6089
6120
  mobileNumber: string;
6090
6121
  apiSecret: string;
6091
6122
  }>>;
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
+ }>>;
6092
6133
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6093
6134
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
6094
6135
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -6119,6 +6160,10 @@ export declare const MessageSchema: z.ZodObject<{
6119
6160
  mobileNumber: string;
6120
6161
  apiSecret: string;
6121
6162
  } | undefined;
6163
+ line?: {
6164
+ channelId: string;
6165
+ channelSecret: string;
6166
+ } | undefined;
6122
6167
  lineRichMenuId?: string | null | undefined;
6123
6168
  messengerIntegrationType?: "own" | "business" | undefined;
6124
6169
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6149,6 +6194,10 @@ export declare const MessageSchema: z.ZodObject<{
6149
6194
  mobileNumber: string;
6150
6195
  apiSecret: string;
6151
6196
  } | undefined;
6197
+ line?: {
6198
+ channelId: string;
6199
+ channelSecret: string;
6200
+ } | undefined;
6152
6201
  lineRichMenuId?: string | null | undefined;
6153
6202
  messengerIntegrationType?: "own" | "business" | undefined;
6154
6203
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6413,6 +6462,10 @@ export declare const MessageSchema: z.ZodObject<{
6413
6462
  mobileNumber: string;
6414
6463
  apiSecret: string;
6415
6464
  } | undefined;
6465
+ line?: {
6466
+ channelId: string;
6467
+ channelSecret: string;
6468
+ } | undefined;
6416
6469
  lineRichMenuId?: string | null | undefined;
6417
6470
  messengerIntegrationType?: "own" | "business" | undefined;
6418
6471
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6508,6 +6561,10 @@ export declare const MessageSchema: z.ZodObject<{
6508
6561
  mobileNumber: string;
6509
6562
  apiSecret: string;
6510
6563
  } | undefined;
6564
+ line?: {
6565
+ channelId: string;
6566
+ channelSecret: string;
6567
+ } | undefined;
6511
6568
  lineRichMenuId?: string | null | undefined;
6512
6569
  messengerIntegrationType?: "own" | "business" | undefined;
6513
6570
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7167,6 +7224,10 @@ export declare const MessageSchema: z.ZodObject<{
7167
7224
  mobileNumber: string;
7168
7225
  apiSecret: string;
7169
7226
  } | undefined;
7227
+ line?: {
7228
+ channelId: string;
7229
+ channelSecret: string;
7230
+ } | undefined;
7170
7231
  lineRichMenuId?: string | null | undefined;
7171
7232
  messengerIntegrationType?: "own" | "business" | undefined;
7172
7233
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7596,6 +7657,10 @@ export declare const MessageSchema: z.ZodObject<{
7596
7657
  mobileNumber: string;
7597
7658
  apiSecret: string;
7598
7659
  } | undefined;
7660
+ line?: {
7661
+ channelId: string;
7662
+ channelSecret: string;
7663
+ } | undefined;
7599
7664
  lineRichMenuId?: string | null | undefined;
7600
7665
  messengerIntegrationType?: "own" | "business" | undefined;
7601
7666
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -8034,8 +8099,8 @@ export declare const MessageSchema: z.ZodObject<{
8034
8099
  updatedAt: z.ZodDate;
8035
8100
  deletedAt: z.ZodNullable<z.ZodDate>;
8036
8101
  message: z.ZodString;
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"]>;
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>[]]>;
8039
8104
  readAt: z.ZodDate;
8040
8105
  metadata: z.ZodAny;
8041
8106
  platformId: z.ZodString;
@@ -8693,7 +8758,7 @@ export declare const MessageSchema: z.ZodObject<{
8693
8758
  };
8694
8759
  }>;
8695
8760
  }, "strip", z.ZodTypeAny, {
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";
8761
+ type: string;
8697
8762
  message: string;
8698
8763
  id: string;
8699
8764
  url: string;
@@ -8855,7 +8920,7 @@ export declare const MessageSchema: z.ZodObject<{
8855
8920
  metadata?: any;
8856
8921
  template?: any;
8857
8922
  }, {
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";
8923
+ type: string;
8859
8924
  message: string;
8860
8925
  id: string;
8861
8926
  url: string;
@@ -9657,7 +9722,7 @@ export declare const MessageSchema: z.ZodObject<{
9657
9722
  editedMessageid: z.ZodString;
9658
9723
  label: z.ZodOptional<z.ZodString>;
9659
9724
  }, "strip", z.ZodTypeAny, {
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";
9725
+ type: string;
9661
9726
  message: string;
9662
9727
  id: string;
9663
9728
  url: string;
@@ -9798,6 +9863,10 @@ export declare const MessageSchema: z.ZodObject<{
9798
9863
  mobileNumber: string;
9799
9864
  apiSecret: string;
9800
9865
  } | undefined;
9866
+ line?: {
9867
+ channelId: string;
9868
+ channelSecret: string;
9869
+ } | undefined;
9801
9870
  lineRichMenuId?: string | null | undefined;
9802
9871
  messengerIntegrationType?: "own" | "business" | undefined;
9803
9872
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10212,7 +10281,7 @@ export declare const MessageSchema: z.ZodObject<{
10212
10281
  previewUrl: string;
10213
10282
  imageSetId: string;
10214
10283
  repliedMessage: {
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";
10284
+ type: string;
10216
10285
  message: string;
10217
10286
  id: string;
10218
10287
  url: string;
@@ -10423,7 +10492,7 @@ export declare const MessageSchema: z.ZodObject<{
10423
10492
  template?: any;
10424
10493
  label?: string | undefined;
10425
10494
  }, {
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";
10495
+ type: string;
10427
10496
  message: string;
10428
10497
  id: string;
10429
10498
  url: string;
@@ -10564,6 +10633,10 @@ export declare const MessageSchema: z.ZodObject<{
10564
10633
  mobileNumber: string;
10565
10634
  apiSecret: string;
10566
10635
  } | undefined;
10636
+ line?: {
10637
+ channelId: string;
10638
+ channelSecret: string;
10639
+ } | undefined;
10567
10640
  lineRichMenuId?: string | null | undefined;
10568
10641
  messengerIntegrationType?: "own" | "business" | undefined;
10569
10642
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10978,7 +11051,7 @@ export declare const MessageSchema: z.ZodObject<{
10978
11051
  previewUrl: string;
10979
11052
  imageSetId: string;
10980
11053
  repliedMessage: {
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";
11054
+ type: string;
10982
11055
  message: string;
10983
11056
  id: string;
10984
11057
  url: string;
@@ -11190,11 +11263,11 @@ export declare const MessageSchema: z.ZodObject<{
11190
11263
  label?: string | undefined;
11191
11264
  }>;
11192
11265
  export declare const MessageWithFeedPostSchema: z.ZodObject<{
11193
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
11266
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
11194
11267
  message: z.ZodString;
11195
11268
  id: z.ZodString;
11196
11269
  url: z.ZodString;
11197
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
11270
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11198
11271
  label: z.ZodOptional<z.ZodString>;
11199
11272
  template: z.ZodAny;
11200
11273
  metadata: z.ZodAny;
@@ -11659,7 +11732,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
11659
11732
  firstResponseTime: z.ZodNumber;
11660
11733
  isLatest: z.ZodBoolean;
11661
11734
  isBotRoom: z.ZodBoolean;
11662
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
11735
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11663
11736
  platformContact: z.ZodObject<{
11664
11737
  id: z.ZodString;
11665
11738
  createdAt: z.ZodDate;
@@ -13183,6 +13256,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13183
13256
  mobileNumber: string;
13184
13257
  apiSecret: string;
13185
13258
  }>>;
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
+ }>>;
13186
13269
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13187
13270
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
13188
13271
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -13213,6 +13296,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13213
13296
  mobileNumber: string;
13214
13297
  apiSecret: string;
13215
13298
  } | undefined;
13299
+ line?: {
13300
+ channelId: string;
13301
+ channelSecret: string;
13302
+ } | undefined;
13216
13303
  lineRichMenuId?: string | null | undefined;
13217
13304
  messengerIntegrationType?: "own" | "business" | undefined;
13218
13305
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13243,6 +13330,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13243
13330
  mobileNumber: string;
13244
13331
  apiSecret: string;
13245
13332
  } | undefined;
13333
+ line?: {
13334
+ channelId: string;
13335
+ channelSecret: string;
13336
+ } | undefined;
13246
13337
  lineRichMenuId?: string | null | undefined;
13247
13338
  messengerIntegrationType?: "own" | "business" | undefined;
13248
13339
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13507,6 +13598,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13507
13598
  mobileNumber: string;
13508
13599
  apiSecret: string;
13509
13600
  } | undefined;
13601
+ line?: {
13602
+ channelId: string;
13603
+ channelSecret: string;
13604
+ } | undefined;
13510
13605
  lineRichMenuId?: string | null | undefined;
13511
13606
  messengerIntegrationType?: "own" | "business" | undefined;
13512
13607
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13602,6 +13697,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13602
13697
  mobileNumber: string;
13603
13698
  apiSecret: string;
13604
13699
  } | undefined;
13700
+ line?: {
13701
+ channelId: string;
13702
+ channelSecret: string;
13703
+ } | undefined;
13605
13704
  lineRichMenuId?: string | null | undefined;
13606
13705
  messengerIntegrationType?: "own" | "business" | undefined;
13607
13706
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -14261,6 +14360,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14261
14360
  mobileNumber: string;
14262
14361
  apiSecret: string;
14263
14362
  } | undefined;
14363
+ line?: {
14364
+ channelId: string;
14365
+ channelSecret: string;
14366
+ } | undefined;
14264
14367
  lineRichMenuId?: string | null | undefined;
14265
14368
  messengerIntegrationType?: "own" | "business" | undefined;
14266
14369
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -14690,6 +14793,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14690
14793
  mobileNumber: string;
14691
14794
  apiSecret: string;
14692
14795
  } | undefined;
14796
+ line?: {
14797
+ channelId: string;
14798
+ channelSecret: string;
14799
+ } | undefined;
14693
14800
  lineRichMenuId?: string | null | undefined;
14694
14801
  messengerIntegrationType?: "own" | "business" | undefined;
14695
14802
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -15125,8 +15232,8 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15125
15232
  updatedAt: z.ZodDate;
15126
15233
  deletedAt: z.ZodNullable<z.ZodDate>;
15127
15234
  message: z.ZodString;
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"]>;
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>[]]>;
15130
15237
  readAt: z.ZodDate;
15131
15238
  metadata: z.ZodAny;
15132
15239
  platformId: z.ZodString;
@@ -15784,7 +15891,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15784
15891
  };
15785
15892
  }>;
15786
15893
  }, "strip", z.ZodTypeAny, {
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";
15894
+ type: string;
15788
15895
  message: string;
15789
15896
  id: string;
15790
15897
  url: string;
@@ -15946,7 +16053,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15946
16053
  metadata?: any;
15947
16054
  template?: any;
15948
16055
  }, {
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";
16056
+ type: string;
15950
16057
  message: string;
15951
16058
  id: string;
15952
16059
  url: string;
@@ -16321,7 +16428,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16321
16428
  updatedAt: z.ZodDate;
16322
16429
  deletedAt: z.ZodNullable<z.ZodDate>;
16323
16430
  message: z.ZodNullable<z.ZodString>;
16324
- type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>]>;
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>[]]>]>;
16325
16432
  metadata: z.ZodAny;
16326
16433
  platformId: z.ZodString;
16327
16434
  platformMessageId: z.ZodString;
@@ -16396,6 +16503,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16396
16503
  mobileNumber: string;
16397
16504
  apiSecret: string;
16398
16505
  }>>;
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
+ }>>;
16399
16516
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16400
16517
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
16401
16518
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -16426,6 +16543,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16426
16543
  mobileNumber: string;
16427
16544
  apiSecret: string;
16428
16545
  } | undefined;
16546
+ line?: {
16547
+ channelId: string;
16548
+ channelSecret: string;
16549
+ } | undefined;
16429
16550
  lineRichMenuId?: string | null | undefined;
16430
16551
  messengerIntegrationType?: "own" | "business" | undefined;
16431
16552
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16456,6 +16577,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16456
16577
  mobileNumber: string;
16457
16578
  apiSecret: string;
16458
16579
  } | undefined;
16580
+ line?: {
16581
+ channelId: string;
16582
+ channelSecret: string;
16583
+ } | undefined;
16459
16584
  lineRichMenuId?: string | null | undefined;
16460
16585
  messengerIntegrationType?: "own" | "business" | undefined;
16461
16586
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16720,6 +16845,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16720
16845
  mobileNumber: string;
16721
16846
  apiSecret: string;
16722
16847
  } | undefined;
16848
+ line?: {
16849
+ channelId: string;
16850
+ channelSecret: string;
16851
+ } | undefined;
16723
16852
  lineRichMenuId?: string | null | undefined;
16724
16853
  messengerIntegrationType?: "own" | "business" | undefined;
16725
16854
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16815,6 +16944,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16815
16944
  mobileNumber: string;
16816
16945
  apiSecret: string;
16817
16946
  } | undefined;
16947
+ line?: {
16948
+ channelId: string;
16949
+ channelSecret: string;
16950
+ } | undefined;
16818
16951
  lineRichMenuId?: string | null | undefined;
16819
16952
  messengerIntegrationType?: "own" | "business" | undefined;
16820
16953
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -18134,7 +18267,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18134
18267
  }>;
18135
18268
  permalinkURL: z.ZodString;
18136
18269
  }, "strip", z.ZodTypeAny, {
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";
18270
+ type: string;
18138
18271
  message: string | null;
18139
18272
  id: string;
18140
18273
  channel: {
@@ -18167,6 +18300,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18167
18300
  mobileNumber: string;
18168
18301
  apiSecret: string;
18169
18302
  } | undefined;
18303
+ line?: {
18304
+ channelId: string;
18305
+ channelSecret: string;
18306
+ } | undefined;
18170
18307
  lineRichMenuId?: string | null | undefined;
18171
18308
  messengerIntegrationType?: "own" | "business" | undefined;
18172
18309
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -18416,7 +18553,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18416
18553
  metadata?: any;
18417
18554
  template?: any;
18418
18555
  }, {
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";
18556
+ type: string;
18420
18557
  message: string | null;
18421
18558
  id: string;
18422
18559
  channel: {
@@ -18449,6 +18586,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18449
18586
  mobileNumber: string;
18450
18587
  apiSecret: string;
18451
18588
  } | undefined;
18589
+ line?: {
18590
+ channelId: string;
18591
+ channelSecret: string;
18592
+ } | undefined;
18452
18593
  lineRichMenuId?: string | null | undefined;
18453
18594
  messengerIntegrationType?: "own" | "business" | undefined;
18454
18595
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -18700,7 +18841,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18700
18841
  }>>;
18701
18842
  replyReaction: z.ZodNullable<z.ZodString>;
18702
18843
  }, "strip", z.ZodTypeAny, {
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";
18844
+ type: string;
18704
18845
  message: string;
18705
18846
  id: string;
18706
18847
  url: string;
@@ -18841,6 +18982,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18841
18982
  mobileNumber: string;
18842
18983
  apiSecret: string;
18843
18984
  } | undefined;
18985
+ line?: {
18986
+ channelId: string;
18987
+ channelSecret: string;
18988
+ } | undefined;
18844
18989
  lineRichMenuId?: string | null | undefined;
18845
18990
  messengerIntegrationType?: "own" | "business" | undefined;
18846
18991
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -19255,7 +19400,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19255
19400
  previewUrl: string;
19256
19401
  imageSetId: string;
19257
19402
  repliedMessage: {
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";
19403
+ type: string;
19259
19404
  message: string;
19260
19405
  id: string;
19261
19406
  url: string;
@@ -19465,7 +19610,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19465
19610
  parentMessageId: string | null;
19466
19611
  feedPostId: string | null;
19467
19612
  feedPost: {
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";
19613
+ type: string;
19469
19614
  message: string | null;
19470
19615
  id: string;
19471
19616
  channel: {
@@ -19498,6 +19643,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19498
19643
  mobileNumber: string;
19499
19644
  apiSecret: string;
19500
19645
  } | undefined;
19646
+ line?: {
19647
+ channelId: string;
19648
+ channelSecret: string;
19649
+ } | undefined;
19501
19650
  lineRichMenuId?: string | null | undefined;
19502
19651
  messengerIntegrationType?: "own" | "business" | undefined;
19503
19652
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -19752,7 +19901,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19752
19901
  template?: any;
19753
19902
  metadata?: any;
19754
19903
  }, {
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";
19904
+ type: string;
19756
19905
  message: string;
19757
19906
  id: string;
19758
19907
  url: string;
@@ -19893,6 +20042,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19893
20042
  mobileNumber: string;
19894
20043
  apiSecret: string;
19895
20044
  } | undefined;
20045
+ line?: {
20046
+ channelId: string;
20047
+ channelSecret: string;
20048
+ } | undefined;
19896
20049
  lineRichMenuId?: string | null | undefined;
19897
20050
  messengerIntegrationType?: "own" | "business" | undefined;
19898
20051
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20307,7 +20460,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20307
20460
  previewUrl: string;
20308
20461
  imageSetId: string;
20309
20462
  repliedMessage: {
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";
20463
+ type: string;
20311
20464
  message: string;
20312
20465
  id: string;
20313
20466
  url: string;
@@ -20517,7 +20670,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20517
20670
  parentMessageId: string | null;
20518
20671
  feedPostId: string | null;
20519
20672
  feedPost: {
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";
20673
+ type: string;
20521
20674
  message: string | null;
20522
20675
  id: string;
20523
20676
  channel: {
@@ -20550,6 +20703,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20550
20703
  mobileNumber: string;
20551
20704
  apiSecret: string;
20552
20705
  } | undefined;
20706
+ line?: {
20707
+ channelId: string;
20708
+ channelSecret: string;
20709
+ } | undefined;
20553
20710
  lineRichMenuId?: string | null | undefined;
20554
20711
  messengerIntegrationType?: "own" | "business" | undefined;
20555
20712
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20810,8 +20967,8 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20810
20967
  updatedAt: z.ZodDate;
20811
20968
  deletedAt: z.ZodNullable<z.ZodDate>;
20812
20969
  message: z.ZodString;
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"]>;
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>[]]>;
20815
20972
  readAt: z.ZodDate;
20816
20973
  metadata: z.ZodAny;
20817
20974
  platformId: z.ZodString;
@@ -21469,7 +21626,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
21469
21626
  };
21470
21627
  }>;
21471
21628
  }, "strip", z.ZodTypeAny, {
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";
21629
+ type: string;
21473
21630
  message: string;
21474
21631
  id: string;
21475
21632
  url: string;
@@ -21631,7 +21788,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
21631
21788
  metadata?: any;
21632
21789
  template?: any;
21633
21790
  }, {
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";
21791
+ type: string;
21635
21792
  message: string;
21636
21793
  id: string;
21637
21794
  url: string;
@@ -21807,11 +21964,11 @@ export declare const UnreadCountsByAssigneeSchema: z.ZodObject<{
21807
21964
  totalUnreadCount: number;
21808
21965
  }>;
21809
21966
  export declare const MessageRelevanceSchema: z.ZodObject<{
21810
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
21967
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
21811
21968
  message: z.ZodString;
21812
21969
  id: z.ZodString;
21813
21970
  url: z.ZodString;
21814
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
21971
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
21815
21972
  label: z.ZodOptional<z.ZodString>;
21816
21973
  template: z.ZodAny;
21817
21974
  metadata: z.ZodAny;
@@ -22276,7 +22433,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22276
22433
  firstResponseTime: z.ZodNumber;
22277
22434
  isLatest: z.ZodBoolean;
22278
22435
  isBotRoom: z.ZodBoolean;
22279
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
22436
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
22280
22437
  platformContact: z.ZodObject<{
22281
22438
  id: z.ZodString;
22282
22439
  createdAt: z.ZodDate;
@@ -23800,6 +23957,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23800
23957
  mobileNumber: string;
23801
23958
  apiSecret: string;
23802
23959
  }>>;
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
+ }>>;
23803
23970
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23804
23971
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
23805
23972
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -23830,6 +23997,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23830
23997
  mobileNumber: string;
23831
23998
  apiSecret: string;
23832
23999
  } | undefined;
24000
+ line?: {
24001
+ channelId: string;
24002
+ channelSecret: string;
24003
+ } | undefined;
23833
24004
  lineRichMenuId?: string | null | undefined;
23834
24005
  messengerIntegrationType?: "own" | "business" | undefined;
23835
24006
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -23860,6 +24031,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23860
24031
  mobileNumber: string;
23861
24032
  apiSecret: string;
23862
24033
  } | undefined;
24034
+ line?: {
24035
+ channelId: string;
24036
+ channelSecret: string;
24037
+ } | undefined;
23863
24038
  lineRichMenuId?: string | null | undefined;
23864
24039
  messengerIntegrationType?: "own" | "business" | undefined;
23865
24040
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -24124,6 +24299,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24124
24299
  mobileNumber: string;
24125
24300
  apiSecret: string;
24126
24301
  } | undefined;
24302
+ line?: {
24303
+ channelId: string;
24304
+ channelSecret: string;
24305
+ } | undefined;
24127
24306
  lineRichMenuId?: string | null | undefined;
24128
24307
  messengerIntegrationType?: "own" | "business" | undefined;
24129
24308
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -24219,6 +24398,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24219
24398
  mobileNumber: string;
24220
24399
  apiSecret: string;
24221
24400
  } | undefined;
24401
+ line?: {
24402
+ channelId: string;
24403
+ channelSecret: string;
24404
+ } | undefined;
24222
24405
  lineRichMenuId?: string | null | undefined;
24223
24406
  messengerIntegrationType?: "own" | "business" | undefined;
24224
24407
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -24878,6 +25061,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24878
25061
  mobileNumber: string;
24879
25062
  apiSecret: string;
24880
25063
  } | undefined;
25064
+ line?: {
25065
+ channelId: string;
25066
+ channelSecret: string;
25067
+ } | undefined;
24881
25068
  lineRichMenuId?: string | null | undefined;
24882
25069
  messengerIntegrationType?: "own" | "business" | undefined;
24883
25070
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -25307,6 +25494,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25307
25494
  mobileNumber: string;
25308
25495
  apiSecret: string;
25309
25496
  } | undefined;
25497
+ line?: {
25498
+ channelId: string;
25499
+ channelSecret: string;
25500
+ } | undefined;
25310
25501
  lineRichMenuId?: string | null | undefined;
25311
25502
  messengerIntegrationType?: "own" | "business" | undefined;
25312
25503
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -25742,8 +25933,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25742
25933
  updatedAt: z.ZodDate;
25743
25934
  deletedAt: z.ZodNullable<z.ZodDate>;
25744
25935
  message: z.ZodString;
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"]>;
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>[]]>;
25747
25938
  readAt: z.ZodDate;
25748
25939
  metadata: z.ZodAny;
25749
25940
  platformId: z.ZodString;
@@ -26401,7 +26592,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26401
26592
  };
26402
26593
  }>;
26403
26594
  }, "strip", z.ZodTypeAny, {
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";
26595
+ type: string;
26405
26596
  message: string;
26406
26597
  id: string;
26407
26598
  url: string;
@@ -26563,7 +26754,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26563
26754
  metadata?: any;
26564
26755
  template?: any;
26565
26756
  }, {
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";
26757
+ type: string;
26567
26758
  message: string;
26568
26759
  id: string;
26569
26760
  url: string;
@@ -27983,8 +28174,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27983
28174
  updatedAt: z.ZodDate;
27984
28175
  deletedAt: z.ZodNullable<z.ZodDate>;
27985
28176
  message: z.ZodString;
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"]>;
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>[]]>;
27988
28179
  readAt: z.ZodDate;
27989
28180
  metadata: z.ZodAny;
27990
28181
  platformId: z.ZodString;
@@ -28010,7 +28201,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28010
28201
  firstResponseTime: z.ZodNumber;
28011
28202
  isLatest: z.ZodBoolean;
28012
28203
  isBotRoom: z.ZodBoolean;
28013
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
28204
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
28014
28205
  platformContact: z.ZodObject<{
28015
28206
  id: z.ZodString;
28016
28207
  createdAt: z.ZodDate;
@@ -29534,6 +29725,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29534
29725
  mobileNumber: string;
29535
29726
  apiSecret: string;
29536
29727
  }>>;
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
+ }>>;
29537
29738
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29538
29739
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
29539
29740
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -29564,6 +29765,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29564
29765
  mobileNumber: string;
29565
29766
  apiSecret: string;
29566
29767
  } | undefined;
29768
+ line?: {
29769
+ channelId: string;
29770
+ channelSecret: string;
29771
+ } | undefined;
29567
29772
  lineRichMenuId?: string | null | undefined;
29568
29773
  messengerIntegrationType?: "own" | "business" | undefined;
29569
29774
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -29594,6 +29799,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29594
29799
  mobileNumber: string;
29595
29800
  apiSecret: string;
29596
29801
  } | undefined;
29802
+ line?: {
29803
+ channelId: string;
29804
+ channelSecret: string;
29805
+ } | undefined;
29597
29806
  lineRichMenuId?: string | null | undefined;
29598
29807
  messengerIntegrationType?: "own" | "business" | undefined;
29599
29808
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -29858,6 +30067,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29858
30067
  mobileNumber: string;
29859
30068
  apiSecret: string;
29860
30069
  } | undefined;
30070
+ line?: {
30071
+ channelId: string;
30072
+ channelSecret: string;
30073
+ } | undefined;
29861
30074
  lineRichMenuId?: string | null | undefined;
29862
30075
  messengerIntegrationType?: "own" | "business" | undefined;
29863
30076
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -29953,6 +30166,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29953
30166
  mobileNumber: string;
29954
30167
  apiSecret: string;
29955
30168
  } | undefined;
30169
+ line?: {
30170
+ channelId: string;
30171
+ channelSecret: string;
30172
+ } | undefined;
29956
30173
  lineRichMenuId?: string | null | undefined;
29957
30174
  messengerIntegrationType?: "own" | "business" | undefined;
29958
30175
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -30612,6 +30829,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30612
30829
  mobileNumber: string;
30613
30830
  apiSecret: string;
30614
30831
  } | undefined;
30832
+ line?: {
30833
+ channelId: string;
30834
+ channelSecret: string;
30835
+ } | undefined;
30615
30836
  lineRichMenuId?: string | null | undefined;
30616
30837
  messengerIntegrationType?: "own" | "business" | undefined;
30617
30838
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -31041,6 +31262,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31041
31262
  mobileNumber: string;
31042
31263
  apiSecret: string;
31043
31264
  } | undefined;
31265
+ line?: {
31266
+ channelId: string;
31267
+ channelSecret: string;
31268
+ } | undefined;
31044
31269
  lineRichMenuId?: string | null | undefined;
31045
31270
  messengerIntegrationType?: "own" | "business" | undefined;
31046
31271
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -31479,8 +31704,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31479
31704
  updatedAt: z.ZodDate;
31480
31705
  deletedAt: z.ZodNullable<z.ZodDate>;
31481
31706
  message: z.ZodString;
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"]>;
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>[]]>;
31484
31709
  readAt: z.ZodDate;
31485
31710
  metadata: z.ZodAny;
31486
31711
  platformId: z.ZodString;
@@ -32138,7 +32363,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32138
32363
  };
32139
32364
  }>;
32140
32365
  }, "strip", z.ZodTypeAny, {
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";
32366
+ type: string;
32142
32367
  message: string;
32143
32368
  id: string;
32144
32369
  url: string;
@@ -32300,7 +32525,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32300
32525
  metadata?: any;
32301
32526
  template?: any;
32302
32527
  }, {
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";
32528
+ type: string;
32304
32529
  message: string;
32305
32530
  id: string;
32306
32531
  url: string;
@@ -33102,7 +33327,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33102
33327
  editedMessageid: z.ZodString;
33103
33328
  label: z.ZodOptional<z.ZodString>;
33104
33329
  }, "strip", z.ZodTypeAny, {
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";
33330
+ type: string;
33106
33331
  message: string;
33107
33332
  id: string;
33108
33333
  url: string;
@@ -33243,6 +33468,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33243
33468
  mobileNumber: string;
33244
33469
  apiSecret: string;
33245
33470
  } | undefined;
33471
+ line?: {
33472
+ channelId: string;
33473
+ channelSecret: string;
33474
+ } | undefined;
33246
33475
  lineRichMenuId?: string | null | undefined;
33247
33476
  messengerIntegrationType?: "own" | "business" | undefined;
33248
33477
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -33657,7 +33886,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33657
33886
  previewUrl: string;
33658
33887
  imageSetId: string;
33659
33888
  repliedMessage: {
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";
33889
+ type: string;
33661
33890
  message: string;
33662
33891
  id: string;
33663
33892
  url: string;
@@ -33868,7 +34097,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33868
34097
  template?: any;
33869
34098
  label?: string | undefined;
33870
34099
  }, {
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";
34100
+ type: string;
33872
34101
  message: string;
33873
34102
  id: string;
33874
34103
  url: string;
@@ -34009,6 +34238,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34009
34238
  mobileNumber: string;
34010
34239
  apiSecret: string;
34011
34240
  } | undefined;
34241
+ line?: {
34242
+ channelId: string;
34243
+ channelSecret: string;
34244
+ } | undefined;
34012
34245
  lineRichMenuId?: string | null | undefined;
34013
34246
  messengerIntegrationType?: "own" | "business" | undefined;
34014
34247
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -34423,7 +34656,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34423
34656
  previewUrl: string;
34424
34657
  imageSetId: string;
34425
34658
  repliedMessage: {
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";
34659
+ type: string;
34427
34660
  message: string;
34428
34661
  id: string;
34429
34662
  url: string;
@@ -34635,13 +34868,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34635
34868
  label?: string | undefined;
34636
34869
  }>, "many">;
34637
34870
  }, "strip", z.ZodTypeAny, {
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";
34871
+ type: string;
34639
34872
  message: string;
34640
34873
  id: string;
34641
34874
  url: string;
34642
34875
  direction: "incoming" | "outgoing" | "system";
34643
34876
  children: {
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";
34877
+ type: string;
34645
34878
  message: string;
34646
34879
  id: string;
34647
34880
  url: string;
@@ -34782,6 +35015,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34782
35015
  mobileNumber: string;
34783
35016
  apiSecret: string;
34784
35017
  } | undefined;
35018
+ line?: {
35019
+ channelId: string;
35020
+ channelSecret: string;
35021
+ } | undefined;
34785
35022
  lineRichMenuId?: string | null | undefined;
34786
35023
  messengerIntegrationType?: "own" | "business" | undefined;
34787
35024
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -35196,7 +35433,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35196
35433
  previewUrl: string;
35197
35434
  imageSetId: string;
35198
35435
  repliedMessage: {
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";
35436
+ type: string;
35200
35437
  message: string;
35201
35438
  id: string;
35202
35439
  url: string;
@@ -35543,6 +35780,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35543
35780
  mobileNumber: string;
35544
35781
  apiSecret: string;
35545
35782
  } | undefined;
35783
+ line?: {
35784
+ channelId: string;
35785
+ channelSecret: string;
35786
+ } | undefined;
35546
35787
  lineRichMenuId?: string | null | undefined;
35547
35788
  messengerIntegrationType?: "own" | "business" | undefined;
35548
35789
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -35957,7 +36198,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35957
36198
  previewUrl: string;
35958
36199
  imageSetId: string;
35959
36200
  repliedMessage: {
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";
36201
+ type: string;
35961
36202
  message: string;
35962
36203
  id: string;
35963
36204
  url: string;
@@ -36295,13 +36536,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36295
36536
  template?: any;
36296
36537
  metadata?: any;
36297
36538
  }, {
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";
36539
+ type: string;
36299
36540
  message: string;
36300
36541
  id: string;
36301
36542
  url: string;
36302
36543
  direction: "incoming" | "outgoing" | "system";
36303
36544
  children: {
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";
36545
+ type: string;
36305
36546
  message: string;
36306
36547
  id: string;
36307
36548
  url: string;
@@ -36442,6 +36683,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36442
36683
  mobileNumber: string;
36443
36684
  apiSecret: string;
36444
36685
  } | undefined;
36686
+ line?: {
36687
+ channelId: string;
36688
+ channelSecret: string;
36689
+ } | undefined;
36445
36690
  lineRichMenuId?: string | null | undefined;
36446
36691
  messengerIntegrationType?: "own" | "business" | undefined;
36447
36692
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -36856,7 +37101,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36856
37101
  previewUrl: string;
36857
37102
  imageSetId: string;
36858
37103
  repliedMessage: {
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";
37104
+ type: string;
36860
37105
  message: string;
36861
37106
  id: string;
36862
37107
  url: string;
@@ -37203,6 +37448,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37203
37448
  mobileNumber: string;
37204
37449
  apiSecret: string;
37205
37450
  } | undefined;
37451
+ line?: {
37452
+ channelId: string;
37453
+ channelSecret: string;
37454
+ } | undefined;
37206
37455
  lineRichMenuId?: string | null | undefined;
37207
37456
  messengerIntegrationType?: "own" | "business" | undefined;
37208
37457
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -37617,7 +37866,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37617
37866
  previewUrl: string;
37618
37867
  imageSetId: string;
37619
37868
  repliedMessage: {
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";
37869
+ type: string;
37621
37870
  message: string;
37622
37871
  id: string;
37623
37872
  url: string;