@kl1/contracts 1.1.30-uat → 1.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/index.js +3454 -3284
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +3443 -3277
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/botpress/index.d.ts +547 -0
  6. package/dist/src/botpress/index.d.ts.map +1 -0
  7. package/dist/src/botpress/schema.d.ts +81 -0
  8. package/dist/src/botpress/schema.d.ts.map +1 -0
  9. package/dist/src/botpress/validation.d.ts +229 -0
  10. package/dist/src/botpress/validation.d.ts.map +1 -0
  11. package/dist/src/business-calendar/index.d.ts +36 -0
  12. package/dist/src/business-calendar/index.d.ts.map +1 -1
  13. package/dist/src/business-calendar/schema.d.ts +11 -0
  14. package/dist/src/business-calendar/schema.d.ts.map +1 -1
  15. package/dist/src/channel/index.d.ts +1687 -0
  16. package/dist/src/channel/index.d.ts.map +1 -1
  17. package/dist/src/channel/schema.d.ts +44 -0
  18. package/dist/src/channel/schema.d.ts.map +1 -1
  19. package/dist/src/channel/validation.d.ts +12 -0
  20. package/dist/src/channel/validation.d.ts.map +1 -1
  21. package/dist/src/chat/index.d.ts +34189 -32567
  22. package/dist/src/chat/index.d.ts.map +1 -1
  23. package/dist/src/chat/schema.d.ts +365 -59
  24. package/dist/src/chat/schema.d.ts.map +1 -1
  25. package/dist/src/chat/validation.d.ts +392 -85
  26. package/dist/src/chat/validation.d.ts.map +1 -1
  27. package/dist/src/contact/index.d.ts +0 -3
  28. package/dist/src/contact/index.d.ts.map +1 -1
  29. package/dist/src/contact/schema.d.ts.map +1 -1
  30. package/dist/src/contact/validation.d.ts +0 -3
  31. package/dist/src/contact/validation.d.ts.map +1 -1
  32. package/dist/src/contract.d.ts +106130 -173397
  33. package/dist/src/contract.d.ts.map +1 -1
  34. package/dist/src/cx-log/index.d.ts +99 -8
  35. package/dist/src/cx-log/index.d.ts.map +1 -1
  36. package/dist/src/cx-log/schema.d.ts +85 -12
  37. package/dist/src/cx-log/schema.d.ts.map +1 -1
  38. package/dist/src/export/index.d.ts +43 -0
  39. package/dist/src/export/index.d.ts.map +1 -0
  40. package/dist/src/index.d.ts +2 -0
  41. package/dist/src/index.d.ts.map +1 -1
  42. package/dist/src/instagram/index.d.ts +438 -65
  43. package/dist/src/instagram/index.d.ts.map +1 -1
  44. package/dist/src/instagram/validation.d.ts +7 -0
  45. package/dist/src/instagram/validation.d.ts.map +1 -1
  46. package/dist/src/line/index.d.ts +434 -70
  47. package/dist/src/line/index.d.ts.map +1 -1
  48. package/dist/src/line/validation.d.ts +31 -5
  49. package/dist/src/line/validation.d.ts.map +1 -1
  50. package/dist/src/mail/mail-contract.d.ts +7851 -30264
  51. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  52. package/dist/src/mail/message-contract.d.ts +61 -6421
  53. package/dist/src/mail/message-contract.d.ts.map +1 -1
  54. package/dist/src/mail/room-contract.d.ts +1561 -17616
  55. package/dist/src/mail/room-contract.d.ts.map +1 -1
  56. package/dist/src/mail/schemas/message-validation.schema.d.ts +4 -7
  57. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
  58. package/dist/src/mail/schemas/message.schema.d.ts +40 -762
  59. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  60. package/dist/src/mail/schemas/room-validation.schema.d.ts +386 -5678
  61. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  62. package/dist/src/mail/schemas/room.schema.d.ts +485 -5816
  63. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  64. package/dist/src/messenger/index.d.ts +443 -66
  65. package/dist/src/messenger/index.d.ts.map +1 -1
  66. package/dist/src/messenger/validation.d.ts +48 -0
  67. package/dist/src/messenger/validation.d.ts.map +1 -1
  68. package/dist/src/subscription/index.d.ts +332 -0
  69. package/dist/src/subscription/index.d.ts.map +1 -0
  70. package/dist/src/subscription/schema.d.ts +290 -0
  71. package/dist/src/subscription/schema.d.ts.map +1 -0
  72. package/dist/src/subscription/validation.d.ts +27 -0
  73. package/dist/src/subscription/validation.d.ts.map +1 -0
  74. package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
  75. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  76. package/dist/src/telephony-cdr/index.d.ts +126 -622
  77. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  78. package/dist/src/telephony-cdr/schema.d.ts +7 -0
  79. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  80. package/dist/src/ticket/index.d.ts +125 -0
  81. package/dist/src/ticket/index.d.ts.map +1 -1
  82. package/dist/src/ticket/schema.d.ts +7 -0
  83. package/dist/src/ticket/schema.d.ts.map +1 -1
  84. package/dist/src/viber/index.d.ts +498 -65
  85. package/dist/src/viber/index.d.ts.map +1 -1
  86. package/dist/src/webchat/index.d.ts +379 -68
  87. package/dist/src/webchat/index.d.ts.map +1 -1
  88. package/dist/src/workflow-rule/index.d.ts +7455 -0
  89. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  90. package/dist/src/workflow-rule/schema.d.ts +27 -0
  91. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  92. package/dist/src/wrap-up-form/index.d.ts +475 -22
  93. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  94. package/dist/src/wrap-up-form/schema.d.ts +4 -4
  95. package/dist/src/wrap-up-form/validation.d.ts +6 -0
  96. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  97. package/package.json +1 -1
@@ -247,7 +247,7 @@ export declare const StickerSchema: z.ZodObject<{
247
247
  }>;
