@kl1/contracts 1.3.34 → 1.3.36

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 (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
@@ -224,6 +224,8 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
224
224
  url: z.ZodNullable<z.ZodString>;
225
225
  fileType: z.ZodString;
226
226
  thumbnailUrl: z.ZodOptional<z.ZodString>;
227
+ width: z.ZodOptional<z.ZodString>;
228
+ height: z.ZodOptional<z.ZodString>;
227
229
  }, "strip", z.ZodTypeAny, {
228
230
  url: string | null;
229
231
  fileName: string;
@@ -232,6 +234,8 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
232
234
  bucketName: string;
233
235
  fileSize: number;
234
236
  thumbnailUrl?: string | undefined;
237
+ width?: string | undefined;
238
+ height?: string | undefined;
235
239
  }, {
236
240
  url: string | null;
237
241
  fileName: string;
@@ -240,6 +244,8 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
240
244
  bucketName: string;
241
245
  fileSize: number;
242
246
  thumbnailUrl?: string | undefined;
247
+ width?: string | undefined;
248
+ height?: string | undefined;
243
249
  }>;
244
250
  export declare const StickerSchema: z.ZodObject<{
245
251
  packageId: z.ZodNumber;
@@ -264,7 +270,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
264
270
  }>;
265
271
  export declare const SendMessageSchema: z.ZodObject<{
266
272
  roomId: z.ZodString;
267
- messageType: 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"]>;
273
+ messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
268
274
  message: z.ZodOptional<z.ZodString>;
269
275
  messageAttachments: z.ZodOptional<z.ZodObject<{
270
276
  bucketName: z.ZodString;
@@ -274,6 +280,8 @@ export declare const SendMessageSchema: z.ZodObject<{
274
280
  url: z.ZodNullable<z.ZodString>;
275
281
  fileType: z.ZodString;
276
282
  thumbnailUrl: z.ZodOptional<z.ZodString>;
283
+ width: z.ZodOptional<z.ZodString>;
284
+ height: z.ZodOptional<z.ZodString>;
277
285
  }, "strip", z.ZodTypeAny, {
278
286
  url: string | null;
279
287
  fileName: string;
@@ -282,6 +290,8 @@ export declare const SendMessageSchema: z.ZodObject<{
282
290
  bucketName: string;
283
291
  fileSize: number;
284
292
  thumbnailUrl?: string | undefined;
293
+ width?: string | undefined;
294
+ height?: string | undefined;
285
295
  }, {
286
296
  url: string | null;
287
297
  fileName: string;
@@ -290,6 +300,8 @@ export declare const SendMessageSchema: z.ZodObject<{
290
300
  bucketName: string;
291
301
  fileSize: number;
292
302
  thumbnailUrl?: string | undefined;
303
+ width?: string | undefined;
304
+ height?: string | undefined;
293
305
  }>>;
294
306
  user: z.ZodOptional<z.ZodObject<{
295
307
  name: z.ZodString;
@@ -523,7 +535,7 @@ export declare const SendMessageSchema: z.ZodObject<{
523
535
  mentions?: string[] | undefined;
524
536
  }>>;
525
537
  }, "strip", z.ZodTypeAny, {
526
- messageType: "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";
538
+ messageType: string;
527
539
  roomId: string;
528
540
  message?: string | undefined;
529
541
  messageAttachments?: {
@@ -534,6 +546,8 @@ export declare const SendMessageSchema: z.ZodObject<{
534
546
  bucketName: string;
535
547
  fileSize: number;
536
548
  thumbnailUrl?: string | undefined;
549
+ width?: string | undefined;
550
+ height?: string | undefined;
537
551
  } | undefined;
538
552
  user?: {
539
553
  name: string;
@@ -595,7 +609,7 @@ export declare const SendMessageSchema: z.ZodObject<{
595
609
  mentions?: string[] | undefined;
596
610
  } | undefined;
597
611
  }, {
598
- messageType: "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";
612
+ messageType: string;
599
613
  roomId: string;
600
614
  message?: string | undefined;
601
615
  messageAttachments?: {
@@ -606,6 +620,8 @@ export declare const SendMessageSchema: z.ZodObject<{
606
620
  bucketName: string;
607
621
  fileSize: number;
608
622
  thumbnailUrl?: string | undefined;
623
+ width?: string | undefined;
624
+ height?: string | undefined;
609
625
  } | undefined;
610
626
  user?: {
611
627
  name: string;
@@ -673,17 +689,17 @@ export declare const InitiateMessageSchema: z.ZodObject<{
673
689
  contactId: z.ZodOptional<z.ZodString>;
674
690
  message: z.ZodObject<{
675
691
  message: z.ZodOptional<z.ZodString>;
676
- messageType: 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"]>;
692
+ messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
677
693
  }, "strip", z.ZodTypeAny, {
678
- messageType: "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";
694
+ messageType: string;
679
695
  message?: string | undefined;
680
696
  }, {
681
- messageType: "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";
697
+ messageType: string;
682
698
  message?: string | undefined;
683
699
  }>;
684
700
  }, "strip", z.ZodTypeAny, {
685
701
  message: {
686
- messageType: "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";
702
+ messageType: string;
687
703
  message?: string | undefined;
688
704
  };
689
705
  channelId: string;
@@ -691,7 +707,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
691
707
  contactId?: string | undefined;
692
708
  }, {
693
709
  message: {
694
- messageType: "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";
710
+ messageType: string;
695
711
  message?: string | undefined;
696
712
  };
697
713
  channelId: string;
@@ -827,6 +843,16 @@ export declare const ChannelSchema: z.ZodObject<{
827
843
  mobileNumber: string;
828
844
  apiSecret: string;
829
845
  }>>;
846
+ line: z.ZodOptional<z.ZodObject<{
847
+ channelId: z.ZodString;
848
+ channelSecret: z.ZodString;
849
+ }, "strip", z.ZodTypeAny, {
850
+ channelId: string;
851
+ channelSecret: string;
852
+ }, {
853
+ channelId: string;
854
+ channelSecret: string;
855
+ }>>;
830
856
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
831
857
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
832
858
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -857,6 +883,10 @@ export declare const ChannelSchema: z.ZodObject<{
857
883
  mobileNumber: string;
858
884
  apiSecret: string;
859
885
  } | undefined;
886
+ line?: {
887
+ channelId: string;
888
+ channelSecret: string;
889
+ } | undefined;
860
890
  lineRichMenuId?: string | null | undefined;
861
891
  messengerIntegrationType?: "own" | "business" | undefined;
862
892
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -887,6 +917,10 @@ export declare const ChannelSchema: z.ZodObject<{
887
917
  mobileNumber: string;
888
918
  apiSecret: string;
889
919
  } | undefined;
920
+ line?: {
921
+ channelId: string;
922
+ channelSecret: string;
923
+ } | undefined;
890
924
  lineRichMenuId?: string | null | undefined;
891
925
  messengerIntegrationType?: "own" | "business" | undefined;
892
926
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -947,6 +981,10 @@ export declare const ChannelSchema: z.ZodObject<{
947
981
  mobileNumber: string;
948
982
  apiSecret: string;
949
983
  } | undefined;
984
+ line?: {
985
+ channelId: string;
986
+ channelSecret: string;
987
+ } | undefined;
950
988
  lineRichMenuId?: string | null | undefined;
951
989
  messengerIntegrationType?: "own" | "business" | undefined;
952
990
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -995,6 +1033,10 @@ export declare const ChannelSchema: z.ZodObject<{
995
1033
  mobileNumber: string;
996
1034
  apiSecret: string;
997
1035
  } | undefined;
1036
+ line?: {
1037
+ channelId: string;
1038
+ channelSecret: string;
1039
+ } | undefined;
998
1040
  lineRichMenuId?: string | null | undefined;
999
1041
  messengerIntegrationType?: "own" | "business" | undefined;
1000
1042
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1077,6 +1119,16 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1077
1119
  mobileNumber: string;
1078
1120
  apiSecret: string;
1079
1121
  }>>;
1122
+ line: z.ZodOptional<z.ZodObject<{
1123
+ channelId: z.ZodString;
1124
+ channelSecret: z.ZodString;
1125
+ }, "strip", z.ZodTypeAny, {
1126
+ channelId: string;
1127
+ channelSecret: string;
1128
+ }, {
1129
+ channelId: string;
1130
+ channelSecret: string;
1131
+ }>>;
1080
1132
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1081
1133
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1082
1134
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -1107,6 +1159,10 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1107
1159
  mobileNumber: string;
1108
1160
  apiSecret: string;
1109
1161
  } | undefined;
1162
+ line?: {
1163
+ channelId: string;
1164
+ channelSecret: string;
1165
+ } | undefined;
1110
1166
  lineRichMenuId?: string | null | undefined;
1111
1167
  messengerIntegrationType?: "own" | "business" | undefined;
1112
1168
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1137,6 +1193,10 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1137
1193
  mobileNumber: string;
1138
1194
  apiSecret: string;
1139
1195
  } | undefined;
1196
+ line?: {
1197
+ channelId: string;
1198
+ channelSecret: string;
1199
+ } | undefined;
1140
1200
  lineRichMenuId?: string | null | undefined;
1141
1201
  messengerIntegrationType?: "own" | "business" | undefined;
1142
1202
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1202,6 +1262,10 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1202
1262
  mobileNumber: string;
1203
1263
  apiSecret: string;
1204
1264
  } | undefined;
1265
+ line?: {
1266
+ channelId: string;
1267
+ channelSecret: string;
1268
+ } | undefined;
1205
1269
  lineRichMenuId?: string | null | undefined;
1206
1270
  messengerIntegrationType?: "own" | "business" | undefined;
1207
1271
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1254,6 +1318,10 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1254
1318
  mobileNumber: string;
1255
1319
  apiSecret: string;
1256
1320
  } | undefined;
1321
+ line?: {
1322
+ channelId: string;
1323
+ channelSecret: string;
1324
+ } | undefined;
1257
1325
  lineRichMenuId?: string | null | undefined;
1258
1326
  messengerIntegrationType?: "own" | "business" | undefined;
1259
1327
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1344,6 +1412,16 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1344
1412
  mobileNumber: string;
1345
1413
  apiSecret: string;
1346
1414
  }>>;
1415
+ line: z.ZodOptional<z.ZodObject<{
1416
+ channelId: z.ZodString;
1417
+ channelSecret: z.ZodString;
1418
+ }, "strip", z.ZodTypeAny, {
1419
+ channelId: string;
1420
+ channelSecret: string;
1421
+ }, {
1422
+ channelId: string;
1423
+ channelSecret: string;
1424
+ }>>;
1347
1425
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1348
1426
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1349
1427
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -1374,6 +1452,10 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1374
1452
  mobileNumber: string;
1375
1453
  apiSecret: string;
1376
1454
  } | undefined;
1455
+ line?: {
1456
+ channelId: string;
1457
+ channelSecret: string;
1458
+ } | undefined;
1377
1459
  lineRichMenuId?: string | null | undefined;
1378
1460
  messengerIntegrationType?: "own" | "business" | undefined;
1379
1461
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1404,6 +1486,10 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1404
1486
  mobileNumber: string;
1405
1487
  apiSecret: string;
1406
1488
  } | undefined;
1489
+ line?: {
1490
+ channelId: string;
1491
+ channelSecret: string;
1492
+ } | undefined;
1407
1493
  lineRichMenuId?: string | null | undefined;
1408
1494
  messengerIntegrationType?: "own" | "business" | undefined;
1409
1495
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1464,6 +1550,10 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1464
1550
  mobileNumber: string;
1465
1551
  apiSecret: string;
1466
1552
  } | undefined;
1553
+ line?: {
1554
+ channelId: string;
1555
+ channelSecret: string;
1556
+ } | undefined;
1467
1557
  lineRichMenuId?: string | null | undefined;
1468
1558
  messengerIntegrationType?: "own" | "business" | undefined;
1469
1559
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1512,6 +1602,10 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1512
1602
  mobileNumber: string;
1513
1603
  apiSecret: string;
1514
1604
  } | undefined;
