@kl1/contracts 1.1.74-uat → 1.1.75-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. package/dist/api-contracts/src/contract.d.ts +91 -0
  2. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  3. package/dist/api-contracts/src/dashboard/index.d.ts +18 -0
  4. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  5. package/dist/api-contracts/src/dashboard/validation.d.ts +9 -0
  6. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/hold-label/index.d.ts +75 -2
  8. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/hold-label/validation.d.ts +1 -1
  10. package/dist/index.js +393 -371
  11. package/dist/index.js.map +1 -1
  12. package/dist/index.mjs +393 -371
  13. package/dist/index.mjs.map +1 -1
  14. package/dist/src/channel/index.d.ts +652 -620
  15. package/dist/src/channel/index.d.ts.map +1 -1
  16. package/dist/src/chat/index.d.ts +551 -4289
  17. package/dist/src/chat/index.d.ts.map +1 -1
  18. package/dist/src/chat/schema.d.ts +218 -200
  19. package/dist/src/chat/schema.d.ts.map +1 -1
  20. package/dist/src/chat/validation.d.ts +134 -160
  21. package/dist/src/chat/validation.d.ts.map +1 -1
  22. package/dist/src/comment/index.d.ts +68 -68
  23. package/dist/src/comment/schema.d.ts +20 -20
  24. package/dist/src/contact/index.d.ts +79 -79
  25. package/dist/src/contact/schema.d.ts +12 -12
  26. package/dist/src/contact/validation.d.ts +49 -49
  27. package/dist/src/contract.d.ts +5733 -23901
  28. package/dist/src/contract.d.ts.map +1 -1
  29. package/dist/src/cx-log/index.d.ts +48 -93
  30. package/dist/src/cx-log/index.d.ts.map +1 -1
  31. package/dist/src/cx-log/schema.d.ts +40 -40
  32. package/dist/src/dashboard/index.d.ts +231 -233
  33. package/dist/src/dashboard/index.d.ts.map +1 -1
  34. package/dist/src/dashboard/schema.d.ts +260 -217
  35. package/dist/src/dashboard/schema.d.ts.map +1 -1
  36. package/dist/src/dashboard/validation.d.ts +0 -26
  37. package/dist/src/dashboard/validation.d.ts.map +1 -1
  38. package/dist/src/facebook-feed/index.d.ts +122 -122
  39. package/dist/src/facebook-feed/schema.d.ts +14 -14
  40. package/dist/src/facebook-feed/validation.d.ts +11 -11
  41. package/dist/src/index.d.ts +0 -1
  42. package/dist/src/index.d.ts.map +1 -1
  43. package/dist/src/instagram/index.d.ts +101 -101
  44. package/dist/src/line/index.d.ts +106 -106
  45. package/dist/src/line/validation.d.ts +5 -5
  46. package/dist/src/mail/account-contract.d.ts +8 -8
  47. package/dist/src/mail/mail-contract.d.ts +5993 -28466
  48. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  49. package/dist/src/mail/mail-server-contract.d.ts +5 -5
  50. package/dist/src/mail/message-contract.d.ts +63 -6423
  51. package/dist/src/mail/message-contract.d.ts.map +1 -1
  52. package/dist/src/mail/room-contract.d.ts +1583 -17698
  53. package/dist/src/mail/room-contract.d.ts.map +1 -1
  54. package/dist/src/mail/schemas/message-validation.schema.d.ts +4 -7
  55. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
  56. package/dist/src/mail/schemas/message.schema.d.ts +40 -762
  57. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  58. package/dist/src/mail/schemas/room-validation.schema.d.ts +376 -5668
  59. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  60. package/dist/src/mail/schemas/room.schema.d.ts +486 -5817
  61. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  62. package/dist/src/messenger/index.d.ts +101 -101
  63. package/dist/src/messenger/validation.d.ts +11 -11
  64. package/dist/src/public-api/index.d.ts +59 -59
  65. package/dist/src/public-api/schema.d.ts +12 -12
  66. package/dist/src/public-api/validation.d.ts +19 -19
  67. package/dist/src/role/index.d.ts +0 -125
  68. package/dist/src/role/index.d.ts.map +1 -1
  69. package/dist/src/snippet/index.d.ts +105 -105
  70. package/dist/src/snippet/schema.d.ts +40 -40
  71. package/dist/src/telephony-cdr/index.d.ts +54 -54
  72. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  73. package/dist/src/telephony-cdr/schema.d.ts +14 -14
  74. package/dist/src/ticket/index.d.ts +111 -111
  75. package/dist/src/ticket/schema.d.ts +21 -21
  76. package/dist/src/upload/schema.d.ts +3 -3
  77. package/dist/src/viber/index.d.ts +101 -101
  78. package/dist/src/webchat/index.d.ts +101 -101
  79. package/dist/src/workflow-rule/index.d.ts +26 -26
  80. package/package.json +1 -1
@@ -258,7 +258,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
258
258
  }>;