248
248
  export declare const SendMessageSchema: z.ZodObject<{
249
249
  roomId: z.ZodString;
250
- messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
250
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
251
251
  message: z.ZodOptional<z.ZodString>;
252
252
  messageAttachments: z.ZodOptional<z.ZodObject<{
253
253
  bucketName: z.ZodString;
@@ -491,7 +491,7 @@ export declare const SendMessageSchema: z.ZodObject<{
491
491
  file: z.ZodOptional<z.ZodType<File, z.ZodTypeDef, File>>;
492
492
  messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
493
493
  }, "strip", z.ZodTypeAny, {
494
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
494
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
495
495
  roomId: string;
496
496
  message?: string | undefined;
497
497
  messageAttachments?: {
@@ -554,7 +554,7 @@ export declare const SendMessageSchema: z.ZodObject<{
554
554
  file?: File | undefined;
555
555
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
556
556
  }, {
557
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
557
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
558
558
  roomId: string;
559
559
  message?: string | undefined;
560
560
  messageAttachments?: {
@@ -663,24 +663,28 @@ export declare const ChannelSchema: z.ZodObject<{
663
663
  accessToken: z.ZodOptional<z.ZodString>;
664
664
  channelSecret: z.ZodOptional<z.ZodString>;
665
665
  additionalCredentials: z.ZodOptional<z.ZodAny>;
666
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
666
667
  }, "strip", z.ZodTypeAny, {
667
668
  id: string;
668
669
  name: string;
669
670
  accessToken?: string | undefined;
670
671
  channelSecret?: string | undefined;
671
672
  additionalCredentials?: any;
673
+ lineRichMenuId?: string | null | undefined;
672
674
  }, {
673
675
  id: string;
674
676
  name: string;
675
677
  accessToken?: string | undefined;
676
678
  channelSecret?: string | undefined;
677
679
  additionalCredentials?: any;
680
+ lineRichMenuId?: string | null | undefined;
678
681
  }>;
679
682
  platformId: z.ZodString;
680
683
  brandName: z.ZodString;
681
684
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
682
685
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
683
686
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
687
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
684
688
  actor: z.ZodOptional<z.ZodObject<{
685
689
  id: z.ZodString;
686
690
  name: z.ZodString;
@@ -710,12 +714,14 @@ export declare const ChannelSchema: z.ZodObject<{
710
714
  accessToken?: string | undefined;
711
715
  channelSecret?: string | undefined;
712
716
  additionalCredentials?: any;
717
+ lineRichMenuId?: string | null | undefined;
713
718
  };
714
719
  status: boolean;
715
720
  brandName: string;
716
721
  platformId: string;
717
722
  connectedUserName?: string | null | undefined;
718
723
  connectedUserId?: string | null | undefined;
724
+ lineRichMenuId?: string | null | undefined;
719
725
  actor?: {
720
726
  id: string;
721
727
  address: string | null;
@@ -733,12 +739,14 @@ export declare const ChannelSchema: z.ZodObject<{
733
739
  accessToken?: string | undefined;
734
740
  channelSecret?: string | undefined;
735
741
  additionalCredentials?: any;
742
+ lineRichMenuId?: string | null | undefined;
736
743
  };
737
744
  status: boolean;
738
745
  brandName: string;
739
746
  platformId: string;
740
747
  connectedUserName?: string | null | undefined;
741
748
  connectedUserId?: string | null | undefined;
749
+ lineRichMenuId?: string | null | undefined;
742
750
  actor?: {
743
751
  id: string;
744
752
  address: string | null;
@@ -756,18 +764,21 @@ export declare const ReloginChanelSchema: z.ZodObject<{
756
764
  accessToken: z.ZodOptional<z.ZodString>;
757
765
  channelSecret: z.ZodOptional<z.ZodString>;
758
766
  additionalCredentials: z.ZodOptional<z.ZodAny>;
767
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
759
768
  }, "strip", z.ZodTypeAny, {
760
769
  id: string;
761
770
  name: string;
762
771
  accessToken?: string | undefined;
763
772
  channelSecret?: string | undefined;
764
773
  additionalCredentials?: any;
774
+ lineRichMenuId?: string | null | undefined;
765
775
  }, {
766
776
  id: string;
767
777
  name: string;
768
778
  accessToken?: string | undefined;
769
779
  channelSecret?: string | undefined;
770
780
  additionalCredentials?: any;
781
+ lineRichMenuId?: string | null | undefined;
771
782
  }>;
772
783
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
773
784
  actor: z.ZodOptional<z.ZodObject<{
@@ -789,6 +800,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
789
800
  email: string;
790
801
  phone: string | null;
791
802
  }>>;
803
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
792
804
  brandName: z.ZodString;
793
805
  platformId: z.ZodString;
794
806
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -808,6 +820,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
808
820
  accessToken?: string | undefined;
809
821
  channelSecret?: string | undefined;
810
822
  additionalCredentials?: any;
823
+ lineRichMenuId?: string | null | undefined;
811
824
  };
812
825
  status: boolean;
813
826
  createdAt: string;
@@ -823,6 +836,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
823
836
  email: string;
824
837
  phone: string | null;
825
838
  } | undefined;
839
+ lineRichMenuId?: string | null | undefined;
826
840
  connectedUserName?: string | null | undefined;
827
841
  connectedUserId?: string | null | undefined;
828
842
  }, {
@@ -835,6 +849,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
835
849
  accessToken?: string | undefined;
836
850
  channelSecret?: string | undefined;
837
851
  additionalCredentials?: any;
852
+ lineRichMenuId?: string | null | undefined;
838
853
  };
839
854
  status: boolean;
840
855
  createdAt: string;
@@ -850,10 +865,12 @@ export declare const ReloginChanelSchema: z.ZodObject<{
850
865
  email: string;
851
866
  phone: string | null;
852
867
  } | undefined;
868
+ lineRichMenuId?: string | null | undefined;
853
869
  connectedUserName?: string | null | undefined;
854
870
  connectedUserId?: string | null | undefined;
855
871
  }>;
856
872
  export declare const SendMessageToPlatformSchema: z.ZodObject<{
873
+ isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
857
874
  room: z.ZodObject<{
858
875
  id: z.ZodString;
859
876
  lastMessage: z.ZodOptional<z.ZodString>;
@@ -987,24 +1004,28 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
987
1004
  accessToken: z.ZodOptional<z.ZodString>;
988
1005
  channelSecret: z.ZodOptional<z.ZodString>;
989
1006
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1007
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
990
1008
  }, "strip", z.ZodTypeAny, {
991
1009
  id: string;
992
1010
  name: string;
993
1011
  accessToken?: string | undefined;
994
1012
  channelSecret?: string | undefined;
995
1013
  additionalCredentials?: any;
1014
+ lineRichMenuId?: string | null | undefined;
996
1015
  }, {
997
1016
  id: string;
998
1017
  name: string;
999
1018
  accessToken?: string | undefined;
1000
1019
  channelSecret?: string | undefined;
1001
1020
  additionalCredentials?: any;
1021
+ lineRichMenuId?: string | null | undefined;
1002
1022
  }>;
1003
1023
  platformId: z.ZodString;
1004
1024
  brandName: z.ZodString;
1005
1025
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
1006
1026
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1007
1027
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1028
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1008
1029
  actor: z.ZodOptional<z.ZodObject<{
1009
1030
  id: z.ZodString;
1010
1031
  name: z.ZodString;
@@ -1034,12 +1055,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1034
1055
  accessToken?: string | undefined;
1035
1056
  channelSecret?: string | undefined;
1036
1057
  additionalCredentials?: any;
1058
+ lineRichMenuId?: string | null | undefined;
1037
1059
  };
1038
1060
  status: boolean;
1039
1061
  brandName: string;
1040
1062
  platformId: string;
1041
1063
  connectedUserName?: string | null | undefined;
1042
1064
  connectedUserId?: string | null | undefined;
1065
+ lineRichMenuId?: string | null | undefined;
1043
1066
  actor?: {
1044
1067
  id: string;
1045
1068
  address: string | null;
@@ -1057,12 +1080,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1057
1080
  accessToken?: string | undefined;
1058
1081
  channelSecret?: string | undefined;
1059
1082
  additionalCredentials?: any;
1083
+ lineRichMenuId?: string | null | undefined;
1060
1084
  };
1061
1085
  status: boolean;
1062
1086
  brandName: string;
1063
1087
  platformId: string;
1064
1088
  connectedUserName?: string | null | undefined;
1065
1089
  connectedUserId?: string | null | undefined;
1090
+ lineRichMenuId?: string | null | undefined;
1066
1091
  actor?: {
1067
1092
  id: string;
1068
1093
  address: string | null;
@@ -1084,12 +1109,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1084
1109
  accessToken?: string | undefined;
1085
1110
  channelSecret?: string | undefined;
1086
1111
  additionalCredentials?: any;
1112
+ lineRichMenuId?: string | null | undefined;
1087
1113
  };
1088
1114
  status: boolean;
1089
1115
  brandName: string;
1090
1116
  platformId: string;
1091
1117
  connectedUserName?: string | null | undefined;
1092
1118
  connectedUserId?: string | null | undefined;
1119
+ lineRichMenuId?: string | null | undefined;
1093
1120
  actor?: {
1094
1121
  id: string;
1095
1122
  address: string | null;
@@ -1150,12 +1177,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1150
1177
  accessToken?: string | undefined;
1151
1178
  channelSecret?: string | undefined;
1152
1179
  additionalCredentials?: any;
1180
+ lineRichMenuId?: string | null | undefined;
1153
1181
  };
1154
1182
  status: boolean;
1155
1183
  brandName: string;
1156
1184
  platformId: string;
1157
1185
  connectedUserName?: string | null | undefined;
1158
1186
  connectedUserId?: string | null | undefined;
1187
+ lineRichMenuId?: string | null | undefined;
1159
1188
  actor?: {
1160
1189
  id: string;
1161
1190
  address: string | null;
@@ -1208,7 +1237,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1208
1237
  message: z.ZodObject<{
1209
1238
  message: z.ZodOptional<z.ZodString>;
1210
1239
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1211
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
1240
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
1212
1241
  readAt: z.ZodOptional<z.ZodDate>;
1213
1242
  metadata: z.ZodOptional<z.ZodAny>;
1214
1243
  platformId: z.ZodOptional<z.ZodString>;
@@ -1224,18 +1253,21 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1224
1253
  fileName: z.ZodString;
1225
1254
  fileSize: z.ZodNumber;
1226
1255
  fileKey: z.ZodString;
1256
+ originalUrl: z.ZodOptional<z.ZodString>;
1227
1257
  }, "strip", z.ZodTypeAny, {
1228
1258
  fileName: string;
1229
1259
  fileKey: string;
1230
1260
  bucketName: string;
1231
1261
  fileSize: number;
1262
+ originalUrl?: string | undefined;
1232
1263
  }, {
1233
1264
  fileName: string;
1234
1265
  fileKey: string;
1235
1266
  bucketName: string;
1236
1267
  fileSize: number;
1268
+ originalUrl?: string | undefined;
1237
1269
  }>>;
1238
- sender: z.ZodObject<{
1270
+ sender: z.ZodOptional<z.ZodObject<{
1239
1271
  id: z.ZodString;
1240
1272
  name: z.ZodString;
1241
1273
  email: z.ZodString;
@@ -1253,17 +1285,10 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1253
1285
  name: string;
1254
1286
  email: string;
1255
1287
  phone: string | null;
1256
- }>;
1288
+ }>>;
1257
1289
  }, "strip", z.ZodTypeAny, {
1258
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1290
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1259
1291
  direction: "incoming" | "outgoing" | "system";
1260
- sender: {
1261
- id: string;
1262
- address: string | null;
1263
- name: string;
1264
- email: string;
1265
- phone: string | null;
1266
- };
1267
1292
  message?: string | undefined;
1268
1293
  readAt?: Date | undefined;
1269
1294
  metadata?: any;
@@ -1280,17 +1305,18 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1280
1305
  fileKey: string;
1281
1306
  bucketName: string;
1282
1307
  fileSize: number;
1308
+ originalUrl?: string | undefined;
1283
1309
  } | undefined;
1284
- }, {
1285
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1286
- direction: "incoming" | "outgoing" | "system";
1287
- sender: {
1310
+ sender?: {
1288
1311
  id: string;
1289
1312
  address: string | null;
1290
1313
  name: string;
1291
1314
  email: string;
1292
1315
  phone: string | null;
1293
- };
1316
+ } | undefined;
1317
+ }, {
1318
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1319
+ direction: "incoming" | "outgoing" | "system";
1294
1320
  message?: string | undefined;
1295
1321
  readAt?: Date | undefined;
1296
1322
  metadata?: any;
@@ -1307,19 +1333,20 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1307
1333
  fileKey: string;
1308
1334
  bucketName: string;
1309
1335
  fileSize: number;
1336
+ originalUrl?: string | undefined;
1310
1337
  } | undefined;
1311
- }>;
1312
- }, "strip", z.ZodTypeAny, {
1313
- message: {
1314
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1315
- direction: "incoming" | "outgoing" | "system";
1316
- sender: {
1338
+ sender?: {
1317
1339
  id: string;
1318
1340
  address: string | null;
1319
1341
  name: string;
1320
1342
  email: string;
1321
1343
  phone: string | null;
1322
- };
1344
+ } | undefined;
1345
+ }>;
1346
+ }, "strip", z.ZodTypeAny, {
1347
+ message: {
1348
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1349
+ direction: "incoming" | "outgoing" | "system";
1323
1350
  message?: string | undefined;
1324
1351
  readAt?: Date | undefined;
1325
1352
  metadata?: any;
@@ -1336,6 +1363,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1336
1363
  fileKey: string;
1337
1364
  bucketName: string;
1338
1365
  fileSize: number;
1366
+ originalUrl?: string | undefined;
1367
+ } | undefined;
1368
+ sender?: {
1369
+ id: string;
1370
+ address: string | null;
1371
+ name: string;
1372
+ email: string;
1373
+ phone: string | null;
1339
1374
  } | undefined;
1340
1375
  };
1341
1376
  room: {
@@ -1350,12 +1385,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1350
1385
  accessToken?: string | undefined;
1351
1386
  channelSecret?: string | undefined;
1352
1387
  additionalCredentials?: any;
1388
+ lineRichMenuId?: string | null | undefined;
1353
1389
  };
1354
1390
  status: boolean;
1355
1391
  brandName: string;
1356
1392
  platformId: string;
1357
1393
  connectedUserName?: string | null | undefined;
1358
1394
  connectedUserId?: string | null | undefined;
1395
+ lineRichMenuId?: string | null | undefined;
1359
1396
  actor?: {
1360
1397
  id: string;
1361
1398
  address: string | null;
@@ -1405,17 +1442,11 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1405
1442
  metadata?: any;
1406
1443
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1407
1444
  };
1445
+ isBot: boolean | null;
1408
1446
  }, {
1409
1447
  message: {
1410
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1448
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1411
1449
  direction: "incoming" | "outgoing" | "system";
1412
- sender: {
1413
- id: string;
1414
- address: string | null;
1415
- name: string;
1416
- email: string;
1417
- phone: string | null;
1418
- };
1419
1450
  message?: string | undefined;
1420
1451
  readAt?: Date | undefined;
1421
1452
  metadata?: any;
@@ -1432,6 +1463,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1432
1463
  fileKey: string;
1433
1464
  bucketName: string;
1434
1465
  fileSize: number;
1466
+ originalUrl?: string | undefined;
1467
+ } | undefined;
1468
+ sender?: {
1469
+ id: string;
1470
+ address: string | null;
1471
+ name: string;
1472
+ email: string;
1473
+ phone: string | null;
1435
1474
  } | undefined;
1436
1475
  };
1437
1476
  room: {
@@ -1446,12 +1485,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1446
1485
  accessToken?: string | undefined;
1447
1486
  channelSecret?: string | undefined;
1448
1487
  additionalCredentials?: any;
1488
+ lineRichMenuId?: string | null | undefined;
1449
1489
  };
1450
1490
  status: boolean;
1451
1491
  brandName: string;
1452
1492
  platformId: string;
1453
1493
  connectedUserName?: string | null | undefined;
1454
1494
  connectedUserId?: string | null | undefined;
1495
+ lineRichMenuId?: string | null | undefined;
1455
1496
  actor?: {
1456
1497
  id: string;
1457
1498
  address: string | null;
@@ -1501,6 +1542,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1501
1542
  metadata?: any;
1502
1543
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1503
1544
  };
1545
+ isBot?: boolean | null | undefined;
1504
1546
  }>;
1505
1547
  export declare const SendMessageResponseSchema: z.ZodObject<{
1506
1548
  requestId: z.ZodString;
@@ -1511,7 +1553,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1511
1553
  deletedAt: z.ZodNullable<z.ZodDate>;
1512
1554
  message: z.ZodString;
1513
1555
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1514
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
1556
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
1515
1557
  readAt: z.ZodDate;
1516
1558
  metadata: z.ZodAny;
1517
1559
  platformId: z.ZodString;
@@ -1536,6 +1578,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1536
1578
  firstResponseAt: z.ZodDate;
1537
1579
  firstResponseTime: z.ZodNumber;
1538
1580
  isLatest: z.ZodBoolean;
1581
+ isBotRoom: z.ZodBoolean;
1539
1582
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1540
1583
  platformContact: z.ZodObject<{
1541
1584
  id: z.ZodString;
@@ -2892,18 +2935,21 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2892
2935
  accessToken: z.ZodOptional<z.ZodString>;
2893
2936
  channelSecret: z.ZodOptional<z.ZodString>;
2894
2937
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2938
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2895
2939
  }, "strip", z.ZodTypeAny, {
2896
2940
  id: string;
2897
2941
  name: string;
2898
2942
  accessToken?: string | undefined;
2899
2943
  channelSecret?: string | undefined;
2900
2944
  additionalCredentials?: any;
2945
+ lineRichMenuId?: string | null | undefined;
2901
2946
  }, {
2902
2947
  id: string;
2903
2948
  name: string;
2904
2949
  accessToken?: string | undefined;
2905
2950
  channelSecret?: string | undefined;
2906
2951
  additionalCredentials?: any;
2952
+ lineRichMenuId?: string | null | undefined;
2907
2953
  }>;
2908
2954
  brandName: z.ZodString;
2909
2955
  platformId: z.ZodString;
@@ -2911,6 +2957,25 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2911
2957
  isReloginRequired: z.ZodBoolean;
2912
2958
  connectedUserName: z.ZodString;
2913
2959
  connectedUserId: z.ZodString;
2960
+ botpressBot: z.ZodNullable<z.ZodObject<{
2961
+ id: z.ZodString;
2962
+ name: z.ZodString;
2963
+ botId: z.ZodString;
2964
+ integrationId: z.ZodString;
2965
+ accessToken: z.ZodString;
2966
+ }, "strip", z.ZodTypeAny, {
2967
+ id: string;
2968
+ name: string;
2969
+ accessToken: string;
2970
+ botId: string;
2971
+ integrationId: string;
2972
+ }, {
2973
+ id: string;
2974
+ name: string;
2975
+ accessToken: string;
2976
+ botId: string;
2977
+ integrationId: string;
2978
+ }>>;
2914
2979
  actor: z.ZodObject<{
2915
2980
  id: z.ZodString;
2916
2981
  createdAt: z.ZodDate;
@@ -3125,6 +3190,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3125
3190
  accessToken?: string | undefined;
3126
3191
  channelSecret?: string | undefined;
3127
3192
  additionalCredentials?: any;
3193
+ lineRichMenuId?: string | null | undefined;
3128
3194
  };
3129
3195
  status: boolean;
3130
3196
  createdAt: Date;
@@ -3179,6 +3245,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3179
3245
  isReloginRequired: boolean;
3180
3246
  connectedUserName: string;
3181
3247
  connectedUserId: string;
3248
+ botpressBot: {
3249
+ id: string;
3250
+ name: string;
3251
+ accessToken: string;
3252
+ botId: string;
3253
+ integrationId: string;
3254
+ } | null;
3182
3255
  }, {
3183
3256
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
3184
3257
  id: string;
@@ -3189,6 +3262,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3189
3262
  accessToken?: string | undefined;
3190
3263
  channelSecret?: string | undefined;
3191
3264
  additionalCredentials?: any;
3265
+ lineRichMenuId?: string | null | undefined;
3192
3266
  };
3193
3267
  status: boolean;
3194
3268
  createdAt: Date;
@@ -3243,6 +3317,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3243
3317
  isReloginRequired: boolean;
3244
3318
  connectedUserName: string;
3245
3319
  connectedUserId: string;
3320
+ botpressBot: {
3321
+ id: string;
3322
+ name: string;
3323
+ accessToken: string;
3324
+ botId: string;
3325
+ integrationId: string;
3326
+ } | null;
3246
3327
  }>;