1605
+ line?: {
1606
+ channelId: string;
1607
+ channelSecret: string;
1608
+ } | undefined;
1515
1609
  lineRichMenuId?: string | null | undefined;
1516
1610
  messengerIntegrationType?: "own" | "business" | undefined;
1517
1611
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1563,6 +1657,10 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1563
1657
  mobileNumber: string;
1564
1658
  apiSecret: string;
1565
1659
  } | undefined;
1660
+ line?: {
1661
+ channelId: string;
1662
+ channelSecret: string;
1663
+ } | undefined;
1566
1664
  lineRichMenuId?: string | null | undefined;
1567
1665
  messengerIntegrationType?: "own" | "business" | undefined;
1568
1666
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1614,6 +1712,10 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1614
1712
  mobileNumber: string;
1615
1713
  apiSecret: string;
1616
1714
  } | undefined;
1715
+ line?: {
1716
+ channelId: string;
1717
+ channelSecret: string;
1718
+ } | undefined;
1617
1719
  lineRichMenuId?: string | null | undefined;
1618
1720
  messengerIntegrationType?: "own" | "business" | undefined;
1619
1721
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1637,8 +1739,8 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1637
1739
  message: z.ZodObject<{
1638
1740
  id: z.ZodOptional<z.ZodString>;
1639
1741
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1640
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1641
- 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"]>;
1742
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1743
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
1642
1744
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1643
1745
  metadata: z.ZodOptional<z.ZodAny>;
1644
1746
  platformId: z.ZodOptional<z.ZodString>;
@@ -1690,7 +1792,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1690
1792
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1691
1793
  feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1692
1794
  }, "strip", z.ZodTypeAny, {
1693
- 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";
1795
+ type: string;
1694
1796
  direction: "incoming" | "outgoing" | "system";
1695
1797
  id?: string | undefined;
1696
1798
  message?: string | null | undefined;
@@ -1721,7 +1823,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1721
1823
  parentMessageId?: string | null | undefined;
1722
1824
  feedPostId?: string | null | undefined;
1723
1825
  }, {
1724
- 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";
1826
+ type: string;
1725
1827
  direction: "incoming" | "outgoing" | "system";
1726
1828
  id?: string | undefined;
1727
1829
  message?: string | null | undefined;
@@ -1754,7 +1856,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1754
1856
  }>;