259
259
  export declare const SendMessageSchema: z.ZodObject<{
260
260
  roomId: z.ZodString;
261
- messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
261
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
262
262
  message: z.ZodOptional<z.ZodString>;
263
263
  messageAttachments: z.ZodOptional<z.ZodObject<{
264
264
  bucketName: z.ZodString;
@@ -517,7 +517,7 @@ export declare const SendMessageSchema: z.ZodObject<{
517
517
  mentions?: string[] | undefined;
518
518
  }>>;
519
519
  }, "strip", z.ZodTypeAny, {
520
- 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";
520
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
521
521
  roomId: string;
522
522
  message?: string | undefined;
523
523
  messageAttachments?: {
@@ -589,7 +589,7 @@ export declare const SendMessageSchema: z.ZodObject<{
589
589
  mentions?: string[] | undefined;
590
590
  } | undefined;
591
591
  }, {
592
- 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";
592
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
593
593
  roomId: string;
594
594
  message?: string | undefined;
595
595
  messageAttachments?: {
@@ -674,32 +674,6 @@ export declare const SolveRoomSchema: z.ZodObject<{
674
674
  export declare const UpdateAssigneeSchema: z.ZodObject<{
675
675
  assigneeId: z.ZodString;
676
676
  roomId: z.ZodString;
677
- actionType: z.ZodDefault<z.ZodEnum<["assign_to_me", "hangover_to_me", "assign_other_agent"]>>;
678
- }, "strip", z.ZodTypeAny, {
679
- assigneeId: string;
680
- roomId: string;
681
- actionType: "assign_to_me" | "hangover_to_me" | "assign_other_agent";
682
- }, {
683
- assigneeId: string;
684
- roomId: string;
685
- actionType?: "assign_to_me" | "hangover_to_me" | "assign_other_agent" | undefined;
686
- }>;
687
- export declare const UpdateUnAssignRoomsSchema: z.ZodObject<{
688
- assigneeId: z.ZodString;
689
- roomIds: z.ZodArray<z.ZodString, "many">;
690
- actionType: z.ZodDefault<z.ZodEnum<["assign_to_me", "hangover_to_me", "assign_other_agent"]>>;
691
- }, "strip", z.ZodTypeAny, {
692
- assigneeId: string;
693
- actionType: "assign_to_me" | "hangover_to_me" | "assign_other_agent";
694
- roomIds: string[];
695
- }, {
696
- assigneeId: string;
697
- roomIds: string[];
698
- actionType?: "assign_to_me" | "hangover_to_me" | "assign_other_agent" | undefined;
699
- }>;
700
- export declare const UpdateAssigneeByWorkflowSchema: z.ZodObject<{
701
- assigneeId: z.ZodString;
702
- roomId: z.ZodString;
703
677
  }, "strip", z.ZodTypeAny, {
704
678
  assigneeId: string;
705
679
  roomId: string;
@@ -1105,7 +1079,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1105
1079
  id: z.ZodOptional<z.ZodString>;
1106
1080
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1107
1081
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1108
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
1082
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
1109
1083
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1110
1084
  metadata: z.ZodOptional<z.ZodAny>;
1111
1085
  platformId: z.ZodOptional<z.ZodString>;
@@ -1157,7 +1131,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1157
1131
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1158
1132
  feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1159
1133
  }, "strip", z.ZodTypeAny, {
1160
- 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";
1134
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1161
1135
  direction: "incoming" | "outgoing" | "system";
1162
1136
  id?: string | undefined;
1163
1137
  message?: string | null | undefined;
@@ -1188,7 +1162,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1188
1162
  parentMessageId?: string | null | undefined;
1189
1163
  feedPostId?: string | null | undefined;
1190
1164
  }, {
1191
- 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";
1165
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1192
1166
  direction: "incoming" | "outgoing" | "system";
1193
1167
  id?: string | undefined;
1194
1168
  message?: string | null | undefined;
@@ -1221,7 +1195,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1221
1195
  }>;
1222
1196
  }, "strip", z.ZodTypeAny, {
1223
1197
  message: {
1224
- 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";
1198
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1225
1199
  direction: "incoming" | "outgoing" | "system";
1226
1200
  id?: string | undefined;
1227
1201
  message?: string | null | undefined;
@@ -1283,7 +1257,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1283
1257
  };
1284
1258
  }, {
1285
1259
  message: {
1286
- 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";
1260
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1287
1261
  direction: "incoming" | "outgoing" | "system";
1288
1262
  id?: string | undefined;
1289
1263
  message?: string | null | undefined;
@@ -1713,7 +1687,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1713
1687
  id: z.ZodOptional<z.ZodString>;
1714
1688
  message: z.ZodOptional<z.ZodString>;
1715
1689
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1716
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
1690
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
1717
1691
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1718
1692
  metadata: z.ZodOptional<z.ZodAny>;
1719
1693
  platformId: z.ZodOptional<z.ZodString>;
@@ -1765,7 +1739,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1765
1739
  parentMessageId: z.ZodOptional<z.ZodString>;
1766
1740
  feedPostId: z.ZodOptional<z.ZodString>;
1767
1741
  }, "strip", z.ZodTypeAny, {
1768
- 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";
1742
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1769
1743
  direction: "incoming" | "outgoing" | "system";
1770
1744
  id?: string | undefined;
1771
1745
  message?: string | undefined;
@@ -1796,7 +1770,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1796
1770
  parentMessageId?: string | undefined;
1797
1771
  feedPostId?: string | undefined;
1798
1772
  }, {
1799
- 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";
1773
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1800
1774
  direction: "incoming" | "outgoing" | "system";
1801
1775
  id?: string | undefined;
1802
1776
  message?: string | undefined;
@@ -1829,7 +1803,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1829
1803
  }>;
1830
1804
  }, "strip", z.ZodTypeAny, {
1831
1805
  message: {
1832
- 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";
1806
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1833
1807
  direction: "incoming" | "outgoing" | "system";
1834
1808
  id?: string | undefined;
1835
1809
  message?: string | undefined;
@@ -1932,7 +1906,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1932
1906
  isBot: boolean | null;
1933
1907
  }, {
1934
1908
  message: {
1935
- 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";
1909
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1936
1910
  direction: "incoming" | "outgoing" | "system";
1937
1911
  id?: string | undefined;
1938
1912
  message?: string | undefined;
@@ -2039,7 +2013,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2039
2013
  id: z.ZodOptional<z.ZodString>;
2040
2014
  message: z.ZodOptional<z.ZodString>;
2041
2015
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2042
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
2016
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
2043
2017
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2044
2018
  metadata: z.ZodOptional<z.ZodAny>;
2045
2019
  platformId: z.ZodOptional<z.ZodString>;
@@ -2091,7 +2065,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2091
2065
  parentMessageId: z.ZodOptional<z.ZodString>;
2092
2066
  feedPostId: z.ZodOptional<z.ZodString>;
2093
2067
  }, "strip", z.ZodTypeAny, {
2094
- 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";
2068
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
2095
2069
  direction: "incoming" | "outgoing" | "system";
2096
2070
  id?: string | undefined;
2097
2071
  message?: string | undefined;
@@ -2122,7 +2096,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2122
2096
  parentMessageId?: string | undefined;
2123
2097
  feedPostId?: string | undefined;
2124
2098
  }, {
2125
- 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";
2099
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
2126
2100
  direction: "incoming" | "outgoing" | "system";
2127
2101
  id?: string | undefined;
2128
2102
  message?: string | undefined;
@@ -2529,7 +2503,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2529
2503
  }>>;
2530
2504
  }, "strip", z.ZodTypeAny, {
2531
2505
  message: {
2532
- 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";
2506
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
2533
2507
  direction: "incoming" | "outgoing" | "system";
2534
2508
  id?: string | undefined;
2535
2509
  message?: string | undefined;
@@ -2636,7 +2610,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2636
2610
  } | undefined;
2637
2611
  }, {
2638
2612
  message: {
2639
- 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";
2613
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
2640
2614
  direction: "incoming" | "outgoing" | "system";
2641
2615
  id?: string | undefined;
2642
2616
  message?: string | undefined;
@@ -2745,7 +2719,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2745
2719
  export declare const SendMessageResponseSchema: z.ZodObject<{
2746
2720
  requestId: z.ZodString;
2747
2721
  data: z.ZodObject<{
2748
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
2722
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
2749
2723
  message: z.ZodString;
2750
2724
  id: z.ZodString;
2751
2725
  url: z.ZodString;
@@ -2969,10 +2943,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2969
2943
  fileSize: z.ZodNumber;
2970
2944
  fileKey: z.ZodString;
2971
2945
  fileUrl: z.ZodNullable<z.ZodString>;
2972
- status: z.ZodNullable<z.ZodString>;
2946
+ status: z.ZodOptional<z.ZodString>;
2973
2947
  }, "strip", z.ZodTypeAny, {
2974
2948
  id: string;
2975
- status: string | null;
2976
2949
  createdAt: Date;
2977
2950
  updatedAt: Date;
2978
2951
  deletedAt: Date | null;
@@ -2981,9 +2954,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2981
2954
  bucketName: string;
2982
2955
  fileSize: number;
2983
2956
  fileUrl: string | null;
2957
+ status?: string | undefined;
2984
2958
  }, {
2985
2959
  id: string;
2986
- status: string | null;
2987
2960
  createdAt: Date;
2988
2961
  updatedAt: Date;
2989
2962
  deletedAt: Date | null;
@@ -2992,6 +2965,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2992
2965
  bucketName: string;
2993
2966
  fileSize: number;
2994
2967
  fileUrl: string | null;
2968
+ status?: string | undefined;
2995
2969
  }>;
2996
2970
  assignee: z.ZodObject<{
2997
2971
  id: z.ZodString;
@@ -3533,10 +3507,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3533
3507
  fileSize: z.ZodNumber;
3534
3508
  fileKey: z.ZodString;
3535
3509
  fileUrl: z.ZodNullable<z.ZodString>;
3536
- status: z.ZodNullable<z.ZodString>;
3510
+ status: z.ZodOptional<z.ZodString>;
3537
3511
  }, "strip", z.ZodTypeAny, {
3538
3512
  id: string;
3539
- status: string | null;
3540
3513
  createdAt: Date;
3541
3514
  updatedAt: Date;
3542
3515
  deletedAt: Date | null;
@@ -3545,9 +3518,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3545
3518
  bucketName: string;
3546
3519
  fileSize: number;
3547
3520
  fileUrl: string | null;
3521
+ status?: string | undefined;
3548
3522
  }, {
3549
3523
  id: string;
3550
- status: string | null;
3551
3524
  createdAt: Date;
3552
3525
  updatedAt: Date;
3553
3526
  deletedAt: Date | null;
@@ -3556,6 +3529,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3556
3529
  bucketName: string;
3557
3530
  fileSize: number;
3558
3531
  fileUrl: string | null;
3532
+ status?: string | undefined;
3559
3533
  }>, "many">;
3560
3534
  }, "strip", z.ZodTypeAny, {
3561
3535
  id: string;
@@ -3582,7 +3556,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3582
3556
  dateValue: Date | null;
3583
3557
  uploads: {
3584
3558
  id: string;
3585
- status: string | null;
3586
3559
  createdAt: Date;
3587
3560
  updatedAt: Date;
3588
3561
  deletedAt: Date | null;
@@ -3591,6 +3564,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3591
3564
  bucketName: string;
3592
3565
  fileSize: number;
3593
3566
  fileUrl: string | null;
3567
+ status?: string | undefined;
3594
3568
  }[];
3595
3569
  }, {
3596
3570
  id: string;
@@ -3617,7 +3591,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3617
3591
  dateValue: Date | null;
3618
3592
  uploads: {
3619
3593
  id: string;
3620
- status: string | null;
3621
3594
  createdAt: Date;
3622
3595
  updatedAt: Date;
3623
3596
  deletedAt: Date | null;
@@ -3626,6 +3599,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3626
3599
  bucketName: string;
3627
3600
  fileSize: number;
3628
3601
  fileUrl: string | null;
3602
+ status?: string | undefined;
3629
3603
  }[];
3630
3604
  }>, "many">;
3631
3605
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3765,7 +3739,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3765
3739
  dateValue: Date | null;
3766
3740
  uploads: {
3767
3741
  id: string;
3768
- status: string | null;
3769
3742
  createdAt: Date;
3770
3743
  updatedAt: Date;
3771
3744
  deletedAt: Date | null;
@@ -3774,6 +3747,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3774
3747
  bucketName: string;
3775
3748
  fileSize: number;
3776
3749
  fileUrl: string | null;
3750
+ status?: string | undefined;
3777
3751
  }[];
3778
3752
  }[];
3779
3753
  company: {
@@ -3861,7 +3835,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3861
3835
  dateValue: Date | null;
3862
3836
  uploads: {
3863
3837
  id: string;
3864
- status: string | null;
3865
3838
  createdAt: Date;
3866
3839
  updatedAt: Date;
3867
3840
  deletedAt: Date | null;
@@ -3870,6 +3843,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3870
3843
  bucketName: string;
3871
3844
  fileSize: number;
3872
3845
  fileUrl: string | null;
3846
+ status?: string | undefined;
3873
3847
  }[];
3874
3848
  }[];
3875
3849
  company: {
@@ -3970,7 +3944,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3970
3944
  dateValue: Date | null;
3971
3945
  uploads: {
3972
3946
  id: string;
3973
- status: string | null;
3974
3947
  createdAt: Date;
3975
3948
  updatedAt: Date;
3976
3949
  deletedAt: Date | null;
@@ -3979,6 +3952,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3979
3952
  bucketName: string;
3980
3953
  fileSize: number;
3981
3954
  fileUrl: string | null;
3955
+ status?: string | undefined;
3982
3956
  }[];
3983
3957
  }[];
3984
3958
  company: {
@@ -4081,7 +4055,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4081
4055
  dateValue: Date | null;
4082
4056
  uploads: {
4083
4057
  id: string;
4084
- status: string | null;
4085
4058
  createdAt: Date;
4086
4059
  updatedAt: Date;
4087
4060
  deletedAt: Date | null;
@@ -4090,6 +4063,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4090
4063
  bucketName: string;
4091
4064
  fileSize: number;
4092
4065
  fileUrl: string | null;
4066
+ status?: string | undefined;
4093
4067
  }[];
4094
4068
  }[];
4095
4069
  company: {
@@ -5578,7 +5552,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5578
5552
  dateValue: Date | null;
5579
5553
  uploads: {
5580
5554
  id: string;
5581
- status: string | null;
5582
5555
  createdAt: Date;
5583
5556
  updatedAt: Date;
5584
5557
  deletedAt: Date | null;
@@ -5587,6 +5560,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5587
5560
  bucketName: string;
5588
5561
  fileSize: number;
5589
5562
  fileUrl: string | null;
5563
+ status?: string | undefined;
5590
5564
  }[];
5591
5565
  }[];
5592
5566
  company: {
@@ -5945,7 +5919,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5945
5919
  dateValue: Date | null;
5946
5920
  uploads: {
5947
5921
  id: string;
5948
- status: string | null;
5949
5922
  createdAt: Date;
5950
5923
  updatedAt: Date;
5951
5924
  deletedAt: Date | null;
@@ -5954,6 +5927,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5954
5927
  bucketName: string;
5955
5928
  fileSize: number;
5956
5929
  fileUrl: string | null;
5930
+ status?: string | undefined;
5957
5931
  }[];
5958
5932
  }[];
5959
5933
  company: {
@@ -6176,7 +6150,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6176
6150
  deletedAt: z.ZodNullable<z.ZodDate>;
6177
6151
  message: z.ZodString;
6178
6152
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6179
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
6153
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
6180
6154
  readAt: z.ZodDate;
6181
6155
  metadata: z.ZodAny;
6182
6156
  platformId: z.ZodString;
@@ -6197,10 +6171,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6197
6171
  fileSize: z.ZodNumber;
6198
6172
  fileKey: z.ZodString;
6199
6173
  fileUrl: z.ZodNullable<z.ZodString>;
6200
- status: z.ZodNullable<z.ZodString>;
6174
+ status: z.ZodOptional<z.ZodString>;
6201
6175
  }, "strip", z.ZodTypeAny, {
6202
6176
  id: string;
6203
- status: string | null;
6204
6177
  createdAt: Date;
6205
6178
  updatedAt: Date;
6206
6179
  deletedAt: Date | null;
@@ -6209,9 +6182,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6209
6182
  bucketName: string;
6210
6183
  fileSize: number;
6211
6184
  fileUrl: string | null;
6185
+ status?: string | undefined;
6212
6186
  }, {
6213
6187
  id: string;
6214
- status: string | null;
6215
6188
  createdAt: Date;
6216
6189
  updatedAt: Date;
6217
6190
  deletedAt: Date | null;
@@ -6220,6 +6193,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6220
6193
  bucketName: string;
6221
6194
  fileSize: number;
6222
6195
  fileUrl: string | null;
6196
+ status?: string | undefined;
6223
6197
  }>;
6224
6198
  actor: z.ZodObject<{
6225
6199
  id: z.ZodString;
@@ -6834,7 +6808,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6834
6808
  };
6835
6809
  }>;
6836
6810
  }, "strip", z.ZodTypeAny, {
6837
- 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";
6811
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6838
6812
  message: string;
6839
6813
  id: string;
6840
6814
  url: string;
@@ -6888,7 +6862,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6888
6862
  };
6889
6863
  upload: {
6890
6864
  id: string;
6891
- status: string | null;
6892
6865
  createdAt: Date;
6893
6866
  updatedAt: Date;
6894
6867
  deletedAt: Date | null;
@@ -6897,6 +6870,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6897
6870
  bucketName: string;
6898
6871
  fileSize: number;
6899
6872
  fileUrl: string | null;
6873
+ status?: string | undefined;
6900
6874
  };
6901
6875
  assignee: {
6902
6876
  id: string;
@@ -6996,7 +6970,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6996
6970
  metadata?: any;
6997
6971
  template?: any;
6998
6972
  }, {
6999
- 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";
6973
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7000
6974
  message: string;
7001
6975
  id: string;
7002
6976
  url: string;
@@ -7050,7 +7024,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7050
7024
  };
7051
7025
  upload: {
7052
7026
  id: string;
7053
- status: string | null;
7054
7027
  createdAt: Date;
7055
7028
  updatedAt: Date;
7056
7029
  deletedAt: Date | null;
@@ -7059,6 +7032,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7059
7032
  bucketName: string;
7060
7033
  fileSize: number;
7061
7034
  fileUrl: string | null;
7035
+ status?: string | undefined;
7062
7036
  };
7063
7037
  assignee: {
7064
7038
  id: string;
@@ -7369,7 +7343,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7369
7343
  deletedAt: z.ZodNullable<z.ZodDate>;
7370
7344
  message: z.ZodString;
7371
7345
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7372
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
7346
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
7373
7347
  readAt: z.ZodDate;
7374
7348
  metadata: z.ZodAny;
7375
7349
  platformId: z.ZodString;
@@ -7715,10 +7689,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7715
7689
  fileSize: z.ZodNumber;
7716
7690
  fileKey: z.ZodString;
7717
7691
  fileUrl: z.ZodNullable<z.ZodString>;
7718
- status: z.ZodNullable<z.ZodString>;
7692
+ status: z.ZodOptional<z.ZodString>;
7719
7693
  }, "strip", z.ZodTypeAny, {
7720
7694
  id: string;
7721
- status: string | null;
7722
7695
  createdAt: Date;
7723
7696
  updatedAt: Date;
7724
7697
  deletedAt: Date | null;
@@ -7727,9 +7700,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7727
7700
  bucketName: string;
7728
7701
  fileSize: number;
7729
7702
  fileUrl: string | null;
7703
+ status?: string | undefined;
7730
7704
  }, {
7731
7705
  id: string;
7732
- status: string | null;
7733
7706
  createdAt: Date;
7734
7707
  updatedAt: Date;
7735
7708
  deletedAt: Date | null;
@@ -7738,6 +7711,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7738
7711
  bucketName: string;
7739
7712
  fileSize: number;
7740
7713
  fileUrl: string | null;
7714
+ status?: string | undefined;
7741
7715
  }>, "many">;
7742
7716
  }, "strip", z.ZodTypeAny, {
7743
7717
  id: string;
@@ -7764,7 +7738,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7764
7738
  dateValue: Date | null;
7765
7739
  uploads: {
7766
7740
  id: string;
7767
- status: string | null;
7768
7741
  createdAt: Date;
7769
7742
  updatedAt: Date;
7770
7743
  deletedAt: Date | null;
@@ -7773,6 +7746,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7773
7746
  bucketName: string;
7774
7747
  fileSize: number;
7775
7748
  fileUrl: string | null;
7749
+ status?: string | undefined;
7776
7750
  }[];
7777
7751
  }, {
7778
7752
  id: string;
@@ -7799,7 +7773,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7799
7773
  dateValue: Date | null;
7800
7774
  uploads: {
7801
7775
  id: string;
7802
- status: string | null;
7803
7776
  createdAt: Date;
7804
7777
  updatedAt: Date;
7805
7778
  deletedAt: Date | null;
@@ -7808,6 +7781,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7808
7781
  bucketName: string;
7809
7782
  fileSize: number;
7810
7783
  fileUrl: string | null;
7784
+ status?: string | undefined;
7811
7785
  }[];
7812
7786
  }>, "many">;
7813
7787
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -7947,7 +7921,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7947
7921
  dateValue: Date | null;
7948
7922
  uploads: {
7949
7923
  id: string;
7950
- status: string | null;
7951
7924
  createdAt: Date;
7952
7925
  updatedAt: Date;
7953
7926
  deletedAt: Date | null;
@@ -7956,6 +7929,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7956
7929
  bucketName: string;
7957
7930
  fileSize: number;
7958
7931
  fileUrl: string | null;
7932
+ status?: string | undefined;
7959
7933
  }[];
7960
7934
  }[];
7961
7935
  company: {
@@ -8043,7 +8017,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8043
8017
  dateValue: Date | null;
8044
8018
  uploads: {
8045
8019
  id: string;
8046
- status: string | null;
8047
8020
  createdAt: Date;
8048
8021
  updatedAt: Date;
8049
8022
  deletedAt: Date | null;
@@ -8052,6 +8025,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8052
8025
  bucketName: string;
8053
8026
  fileSize: number;
8054
8027
  fileUrl: string | null;
8028
+ status?: string | undefined;
8055
8029
  }[];
8056
8030
  }[];
8057
8031
  company: {
@@ -8152,7 +8126,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8152
8126
  dateValue: Date | null;
8153
8127
  uploads: {
8154
8128
  id: string;
8155
- status: string | null;
8156
8129
  createdAt: Date;
8157
8130
  updatedAt: Date;
8158
8131
  deletedAt: Date | null;
@@ -8161,6 +8134,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8161
8134
  bucketName: string;
8162
8135
  fileSize: number;
8163
8136
  fileUrl: string | null;
8137
+ status?: string | undefined;
8164
8138
  }[];
8165
8139
  }[];
8166
8140
  company: {
@@ -8263,7 +8237,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8263
8237
  dateValue: Date | null;
8264
8238
  uploads: {
8265
8239
  id: string;
8266
- status: string | null;
8267
8240
  createdAt: Date;
8268
8241
  updatedAt: Date;
8269
8242
  deletedAt: Date | null;
@@ -8272,6 +8245,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8272
8245
  bucketName: string;
8273
8246
  fileSize: number;
8274
8247
  fileUrl: string | null;
8248
+ status?: string | undefined;
8275
8249
  }[];
8276
8250
  }[];
8277
8251
  company: {
@@ -9760,7 +9734,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9760
9734
  dateValue: Date | null;
9761
9735
  uploads: {
9762
9736
  id: string;
9763
- status: string | null;
9764
9737
  createdAt: Date;
9765
9738
  updatedAt: Date;
9766
9739
  deletedAt: Date | null;
@@ -9769,6 +9742,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9769
9742
  bucketName: string;
9770
9743
  fileSize: number;
9771
9744
  fileUrl: string | null;
9745
+ status?: string | undefined;
9772
9746
  }[];
9773
9747
  }[];
9774
9748
  company: {
@@ -10127,7 +10101,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10127
10101
  dateValue: Date | null;
10128
10102
  uploads: {
10129
10103
  id: string;
10130
- status: string | null;
10131
10104
  createdAt: Date;
10132
10105
  updatedAt: Date;
10133
10106
  deletedAt: Date | null;
@@ -10136,6 +10109,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10136
10109
  bucketName: string;
10137
10110
  fileSize: number;
10138
10111
  fileUrl: string | null;
10112
+ status?: string | undefined;
10139
10113
  }[];
10140
10114
  }[];
10141
10115
  company: {
@@ -10330,10 +10304,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10330
10304
  fileSize: z.ZodNumber;
10331
10305
  fileKey: z.ZodString;
10332
10306
  fileUrl: z.ZodNullable<z.ZodString>;
10333
- status: z.ZodNullable<z.ZodString>;
10307
+ status: z.ZodOptional<z.ZodString>;
10334
10308
  }, "strip", z.ZodTypeAny, {
10335
10309
  id: string;
10336
- status: string | null;
10337
10310
  createdAt: Date;
10338
10311
  updatedAt: Date;
10339
10312
  deletedAt: Date | null;
@@ -10342,9 +10315,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10342
10315
  bucketName: string;
10343
10316
  fileSize: number;
10344
10317
  fileUrl: string | null;
10318
+ status?: string | undefined;
10345
10319
  }, {
10346
10320
  id: string;
10347
- status: string | null;
10348
10321
  createdAt: Date;
10349
10322
  updatedAt: Date;
10350
10323
  deletedAt: Date | null;
@@ -10353,6 +10326,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10353
10326
  bucketName: string;
10354
10327
  fileSize: number;
10355
10328
  fileUrl: string | null;
10329
+ status?: string | undefined;
10356
10330
  }>;
10357
10331
  repliedMessage: z.ZodLazy<z.ZodObject<{
10358
10332
  id: z.ZodString;
@@ -10361,7 +10335,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10361
10335
  deletedAt: z.ZodNullable<z.ZodDate>;
10362
10336
  message: z.ZodString;
10363
10337
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
10364
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
10338
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
10365
10339
  readAt: z.ZodDate;
10366
10340
  metadata: z.ZodAny;
10367
10341
  platformId: z.ZodString;
@@ -10382,10 +10356,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10382
10356
  fileSize: z.ZodNumber;
10383
10357
  fileKey: z.ZodString;
10384
10358
  fileUrl: z.ZodNullable<z.ZodString>;
10385
- status: z.ZodNullable<z.ZodString>;
10359
+ status: z.ZodOptional<z.ZodString>;
10386
10360
  }, "strip", z.ZodTypeAny, {
10387
10361
  id: string;
10388
- status: string | null;
10389
10362
  createdAt: Date;
10390
10363
  updatedAt: Date;
10391
10364
  deletedAt: Date | null;
@@ -10394,9 +10367,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10394
10367
  bucketName: string;
10395
10368
  fileSize: number;
10396
10369
  fileUrl: string | null;
10370
+ status?: string | undefined;
10397
10371
  }, {
10398
10372
  id: string;
10399
- status: string | null;
10400
10373
  createdAt: Date;
10401
10374
  updatedAt: Date;
10402
10375
  deletedAt: Date | null;
@@ -10405,6 +10378,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10405
10378
  bucketName: string;
10406
10379
  fileSize: number;
10407
10380
  fileUrl: string | null;
10381
+ status?: string | undefined;
10408
10382
  }>;
10409
10383
  actor: z.ZodObject<{
10410
10384
  id: z.ZodString;
@@ -11019,7 +10993,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11019
10993
  };
11020
10994
  }>;
11021
10995
  }, "strip", z.ZodTypeAny, {
11022
- 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";
10996
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
11023
10997
  message: string;
11024
10998
  id: string;
11025
10999
  url: string;
@@ -11073,7 +11047,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11073
11047
  };