3247
3328
  cxlog: z.ZodObject<{
3248
3329
  id: z.ZodString;
@@ -3389,7 +3470,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3389
3470
  }>, "many">;
3390
3471
  callFrom: z.ZodNullable<z.ZodString>;
3391
3472
  callTo: z.ZodNullable<z.ZodString>;
3392
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3473
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3393
3474
  id: z.ZodString;
3394
3475
  createdAt: z.ZodDate;
3395
3476
  updatedAt: z.ZodDate;
@@ -3422,7 +3503,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3422
3503
  booleanValue: boolean | null;
3423
3504
  numberValue: number | null;
3424
3505
  dateValue: Date | null;
3425
- }>, "many">>;
3506
+ }>, "many">>>;
3426
3507
  }, "strip", z.ZodTypeAny, {
3427
3508
  type: string;
3428
3509
  id: string;
@@ -3473,7 +3554,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3473
3554
  booleanValue: boolean | null;
3474
3555
  numberValue: number | null;
3475
3556
  dateValue: Date | null;
3476
- }[] | undefined;
3557
+ }[] | null | undefined;
3477
3558
  }, {
3478
3559
  type: string;
3479
3560
  id: string;
@@ -3524,7 +3605,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3524
3605
  booleanValue: boolean | null;
3525
3606
  numberValue: number | null;
3526
3607
  dateValue: Date | null;
3527
- }[] | undefined;
3608
+ }[] | null | undefined;
3528
3609
  }>>;