1755
1857
  }, "strip", z.ZodTypeAny, {
1756
1858
  message: {
1757
- 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";
1859
+ type: string;
1758
1860
  direction: "incoming" | "outgoing" | "system";
1759
1861
  id?: string | undefined;
1760
1862
  message?: string | null | undefined;
@@ -1817,6 +1919,10 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1817
1919
  mobileNumber: string;
1818
1920
  apiSecret: string;
1819
1921
  } | undefined;
1922
+ line?: {
1923
+ channelId: string;
1924
+ channelSecret: string;
1925
+ } | undefined;
1820
1926
  lineRichMenuId?: string | null | undefined;
1821
1927
  messengerIntegrationType?: "own" | "business" | undefined;
1822
1928
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1839,7 +1945,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1839
1945
  };
1840
1946
  }, {
1841
1947
  message: {
1842
- 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";
1948
+ type: string;
1843
1949
  direction: "incoming" | "outgoing" | "system";
1844
1950
  id?: string | undefined;
1845
1951
  message?: string | null | undefined;
@@ -1902,6 +2008,10 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1902
2008
  mobileNumber: string;
1903
2009
  apiSecret: string;
1904
2010
  } | undefined;
2011
+ line?: {
2012
+ channelId: string;
2013
+ channelSecret: string;
2014
+ } | undefined;
1905
2015
  lineRichMenuId?: string | null | undefined;
1906
2016
  messengerIntegrationType?: "own" | "business" | undefined;
1907
2017
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1930,7 +2040,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1930
2040
  lastMessage: z.ZodOptional<z.ZodString>;
1931
2041
  handleTime: z.ZodOptional<z.ZodNumber>;
1932
2042
  isLatest: z.ZodBoolean;
1933
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2043
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1934
2044
  metadata: z.ZodOptional<z.ZodAny>;
1935
2045
  createdAt: z.ZodString;
1936
2046
  updatedAt: z.ZodString;
@@ -2112,6 +2222,16 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2112
2222
  mobileNumber: string;
2113
2223
  apiSecret: string;
2114
2224
  }>>;
2225
+ line: z.ZodOptional<z.ZodObject<{
2226
+ channelId: z.ZodString;
2227
+ channelSecret: z.ZodString;
2228
+ }, "strip", z.ZodTypeAny, {
2229
+ channelId: string;
2230
+ channelSecret: string;
2231
+ }, {
2232
+ channelId: string;
2233
+ channelSecret: string;
2234
+ }>>;
2115
2235
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2116
2236
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2117
2237
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -2142,6 +2262,10 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2142
2262
  mobileNumber: string;
2143
2263
  apiSecret: string;
2144
2264
  } | undefined;
2265
+ line?: {
2266
+ channelId: string;
2267
+ channelSecret: string;
2268
+ } | undefined;
2145
2269
  lineRichMenuId?: string | null | undefined;
2146
2270
  messengerIntegrationType?: "own" | "business" | undefined;
2147
2271
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2172,6 +2296,10 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2172
2296
  mobileNumber: string;
2173
2297
  apiSecret: string;
2174
2298
  } | undefined;
2299
+ line?: {
2300
+ channelId: string;
2301
+ channelSecret: string;
2302
+ } | undefined;
2175
2303
  lineRichMenuId?: string | null | undefined;
2176
2304
  messengerIntegrationType?: "own" | "business" | undefined;
2177
2305
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2232,6 +2360,10 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2232
2360
  mobileNumber: string;
2233
2361
  apiSecret: string;
2234
2362
  } | undefined;
2363
+ line?: {
2364
+ channelId: string;
2365
+ channelSecret: string;
2366
+ } | undefined;
2235
2367
  lineRichMenuId?: string | null | undefined;
2236
2368
  messengerIntegrationType?: "own" | "business" | undefined;
2237
2369
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2280,6 +2412,10 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2280
2412
  mobileNumber: string;
2281
2413
  apiSecret: string;
2282
2414
  } | undefined;
2415
+ line?: {
2416
+ channelId: string;
2417
+ channelSecret: string;
2418
+ } | undefined;
2283
2419
  lineRichMenuId?: string | null | undefined;
2284
2420
  messengerIntegrationType?: "own" | "business" | undefined;
2285
2421
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2333,6 +2469,10 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2333
2469
  mobileNumber: string;
2334
2470
  apiSecret: string;
2335
2471
  } | undefined;
2472
+ line?: {
2473
+ channelId: string;
2474
+ channelSecret: string;
2475
+ } | undefined;
2336
2476
  lineRichMenuId?: string | null | undefined;
2337
2477
  messengerIntegrationType?: "own" | "business" | undefined;
2338
2478
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2425,6 +2565,10 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2425
2565
  mobileNumber: string;
2426
2566
  apiSecret: string;
2427
2567
  } | undefined;
2568
+ line?: {
2569
+ channelId: string;
2570
+ channelSecret: string;
2571
+ } | undefined;
2428
2572
  lineRichMenuId?: string | null | undefined;
2429
2573
  messengerIntegrationType?: "own" | "business" | undefined;
2430
2574
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2489,8 +2633,8 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2489
2633
  message: z.ZodObject<{
2490
2634
  id: z.ZodOptional<z.ZodString>;
2491
2635
  message: z.ZodOptional<z.ZodString>;
2492
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2493
- 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"]>;
2636
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2637
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
2494
2638
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2495
2639
  metadata: z.ZodOptional<z.ZodAny>;
2496
2640
  platformId: z.ZodOptional<z.ZodString>;
@@ -2546,7 +2690,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2546
2690
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2547
2691
  label: z.ZodOptional<z.ZodString>;
2548
2692
  }, "strip", z.ZodTypeAny, {
2549
- 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";
2693
+ type: string;
2550
2694
  direction: "incoming" | "outgoing" | "system";
2551
2695
  id?: string | undefined;
2552
2696
  message?: string | undefined;
@@ -2581,7 +2725,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2581
2725
  editedAt?: string | Date | null | undefined;
2582
2726
  label?: string | undefined;
2583
2727
  }, {
2584
- 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";
2728
+ type: string;
2585
2729
  direction: "incoming" | "outgoing" | "system";
2586
2730
  id?: string | undefined;
2587
2731
  message?: string | undefined;
@@ -2618,7 +2762,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2618
2762
  }>;