11074
11048
  upload: {
11075
11049
  id: string;
11076
- status: string | null;
11077
11050
  createdAt: Date;
11078
11051
  updatedAt: Date;
11079
11052
  deletedAt: Date | null;
@@ -11082,6 +11055,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11082
11055
  bucketName: string;
11083
11056
  fileSize: number;
11084
11057
  fileUrl: string | null;
11058
+ status?: string | undefined;
11085
11059
  };
11086
11060
  assignee: {
11087
11061
  id: string;
@@ -11181,7 +11155,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11181
11155
  metadata?: any;
11182
11156
  template?: any;
11183
11157
  }, {
11184
- 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";
11158
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
11185
11159
  message: string;
11186
11160
  id: string;
11187
11161
  url: string;
@@ -11235,7 +11209,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11235
11209
  };
11236
11210
  upload: {
11237
11211
  id: string;
11238
- status: string | null;
11239
11212
  createdAt: Date;
11240
11213
  updatedAt: Date;
11241
11214
  deletedAt: Date | null;
@@ -11244,6 +11217,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11244
11217
  bucketName: string;
11245
11218
  fileSize: number;
11246
11219
  fileUrl: string | null;
11220
+ status?: string | undefined;
11247
11221
  };
11248
11222
  assignee: {
11249
11223
  id: string;
@@ -11981,7 +11955,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11981
11955
  isActive: boolean;
11982
11956
  }>;