3529
3610
  }, "strip", z.ZodTypeAny, {
3530
3611
  id: string;
@@ -3592,7 +3673,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3592
3673
  booleanValue: boolean | null;
3593
3674
  numberValue: number | null;
3594
3675
  dateValue: Date | null;
3595
- }[] | undefined;
3676
+ }[] | null | undefined;
3596
3677
  } | null;
3597
3678
  }, {
3598
3679
  id: string;
@@ -3660,9 +3741,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3660
3741
  booleanValue: boolean | null;
3661
3742
  numberValue: number | null;
3662
3743
  dateValue: Date | null;
3663
- }[] | undefined;
3744
+ }[] | null | undefined;
3664
3745
  } | null;
3665
3746
  }>;
3747
+ workflowRule: z.ZodObject<{
3748
+ id: z.ZodString;
3749
+ createdAt: z.ZodDate;
3750
+ updatedAt: z.ZodDate;
3751
+ deletedAt: z.ZodNullable<z.ZodDate>;
3752
+ name: z.ZodString;
3753
+ isActive: z.ZodBoolean;
3754
+ type: z.ZodString;
3755
+ }, "strip", z.ZodTypeAny, {
3756
+ type: string;
3757
+ id: string;
3758
+ name: string;
3759
+ createdAt: Date;
3760
+ updatedAt: Date;
3761
+ deletedAt: Date | null;
3762
+ isActive: boolean;
3763
+ }, {
3764
+ type: string;
3765
+ id: string;
3766
+ name: string;
3767
+ createdAt: Date;
3768
+ updatedAt: Date;
3769
+ deletedAt: Date | null;
3770
+ isActive: boolean;
3771
+ }>;
3666
3772
  }, "strip", z.ZodTypeAny, {
3667
3773
  id: string;
3668
3774
  channel: {
@@ -3675,6 +3781,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3675
3781
  accessToken?: string | undefined;
3676
3782
  channelSecret?: string | undefined;
3677
3783
  additionalCredentials?: any;
3784
+ lineRichMenuId?: string | null | undefined;
3678
3785
  };
3679
3786
  status: boolean;
3680
3787
  createdAt: Date;
@@ -3729,6 +3836,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3729
3836
  isReloginRequired: boolean;
3730
3837
  connectedUserName: string;
3731
3838
  connectedUserId: string;
3839
+ botpressBot: {
3840
+ id: string;
3841
+ name: string;
3842
+ accessToken: string;
3843
+ botId: string;
3844
+ integrationId: string;
3845
+ } | null;
3732
3846
  };
3733
3847
  direction: "incoming" | "outgoing" | "system";
3734
3848
  status: number;
@@ -3943,6 +4057,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3943
4057
  };
3944
4058
  closedAt: Date;
3945
4059
  lastMessageAt: Date | null;
4060
+ isBotRoom: boolean;
3946
4061
  cxlog: {
3947
4062
  id: string;
3948
4063
  channel: string | null;
@@ -4009,9 +4124,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4009
4124
  booleanValue: boolean | null;
4010
4125
  numberValue: number | null;
4011
4126
  dateValue: Date | null;
4012
- }[] | undefined;
4127
+ }[] | null | undefined;
4013
4128
  } | null;
4014
4129
  };
4130
+ workflowRule: {
4131
+ type: string;
4132
+ id: string;
4133
+ name: string;
4134
+ createdAt: Date;
4135
+ updatedAt: Date;
4136
+ deletedAt: Date | null;
4137
+ isActive: boolean;
4138
+ };
4015
4139
  }, {
4016
4140
  id: string;
4017
4141
  channel: {
@@ -4024,6 +4148,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4024
4148
  accessToken?: string | undefined;
4025
4149
  channelSecret?: string | undefined;
4026
4150
  additionalCredentials?: any;
4151
+ lineRichMenuId?: string | null | undefined;
4027
4152
  };
4028
4153
  status: boolean;
4029
4154
  createdAt: Date;
@@ -4078,6 +4203,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4078
4203
  isReloginRequired: boolean;
4079
4204
  connectedUserName: string;
4080
4205
  connectedUserId: string;
4206
+ botpressBot: {
4207
+ id: string;
4208
+ name: string;
4209
+ accessToken: string;
4210
+ botId: string;
4211
+ integrationId: string;
4212
+ } | null;
4081
4213
  };
4082
4214
  direction: "incoming" | "outgoing" | "system";
4083
4215
  status: number;
@@ -4292,6 +4424,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4292
4424
  };
4293
4425
  closedAt: Date;
4294
4426
  lastMessageAt: Date | null;
4427
+ isBotRoom: boolean;
4295
4428
  cxlog: {
4296
4429
  id: string;
4297
4430
  channel: string | null;
@@ -4358,9 +4491,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4358
4491
  booleanValue: boolean | null;
4359
4492
  numberValue: number | null;
4360
4493
  dateValue: Date | null;
4361
- }[] | undefined;
4494
+ }[] | null | undefined;
4362
4495
  } | null;
4363
4496
  };