2619
2763
  }, "strip", z.ZodTypeAny, {
2620
2764
  message: {
2621
- 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";
2765
+ type: string;
2622
2766
  direction: "incoming" | "outgoing" | "system";
2623
2767
  id?: string | undefined;
2624
2768
  message?: string | undefined;
@@ -2685,6 +2829,10 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2685
2829
  mobileNumber: string;
2686
2830
  apiSecret: string;
2687
2831
  } | undefined;
2832
+ line?: {
2833
+ channelId: string;
2834
+ channelSecret: string;
2835
+ } | undefined;
2688
2836
  lineRichMenuId?: string | null | undefined;
2689
2837
  messengerIntegrationType?: "own" | "business" | undefined;
2690
2838
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2749,7 +2897,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2749
2897
  isBot: boolean | null;
2750
2898
  }, {
2751
2899
  message: {
2752
- 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";
2900
+ type: string;
2753
2901
  direction: "incoming" | "outgoing" | "system";
2754
2902
  id?: string | undefined;
2755
2903
  message?: string | undefined;
@@ -2816,6 +2964,10 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2816
2964
  mobileNumber: string;
2817
2965
  apiSecret: string;
2818
2966
  } | undefined;
2967
+ line?: {
2968
+ channelId: string;
2969
+ channelSecret: string;
2970
+ } | undefined;
2819
2971
  lineRichMenuId?: string | null | undefined;
2820
2972
  messengerIntegrationType?: "own" | "business" | undefined;
2821
2973
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2883,8 +3035,8 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2883
3035
  message: z.ZodObject<{
2884
3036
  id: z.ZodOptional<z.ZodString>;
2885
3037
  message: z.ZodOptional<z.ZodString>;
2886
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2887
- 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"]>;
3038
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3039
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
2888
3040
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2889
3041
  metadata: z.ZodOptional<z.ZodAny>;
2890
3042
  platformId: z.ZodOptional<z.ZodString>;
@@ -2940,7 +3092,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2940
3092
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2941
3093
  label: z.ZodOptional<z.ZodString>;
2942
3094
  }, "strip", z.ZodTypeAny, {
2943
- 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";
3095
+ type: string;
2944
3096
  direction: "incoming" | "outgoing" | "system";
2945
3097
  id?: string | undefined;
2946
3098
  message?: string | undefined;
@@ -2975,7 +3127,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2975
3127
  editedAt?: string | Date | null | undefined;
2976
3128
  label?: string | undefined;
2977
3129
  }, {
2978
- 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";
3130
+ type: string;
2979
3131
  direction: "incoming" | "outgoing" | "system";
2980
3132
  id?: string | undefined;
2981
3133
  message?: string | undefined;
@@ -3015,7 +3167,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3015
3167
  lastMessage: z.ZodOptional<z.ZodString>;
3016
3168
  handleTime: z.ZodOptional<z.ZodNumber>;
3017
3169
  isLatest: z.ZodBoolean;
3018
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3170
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3019
3171
  metadata: z.ZodOptional<z.ZodAny>;
3020
3172
  createdAt: z.ZodString;
3021
3173
  updatedAt: z.ZodString;
@@ -3197,6 +3349,16 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3197
3349
  mobileNumber: string;
3198
3350
  apiSecret: string;
3199
3351
  }>>;
3352
+ line: z.ZodOptional<z.ZodObject<{
3353
+ channelId: z.ZodString;
3354
+ channelSecret: z.ZodString;
3355
+ }, "strip", z.ZodTypeAny, {
3356
+ channelId: string;
3357
+ channelSecret: string;
3358
+ }, {
3359
+ channelId: string;
3360
+ channelSecret: string;
3361
+ }>>;
3200
3362
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3201
3363
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
3202
3364
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -3227,6 +3389,10 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3227
3389
  mobileNumber: string;
3228
3390
  apiSecret: string;
3229
3391
  } | undefined;
3392
+ line?: {
3393
+ channelId: string;
3394
+ channelSecret: string;
3395
+ } | undefined;
3230
3396
  lineRichMenuId?: string | null | undefined;
3231
3397
  messengerIntegrationType?: "own" | "business" | undefined;
3232
3398
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3257,6 +3423,10 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3257
3423
  mobileNumber: string;
3258
3424
  apiSecret: string;
3259
3425
  } | undefined;
3426
+ line?: {
3427
+ channelId: string;
3428
+ channelSecret: string;
3429
+ } | undefined;
3260
3430
  lineRichMenuId?: string | null | undefined;
3261
3431
  messengerIntegrationType?: "own" | "business" | undefined;
3262
3432
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3317,6 +3487,10 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3317
3487
  mobileNumber: string;
3318
3488
  apiSecret: string;
3319
3489
  } | undefined;
3490
+ line?: {
3491
+ channelId: string;
3492
+ channelSecret: string;
3493
+ } | undefined;
3320
3494
  lineRichMenuId?: string | null | undefined;
3321
3495
  messengerIntegrationType?: "own" | "business" | undefined;
3322
3496
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3365,6 +3539,10 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3365
3539
  mobileNumber: string;
3366
3540
  apiSecret: string;
3367
3541
  } | undefined;
3542
+ line?: {
3543
+ channelId: string;
3544
+ channelSecret: string;
3545
+ } | undefined;
3368
3546
  lineRichMenuId?: string | null | undefined;
3369
3547
  messengerIntegrationType?: "own" | "business" | undefined;
3370
3548
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3418,6 +3596,10 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3418
3596
  mobileNumber: string;
3419
3597
  apiSecret: string;
3420
3598
  } | undefined;
3599
+ line?: {
3600
+ channelId: string;
3601
+ channelSecret: string;
3602
+ } | undefined;
3421
3603
  lineRichMenuId?: string | null | undefined;
3422
3604
  messengerIntegrationType?: "own" | "business" | undefined;
3423
3605
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3510,6 +3692,10 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3510
3692
  mobileNumber: string;
3511
3693
  apiSecret: string;
3512
3694
  } | undefined;
3695
+ line?: {
3696
+ channelId: string;
3697
+ channelSecret: string;
3698
+ } | undefined;
3513
3699
  lineRichMenuId?: string | null | undefined;
3514
3700
  messengerIntegrationType?: "own" | "business" | undefined;
3515
3701
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3584,7 +3770,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3584
3770
  }>>;
3585
3771
  }, "strip", z.ZodTypeAny, {
3586
3772
  message: {
3587
- 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";
3773
+ type: string;
3588
3774
  direction: "incoming" | "outgoing" | "system";
3589
3775
  id?: string | undefined;
3590
3776
  message?: string | undefined;
@@ -3651,6 +3837,10 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3651
3837
  mobileNumber: string;
3652
3838
  apiSecret: string;
3653
3839
  } | undefined;
3840
+ line?: {
3841
+ channelId: string;
3842
+ channelSecret: string;
3843
+ } | undefined;
3654
3844
  lineRichMenuId?: string | null | undefined;
3655
3845
  messengerIntegrationType?: "own" | "business" | undefined;
3656
3846
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3719,7 +3909,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3719
3909
  } | undefined;