11983
11957
  }, "strip", z.ZodTypeAny, {
11984
- 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";
11958
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
11985
11959
  message: string;
11986
11960
  id: string;
11987
11961
  url: string;
@@ -12035,7 +12009,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12035
12009
  };
12036
12010
  upload: {
12037
12011
  id: string;
12038
- status: string | null;
12039
12012
  createdAt: Date;
12040
12013
  updatedAt: Date;
12041
12014
  deletedAt: Date | null;
@@ -12044,6 +12017,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12044
12017
  bucketName: string;
12045
12018
  fileSize: number;
12046
12019
  fileUrl: string | null;
12020
+ status?: string | undefined;
12047
12021
  };
12048
12022
  assignee: {
12049
12023
  id: string;
@@ -12265,7 +12239,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12265
12239
  dateValue: Date | null;
12266
12240
  uploads: {
12267
12241
  id: string;
12268
- status: string | null;
12269
12242
  createdAt: Date;
12270
12243
  updatedAt: Date;
12271
12244
  deletedAt: Date | null;
@@ -12274,6 +12247,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12274
12247
  bucketName: string;
12275
12248
  fileSize: number;
12276
12249
  fileUrl: string | null;
12250
+ status?: string | undefined;
12277
12251
  }[];
12278
12252
  }[];