4497
+ workflowRule: {
4498
+ type: string;
4499
+ id: string;
4500
+ name: string;
4501
+ createdAt: Date;
4502
+ updatedAt: Date;
4503
+ deletedAt: Date | null;
4504
+ isActive: boolean;
4505
+ };
4364
4506
  }>;
4365
4507
  upload: z.ZodObject<{
4366
4508
  id: z.ZodString;
@@ -4403,7 +4545,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4403
4545
  deletedAt: z.ZodNullable<z.ZodDate>;
4404
4546
  message: z.ZodString;
4405
4547
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4406
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
4548
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
4407
4549
  readAt: z.ZodDate;
4408
4550
  metadata: z.ZodAny;
4409
4551
  platformId: z.ZodString;
@@ -5061,7 +5203,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5061
5203
  };
5062
5204
  }>;
5063
5205
  }, "strip", z.ZodTypeAny, {
5064
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5206
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5065
5207
  message: string;
5066
5208
  id: string;
5067
5209
  url: string;
@@ -5113,7 +5255,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5113
5255
  telephonySignature: string | null;
5114
5256
  };
5115
5257
  };
5116
- platformId: string;
5117
5258
  upload: {
5118
5259
  id: string;
5119
5260
  createdAt: Date;
@@ -5170,6 +5311,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5170
5311
  telephonySignature: string | null;
5171
5312
  };
5172
5313
  };
5314
+ platformId: string;
5173
5315
  readAt: Date;
5174
5316
  platformMessageId: string;
5175
5317
  replyPlatformMessageId: string;
@@ -5223,7 +5365,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5223
5365
  metadata?: any;
5224
5366
  template?: any;
5225
5367
  }, {
5226
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5368
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5227
5369
  message: string;
5228
5370
  id: string;
5229
5371
  url: string;
@@ -5275,7 +5417,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5275
5417
  telephonySignature: string | null;
5276
5418
  };
5277
5419
  };
5278
- platformId: string;
5279
5420
  upload: {
5280
5421
  id: string;
5281
5422
  createdAt: Date;
@@ -5332,6 +5473,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5332
5473
  telephonySignature: string | null;
5333
5474
  };
5334
5475
  };
5476
+ platformId: string;
5335
5477
  readAt: Date;
5336
5478
  platformMessageId: string;
5337
5479
  replyPlatformMessageId: string;
@@ -5997,8 +6139,33 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5997
6139
  telephonySignature: string | null;
5998
6140
  };
5999
6141
  }>;
6142
+ workflowRule: z.ZodObject<{
6143
+ id: z.ZodString;
6144
+ createdAt: z.ZodDate;
6145
+ updatedAt: z.ZodDate;
6146
+ deletedAt: z.ZodNullable<z.ZodDate>;
6147
+ name: z.ZodString;
6148
+ isActive: z.ZodBoolean;
6149
+ type: z.ZodString;
6150
+ }, "strip", z.ZodTypeAny, {
6151
+ type: string;
6152
+ id: string;
6153
+ name: string;
6154
+ createdAt: Date;
6155
+ updatedAt: Date;
6156
+ deletedAt: Date | null;
6157
+ isActive: boolean;
6158
+ }, {
6159
+ type: string;
6160
+ id: string;
6161
+ name: string;
6162
+ createdAt: Date;
6163
+ updatedAt: Date;
6164
+ deletedAt: Date | null;
6165
+ isActive: boolean;
6166
+ }>;
6000
6167
  }, "strip", z.ZodTypeAny, {
6001
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6168
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6002
6169
  message: string;
6003
6170
  id: string;
6004
6171
  url: string;
@@ -6050,7 +6217,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6050
6217
  telephonySignature: string | null;
6051
6218
  };
6052
6219
  };
6053
- platformId: string;
6054
6220
  upload: {
6055
6221
  id: string;
6056
6222
  createdAt: Date;
@@ -6107,6 +6273,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6107
6273
  telephonySignature: string | null;
6108
6274
  };
6109
6275
  };
6276
+ platformId: string;
6110
6277
  room: {
6111
6278
  id: string;
6112
6279
  channel: {
@@ -6119,6 +6286,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6119
6286
  accessToken?: string | undefined;
6120
6287
  channelSecret?: string | undefined;
6121
6288
  additionalCredentials?: any;
6289
+ lineRichMenuId?: string | null | undefined;
6122
6290
  };
6123
6291
  status: boolean;
6124
6292
  createdAt: Date;
@@ -6173,6 +6341,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6173
6341
  isReloginRequired: boolean;
6174
6342
  connectedUserName: string;
6175
6343
  connectedUserId: string;
6344
+ botpressBot: {
6345
+ id: string;
6346
+ name: string;
6347
+ accessToken: string;
6348
+ botId: string;
6349
+ integrationId: string;
6350
+ } | null;
6176
6351
  };
6177
6352
  direction: "incoming" | "outgoing" | "system";
6178
6353
  status: number;
@@ -6387,6 +6562,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6387
6562
  };
6388
6563
  closedAt: Date;
6389
6564
  lastMessageAt: Date | null;
6565
+ isBotRoom: boolean;
6390
6566
  cxlog: {
6391
6567
  id: string;
6392
6568
  channel: string | null;
@@ -6453,9 +6629,27 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6453
6629
  booleanValue: boolean | null;
6454
6630
  numberValue: number | null;
6455
6631
  dateValue: Date | null;
6456
- }[] | undefined;
6632
+ }[] | null | undefined;
6457
6633
  } | null;
6458
6634
  };
6635
+ workflowRule: {
6636
+ type: string;
6637
+ id: string;
6638
+ name: string;
6639
+ createdAt: Date;
6640
+ updatedAt: Date;
6641
+ deletedAt: Date | null;
6642
+ isActive: boolean;
6643
+ };
6644
+ };
6645
+ workflowRule: {
6646
+ type: string;
6647
+ id: string;
6648
+ name: string;
6649
+ createdAt: Date;
6650
+ updatedAt: Date;
6651
+ deletedAt: Date | null;
6652
+ isActive: boolean;
6459
6653
  };
6460
6654
  readAt: Date;
6461
6655
  platformMessageId: string;
@@ -6464,7 +6658,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6464
6658
  previewUrl: string;
6465
6659
  imageSetId: string;
6466
6660
  repliedMessage: {
6467
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6661
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6468
6662
  message: string;
6469
6663
  id: string;
6470
6664
  url: string;
@@ -6516,7 +6710,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6516
6710
  telephonySignature: string | null;
6517
6711
  };
6518
6712
  };
6519
- platformId: string;
6520
6713
  upload: {
6521
6714
  id: string;
6522
6715
  createdAt: Date;
@@ -6573,6 +6766,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6573
6766
  telephonySignature: string | null;
6574
6767
  };
6575
6768
  };
6769
+ platformId: string;
6576
6770
  readAt: Date;
6577
6771
  platformMessageId: string;
6578
6772
  replyPlatformMessageId: string;
@@ -6673,7 +6867,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6673
6867
  metadata?: any;
6674
6868
  template?: any;
6675
6869
  }, {
6676
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6870
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6677
6871
  message: string;
6678
6872
  id: string;
6679
6873
  url: string;
@@ -6725,7 +6919,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6725
6919
  telephonySignature: string | null;
6726
6920
  };
6727
6921
  };
6728
- platformId: string;
6729
6922
  upload: {
6730
6923
  id: string;
6731
6924
  createdAt: Date;
@@ -6782,6 +6975,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6782
6975
  telephonySignature: string | null;
6783
6976
  };
6784
6977
  };
6978
+ platformId: string;
6785
6979
  room: {
6786
6980
  id: string;
6787
6981
  channel: {
@@ -6794,6 +6988,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6794
6988
  accessToken?: string | undefined;
6795
6989
  channelSecret?: string | undefined;
6796
6990
  additionalCredentials?: any;
6991
+ lineRichMenuId?: string | null | undefined;
6797
6992
  };
6798
6993
  status: boolean;
6799
6994
  createdAt: Date;
@@ -6848,6 +7043,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6848
7043
  isReloginRequired: boolean;
6849
7044
  connectedUserName: string;
6850
7045
  connectedUserId: string;
7046
+ botpressBot: {
7047
+ id: string;
7048
+ name: string;
7049
+ accessToken: string;
7050
+ botId: string;
7051
+ integrationId: string;
7052
+ } | null;
6851
7053
  };
6852
7054
  direction: "incoming" | "outgoing" | "system";
6853
7055
  status: number;
@@ -7062,6 +7264,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7062
7264
  };