3720
3910
  }, {
3721
3911
  message: {
3722
- 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";
3912
+ type: string;
3723
3913
  direction: "incoming" | "outgoing" | "system";
3724
3914
  id?: string | undefined;
3725
3915
  message?: string | undefined;
@@ -3786,6 +3976,10 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3786
3976
  mobileNumber: string;
3787
3977
  apiSecret: string;
3788
3978
  } | undefined;
3979
+ line?: {
3980
+ channelId: string;
3981
+ channelSecret: string;
3982
+ } | undefined;
3789
3983
  lineRichMenuId?: string | null | undefined;
3790
3984
  messengerIntegrationType?: "own" | "business" | undefined;
3791
3985
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3856,11 +4050,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3856
4050
  export declare const SendMessageResponseSchema: z.ZodObject<{
3857
4051
  requestId: z.ZodString;
3858
4052
  data: z.ZodObject<{
3859
- 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"]>;
4053
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
3860
4054
  message: z.ZodString;
3861
4055
  id: z.ZodString;
3862
4056
  url: z.ZodString;
3863
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4057
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3864
4058
  label: z.ZodOptional<z.ZodString>;
3865
4059
  template: z.ZodAny;
3866
4060
  metadata: z.ZodAny;
@@ -4325,7 +4519,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4325
4519
  firstResponseTime: z.ZodNumber;
4326
4520
  isLatest: z.ZodBoolean;
4327
4521
  isBotRoom: z.ZodBoolean;
4328
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4522
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4329
4523
  platformContact: z.ZodObject<{
4330
4524
  id: z.ZodString;
4331
4525
  createdAt: z.ZodDate;
@@ -5849,6 +6043,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5849
6043
  mobileNumber: string;
5850
6044
  apiSecret: string;
5851
6045
  }>>;
6046
+ line: z.ZodOptional<z.ZodObject<{
6047
+ channelId: z.ZodString;
6048
+ channelSecret: z.ZodString;
6049
+ }, "strip", z.ZodTypeAny, {
6050
+ channelId: string;
6051
+ channelSecret: string;
6052
+ }, {
6053
+ channelId: string;
6054
+ channelSecret: string;
6055
+ }>>;
5852
6056
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5853
6057
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
5854
6058
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -5879,6 +6083,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5879
6083
  mobileNumber: string;
5880
6084
  apiSecret: string;
5881
6085
  } | undefined;
6086
+ line?: {
6087
+ channelId: string;
6088
+ channelSecret: string;
6089
+ } | undefined;
5882
6090
  lineRichMenuId?: string | null | undefined;
5883
6091
  messengerIntegrationType?: "own" | "business" | undefined;
5884
6092
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -5909,6 +6117,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5909
6117
  mobileNumber: string;
5910
6118
  apiSecret: string;
5911
6119
  } | undefined;
6120
+ line?: {
6121
+ channelId: string;
6122
+ channelSecret: string;
6123
+ } | undefined;
5912
6124
  lineRichMenuId?: string | null | undefined;
5913
6125
  messengerIntegrationType?: "own" | "business" | undefined;
5914
6126
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6173,6 +6385,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6173
6385
  mobileNumber: string;
6174
6386
  apiSecret: string;
6175
6387
  } | undefined;
6388
+ line?: {
6389
+ channelId: string;
6390
+ channelSecret: string;
6391
+ } | undefined;
6176
6392
  lineRichMenuId?: string | null | undefined;
6177
6393
  messengerIntegrationType?: "own" | "business" | undefined;
6178
6394
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6268,6 +6484,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6268
6484
  mobileNumber: string;
6269
6485
  apiSecret: string;
6270
6486
  } | undefined;
6487
+ line?: {
6488
+ channelId: string;
6489
+ channelSecret: string;
6490
+ } | undefined;
6271
6491
  lineRichMenuId?: string | null | undefined;
6272
6492
  messengerIntegrationType?: "own" | "business" | undefined;
6273
6493
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6927,6 +7147,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6927
7147
  mobileNumber: string;
6928
7148
  apiSecret: string;
6929
7149
  } | undefined;
7150
+ line?: {
7151
+ channelId: string;
7152
+ channelSecret: string;
7153
+ } | undefined;
6930
7154
  lineRichMenuId?: string | null | undefined;
6931
7155
  messengerIntegrationType?: "own" | "business" | undefined;
6932
7156
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7356,6 +7580,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7356
7580
  mobileNumber: string;
7357
7581
  apiSecret: string;
7358
7582
  } | undefined;
7583
+ line?: {
7584
+ channelId: string;
7585
+ channelSecret: string;
7586
+ } | undefined;
7359
7587
  lineRichMenuId?: string | null | undefined;
7360
7588
  messengerIntegrationType?: "own" | "business" | undefined;
7361
7589
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7791,8 +8019,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7791
8019
  updatedAt: z.ZodDate;
7792
8020
  deletedAt: z.ZodNullable<z.ZodDate>;
7793
8021
  message: z.ZodString;
7794
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7795
- 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"]>;
8022
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
8023
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
7796
8024
  readAt: z.ZodDate;
7797
8025
  metadata: z.ZodAny;
7798
8026
  platformId: z.ZodString;
@@ -8450,7 +8678,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8450
8678
  };
8451
8679
  }>;
8452
8680
  }, "strip", z.ZodTypeAny, {
8453
- 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";
8681
+ type: string;
8454
8682
  message: string;
8455
8683
  id: string;
8456
8684
  url: string;
@@ -8612,7 +8840,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8612
8840
  metadata?: any;
8613
8841
  template?: any;
8614
8842
  }, {
8615
- 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";
8843
+ type: string;
8616
8844
  message: string;
8617
8845
  id: string;
8618
8846
  url: string;
@@ -8985,8 +9213,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8985
9213
  updatedAt: z.ZodDate;
8986
9214
  deletedAt: z.ZodNullable<z.ZodDate>;
8987
9215
  message: z.ZodString;
8988
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
8989
- 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"]>;
9216
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
9217
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
8990
9218
  readAt: z.ZodDate;
8991
9219
  metadata: z.ZodAny;
8992
9220
  platformId: z.ZodString;
@@ -9012,7 +9240,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9012
9240
  firstResponseTime: z.ZodNumber;
9013
9241
  isLatest: z.ZodBoolean;
9014
9242
  isBotRoom: z.ZodBoolean;
9015
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9243
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
9016
9244
  platformContact: z.ZodObject<{
9017
9245
  id: z.ZodString;
9018
9246
  createdAt: z.ZodDate;
@@ -10536,6 +10764,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10536
10764
  mobileNumber: string;
10537
10765
  apiSecret: string;
10538
10766
  }>>;
10767
+ line: z.ZodOptional<z.ZodObject<{
10768
+ channelId: z.ZodString;
10769
+ channelSecret: z.ZodString;
10770
+ }, "strip", z.ZodTypeAny, {
10771
+ channelId: string;
10772
+ channelSecret: string;
10773
+ }, {
10774
+ channelId: string;
10775
+ channelSecret: string;
10776
+ }>>;
10539
10777
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10540
10778
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
10541
10779
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -10566,6 +10804,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10566
10804
  mobileNumber: string;
10567
10805
  apiSecret: string;
10568
10806
  } | undefined;
10807
+ line?: {
10808
+ channelId: string;
10809
+ channelSecret: string;
10810
+ } | undefined;
10569
10811
  lineRichMenuId?: string | null | undefined;
10570
10812
  messengerIntegrationType?: "own" | "business" | undefined;
10571
10813
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10596,6 +10838,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10596
10838
  mobileNumber: string;
10597
10839
  apiSecret: string;
10598
10840
  } | undefined;
10841
+ line?: {
10842
+ channelId: string;
10843
+ channelSecret: string;
10844
+ } | undefined;
10599
10845
  lineRichMenuId?: string | null | undefined;
10600
10846
  messengerIntegrationType?: "own" | "business" | undefined;
10601
10847
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10860,6 +11106,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10860
11106
  mobileNumber: string;
10861
11107
  apiSecret: string;
10862
11108
  } | undefined;
11109
+ line?: {
11110
+ channelId: string;
11111
+ channelSecret: string;
11112
+ } | undefined;
10863
11113
  lineRichMenuId?: string | null | undefined;
10864
11114
  messengerIntegrationType?: "own" | "business" | undefined;
10865
11115
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10955,6 +11205,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10955
11205
  mobileNumber: string;
10956
11206
  apiSecret: string;
10957
11207
  } | undefined;
11208
+ line?: {
11209
+ channelId: string;
11210
+ channelSecret: string;
11211
+ } | undefined;
10958
11212
  lineRichMenuId?: string | null | undefined;
10959
11213
  messengerIntegrationType?: "own" | "business" | undefined;
10960
11214
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -11614,6 +11868,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11614
11868
  mobileNumber: string;