12279
12253
  company: {
@@ -12474,7 +12448,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12474
12448
  previewUrl: string;
12475
12449
  imageSetId: string;
12476
12450
  repliedMessage: {
12477
- 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";
12451
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
12478
12452
  message: string;
12479
12453
  id: string;
12480
12454
  url: string;
@@ -12528,7 +12502,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12528
12502
  };
12529
12503
  upload: {
12530
12504
  id: string;
12531
- status: string | null;
12532
12505
  createdAt: Date;
12533
12506
  updatedAt: Date;
12534
12507
  deletedAt: Date | null;
@@ -12537,6 +12510,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12537
12510
  bucketName: string;
12538
12511
  fileSize: number;
12539
12512
  fileUrl: string | null;
12513
+ status?: string | undefined;
12540
12514
  };
12541
12515
  assignee: {
12542
12516
  id: string;
@@ -12683,7 +12657,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12683
12657
  metadata?: any;
12684
12658
  template?: any;
12685
12659
  }, {
12686
- 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";
12660
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
12687
12661
  message: string;
12688
12662
  id: string;
12689
12663
  url: string;
@@ -12737,7 +12711,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12737
12711
  };
12738
12712
  upload: {
12739
12713
  id: string;
12740
- status: string | null;
12741
12714
  createdAt: Date;
12742
12715
  updatedAt: Date;
12743
12716
  deletedAt: Date | null;
@@ -12746,6 +12719,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12746
12719
  bucketName: string;
12747
12720
  fileSize: number;
12748
12721
  fileUrl: string | null;
12722
+ status?: string | undefined;
12749
12723
  };
12750
12724
  assignee: {
12751
12725
  id: string;
@@ -12967,7 +12941,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12967
12941
  dateValue: Date | null;
12968
12942
  uploads: {
12969
12943
  id: string;
12970
- status: string | null;
12971
12944
  createdAt: Date;
12972
12945
  updatedAt: Date;
12973
12946
  deletedAt: Date | null;
@@ -12976,6 +12949,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12976
12949
  bucketName: string;
12977
12950
  fileSize: number;
12978
12951
  fileUrl: string | null;
12952
+ status?: string | undefined;
12979
12953
  }[];
12980
12954
  }[];
12981
12955
  company: {
@@ -13176,7 +13150,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13176
13150
  previewUrl: string;
13177
13151
  imageSetId: string;
13178
13152
  repliedMessage: {
13179
- 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";
13153
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
13180
13154
  message: string;
13181
13155
  id: string;
13182
13156
  url: string;
@@ -13230,7 +13204,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13230
13204
  };
13231
13205
  upload: {
13232
13206
  id: string;
13233
- status: string | null;
13234
13207
  createdAt: Date;
13235
13208
  updatedAt: Date;
13236
13209
  deletedAt: Date | null;
@@ -13239,6 +13212,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13239
13212
  bucketName: string;
13240
13213
  fileSize: number;
13241
13214
  fileUrl: string | null;
13215
+ status?: string | undefined;
13242
13216
  };
13243
13217
  assignee: {
13244
13218
  id: string;
@@ -13386,7 +13360,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13386
13360
  template?: any;
13387
13361
  }>>>;
13388
13362
  }, "strip", z.ZodTypeAny, {
13389
- 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";
13363
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
13390
13364
  message: string;
13391
13365
  id: string;
13392
13366
  url: string;
@@ -13440,7 +13414,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13440
13414
  };
13441
13415
  upload: {
13442
13416
  id: string;
13443
- status: string | null;
13444
13417
  createdAt: Date;
13445
13418
  updatedAt: Date;
13446
13419
  deletedAt: Date | null;
@@ -13449,6 +13422,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13449
13422
  bucketName: string;
13450
13423
  fileSize: number;
13451
13424
  fileUrl: string | null;
13425
+ status?: string | undefined;
13452
13426
  };
13453
13427
  assignee: {
13454
13428
  id: string;
@@ -13670,7 +13644,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13670
13644
  dateValue: Date | null;
13671
13645
  uploads: {
13672
13646
  id: string;
13673
- status: string | null;
13674
13647
  createdAt: Date;
13675
13648
  updatedAt: Date;
13676
13649
  deletedAt: Date | null;
@@ -13679,6 +13652,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13679
13652
  bucketName: string;
13680
13653
  fileSize: number;
13681
13654
  fileUrl: string | null;
13655
+ status?: string | undefined;
13682
13656
  }[];
13683
13657
  }[];
13684
13658
  company: {
@@ -13879,7 +13853,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13879
13853
  previewUrl: string;
13880
13854
  imageSetId: string;
13881
13855
  repliedMessage: {
13882
- 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";
13856
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
13883
13857
  message: string;
13884
13858
  id: string;
13885
13859
  url: string;
@@ -13933,7 +13907,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13933
13907
  };
13934
13908
  upload: {
13935
13909
  id: string;
13936
- status: string | null;
13937
13910
  createdAt: Date;
13938
13911
  updatedAt: Date;
13939
13912
  deletedAt: Date | null;
@@ -13942,6 +13915,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13942
13915
  bucketName: string;
13943
13916
  fileSize: number;
13944
13917
  fileUrl: string | null;
13918
+ status?: string | undefined;
13945
13919
  };
13946
13920
  assignee: {
13947
13921
  id: string;
@@ -14088,7 +14062,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14088
14062
  template?: any;
14089
14063
  metadata?: any;
14090
14064
  fromMessage?: {
14091
- 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";
14065
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
14092
14066
  message: string;
14093
14067
  id: string;
14094
14068
  url: string;
@@ -14142,7 +14116,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14142
14116
  };
14143
14117
  upload: {
14144
14118
  id: string;
14145
- status: string | null;
14146
14119
  createdAt: Date;
14147
14120
  updatedAt: Date;
14148
14121
  deletedAt: Date | null;
@@ -14151,6 +14124,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14151
14124
  bucketName: string;
14152
14125
  fileSize: number;
14153
14126
  fileUrl: string | null;
14127
+ status?: string | undefined;
14154
14128
  };
14155
14129
  assignee: {
14156
14130
  id: string;
@@ -14372,7 +14346,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14372
14346
  dateValue: Date | null;
14373
14347
  uploads: {
14374
14348
  id: string;
14375
- status: string | null;
14376
14349
  createdAt: Date;
14377
14350
  updatedAt: Date;
14378
14351
  deletedAt: Date | null;
@@ -14381,6 +14354,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14381
14354
  bucketName: string;
14382
14355
  fileSize: number;
14383
14356
  fileUrl: string | null;
14357
+ status?: string | undefined;
14384
14358
  }[];
14385
14359
  }[];
14386
14360
  company: {
@@ -14581,7 +14555,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14581
14555
  previewUrl: string;
14582
14556
  imageSetId: string;
14583
14557
  repliedMessage: {
14584
- 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";
14558
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
14585
14559
  message: string;
14586
14560
  id: string;
14587
14561
  url: string;
@@ -14635,7 +14609,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14635
14609
  };
14636
14610
  upload: {
14637
14611
  id: string;
14638
- status: string | null;
14639
14612
  createdAt: Date;
14640
14613
  updatedAt: Date;
14641
14614
  deletedAt: Date | null;
@@ -14644,6 +14617,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14644
14617
  bucketName: string;
14645
14618
  fileSize: number;
14646
14619
  fileUrl: string | null;
14620
+ status?: string | undefined;
14647
14621
  };
14648
14622
  assignee: {
14649
14623
  id: string;
@@ -14791,7 +14765,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14791
14765
  template?: any;
14792
14766
  } | null | undefined;
14793
14767
  }, {
14794
- 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";
14768
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
14795
14769
  message: string;
14796
14770
  id: string;
14797
14771
  url: string;
@@ -14845,7 +14819,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14845
14819
  };
14846
14820
  upload: {
14847
14821
  id: string;
14848
- status: string | null;
14849
14822
  createdAt: Date;
14850
14823
  updatedAt: Date;
14851
14824
  deletedAt: Date | null;
@@ -14854,6 +14827,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14854
14827
  bucketName: string;
14855
14828
  fileSize: number;
14856
14829
  fileUrl: string | null;
14830
+ status?: string | undefined;
14857
14831
  };
14858
14832
  assignee: {
14859
14833
  id: string;
@@ -15075,7 +15049,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15075
15049
  dateValue: Date | null;
15076
15050
  uploads: {
15077
15051
  id: string;
15078
- status: string | null;
15079
15052
  createdAt: Date;
15080
15053
  updatedAt: Date;
15081
15054
  deletedAt: Date | null;
@@ -15084,6 +15057,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15084
15057
  bucketName: string;
15085
15058
  fileSize: number;
15086
15059
  fileUrl: string | null;
15060
+ status?: string | undefined;
15087
15061
  }[];
15088
15062
  }[];
15089
15063
  company: {
@@ -15284,7 +15258,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15284
15258
  previewUrl: string;
15285
15259
  imageSetId: string;
15286
15260
  repliedMessage: {
15287
- 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";
15261
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
15288
15262
  message: string;
15289
15263
  id: string;
15290
15264
  url: string;
@@ -15338,7 +15312,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15338
15312
  };
15339
15313
  upload: {
15340
15314
  id: string;
15341
- status: string | null;
15342
15315
  createdAt: Date;
15343
15316
  updatedAt: Date;
15344
15317
  deletedAt: Date | null;
@@ -15347,6 +15320,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15347
15320
  bucketName: string;
15348
15321
  fileSize: number;
15349
15322
  fileUrl: string | null;
15323
+ status?: string | undefined;
15350
15324
  };
15351
15325
  assignee: {
15352
15326
  id: string;
@@ -15493,7 +15467,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15493
15467
  template?: any;
15494
15468
  metadata?: any;
15495
15469
  fromMessage?: {
15496
- 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";
15470
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
15497
15471
  message: string;
15498
15472
  id: string;
15499
15473
  url: string;
@@ -15547,7 +15521,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15547
15521
  };
15548
15522
  upload: {
15549
15523
  id: string;
15550
- status: string | null;
15551
15524
  createdAt: Date;
15552
15525
  updatedAt: Date;
15553
15526
  deletedAt: Date | null;
@@ -15556,6 +15529,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15556
15529
  bucketName: string;
15557
15530
  fileSize: number;
15558
15531
  fileUrl: string | null;
15532
+ status?: string | undefined;
15559
15533
  };
15560
15534
  assignee: {
15561
15535
  id: string;
@@ -15777,7 +15751,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15777
15751
  dateValue: Date | null;
15778
15752
  uploads: {
15779
15753
  id: string;
15780
- status: string | null;
15781
15754
  createdAt: Date;
15782
15755
  updatedAt: Date;
15783
15756
  deletedAt: Date | null;
@@ -15786,6 +15759,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15786
15759
  bucketName: string;
15787
15760
  fileSize: number;
15788
15761
  fileUrl: string | null;
15762
+ status?: string | undefined;
15789
15763
  }[];
15790
15764
  }[];
15791
15765
  company: {
@@ -15986,7 +15960,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15986
15960
  previewUrl: string;
15987
15961
  imageSetId: string;
15988
15962
  repliedMessage: {
15989
- 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";
15963
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
15990
15964
  message: string;
15991
15965
  id: string;
15992
15966
  url: string;
@@ -16040,7 +16014,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16040
16014
  };
16041
16015
  upload: {
16042
16016
  id: string;
16043
- status: string | null;
16044
16017
  createdAt: Date;
16045
16018
  updatedAt: Date;
16046
16019
  deletedAt: Date | null;
@@ -16049,6 +16022,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16049
16022
  bucketName: string;
16050
16023
  fileSize: number;
16051
16024
  fileUrl: string | null;
16025
+ status?: string | undefined;
16052
16026
  };
16053
16027
  assignee: {
16054
16028
  id: string;
@@ -16198,7 +16172,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16198
16172
  }>;
16199
16173
  }, "strip", z.ZodTypeAny, {
16200
16174
  data: {
16201
- 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";
16175
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
16202
16176
  message: string;
16203
16177
  id: string;
16204
16178
  url: string;
@@ -16252,7 +16226,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16252
16226
  };
16253
16227
  upload: {
16254
16228
  id: string;
16255
- status: string | null;
16256
16229
  createdAt: Date;
16257
16230
  updatedAt: Date;
16258
16231
  deletedAt: Date | null;
@@ -16261,6 +16234,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16261
16234
  bucketName: string;
16262
16235
  fileSize: number;
16263
16236
  fileUrl: string | null;
16237
+ status?: string | undefined;
16264
16238
  };
16265
16239
  assignee: {
16266
16240
  id: string;
@@ -16482,7 +16456,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16482
16456
  dateValue: Date | null;
16483
16457
  uploads: {
16484
16458
  id: string;
16485
- status: string | null;
16486
16459
  createdAt: Date;
16487
16460
  updatedAt: Date;
16488
16461
  deletedAt: Date | null;
@@ -16491,6 +16464,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16491
16464
  bucketName: string;
16492
16465
  fileSize: number;
16493
16466
  fileUrl: string | null;
16467
+ status?: string | undefined;
16494
16468
  }[];
16495
16469
  }[];
16496
16470
  company: {
@@ -16691,7 +16665,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16691
16665
  previewUrl: string;
16692
16666
  imageSetId: string;
16693
16667
  repliedMessage: {
16694
- 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";
16668
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
16695
16669
  message: string;
16696
16670
  id: string;
16697
16671
  url: string;
@@ -16745,7 +16719,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16745
16719
  };
16746
16720
  upload: {
16747
16721
  id: string;
16748
- status: string | null;
16749
16722
  createdAt: Date;
16750
16723
  updatedAt: Date;
16751
16724
  deletedAt: Date | null;
@@ -16754,6 +16727,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16754
16727
  bucketName: string;
16755
16728
  fileSize: number;
16756
16729
  fileUrl: string | null;
16730
+ status?: string | undefined;
16757
16731
  };
16758
16732
  assignee: {
16759
16733
  id: string;
@@ -16900,7 +16874,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16900
16874
  template?: any;
16901
16875
  metadata?: any;
16902
16876
  fromMessage?: {
16903
- 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";
16877
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
16904
16878
  message: string;
16905
16879
  id: string;
16906
16880
  url: string;
@@ -16954,7 +16928,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16954
16928
  };
16955
16929
  upload: {
16956
16930
  id: string;
16957
- status: string | null;
16958
16931
  createdAt: Date;
16959
16932
  updatedAt: Date;
16960
16933
  deletedAt: Date | null;
@@ -16963,6 +16936,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16963
16936
  bucketName: string;
16964
16937
  fileSize: number;
16965
16938
  fileUrl: string | null;
16939
+ status?: string | undefined;
16966
16940
  };
16967
16941
  assignee: {
16968
16942
  id: string;
@@ -17184,7 +17158,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17184
17158
  dateValue: Date | null;
17185
17159
  uploads: {
17186
17160
  id: string;
17187
- status: string | null;
17188
17161
  createdAt: Date;
17189
17162
  updatedAt: Date;
17190
17163
  deletedAt: Date | null;
@@ -17193,6 +17166,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17193
17166
  bucketName: string;
17194
17167
  fileSize: number;
17195
17168
  fileUrl: string | null;
17169
+ status?: string | undefined;
17196
17170
  }[];
17197
17171
  }[];
17198
17172
  company: {
@@ -17393,7 +17367,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17393
17367
  previewUrl: string;
17394
17368
  imageSetId: string;
17395
17369
  repliedMessage: {
17396
- 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";
17370
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
17397
17371
  message: string;
17398
17372
  id: string;
17399
17373
  url: string;
@@ -17447,7 +17421,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17447
17421
  };
17448
17422
  upload: {
17449
17423
  id: string;
17450
- status: string | null;
17451
17424
  createdAt: Date;
17452
17425
  updatedAt: Date;
17453
17426
  deletedAt: Date | null;
@@ -17456,6 +17429,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17456
17429
  bucketName: string;
17457
17430
  fileSize: number;
17458
17431
  fileUrl: string | null;
17432
+ status?: string | undefined;
17459
17433
  };
17460
17434
  assignee: {
17461
17435
  id: string;
@@ -17606,7 +17580,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17606
17580
  requestId: string;
17607
17581
  }, {
17608
17582
  data: {
17609
- 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";
17583
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
17610
17584
  message: string;
17611
17585
  id: string;
17612
17586
  url: string;
@@ -17660,7 +17634,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17660
17634
  };
17661
17635
  upload: {
17662
17636
  id: string;
17663
- status: string | null;
17664
17637
  createdAt: Date;
17665
17638
  updatedAt: Date;
17666
17639
  deletedAt: Date | null;
@@ -17669,6 +17642,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17669
17642
  bucketName: string;
17670
17643
  fileSize: number;
17671
17644
  fileUrl: string | null;
17645
+ status?: string | undefined;
17672
17646
  };
17673
17647
  assignee: {
17674
17648
  id: string;
@@ -17890,7 +17864,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17890
17864
  dateValue: Date | null;
17891
17865
  uploads: {
17892
17866
  id: string;
17893
- status: string | null;
17894
17867
  createdAt: Date;
17895
17868
  updatedAt: Date;
17896
17869
  deletedAt: Date | null;
@@ -17899,6 +17872,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17899
17872
  bucketName: string;
17900
17873
  fileSize: number;
17901
17874
  fileUrl: string | null;
17875
+ status?: string | undefined;
17902
17876
  }[];
17903
17877
  }[];
17904
17878
  company: {
@@ -18099,7 +18073,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18099
18073
  previewUrl: string;
18100
18074
  imageSetId: string;
18101
18075
  repliedMessage: {
18102
- 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";
18076
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
18103
18077
  message: string;
18104
18078
  id: string;
18105
18079
  url: string;
@@ -18153,7 +18127,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18153
18127
  };
18154
18128
  upload: {
18155
18129
  id: string;
18156
- status: string | null;
18157
18130
  createdAt: Date;
18158
18131
  updatedAt: Date;
18159
18132
  deletedAt: Date | null;
@@ -18162,6 +18135,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18162
18135
  bucketName: string;
18163
18136
  fileSize: number;
18164
18137
  fileUrl: string | null;
18138
+ status?: string | undefined;
18165
18139
  };
18166
18140
  assignee: {
18167
18141
  id: string;
@@ -18308,7 +18282,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18308
18282
  template?: any;
18309
18283
  metadata?: any;
18310
18284
  fromMessage?: {
18311
- 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";
18285
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
18312
18286
  message: string;
18313
18287
  id: string;
18314
18288
  url: string;
@@ -18362,7 +18336,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18362
18336
  };
18363
18337
  upload: {
18364
18338
  id: string;
18365
- status: string | null;
18366
18339
  createdAt: Date;
18367
18340
  updatedAt: Date;
18368
18341
  deletedAt: Date | null;
@@ -18371,6 +18344,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18371
18344
  bucketName: string;
18372
18345
  fileSize: number;
18373
18346
  fileUrl: string | null;
18347
+ status?: string | undefined;
18374
18348
  };
18375
18349
  assignee: {
18376
18350
  id: string;
@@ -18592,7 +18566,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18592
18566
  dateValue: Date | null;
18593
18567
  uploads: {
18594
18568
  id: string;
18595
- status: string | null;
18596
18569
  createdAt: Date;
18597
18570
  updatedAt: Date;
18598
18571
  deletedAt: Date | null;
@@ -18601,6 +18574,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18601
18574
  bucketName: string;
18602
18575
  fileSize: number;
18603
18576
  fileUrl: string | null;
18577
+ status?: string | undefined;
18604
18578
  }[];
18605
18579
  }[];
18606
18580
  company: {
@@ -18801,7 +18775,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18801
18775
  previewUrl: string;
18802
18776
  imageSetId: string;
18803
18777
  repliedMessage: {
18804
- 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";
18778
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
18805
18779
  message: string;
18806
18780
  id: string;
18807
18781
  url: string;
@@ -18855,7 +18829,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18855
18829
  };
18856
18830
  upload: {
18857
18831
  id: string;
18858
- status: string | null;
18859
18832
  createdAt: Date;
18860
18833
  updatedAt: Date;
18861
18834
  deletedAt: Date | null;
@@ -18864,6 +18837,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18864
18837
  bucketName: string;
18865
18838
  fileSize: number;
18866
18839
  fileUrl: string | null;
18840
+ status?: string | undefined;
18867
18841
  };
18868
18842
  assignee: {
18869
18843
  id: string;
@@ -19182,7 +19156,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19182
19156
  deletedAt: z.ZodNullable<z.ZodString>;
19183
19157
  message: z.ZodOptional<z.ZodString>;
19184
19158
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
19185
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
19159
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
19186
19160
  metadata: z.ZodAny;
19187
19161
  platformId: z.ZodString;
19188
19162
  platformMessageId: z.ZodString;
@@ -19524,10 +19498,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19524
19498
  fileSize: z.ZodNumber;
19525
19499
  fileKey: z.ZodString;
19526
19500
  fileUrl: z.ZodNullable<z.ZodString>;
19527
- status: z.ZodNullable<z.ZodString>;
19501
+ status: z.ZodOptional<z.ZodString>;
19528
19502
  }, "strip", z.ZodTypeAny, {
19529
19503
  id: string;
19530
- status: string | null;
19531
19504
  createdAt: Date;
19532
19505
  updatedAt: Date;
19533
19506
  deletedAt: Date | null;
@@ -19536,9 +19509,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19536
19509
  bucketName: string;
19537
19510
  fileSize: number;
19538
19511
  fileUrl: string | null;
19512
+ status?: string | undefined;
19539
19513
  }, {
19540
19514
  id: string;
19541
- status: string | null;
19542
19515
  createdAt: Date;
19543
19516
  updatedAt: Date;
19544
19517
  deletedAt: Date | null;
@@ -19547,6 +19520,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19547
19520
  bucketName: string;
19548
19521
  fileSize: number;
19549
19522
  fileUrl: string | null;
19523
+ status?: string | undefined;
19550
19524
  }>, "many">;
19551
19525
  }, "strip", z.ZodTypeAny, {
19552
19526
  id: string;
@@ -19573,7 +19547,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19573
19547
  dateValue: Date | null;
19574
19548
  uploads: {
19575
19549
  id: string;
19576
- status: string | null;
19577
19550
  createdAt: Date;
19578
19551
  updatedAt: Date;
19579
19552
  deletedAt: Date | null;
@@ -19582,6 +19555,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19582
19555
  bucketName: string;
19583
19556
  fileSize: number;
19584
19557
  fileUrl: string | null;
19558
+ status?: string | undefined;
19585
19559
  }[];
19586
19560
  }, {
19587
19561
  id: string;
@@ -19608,7 +19582,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19608
19582
  dateValue: Date | null;
19609
19583
  uploads: {
19610
19584
  id: string;
19611
- status: string | null;
19612
19585
  createdAt: Date;
19613
19586
  updatedAt: Date;
19614
19587
  deletedAt: Date | null;
@@ -19617,6 +19590,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19617
19590
  bucketName: string;
19618
19591
  fileSize: number;
19619
19592
  fileUrl: string | null;
19593
+ status?: string | undefined;
19620
19594
  }[];
19621
19595
  }>, "many">>;
19622
19596
  contactEmails: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -19776,7 +19750,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19776
19750
  dateValue: Date | null;
19777
19751
  uploads: {
19778
19752
  id: string;
19779
- status: string | null;
19780
19753
  createdAt: Date;
19781
19754
  updatedAt: Date;
19782
19755
  deletedAt: Date | null;
@@ -19785,6 +19758,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19785
19758
  bucketName: string;
19786
19759
  fileSize: number;
19787
19760
  fileUrl: string | null;
19761
+ status?: string | undefined;
19788
19762
  }[];
19789
19763
  }[] | undefined;
19790
19764
  contactEmails?: {
@@ -19872,7 +19846,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19872
19846
  dateValue: Date | null;
19873
19847
  uploads: {
19874
19848
  id: string;
19875
- status: string | null;
19876
19849
  createdAt: Date;
19877
19850
  updatedAt: Date;
19878
19851
  deletedAt: Date | null;
@@ -19881,6 +19854,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19881
19854
  bucketName: string;
19882
19855
  fileSize: number;
19883
19856
  fileUrl: string | null;
19857
+ status?: string | undefined;
19884
19858
  }[];
19885
19859
  }[] | undefined;
19886
19860
  contactEmails?: {
@@ -19981,7 +19955,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19981
19955
  dateValue: Date | null;
19982
19956
  uploads: {
19983
19957
  id: string;
19984
- status: string | null;
19985
19958
  createdAt: Date;
19986
19959
  updatedAt: Date;
19987
19960
  deletedAt: Date | null;
@@ -19990,6 +19963,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19990
19963
  bucketName: string;
19991
19964
  fileSize: number;
19992
19965
  fileUrl: string | null;
19966
+ status?: string | undefined;
19993
19967
  }[];
19994
19968
  }[] | undefined;
19995
19969
  contactEmails?: {
@@ -20092,7 +20066,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
20092
20066
  dateValue: Date | null;
20093
20067
  uploads: {
20094
20068
  id: string;
20095
- status: string | null;
20096
20069
  createdAt: Date;
20097
20070
  updatedAt: Date;
20098
20071
  deletedAt: Date | null;
@@ -20101,6 +20074,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
20101
20074
  bucketName: string;
20102
20075
  fileSize: number;
20103
20076
  fileUrl: string | null;
20077
+ status?: string | undefined;
20104
20078
  }[];
20105
20079
  }[] | undefined;
20106
20080
  contactEmails?: {
@@ -21146,7 +21120,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
21146
21120
  dateValue: Date | null;
21147
21121
  uploads: {
21148
21122
  id: string;
21149
- status: string | null;
21150
21123
  createdAt: Date;
21151
21124
  updatedAt: Date;
21152
21125
  deletedAt: Date | null;
@@ -21155,6 +21128,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
21155
21128
  bucketName: string;
21156
21129
  fileSize: number;
21157
21130
  fileUrl: string | null;
21131
+ status?: string | undefined;
21158
21132
  }[];
21159
21133
  }[] | undefined;
21160
21134
  contactEmails?: {
@@ -21454,7 +21428,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
21454
21428
  dateValue: Date | null;
21455
21429
  uploads: {
21456
21430
  id: string;
21457
- status: string | null;
21458
21431
  createdAt: Date;
21459
21432
  updatedAt: Date;
21460
21433
  deletedAt: Date | null;
@@ -21463,6 +21436,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
21463
21436
  bucketName: string;
21464
21437
  fileSize: number;
21465
21438
  fileUrl: string | null;
21439
+ status?: string | undefined;
21466
21440
  }[];
21467
21441
  }[] | undefined;
21468
21442
  contactEmails?: {
@@ -22332,7 +22306,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22332
22306
  };
22333
22307
  }>>>;
22334
22308
  }, "strip", z.ZodTypeAny, {
22335
- 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";
22309
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
22336
22310
  id: string;
22337
22311
  direction: "incoming" | "outgoing" | "system";
22338
22312
  createdAt: string;
@@ -22417,7 +22391,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22417
22391
  dateValue: Date | null;
22418
22392
  uploads: {
22419
22393
  id: string;
22420
- status: string | null;
22421
22394
  createdAt: Date;
22422
22395
  updatedAt: Date;
22423
22396
  deletedAt: Date | null;
@@ -22426,6 +22399,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22426
22399
  bucketName: string;
22427
22400
  fileSize: number;
22428
22401
  fileUrl: string | null;
22402
+ status?: string | undefined;
22429
22403
  }[];
22430
22404
  }[] | undefined;
22431
22405
  contactEmails?: {
@@ -22802,7 +22776,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22802
22776
  };
22803
22777
  } | null | undefined;
22804
22778
  }, {
22805
- 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";
22779
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
22806
22780
  id: string;
22807
22781
  direction: "incoming" | "outgoing" | "system";
22808
22782
  createdAt: string;
@@ -22887,7 +22861,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22887
22861
  dateValue: Date | null;
22888
22862
  uploads: {
22889
22863
  id: string;
22890
- status: string | null;
22891
22864
  createdAt: Date;
22892
22865
  updatedAt: Date;
22893
22866
  deletedAt: Date | null;
@@ -22896,6 +22869,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22896
22869
  bucketName: string;
22897
22870
  fileSize: number;
22898
22871
  fileUrl: string | null;
22872
+ status?: string | undefined;
22899
22873
  }[];
22900
22874
  }[] | undefined;
22901
22875
  contactEmails?: {
@@ -23274,7 +23248,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23274
23248
  }>;
23275
23249
  }, "strip", z.ZodTypeAny, {
23276
23250
  message: {
23277
- 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";
23251
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
23278
23252
  id: string;
23279
23253
  direction: "incoming" | "outgoing" | "system";
23280
23254
  createdAt: string;
@@ -23359,7 +23333,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23359
23333
  dateValue: Date | null;
23360
23334
  uploads: {
23361
23335
  id: string;
23362
- status: string | null;
23363
23336
  createdAt: Date;
23364
23337
  updatedAt: Date;
23365
23338
  deletedAt: Date | null;
@@ -23368,6 +23341,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23368
23341
  bucketName: string;
23369
23342
  fileSize: number;
23370
23343
  fileUrl: string | null;
23344
+ status?: string | undefined;
23371
23345
  }[];
23372
23346
  }[] | undefined;
23373
23347
  contactEmails?: {
@@ -23746,7 +23720,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23746
23720
  };
23747
23721
  }, {
23748
23722
  message: {
23749
- 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";
23723
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
23750
23724
  id: string;
23751
23725
  direction: "incoming" | "outgoing" | "system";
23752
23726
  createdAt: string;
@@ -23831,7 +23805,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23831
23805
  dateValue: Date | null;
23832
23806
  uploads: {
23833
23807
  id: string;
23834
- status: string | null;
23835
23808
  createdAt: Date;
23836
23809
  updatedAt: Date;
23837
23810
  deletedAt: Date | null;
@@ -23840,6 +23813,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23840
23813
  bucketName: string;
23841
23814
  fileSize: number;
23842
23815
  fileUrl: string | null;
23816
+ status?: string | undefined;
23843
23817
  }[];
23844
23818
  }[] | undefined;
23845
23819
  contactEmails?: {