7063
7265
  closedAt: Date;
7064
7266
  lastMessageAt: Date | null;
7267
+ isBotRoom: boolean;
7065
7268
  cxlog: {
7066
7269
  id: string;
7067
7270
  channel: string | null;
@@ -7128,9 +7331,27 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7128
7331
  booleanValue: boolean | null;
7129
7332
  numberValue: number | null;
7130
7333
  dateValue: Date | null;
7131
- }[] | undefined;
7334
+ }[] | null | undefined;
7132
7335
  } | null;
7133
7336
  };
7337
+ workflowRule: {
7338
+ type: string;
7339
+ id: string;
7340
+ name: string;
7341
+ createdAt: Date;
7342
+ updatedAt: Date;
7343
+ deletedAt: Date | null;
7344
+ isActive: boolean;
7345
+ };
7346
+ };
7347
+ workflowRule: {
7348
+ type: string;
7349
+ id: string;
7350
+ name: string;
7351
+ createdAt: Date;
7352
+ updatedAt: Date;
7353
+ deletedAt: Date | null;
7354
+ isActive: boolean;
7134
7355
  };
7135
7356
  readAt: Date;
7136
7357
  platformMessageId: string;
@@ -7139,7 +7360,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7139
7360
  previewUrl: string;
7140
7361
  imageSetId: string;
7141
7362
  repliedMessage: {
7142
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7363
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7143
7364
  message: string;
7144
7365
  id: string;
7145
7366
  url: string;
@@ -7191,7 +7412,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7191
7412
  telephonySignature: string | null;
7192
7413
  };
7193
7414
  };
7194
- platformId: string;
7195
7415
  upload: {
7196
7416
  id: string;
7197
7417
  createdAt: Date;
@@ -7248,6 +7468,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7248
7468
  telephonySignature: string | null;
7249
7469
  };
7250
7470
  };
7471
+ platformId: string;
7251
7472
  readAt: Date;
7252
7473
  platformMessageId: string;
7253
7474
  replyPlatformMessageId: string;
@@ -7350,7 +7571,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7350
7571
  }>;
7351
7572
  }, "strip", z.ZodTypeAny, {
7352
7573
  data: {
7353
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7574
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7354
7575
  message: string;
7355
7576
  id: string;
7356
7577
  url: string;
@@ -7402,7 +7623,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7402
7623
  telephonySignature: string | null;
7403
7624
  };
7404
7625
  };
7405
- platformId: string;
7406
7626
  upload: {
7407
7627
  id: string;
7408
7628
  createdAt: Date;
@@ -7459,6 +7679,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7459
7679
  telephonySignature: string | null;
7460
7680
  };
7461
7681
  };
7682
+ platformId: string;
7462
7683
  room: {
7463
7684
  id: string;
7464
7685
  channel: {
@@ -7471,6 +7692,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7471
7692
  accessToken?: string | undefined;
7472
7693
  channelSecret?: string | undefined;
7473
7694
  additionalCredentials?: any;
7695
+ lineRichMenuId?: string | null | undefined;
7474
7696
  };
7475
7697
  status: boolean;
7476
7698
  createdAt: Date;
@@ -7525,6 +7747,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7525
7747
  isReloginRequired: boolean;
7526
7748
  connectedUserName: string;
7527
7749
  connectedUserId: string;
7750
+ botpressBot: {
7751
+ id: string;
7752
+ name: string;
7753
+ accessToken: string;
7754
+ botId: string;
7755
+ integrationId: string;
7756
+ } | null;
7528
7757
  };
7529
7758
  direction: "incoming" | "outgoing" | "system";
7530
7759
  status: number;
@@ -7739,6 +7968,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7739
7968
  };
7740
7969
  closedAt: Date;
7741
7970
  lastMessageAt: Date | null;
7971
+ isBotRoom: boolean;
7742
7972
  cxlog: {
7743
7973
  id: string;
7744
7974
  channel: string | null;
@@ -7805,9 +8035,27 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7805
8035
  booleanValue: boolean | null;
7806
8036
  numberValue: number | null;
7807
8037
  dateValue: Date | null;
7808
- }[] | undefined;
8038
+ }[] | null | undefined;
7809
8039
  } | null;
7810
8040
  };
8041
+ workflowRule: {
8042
+ type: string;
8043
+ id: string;
8044
+ name: string;
8045
+ createdAt: Date;
8046
+ updatedAt: Date;
8047
+ deletedAt: Date | null;
8048
+ isActive: boolean;
8049
+ };
8050
+ };
8051
+ workflowRule: {
8052
+ type: string;
8053
+ id: string;
8054
+ name: string;
8055
+ createdAt: Date;
8056
+ updatedAt: Date;
8057
+ deletedAt: Date | null;
8058
+ isActive: boolean;
7811
8059
  };
7812
8060
  readAt: Date;
7813
8061
  platformMessageId: string;
@@ -7816,7 +8064,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7816
8064
  previewUrl: string;
7817
8065
  imageSetId: string;
7818
8066
  repliedMessage: {
7819
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
8067
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7820
8068
  message: string;
7821
8069
  id: string;
7822
8070
  url: string;
@@ -7868,7 +8116,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7868
8116
  telephonySignature: string | null;
7869
8117
  };
7870
8118
  };
7871
- platformId: string;
7872
8119
  upload: {
7873
8120
  id: string;
7874
8121
  createdAt: Date;
@@ -7925,6 +8172,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7925
8172
  telephonySignature: string | null;
7926
8173
  };
7927
8174
  };
8175
+ platformId: string;
7928
8176
  readAt: Date;
7929
8177
  platformMessageId: string;
7930
8178
  replyPlatformMessageId: string;
@@ -8028,7 +8276,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8028
8276
  requestId: string;
8029
8277
  }, {
8030
8278
  data: {
8031
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
8279
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
8032
8280
  message: string;
8033
8281
  id: string;
8034
8282
  url: string;
@@ -8080,7 +8328,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8080
8328
  telephonySignature: string | null;
8081
8329
  };
8082
8330
  };
8083
- platformId: string;
8084
8331
  upload: {
8085
8332
  id: string;
8086
8333
  createdAt: Date;
@@ -8137,6 +8384,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8137
8384
  telephonySignature: string | null;
8138
8385
  };
8139
8386
  };
8387
+ platformId: string;
8140
8388
  room: {
8141
8389
  id: string;
8142
8390
  channel: {
@@ -8149,6 +8397,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8149
8397
  accessToken?: string | undefined;
8150
8398
  channelSecret?: string | undefined;
8151
8399
  additionalCredentials?: any;
8400
+ lineRichMenuId?: string | null | undefined;
8152
8401
  };
8153
8402
  status: boolean;
8154
8403
  createdAt: Date;
@@ -8203,6 +8452,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8203
8452
  isReloginRequired: boolean;
8204
8453
  connectedUserName: string;
8205
8454
  connectedUserId: string;
8455
+ botpressBot: {
8456
+ id: string;
8457
+ name: string;
8458
+ accessToken: string;
8459
+ botId: string;
8460
+ integrationId: string;
8461
+ } | null;
8206
8462
  };
8207
8463
  direction: "incoming" | "outgoing" | "system";
8208
8464
  status: number;
@@ -8417,6 +8673,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8417
8673
  };
8418
8674
  closedAt: Date;
8419
8675
  lastMessageAt: Date | null;
8676
+ isBotRoom: boolean;
8420
8677
  cxlog: {
8421
8678
  id: string;
8422
8679
  channel: string | null;
@@ -8483,9 +8740,27 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8483
8740
  booleanValue: boolean | null;
8484
8741
  numberValue: number | null;
8485
8742
  dateValue: Date | null;
8486
- }[] | undefined;
8743
+ }[] | null | undefined;
8487
8744
  } | null;
8488
8745
  };
8746
+ workflowRule: {
8747
+ type: string;
8748
+ id: string;
8749
+ name: string;
8750
+ createdAt: Date;
8751
+ updatedAt: Date;
8752
+ deletedAt: Date | null;
8753
+ isActive: boolean;
8754
+ };
8755
+ };
8756
+ workflowRule: {
8757
+ type: string;
8758
+ id: string;
8759
+ name: string;
8760
+ createdAt: Date;
8761
+ updatedAt: Date;
8762
+ deletedAt: Date | null;
8763
+ isActive: boolean;
8489
8764
  };
8490
8765
  readAt: Date;