11615
11869
  apiSecret: string;
11616
11870
  } | undefined;
11871
+ line?: {
11872
+ channelId: string;
11873
+ channelSecret: string;
11874
+ } | undefined;
11617
11875
  lineRichMenuId?: string | null | undefined;
11618
11876
  messengerIntegrationType?: "own" | "business" | undefined;
11619
11877
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -12043,6 +12301,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12043
12301
  mobileNumber: string;
12044
12302
  apiSecret: string;
12045
12303
  } | undefined;
12304
+ line?: {
12305
+ channelId: string;
12306
+ channelSecret: string;
12307
+ } | undefined;
12046
12308
  lineRichMenuId?: string | null | undefined;
12047
12309
  messengerIntegrationType?: "own" | "business" | undefined;
12048
12310
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -12481,8 +12743,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12481
12743
  updatedAt: z.ZodDate;
12482
12744
  deletedAt: z.ZodNullable<z.ZodDate>;
12483
12745
  message: z.ZodString;
12484
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
12485
- 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"]>;
12746
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
12747
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
12486
12748
  readAt: z.ZodDate;
12487
12749
  metadata: z.ZodAny;
12488
12750
  platformId: z.ZodString;
@@ -13140,7 +13402,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13140
13402
  };
13141
13403
  }>;
13142
13404
  }, "strip", z.ZodTypeAny, {
13143
- 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";
13405
+ type: string;
13144
13406
  message: string;
13145
13407
  id: string;
13146
13408
  url: string;
@@ -13302,7 +13564,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13302
13564
  metadata?: any;
13303
13565
  template?: any;
13304
13566
  }, {
13305
- 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";
13567
+ type: string;
13306
13568
  message: string;
13307
13569
  id: string;
13308
13570
  url: string;
@@ -14104,7 +14366,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14104
14366
  editedMessageid: z.ZodString;
14105
14367
  label: z.ZodOptional<z.ZodString>;
14106
14368
  }, "strip", z.ZodTypeAny, {
14107
- 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";
14369
+ type: string;
14108
14370
  message: string;
14109
14371
  id: string;
14110
14372
  url: string;
@@ -14245,6 +14507,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14245
14507
  mobileNumber: string;
14246
14508
  apiSecret: string;
14247
14509
  } | undefined;
14510
+ line?: {
14511
+ channelId: string;
14512
+ channelSecret: string;
14513
+ } | undefined;
14248
14514
  lineRichMenuId?: string | null | undefined;
14249
14515
  messengerIntegrationType?: "own" | "business" | undefined;
14250
14516
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -14659,7 +14925,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14659
14925
  previewUrl: string;
14660
14926
  imageSetId: string;
14661
14927
  repliedMessage: {
14662
- 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";
14928
+ type: string;
14663
14929
  message: string;
14664
14930
  id: string;
14665
14931
  url: string;
@@ -14870,7 +15136,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14870
15136
  template?: any;
14871
15137
  label?: string | undefined;
14872
15138
  }, {
14873
- 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";
15139
+ type: string;
14874
15140
  message: string;
14875
15141
  id: string;
14876
15142
  url: string;
@@ -15011,6 +15277,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15011
15277
  mobileNumber: string;
15012
15278
  apiSecret: string;
15013
15279
  } | undefined;
15280
+ line?: {
15281
+ channelId: string;
15282
+ channelSecret: string;
15283
+ } | undefined;
15014
15284
  lineRichMenuId?: string | null | undefined;
15015
15285
  messengerIntegrationType?: "own" | "business" | undefined;
15016
15286
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -15425,7 +15695,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15425
15695
  previewUrl: string;
15426
15696
  imageSetId: string;
15427
15697
  repliedMessage: {
15428
- 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";
15698
+ type: string;
15429
15699
  message: string;
15430
15700
  id: string;
15431
15701
  url: string;
@@ -15637,7 +15907,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15637
15907
  label?: string | undefined;
15638
15908
  }>>>;
15639
15909
  }, "strip", z.ZodTypeAny, {
15640
- 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";
15910
+ type: string;
15641
15911
  message: string;
15642
15912
  id: string;
15643
15913
  url: string;
@@ -15778,6 +16048,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15778
16048
  mobileNumber: string;
15779
16049
  apiSecret: string;
15780
16050
  } | undefined;
16051
+ line?: {
16052
+ channelId: string;
16053
+ channelSecret: string;
16054
+ } | undefined;
15781
16055
  lineRichMenuId?: string | null | undefined;
15782
16056
  messengerIntegrationType?: "own" | "business" | undefined;
15783
16057
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16192,7 +16466,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16192
16466
  previewUrl: string;
16193
16467
  imageSetId: string;
16194
16468
  repliedMessage: {
16195
- 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";
16469
+ type: string;
16196
16470
  message: string;
16197
16471
  id: string;
16198
16472
  url: string;
@@ -16403,7 +16677,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16403
16677
  template?: any;
16404
16678
  metadata?: any;
16405
16679
  fromMessage?: {
16406
- 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";
16680
+ type: string;
16407
16681
  message: string;
16408
16682
  id: string;
16409
16683
  url: string;
@@ -16544,6 +16818,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16544
16818
  mobileNumber: string;
16545
16819
  apiSecret: string;
16546
16820
  } | undefined;
16821
+ line?: {
16822
+ channelId: string;
16823
+ channelSecret: string;
16824
+ } | undefined;
16547
16825
  lineRichMenuId?: string | null | undefined;
16548
16826
  messengerIntegrationType?: "own" | "business" | undefined;
16549
16827
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16958,7 +17236,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16958
17236
  previewUrl: string;
16959
17237
  imageSetId: string;
16960
17238
  repliedMessage: {
16961
- 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";
17239
+ type: string;
16962
17240
  message: string;
16963
17241
  id: string;
16964
17242
  url: string;
@@ -17170,7 +17448,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17170
17448
  label?: string | undefined;
17171
17449
  } | null | undefined;
17172
17450
  }, {
17173
- 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";
17451
+ type: string;
17174
17452
  message: string;
17175
17453
  id: string;
17176
17454
  url: string;
@@ -17311,6 +17589,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17311
17589
  mobileNumber: string;
17312
17590
  apiSecret: string;
17313
17591
  } | undefined;
17592
+ line?: {
17593
+ channelId: string;
17594
+ channelSecret: string;
17595
+ } | undefined;
17314
17596
  lineRichMenuId?: string | null | undefined;
17315
17597
  messengerIntegrationType?: "own" | "business" | undefined;
17316
17598
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -17725,7 +18007,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17725
18007
  previewUrl: string;
17726
18008
  imageSetId: string;