8491
8766
  platformMessageId: string;
@@ -8494,7 +8769,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8494
8769
  previewUrl: string;
8495
8770
  imageSetId: string;
8496
8771
  repliedMessage: {
8497
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
8772
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
8498
8773
  message: string;
8499
8774
  id: string;
8500
8775
  url: string;
@@ -8546,7 +8821,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8546
8821
  telephonySignature: string | null;
8547
8822
  };
8548
8823
  };
8549
- platformId: string;
8550
8824
  upload: {
8551
8825
  id: string;
8552
8826
  createdAt: Date;
@@ -8603,6 +8877,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8603
8877
  telephonySignature: string | null;
8604
8878
  };
8605
8879
  };
8880
+ platformId: string;
8606
8881
  readAt: Date;
8607
8882
  platformMessageId: string;
8608
8883
  replyPlatformMessageId: string;
@@ -8717,24 +8992,28 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
8717
8992
  accessToken: z.ZodOptional<z.ZodString>;
8718
8993
  channelSecret: z.ZodOptional<z.ZodString>;
8719
8994
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8995
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8720
8996
  }, "strip", z.ZodTypeAny, {
8721
8997
  id: string;
8722
8998
  name: string;
8723
8999
  accessToken?: string | undefined;
8724
9000
  channelSecret?: string | undefined;
8725
9001
  additionalCredentials?: any;
9002
+ lineRichMenuId?: string | null | undefined;
8726
9003
  }, {
8727
9004
  id: string;
8728
9005
  name: string;
8729
9006
  accessToken?: string | undefined;
8730
9007
  channelSecret?: string | undefined;
8731
9008
  additionalCredentials?: any;
9009
+ lineRichMenuId?: string | null | undefined;
8732
9010
  }>;
8733
9011
  platformId: z.ZodString;
8734
9012
  brandName: z.ZodString;
8735
9013
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8736
9014
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8737
9015
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9016
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8738
9017
  actor: z.ZodOptional<z.ZodObject<{
8739
9018
  id: z.ZodString;
8740
9019
  name: z.ZodString;
@@ -8764,12 +9043,14 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
8764
9043
  accessToken?: string | undefined;
8765
9044
  channelSecret?: string | undefined;
8766
9045
  additionalCredentials?: any;
9046
+ lineRichMenuId?: string | null | undefined;
8767
9047
  };
8768
9048
  status: boolean;
8769
9049
  brandName: string;
8770
9050
  platformId: string;
8771
9051
  connectedUserName?: string | null | undefined;
8772
9052
  connectedUserId?: string | null | undefined;
9053
+ lineRichMenuId?: string | null | undefined;
8773
9054
  actor?: {
8774
9055
  id: string;
8775
9056
  address: string | null;
@@ -8787,12 +9068,14 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
8787
9068
  accessToken?: string | undefined;
8788
9069
  channelSecret?: string | undefined;
8789
9070
  additionalCredentials?: any;
9071
+ lineRichMenuId?: string | null | undefined;
8790
9072
  };
8791
9073
  status: boolean;
8792
9074
  brandName: string;
8793
9075
  platformId: string;
8794
9076
  connectedUserName?: string | null | undefined;
8795
9077
  connectedUserId?: string | null | undefined;
9078
+ lineRichMenuId?: string | null | undefined;
8796
9079
  actor?: {
8797
9080
  id: string;
8798
9081
  address: string | null;
@@ -8812,12 +9095,14 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
8812
9095
  accessToken?: string | undefined;
8813
9096
  channelSecret?: string | undefined;
8814
9097
  additionalCredentials?: any;
9098
+ lineRichMenuId?: string | null | undefined;
8815
9099
  };
8816
9100
  status: boolean;
8817
9101
  brandName: string;
8818
9102
  platformId: string;
8819
9103
  connectedUserName?: string | null | undefined;
8820
9104
  connectedUserId?: string | null | undefined;
9105
+ lineRichMenuId?: string | null | undefined;
8821
9106
  actor?: {
8822
9107
  id: string;
8823
9108
  address: string | null;
@@ -8838,12 +9123,14 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
8838
9123
  accessToken?: string | undefined;
8839
9124
  channelSecret?: string | undefined;
8840
9125
  additionalCredentials?: any;
9126
+ lineRichMenuId?: string | null | undefined;
8841
9127
  };
8842
9128
  status: boolean;
8843
9129
  brandName: string;
8844
9130
  platformId: string;
8845
9131
  connectedUserName?: string | null | undefined;
8846
9132
  connectedUserId?: string | null | undefined;
9133
+ lineRichMenuId?: string | null | undefined;
8847
9134
  actor?: {
8848
9135
  id: string;
8849
9136
  address: string | null;
@@ -8862,7 +9149,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8862
9149
  deletedAt: z.ZodNullable<z.ZodString>;
8863
9150
  message: z.ZodOptional<z.ZodString>;
8864
9151
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
8865
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
9152
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
8866
9153
  metadata: z.ZodAny;
8867
9154
  platformId: z.ZodString;
8868
9155
  platformMessageId: z.ZodString;
@@ -10237,24 +10524,28 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10237
10524
  accessToken: z.ZodOptional<z.ZodString>;
10238
10525
  channelSecret: z.ZodOptional<z.ZodString>;
10239
10526
  additionalCredentials: z.ZodOptional<z.ZodAny>;
10527
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10240
10528
  }, "strip", z.ZodTypeAny, {
10241
10529
  id: string;
10242
10530
  name: string;
10243
10531
  accessToken?: string | undefined;
10244
10532
  channelSecret?: string | undefined;
10245
10533
  additionalCredentials?: any;
10534
+ lineRichMenuId?: string | null | undefined;
10246
10535
  }, {
10247
10536
  id: string;
10248
10537
  name: string;
10249
10538
  accessToken?: string | undefined;
10250
10539
  channelSecret?: string | undefined;
10251
10540
  additionalCredentials?: any;
10541
+ lineRichMenuId?: string | null | undefined;
10252
10542
  }>;
10253
10543
  platformId: z.ZodString;
10254
10544
  brandName: z.ZodString;
10255
10545
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
10256
10546
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10257
10547
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10548
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10258
10549
  actor: z.ZodOptional<z.ZodObject<{
10259
10550
  id: z.ZodString;
10260
10551
  name: z.ZodString;
@@ -10284,12 +10575,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10284
10575
  accessToken?: string | undefined;
10285
10576
  channelSecret?: string | undefined;
10286
10577
  additionalCredentials?: any;
10578
+ lineRichMenuId?: string | null | undefined;
10287
10579
  };
10288
10580
  status: boolean;
10289
10581
  brandName: string;
10290
10582
  platformId: string;
10291
10583
  connectedUserName?: string | null | undefined;
10292
10584
  connectedUserId?: string | null | undefined;
10585
+ lineRichMenuId?: string | null | undefined;
10293
10586
  actor?: {
10294
10587
  id: string;
10295
10588
  address: string | null;
@@ -10307,12 +10600,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10307
10600
  accessToken?: string | undefined;
10308
10601
  channelSecret?: string | undefined;
10309
10602
  additionalCredentials?: any;
10603
+ lineRichMenuId?: string | null | undefined;
10310
10604
  };
10311
10605
  status: boolean;
10312
10606
  brandName: string;
10313
10607
  platformId: string;
10314
10608
  connectedUserName?: string | null | undefined;
10315
10609
  connectedUserId?: string | null | undefined;
10610
+ lineRichMenuId?: string | null | undefined;
10316
10611
  actor?: {
10317
10612
  id: string;
10318
10613
  address: string | null;
@@ -10466,7 +10761,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10466
10761
  }>, "many">;
10467
10762
  callFrom: z.ZodNullable<z.ZodString>;
10468
10763
  callTo: z.ZodNullable<z.ZodString>;
10469
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
10764
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
10470
10765
  id: z.ZodString;
10471
10766
  createdAt: z.ZodDate;
10472
10767
  updatedAt: z.ZodDate;
@@ -10499,7 +10794,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10499
10794
  booleanValue: boolean | null;
10500
10795
  numberValue: number | null;
10501
10796
  dateValue: Date | null;