17727
18009
  repliedMessage: {
17728
- 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";
18010
+ type: string;
17729
18011
  message: string;
17730
18012
  id: string;
17731
18013
  url: string;
@@ -17936,7 +18218,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17936
18218
  template?: any;
17937
18219
  metadata?: any;
17938
18220
  fromMessage?: {
17939
- 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";
18221
+ type: string;
17940
18222
  message: string;
17941
18223
  id: string;
17942
18224
  url: string;
@@ -18077,6 +18359,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18077
18359
  mobileNumber: string;
18078
18360
  apiSecret: string;
18079
18361
  } | undefined;
18362
+ line?: {
18363
+ channelId: string;
18364
+ channelSecret: string;
18365
+ } | undefined;
18080
18366
  lineRichMenuId?: string | null | undefined;
18081
18367
  messengerIntegrationType?: "own" | "business" | undefined;
18082
18368
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -18491,7 +18777,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18491
18777
  previewUrl: string;
18492
18778
  imageSetId: string;
18493
18779
  repliedMessage: {
18494
- 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";
18780
+ type: string;
18495
18781
  message: string;
18496
18782
  id: string;
18497
18783
  url: string;
@@ -18705,7 +18991,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18705
18991
  }>;
18706
18992
  }, "strip", z.ZodTypeAny, {
18707
18993
  data: {
18708
- 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";
18994
+ type: string;
18709
18995
  message: string;
18710
18996
  id: string;
18711
18997
  url: string;
@@ -18846,6 +19132,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18846
19132
  mobileNumber: string;
18847
19133
  apiSecret: string;
18848
19134
  } | undefined;
19135
+ line?: {
19136
+ channelId: string;
19137
+ channelSecret: string;
19138
+ } | undefined;
18849
19139
  lineRichMenuId?: string | null | undefined;
18850
19140
  messengerIntegrationType?: "own" | "business" | undefined;
18851
19141
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -19260,7 +19550,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19260
19550
  previewUrl: string;
19261
19551
  imageSetId: string;
19262
19552
  repliedMessage: {
19263
- 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";
19553
+ type: string;
19264
19554
  message: string;
19265
19555
  id: string;
19266
19556
  url: string;
@@ -19471,7 +19761,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19471
19761
  template?: any;
19472
19762
  metadata?: any;
19473
19763
  fromMessage?: {
19474
- 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";
19764
+ type: string;
19475
19765
  message: string;
19476
19766
  id: string;
19477
19767
  url: string;
@@ -19612,6 +19902,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19612
19902
  mobileNumber: string;
19613
19903
  apiSecret: string;
19614
19904
  } | undefined;
19905
+ line?: {
19906
+ channelId: string;
19907
+ channelSecret: string;
19908
+ } | undefined;
19615
19909
  lineRichMenuId?: string | null | undefined;
19616
19910
  messengerIntegrationType?: "own" | "business" | undefined;
19617
19911
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20026,7 +20320,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20026
20320
  previewUrl: string;
20027
20321
  imageSetId: string;
20028
20322
  repliedMessage: {
20029
- 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";
20323
+ type: string;
20030
20324
  message: string;
20031
20325
  id: string;
20032
20326
  url: string;
@@ -20241,7 +20535,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20241
20535
  requestId: string;
20242
20536
  }, {
20243
20537
  data: {
20244
- 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";
20538
+ type: string;
20245
20539
  message: string;
20246
20540
  id: string;
20247
20541
  url: string;
@@ -20382,6 +20676,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20382
20676
  mobileNumber: string;
20383
20677
  apiSecret: string;
20384
20678
  } | undefined;
20679
+ line?: {
20680
+ channelId: string;
20681
+ channelSecret: string;
20682
+ } | undefined;
20385
20683
  lineRichMenuId?: string | null | undefined;
20386
20684
  messengerIntegrationType?: "own" | "business" | undefined;
20387
20685
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20796,7 +21094,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20796
21094
  previewUrl: string;
20797
21095
  imageSetId: string;
20798
21096
  repliedMessage: {
20799
- 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";
21097
+ type: string;
20800
21098
  message: string;
20801
21099
  id: string;
20802
21100
  url: string;
@@ -21007,7 +21305,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
21007
21305
  template?: any;
21008
21306
  metadata?: any;
21009
21307
  fromMessage?: {
21010
- 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";
21308
+ type: string;
21011
21309
  message: string;
21012
21310
  id: string;
21013
21311
  url: string;
@@ -21148,6 +21446,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
21148
21446
  mobileNumber: string;
21149
21447
  apiSecret: string;
21150
21448
  } | undefined;
21449
+ line?: {
21450
+ channelId: string;
21451
+ channelSecret: string;
21452
+ } | undefined;
21151
21453
  lineRichMenuId?: string | null | undefined;
21152
21454
  messengerIntegrationType?: "own" | "business" | undefined;
21153
21455
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -21562,7 +21864,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
21562
21864
  previewUrl: string;
21563
21865
  imageSetId: string;
21564
21866
  repliedMessage: {
21565
- 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";
21867
+ type: string;
21566
21868
  message: string;
21567
21869
  id: string;
21568
21870
  url: string;
@@ -21842,6 +22144,16 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21842
22144
  mobileNumber: string;
21843
22145
  apiSecret: string;
21844
22146
  }>>;
22147
+ line: z.ZodOptional<z.ZodObject<{
22148
+ channelId: z.ZodString;
22149
+ channelSecret: z.ZodString;
22150
+ }, "strip", z.ZodTypeAny, {
22151
+ channelId: string;
22152
+ channelSecret: string;
22153
+ }, {
22154
+ channelId: string;
22155
+ channelSecret: string;
22156
+ }>>;
21845
22157
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21846
22158
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
21847
22159
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -21872,6 +22184,10 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21872
22184
  mobileNumber: string;
21873
22185
  apiSecret: string;
21874
22186
  } | undefined;
22187
+ line?: {
22188
+ channelId: string;
22189
+ channelSecret: string;
22190
+ } | undefined;
21875
22191
  lineRichMenuId?: string | null | undefined;
21876
22192
  messengerIntegrationType?: "own" | "business" | undefined;
21877
22193
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -21902,6 +22218,10 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21902
22218
  mobileNumber: string;
21903
22219
  apiSecret: string;
21904
22220
  } | undefined;
22221
+ line?: {
22222
+ channelId: string;
22223
+ channelSecret: string;
22224
+ } | undefined;
21905
22225
  lineRichMenuId?: string | null | undefined;
21906
22226
  messengerIntegrationType?: "own" | "business" | undefined;
21907
22227
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -21962,6 +22282,10 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21962
22282
  mobileNumber: string;
21963
22283
  apiSecret: string;
21964
22284
  } | undefined;
22285
+ line?: {
22286
+ channelId: string;
22287
+ channelSecret: string;
22288
+ } | undefined;
21965
22289
  lineRichMenuId?: string | null | undefined;
21966
22290
  messengerIntegrationType?: "own" | "business" | undefined;
21967
22291
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -22010,6 +22334,10 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
22010
22334
  mobileNumber: string;
22011
22335
  apiSecret: string;
22012
22336
  } | undefined;
22337
+ line?: {
22338
+ channelId: string;
22339
+ channelSecret: string;
22340
+ } | undefined;
22013
22341
  lineRichMenuId?: string | null | undefined;
22014
22342
  messengerIntegrationType?: "own" | "business" | undefined;
22015
22343
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -22060,6 +22388,10 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
22060
22388
  mobileNumber: string;
22061
22389
  apiSecret: string;
22062
22390
  } | undefined;
22391
+ line?: {
22392
+ channelId: string;
22393
+ channelSecret: string;
22394
+ } | undefined;
22063
22395
  lineRichMenuId?: string | null | undefined;
22064
22396
  messengerIntegrationType?: "own" | "business" | undefined;
22065
22397
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -22111,6 +22443,10 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
22111
22443
  mobileNumber: string;
22112
22444
  apiSecret: string;
22113
22445
  } | undefined;
22446
+ line?: {
22447
+ channelId: string;
22448
+ channelSecret: string;
22449
+ } | undefined;
22114
22450
  lineRichMenuId?: string | null | undefined;
22115
22451
  messengerIntegrationType?: "own" | "business" | undefined;
22116
22452
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -22139,8 +22475,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22139
22475
  updatedAt: z.ZodString;
22140
22476
  deletedAt: z.ZodNullable<z.ZodString>;
22141
22477
  message: z.ZodOptional<z.ZodString>;
22142
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
22143
- 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"]>;
22478
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
22479
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
22144
22480
  metadata: z.ZodAny;
22145
22481
  platformId: z.ZodString;
22146
22482
  platformMessageId: z.ZodString;
@@ -22162,7 +22498,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22162
22498
  firstResponseAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22163
22499
  firstResponseTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22164
22500
  isLatest: z.ZodOptional<z.ZodBoolean>;
22165
- direction: z.ZodOptional<z.ZodEnum<["incoming", "outgoing", "system"]>>;
22501
+ direction: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>>;
22166
22502
  platformContact: z.ZodOptional<z.ZodObject<{
22167
22503
  id: z.ZodString;
22168
22504
  createdAt: z.ZodString;
@@ -23569,6 +23905,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23569
23905
  mobileNumber: string;
23570
23906
  apiSecret: string;
23571
23907
  }>>;
23908
+ line: z.ZodOptional<z.ZodObject<{
23909
+ channelId: z.ZodString;
23910
+ channelSecret: z.ZodString;
23911
+ }, "strip", z.ZodTypeAny, {
23912
+ channelId: string;
23913
+ channelSecret: string;
23914
+ }, {
23915
+ channelId: string;
23916
+ channelSecret: string;
23917
+ }>>;
23572
23918
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23573
23919
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
23574
23920
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -23599,6 +23945,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23599
23945
  mobileNumber: string;
23600
23946
  apiSecret: string;
23601
23947
  } | undefined;
23948
+ line?: {
23949
+ channelId: string;
23950
+ channelSecret: string;
23951
+ } | undefined;
23602
23952
  lineRichMenuId?: string | null | undefined;
23603
23953
  messengerIntegrationType?: "own" | "business" | undefined;
23604
23954
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -23629,6 +23979,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23629
23979
  mobileNumber: string;
23630
23980
  apiSecret: string;
23631
23981
  } | undefined;
23982
+ line?: {
23983
+ channelId: string;
23984
+ channelSecret: string;
23985
+ } | undefined;
23632
23986
  lineRichMenuId?: string | null | undefined;
23633
23987
  messengerIntegrationType?: "own" | "business" | undefined;
23634
23988
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -23689,6 +24043,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23689
24043
  mobileNumber: string;
23690
24044
  apiSecret: string;
23691
24045
  } | undefined;
24046
+ line?: {
24047
+ channelId: string;
24048
+ channelSecret: string;
24049
+ } | undefined;
23692
24050
  lineRichMenuId?: string | null | undefined;
23693
24051
  messengerIntegrationType?: "own" | "business" | undefined;
23694
24052
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -23737,6 +24095,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23737
24095
  mobileNumber: string;
23738
24096
  apiSecret: string;
23739
24097
  } | undefined;
24098
+ line?: {
24099
+ channelId: string;
24100
+ channelSecret: string;
24101
+ } | undefined;
23740
24102
  lineRichMenuId?: string | null | undefined;
23741
24103
  messengerIntegrationType?: "own" | "business" | undefined;
23742
24104
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -24534,6 +24896,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24534
24896
  mobileNumber: string;
24535
24897
  apiSecret: string;
24536
24898
  } | undefined;
24899
+ line?: {
24900
+ channelId: string;
24901
+ channelSecret: string;
24902
+ } | undefined;
24537
24903
  lineRichMenuId?: string | null | undefined;
24538
24904
  messengerIntegrationType?: "own" | "business" | undefined;
24539
24905
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -24887,6 +25253,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24887
25253
  mobileNumber: string;
24888
25254
  apiSecret: string;
24889
25255
  } | undefined;
25256
+ line?: {
25257
+ channelId: string;
25258
+ channelSecret: string;
25259
+ } | undefined;
24890
25260
  lineRichMenuId?: string | null | undefined;
24891
25261
  messengerIntegrationType?: "own" | "business" | undefined;
24892
25262
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -25646,7 +26016,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25646
26016
  }>>>;
25647
26017
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25648
26018
  }, "strip", z.ZodTypeAny, {
25649
- 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";
26019
+ type: string;
25650
26020
  id: string;
25651
26021
  direction: "incoming" | "outgoing" | "system";
25652
26022
  createdAt: string;
@@ -25896,6 +26266,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25896
26266
  mobileNumber: string;
25897
26267
  apiSecret: string;
25898
26268
  } | undefined;
26269
+ line?: {
26270
+ channelId: string;
26271
+ channelSecret: string;
26272
+ } | undefined;
25899
26273
  lineRichMenuId?: string | null | undefined;
25900
26274
  messengerIntegrationType?: "own" | "business" | undefined;
25901
26275
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -26162,7 +26536,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26162
26536
  } | null | undefined;
26163
26537
  label?: string | null | undefined;
26164
26538
  }, {
26165
- 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";
26539
+ type: string;
26166
26540
  id: string;
26167
26541
  direction: "incoming" | "outgoing" | "system";
26168
26542
  createdAt: string;
@@ -26412,6 +26786,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26412
26786
  mobileNumber: string;
26413
26787
  apiSecret: string;
26414
26788
  } | undefined;
26789
+ line?: {
26790
+ channelId: string;
26791
+ channelSecret: string;
26792
+ } | undefined;
26415
26793
  lineRichMenuId?: string | null | undefined;
26416
26794
  messengerIntegrationType?: "own" | "business" | undefined;
26417
26795
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -26680,7 +27058,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26680
27058
  }>;
26681
27059
  }, "strip", z.ZodTypeAny, {
26682
27060
  message: {
26683
- 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";
27061
+ type: string;
26684
27062
  id: string;
26685
27063
  direction: "incoming" | "outgoing" | "system";
26686
27064
  createdAt: string;
@@ -26930,6 +27308,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26930
27308
  mobileNumber: string;
26931
27309
  apiSecret: string;
26932
27310
  } | undefined;
27311
+ line?: {
27312
+ channelId: string;
27313
+ channelSecret: string;
27314
+ } | undefined;
26933
27315
  lineRichMenuId?: string | null | undefined;
26934
27316
  messengerIntegrationType?: "own" | "business" | undefined;
26935
27317
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -27198,7 +27580,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
27198
27580
  };
27199
27581
  }, {
27200
27582
  message: {
27201
- 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";
27583
+ type: string;
27202
27584
  id: string;
27203
27585
  direction: "incoming" | "outgoing" | "system";
27204
27586
  createdAt: string;
@@ -27448,6 +27830,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
27448
27830
  mobileNumber: string;
27449
27831
  apiSecret: string;
27450
27832
  } | undefined;
27833
+ line?: {
27834
+ channelId: string;
27835
+ channelSecret: string;
27836
+ } | undefined;
27451
27837
  lineRichMenuId?: string | null | undefined;
27452
27838
  messengerIntegrationType?: "own" | "business" | undefined;
27453
27839
  facebookFeedIntegrationType?: "own" | "business" | undefined;