10502
- }>, "many">>;
10797
+ }>, "many">>>;
10503
10798
  }, "strip", z.ZodTypeAny, {
10504
10799
  type: string;
10505
10800
  id: string;
@@ -10550,7 +10845,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10550
10845
  booleanValue: boolean | null;
10551
10846
  numberValue: number | null;
10552
10847
  dateValue: Date | null;
10553
- }[] | undefined;
10848
+ }[] | null | undefined;
10554
10849
  }, {
10555
10850
  type: string;
10556
10851
  id: string;
@@ -10601,7 +10896,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10601
10896
  booleanValue: boolean | null;
10602
10897
  numberValue: number | null;
10603
10898
  dateValue: Date | null;
10604
- }[] | undefined;
10899
+ }[] | null | undefined;
10605
10900
  }>>;
10606
10901
  }, "strip", z.ZodTypeAny, {
10607
10902
  id: string;
@@ -10669,7 +10964,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10669
10964
  booleanValue: boolean | null;
10670
10965
  numberValue: number | null;
10671
10966
  dateValue: Date | null;
10672
- }[] | undefined;
10967
+ }[] | null | undefined;
10673
10968
  } | null;
10674
10969
  }, {
10675
10970
  id: string;
@@ -10737,7 +11032,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10737
11032
  booleanValue: boolean | null;
10738
11033
  numberValue: number | null;
10739
11034
  dateValue: Date | null;
10740
- }[] | undefined;
11035
+ }[] | null | undefined;
10741
11036
  } | null;
10742
11037
  }>>;
10743
11038
  }, "strip", z.ZodTypeAny, {
@@ -10963,12 +11258,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10963
11258
  accessToken?: string | undefined;
10964
11259
  channelSecret?: string | undefined;
10965
11260
  additionalCredentials?: any;
11261
+ lineRichMenuId?: string | null | undefined;
10966
11262
  };
10967
11263
  status: boolean;
10968
11264
  brandName: string;
10969
11265
  platformId: string;
10970
11266
  connectedUserName?: string | null | undefined;
10971
11267
  connectedUserId?: string | null | undefined;
11268
+ lineRichMenuId?: string | null | undefined;
10972
11269
  actor?: {
10973
11270
  id: string;
10974
11271
  address: string | null;
@@ -11043,7 +11340,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11043
11340
  booleanValue: boolean | null;
11044
11341
  numberValue: number | null;
11045
11342
  dateValue: Date | null;
11046
- }[] | undefined;
11343
+ }[] | null | undefined;
11047
11344
  } | null;
11048
11345
  } | undefined;
11049
11346
  }, {
@@ -11269,12 +11566,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11269
11566
  accessToken?: string | undefined;
11270
11567
  channelSecret?: string | undefined;
11271
11568
  additionalCredentials?: any;
11569
+ lineRichMenuId?: string | null | undefined;
11272
11570
  };
11273
11571
  status: boolean;
11274
11572
  brandName: string;
11275
11573
  platformId: string;
11276
11574
  connectedUserName?: string | null | undefined;
11277
11575
  connectedUserId?: string | null | undefined;
11576
+ lineRichMenuId?: string | null | undefined;
11278
11577
  actor?: {
11279
11578
  id: string;
11280
11579
  address: string | null;
@@ -11349,7 +11648,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11349
11648
  booleanValue: boolean | null;
11350
11649
  numberValue: number | null;
11351
11650
  dateValue: Date | null;
11352
- }[] | undefined;
11651
+ }[] | null | undefined;
11353
11652
  } | null;
11354
11653
  } | undefined;
11355
11654
  }>>;
@@ -12000,7 +12299,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12000
12299
  };
12001
12300
  }>>>;
12002
12301
  }, "strip", z.ZodTypeAny, {
12003
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
12302
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
12004
12303
  id: string;
12005
12304
  direction: "incoming" | "outgoing" | "system";
12006
12305
  createdAt: string;
@@ -12230,12 +12529,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12230
12529
  accessToken?: string | undefined;
12231
12530
  channelSecret?: string | undefined;
12232
12531
  additionalCredentials?: any;
12532
+ lineRichMenuId?: string | null | undefined;
12233
12533
  };
12234
12534
  status: boolean;
12235
12535
  brandName: string;
12236
12536
  platformId: string;
12237
12537
  connectedUserName?: string | null | undefined;
12238
12538
  connectedUserId?: string | null | undefined;
12539
+ lineRichMenuId?: string | null | undefined;
12239
12540
  actor?: {
12240
12541
  id: string;
12241
12542
  address: string | null;
@@ -12310,7 +12611,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12310
12611
  booleanValue: boolean | null;
12311
12612
  numberValue: number | null;
12312
12613
  dateValue: Date | null;
12313
- }[] | undefined;
12614
+ }[] | null | undefined;
12314
12615
  } | null;
12315
12616
  } | undefined;
12316
12617
  } | null;
@@ -12468,7 +12769,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12468
12769
  };
12469
12770
  } | null | undefined;
12470
12771
  }, {
12471
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
12772
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
12472
12773
  id: string;
12473
12774
  direction: "incoming" | "outgoing" | "system";
12474
12775
  createdAt: string;
@@ -12698,12 +12999,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12698
12999
  accessToken?: string | undefined;
12699
13000
  channelSecret?: string | undefined;
12700
13001
  additionalCredentials?: any;
13002
+ lineRichMenuId?: string | null | undefined;
12701
13003
  };
12702
13004
  status: boolean;
12703
13005
  brandName: string;
12704
13006
  platformId: string;
12705
13007
  connectedUserName?: string | null | undefined;
12706
13008
  connectedUserId?: string | null | undefined;
13009
+ lineRichMenuId?: string | null | undefined;
12707
13010
  actor?: {
12708
13011
  id: string;
12709
13012
  address: string | null;
@@ -12778,7 +13081,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12778
13081
  booleanValue: boolean | null;
12779
13082
  numberValue: number | null;
12780
13083
  dateValue: Date | null;
12781
- }[] | undefined;
13084
+ }[] | null | undefined;
12782
13085
  } | null;
12783
13086
  } | undefined;
12784
13087
  } | null;
@@ -12938,7 +13241,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12938
13241
  }>;
12939
13242
  }, "strip", z.ZodTypeAny, {
12940
13243
  message: {
12941
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
13244
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
12942
13245
  id: string;
12943
13246
  direction: "incoming" | "outgoing" | "system";
12944
13247
  createdAt: string;
@@ -13168,12 +13471,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
13168
13471
  accessToken?: string | undefined;
13169
13472
  channelSecret?: string | undefined;
13170
13473
  additionalCredentials?: any;
13474
+ lineRichMenuId?: string | null | undefined;
13171
13475
  };
13172
13476
  status: boolean;
13173
13477
  brandName: string;
13174
13478
  platformId: string;
13175
13479
  connectedUserName?: string | null | undefined;
13176
13480
  connectedUserId?: string | null | undefined;
13481
+ lineRichMenuId?: string | null | undefined;
13177
13482
  actor?: {
13178
13483
  id: string;
13179
13484
  address: string | null;
@@ -13248,7 +13553,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
13248
13553
  booleanValue: boolean | null;
13249
13554
  numberValue: number | null;
13250
13555
  dateValue: Date | null;
13251
- }[] | undefined;
13556
+ }[] | null | undefined;
13252
13557
  } | null;
13253
13558
  } | undefined;
13254
13559
  } | null;
@@ -13408,7 +13713,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
13408
13713
  };
13409
13714
  }, {
13410
13715
  message: {
13411
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
13716
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
13412
13717
  id: string;
13413
13718
  direction: "incoming" | "outgoing" | "system";
13414
13719
  createdAt: string;
@@ -13638,12 +13943,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
13638
13943
  accessToken?: string | undefined;
13639
13944
  channelSecret?: string | undefined;
13640
13945
  additionalCredentials?: any;
13946
+ lineRichMenuId?: string | null | undefined;
13641
13947
  };
13642
13948
  status: boolean;
13643
13949
  brandName: string;
13644
13950
  platformId: string;
13645
13951
  connectedUserName?: string | null | undefined;
13646
13952
  connectedUserId?: string | null | undefined;
13953
+ lineRichMenuId?: string | null | undefined;
13647
13954
  actor?: {
13648
13955
  id: string;
13649
13956
  address: string | null;
@@ -13718,7 +14025,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
13718
14025
  booleanValue: boolean | null;
13719
14026
  numberValue: number | null;
13720
14027
  dateValue: Date | null;
13721
- }[] | undefined;
14028
+ }[] | null | undefined;
13722
14029
  } | null;
13723
14030
  } | undefined;
13724
14031
  } | null;