@kl1/contracts 1.1.37 → 1.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/api-contracts/src/chat/index.d.ts +7707 -133
  2. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/chat/schema.d.ts +59 -45
  4. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/validation.d.ts +93 -51
  6. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/contract.d.ts +380 -218
  8. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  9. package/dist/api-contracts/src/facebook-feed/index.d.ts +70 -43
  10. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  11. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  12. package/dist/api-contracts/src/instagram/index.d.ts +60 -33
  13. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/line/index.d.ts +65 -38
  15. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/line/validation.d.ts +5 -5
  17. package/dist/api-contracts/src/messenger/index.d.ts +60 -33
  18. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/sms/index.d.ts +20 -5
  20. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +28 -28
  22. package/dist/api-contracts/src/viber/index.d.ts +60 -33
  23. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/webchat/index.d.ts +60 -33
  25. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  26. package/dist/entities/src/enums/chat.d.ts +1 -0
  27. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  28. package/dist/index.js +25 -8
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.mjs +25 -8
  31. package/dist/index.mjs.map +1 -1
  32. package/package.json +1 -1
  33. package/dist/api-contracts/src/automation-queue/index.d.ts +0 -4212
  34. package/dist/api-contracts/src/automation-queue/index.d.ts.map +0 -1
  35. package/dist/api-contracts/src/automation-queue/schema.d.ts +0 -614
  36. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +0 -1
  37. package/dist/api-contracts/src/automation-queue/validation.d.ts +0 -47
  38. package/dist/api-contracts/src/automation-queue/validation.d.ts.map +0 -1
  39. package/dist/api-contracts/src/hold-label/index.d.ts +0 -315
  40. package/dist/api-contracts/src/hold-label/index.d.ts.map +0 -1
  41. package/dist/api-contracts/src/hold-label/schema.d.ts +0 -24
  42. package/dist/api-contracts/src/hold-label/schema.d.ts.map +0 -1
  43. package/dist/api-contracts/src/hold-label/validation.d.ts +0 -24
  44. package/dist/api-contracts/src/hold-label/validation.d.ts.map +0 -1
  45. package/dist/api-contracts/src/presence-status/index.d.ts +0 -556
  46. package/dist/api-contracts/src/presence-status/index.d.ts.map +0 -1
  47. package/dist/api-contracts/src/presence-status/schema.d.ts +0 -31
  48. package/dist/api-contracts/src/presence-status/schema.d.ts.map +0 -1
  49. package/dist/api-contracts/src/presence-status/validation.d.ts +0 -28
  50. package/dist/api-contracts/src/presence-status/validation.d.ts.map +0 -1
  51. package/dist/api-contracts/src/subscription/index.d.ts +0 -1900
  52. package/dist/api-contracts/src/subscription/index.d.ts.map +0 -1
  53. package/dist/api-contracts/src/subscription/schema.d.ts +0 -2059
  54. package/dist/api-contracts/src/subscription/schema.d.ts.map +0 -1
  55. package/dist/api-contracts/src/subscription/validation.d.ts +0 -37
  56. package/dist/api-contracts/src/subscription/validation.d.ts.map +0 -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", "text_with_image", "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", "edited", "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" | "text_with_image" | "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" | "edited" | "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" | "text_with_image" | "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" | "edited" | "unsupported";
593
593
  roomId: string;
594
594
  message?: string | undefined;
595
595
  messageAttachments?: {
@@ -1214,7 +1214,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1214
1214
  id: z.ZodOptional<z.ZodString>;
1215
1215
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1216
1216
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1217
- 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"]>;
1217
+ 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", "edited", "unsupported"]>;
1218
1218
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1219
1219
  metadata: z.ZodOptional<z.ZodAny>;
1220
1220
  platformId: z.ZodOptional<z.ZodString>;
@@ -1266,7 +1266,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1266
1266
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1267
1267
  feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1268
1268
  }, "strip", z.ZodTypeAny, {
1269
- 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";
1269
+ 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" | "edited" | "unsupported";
1270
1270
  direction: "incoming" | "outgoing" | "system";
1271
1271
  id?: string | undefined;
1272
1272
  message?: string | null | undefined;
@@ -1297,7 +1297,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1297
1297
  parentMessageId?: string | null | undefined;
1298
1298
  feedPostId?: string | null | undefined;
1299
1299
  }, {
1300
- 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";
1300
+ 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" | "edited" | "unsupported";
1301
1301
  direction: "incoming" | "outgoing" | "system";
1302
1302
  id?: string | undefined;
1303
1303
  message?: string | null | undefined;
@@ -1330,7 +1330,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1330
1330
  }>;
1331
1331
  }, "strip", z.ZodTypeAny, {
1332
1332
  message: {
1333
- 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";
1333
+ 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" | "edited" | "unsupported";
1334
1334
  direction: "incoming" | "outgoing" | "system";
1335
1335
  id?: string | undefined;
1336
1336
  message?: string | null | undefined;
@@ -1397,7 +1397,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1397
1397
  };
1398
1398
  }, {
1399
1399
  message: {
1400
- 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";
1400
+ 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" | "edited" | "unsupported";
1401
1401
  direction: "incoming" | "outgoing" | "system";
1402
1402
  id?: string | undefined;
1403
1403
  message?: string | null | undefined;
@@ -1875,7 +1875,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1875
1875
  id: z.ZodOptional<z.ZodString>;
1876
1876
  message: z.ZodOptional<z.ZodString>;
1877
1877
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1878
- 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"]>;
1878
+ 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", "edited", "unsupported"]>;
1879
1879
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1880
1880
  metadata: z.ZodOptional<z.ZodAny>;
1881
1881
  platformId: z.ZodOptional<z.ZodString>;
@@ -1926,8 +1926,11 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1926
1926
  }>>;
1927
1927
  parentMessageId: z.ZodOptional<z.ZodString>;
1928
1928
  feedPostId: z.ZodOptional<z.ZodString>;
1929
+ editedMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1930
+ isEdited: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1931
+ editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1929
1932
  }, "strip", z.ZodTypeAny, {
1930
- 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";
1933
+ 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" | "edited" | "unsupported";
1931
1934
  direction: "incoming" | "outgoing" | "system";
1932
1935
  id?: string | undefined;
1933
1936
  message?: string | undefined;
@@ -1957,8 +1960,11 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1957
1960
  } | undefined;
1958
1961
  parentMessageId?: string | undefined;
1959
1962
  feedPostId?: string | undefined;
1963
+ editedMessageId?: string | null | undefined;
1964
+ isEdited?: boolean | null | undefined;
1965
+ editedAt?: string | Date | null | undefined;
1960
1966
  }, {
1961
- 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";
1967
+ 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" | "edited" | "unsupported";
1962
1968
  direction: "incoming" | "outgoing" | "system";
1963
1969
  id?: string | undefined;
1964
1970
  message?: string | undefined;
@@ -1988,10 +1994,13 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1988
1994
  } | undefined;
1989
1995
  parentMessageId?: string | undefined;
1990
1996
  feedPostId?: string | undefined;
1997
+ editedMessageId?: string | null | undefined;
1998
+ isEdited?: boolean | null | undefined;
1999
+ editedAt?: string | Date | null | undefined;
1991
2000
  }>;
1992
2001
  }, "strip", z.ZodTypeAny, {
1993
2002
  message: {
1994
- 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";
2003
+ 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" | "edited" | "unsupported";
1995
2004
  direction: "incoming" | "outgoing" | "system";
1996
2005
  id?: string | undefined;
1997
2006
  message?: string | undefined;
@@ -2021,6 +2030,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2021
2030
  } | undefined;
2022
2031
  parentMessageId?: string | undefined;
2023
2032
  feedPostId?: string | undefined;
2033
+ editedMessageId?: string | null | undefined;
2034
+ isEdited?: boolean | null | undefined;
2035
+ editedAt?: string | Date | null | undefined;
2024
2036
  };
2025
2037
  room: {
2026
2038
  id: string;
@@ -2099,7 +2111,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2099
2111
  isBot: boolean | null;
2100
2112
  }, {
2101
2113
  message: {
2102
- 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";
2114
+ 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" | "edited" | "unsupported";
2103
2115
  direction: "incoming" | "outgoing" | "system";
2104
2116
  id?: string | undefined;
2105
2117
  message?: string | undefined;
@@ -2129,6 +2141,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2129
2141
  } | undefined;
2130
2142
  parentMessageId?: string | undefined;
2131
2143
  feedPostId?: string | undefined;
2144
+ editedMessageId?: string | null | undefined;
2145
+ isEdited?: boolean | null | undefined;
2146
+ editedAt?: string | Date | null | undefined;
2132
2147
  };
2133
2148
  room: {
2134
2149
  id: string;
@@ -2211,7 +2226,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2211
2226
  id: z.ZodOptional<z.ZodString>;
2212
2227
  message: z.ZodOptional<z.ZodString>;
2213
2228
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2214
- 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"]>;
2229
+ 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", "edited", "unsupported"]>;
2215
2230
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2216
2231
  metadata: z.ZodOptional<z.ZodAny>;
2217
2232
  platformId: z.ZodOptional<z.ZodString>;
@@ -2262,8 +2277,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2262
2277
  }>>;
2263
2278
  parentMessageId: z.ZodOptional<z.ZodString>;
2264
2279
  feedPostId: z.ZodOptional<z.ZodString>;
2280
+ editedMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2281
+ isEdited: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2282
+ editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2265
2283
  }, "strip", z.ZodTypeAny, {
2266
- 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";
2284
+ 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" | "edited" | "unsupported";
2267
2285
  direction: "incoming" | "outgoing" | "system";
2268
2286
  id?: string | undefined;
2269
2287
  message?: string | undefined;
@@ -2293,8 +2311,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2293
2311
  } | undefined;
2294
2312
  parentMessageId?: string | undefined;
2295
2313
  feedPostId?: string | undefined;
2314
+ editedMessageId?: string | null | undefined;
2315
+ isEdited?: boolean | null | undefined;
2316
+ editedAt?: string | Date | null | undefined;
2296
2317
  }, {
2297
- 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";
2318
+ 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" | "edited" | "unsupported";
2298
2319
  direction: "incoming" | "outgoing" | "system";
2299
2320
  id?: string | undefined;
2300
2321
  message?: string | undefined;
@@ -2324,6 +2345,9 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2324
2345
  } | undefined;
2325
2346
  parentMessageId?: string | undefined;
2326
2347
  feedPostId?: string | undefined;
2348
+ editedMessageId?: string | null | undefined;
2349
+ isEdited?: boolean | null | undefined;
2350
+ editedAt?: string | Date | null | undefined;
2327
2351
  }>;
2328
2352
  room: z.ZodObject<{
2329
2353
  id: z.ZodString;
@@ -2744,7 +2768,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2744
2768
  }>>;
2745
2769
  }, "strip", z.ZodTypeAny, {
2746
2770
  message: {
2747
- 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";
2771
+ 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" | "edited" | "unsupported";
2748
2772
  direction: "incoming" | "outgoing" | "system";
2749
2773
  id?: string | undefined;
2750
2774
  message?: string | undefined;
@@ -2774,6 +2798,9 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2774
2798
  } | undefined;
2775
2799
  parentMessageId?: string | undefined;
2776
2800
  feedPostId?: string | undefined;
2801
+ editedMessageId?: string | null | undefined;
2802
+ isEdited?: boolean | null | undefined;
2803
+ editedAt?: string | Date | null | undefined;
2777
2804
  };
2778
2805
  room: {
2779
2806
  id: string;
@@ -2856,7 +2883,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2856
2883
  } | undefined;
2857
2884
  }, {
2858
2885
  message: {
2859
- 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";
2886
+ 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" | "edited" | "unsupported";
2860
2887
  direction: "incoming" | "outgoing" | "system";
2861
2888
  id?: string | undefined;
2862
2889
  message?: string | undefined;
@@ -2886,6 +2913,9 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2886
2913
  } | undefined;
2887
2914
  parentMessageId?: string | undefined;
2888
2915
  feedPostId?: string | undefined;
2916
+ editedMessageId?: string | null | undefined;
2917
+ isEdited?: boolean | null | undefined;
2918
+ editedAt?: string | Date | null | undefined;
2889
2919
  };
2890
2920
  room: {
2891
2921
  id: string;
@@ -2970,7 +3000,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2970
3000
  export declare const SendMessageResponseSchema: z.ZodObject<{
2971
3001
  requestId: z.ZodString;
2972
3002
  data: z.ZodObject<{
2973
- 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"]>;
3003
+ 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", "edited", "unsupported"]>;
2974
3004
  message: z.ZodString;
2975
3005
  id: z.ZodString;
2976
3006
  url: z.ZodString;
@@ -6444,7 +6474,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6444
6474
  deletedAt: z.ZodNullable<z.ZodDate>;
6445
6475
  message: z.ZodString;
6446
6476
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6447
- 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"]>;
6477
+ 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", "edited", "unsupported"]>;
6448
6478
  readAt: z.ZodDate;
6449
6479
  metadata: z.ZodAny;
6450
6480
  platformId: z.ZodString;
@@ -7102,7 +7132,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7102
7132
  };
7103
7133
  }>;
7104
7134
  }, "strip", z.ZodTypeAny, {
7105
- 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";
7135
+ 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" | "edited" | "unsupported";
7106
7136
  message: string;
7107
7137
  id: string;
7108
7138
  url: string;
@@ -7264,7 +7294,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7264
7294
  metadata?: any;
7265
7295
  template?: any;
7266
7296
  }, {
7267
- 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";
7297
+ 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" | "edited" | "unsupported";
7268
7298
  message: string;
7269
7299
  id: string;
7270
7300
  url: string;
@@ -7630,6 +7660,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7630
7660
  telephonySignature: string | null;
7631
7661
  };
7632
7662
  }>;
7663
+ editedMessageid: z.ZodString;
7633
7664
  fromMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7634
7665
  id: z.ZodString;
7635
7666
  createdAt: z.ZodDate;
@@ -7637,7 +7668,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7637
7668
  deletedAt: z.ZodNullable<z.ZodDate>;
7638
7669
  message: z.ZodString;
7639
7670
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7640
- 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"]>;
7671
+ 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", "edited", "unsupported"]>;
7641
7672
  readAt: z.ZodDate;
7642
7673
  metadata: z.ZodAny;
7643
7674
  platformId: z.ZodString;
@@ -10672,7 +10703,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10672
10703
  deletedAt: z.ZodNullable<z.ZodDate>;
10673
10704
  message: z.ZodString;
10674
10705
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
10675
- 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"]>;
10706
+ 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", "edited", "unsupported"]>;
10676
10707
  readAt: z.ZodDate;
10677
10708
  metadata: z.ZodAny;
10678
10709
  platformId: z.ZodString;
@@ -11330,7 +11361,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11330
11361
  };
11331
11362
  }>;
11332
11363
  }, "strip", z.ZodTypeAny, {
11333
- 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";
11364
+ 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" | "edited" | "unsupported";
11334
11365
  message: string;
11335
11366
  id: string;
11336
11367
  url: string;
@@ -11492,7 +11523,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11492
11523
  metadata?: any;
11493
11524
  template?: any;
11494
11525
  }, {
11495
- 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";
11526
+ 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" | "edited" | "unsupported";
11496
11527
  message: string;
11497
11528
  id: string;
11498
11529
  url: string;
@@ -12291,8 +12322,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12291
12322
  deletedAt: Date | null;
12292
12323
  isActive: boolean;
12293
12324
  }>;
12325
+ editedMessageid: z.ZodString;
12294
12326
  }, "strip", z.ZodTypeAny, {
12295
- 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";
12327
+ 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" | "edited" | "unsupported";
12296
12328
  message: string;
12297
12329
  id: string;
12298
12330
  url: string;
@@ -12790,7 +12822,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12790
12822
  previewUrl: string;
12791
12823
  imageSetId: string;
12792
12824
  repliedMessage: {
12793
- 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";
12825
+ 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" | "edited" | "unsupported";
12794
12826
  message: string;
12795
12827
  id: string;
12796
12828
  url: string;
@@ -12996,10 +13028,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12996
13028
  telephonySignature: string | null;
12997
13029
  };
12998
13030
  };
13031
+ editedMessageid: string;
12999
13032
  metadata?: any;
13000
13033
  template?: any;
13001
13034
  }, {
13002
- 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";
13035
+ 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" | "edited" | "unsupported";
13003
13036
  message: string;
13004
13037
  id: string;
13005
13038
  url: string;
@@ -13497,7 +13530,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13497
13530
  previewUrl: string;
13498
13531
  imageSetId: string;
13499
13532
  repliedMessage: {
13500
- 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";
13533
+ 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" | "edited" | "unsupported";
13501
13534
  message: string;
13502
13535
  id: string;
13503
13536
  url: string;
@@ -13703,11 +13736,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13703
13736
  telephonySignature: string | null;
13704
13737
  };
13705
13738
  };
13739
+ editedMessageid: string;
13706
13740
  metadata?: any;
13707
13741
  template?: any;
13708
13742
  }>>>;
13709
13743
  }, "strip", z.ZodTypeAny, {
13710
- 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";
13744
+ 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" | "edited" | "unsupported";
13711
13745
  message: string;
13712
13746
  id: string;
13713
13747
  url: string;
@@ -14205,7 +14239,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14205
14239
  previewUrl: string;
14206
14240
  imageSetId: string;
14207
14241
  repliedMessage: {
14208
- 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";
14242
+ 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" | "edited" | "unsupported";
14209
14243
  message: string;
14210
14244
  id: string;
14211
14245
  url: string;
@@ -14411,10 +14445,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14411
14445
  telephonySignature: string | null;
14412
14446
  };
14413
14447
  };
14448
+ editedMessageid: string;
14414
14449
  template?: any;
14415
14450
  metadata?: any;
14416
14451
  fromMessage?: {
14417
- 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";
14452
+ 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" | "edited" | "unsupported";
14418
14453
  message: string;
14419
14454
  id: string;
14420
14455
  url: string;
@@ -14912,7 +14947,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14912
14947
  previewUrl: string;
14913
14948
  imageSetId: string;
14914
14949
  repliedMessage: {
14915
- 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";
14950
+ 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" | "edited" | "unsupported";
14916
14951
  message: string;
14917
14952
  id: string;
14918
14953
  url: string;
@@ -15118,11 +15153,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15118
15153
  telephonySignature: string | null;
15119
15154
  };
15120
15155
  };
15156
+ editedMessageid: string;
15121
15157
  metadata?: any;
15122
15158
  template?: any;
15123
15159
  } | null | undefined;
15124
15160
  }, {
15125
- 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";
15161
+ 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" | "edited" | "unsupported";
15126
15162
  message: string;
15127
15163
  id: string;
15128
15164
  url: string;
@@ -15620,7 +15656,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15620
15656
  previewUrl: string;
15621
15657
  imageSetId: string;
15622
15658
  repliedMessage: {
15623
- 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";
15659
+ 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" | "edited" | "unsupported";
15624
15660
  message: string;
15625
15661
  id: string;
15626
15662
  url: string;
@@ -15826,10 +15862,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15826
15862
  telephonySignature: string | null;
15827
15863
  };
15828
15864
  };
15865
+ editedMessageid: string;
15829
15866
  template?: any;
15830
15867
  metadata?: any;
15831
15868
  fromMessage?: {
15832
- 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";
15869
+ 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" | "edited" | "unsupported";
15833
15870
  message: string;
15834
15871
  id: string;
15835
15872
  url: string;
@@ -16327,7 +16364,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16327
16364
  previewUrl: string;
16328
16365
  imageSetId: string;
16329
16366
  repliedMessage: {
16330
- 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";
16367
+ 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" | "edited" | "unsupported";
16331
16368
  message: string;
16332
16369
  id: string;
16333
16370
  url: string;
@@ -16533,13 +16570,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16533
16570
  telephonySignature: string | null;
16534
16571
  };
16535
16572
  };
16573
+ editedMessageid: string;
16536
16574
  metadata?: any;
16537
16575
  template?: any;
16538
16576
  } | null | undefined;
16539
16577
  }>;
16540
16578
  }, "strip", z.ZodTypeAny, {
16541
16579
  data: {
16542
- 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";
16580
+ 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" | "edited" | "unsupported";
16543
16581
  message: string;
16544
16582
  id: string;
16545
16583
  url: string;
@@ -17037,7 +17075,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17037
17075
  previewUrl: string;
17038
17076
  imageSetId: string;
17039
17077
  repliedMessage: {
17040
- 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";
17078
+ 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" | "edited" | "unsupported";
17041
17079
  message: string;
17042
17080
  id: string;
17043
17081
  url: string;
@@ -17243,10 +17281,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17243
17281
  telephonySignature: string | null;
17244
17282
  };
17245
17283
  };
17284
+ editedMessageid: string;
17246
17285
  template?: any;
17247
17286
  metadata?: any;
17248
17287
  fromMessage?: {
17249
- 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";
17288
+ 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" | "edited" | "unsupported";
17250
17289
  message: string;
17251
17290
  id: string;
17252
17291
  url: string;
@@ -17744,7 +17783,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17744
17783
  previewUrl: string;
17745
17784
  imageSetId: string;
17746
17785
  repliedMessage: {
17747
- 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";
17786
+ 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" | "edited" | "unsupported";
17748
17787
  message: string;
17749
17788
  id: string;
17750
17789
  url: string;
@@ -17950,6 +17989,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17950
17989
  telephonySignature: string | null;
17951
17990
  };
17952
17991
  };
17992
+ editedMessageid: string;
17953
17993
  metadata?: any;
17954
17994
  template?: any;
17955
17995
  } | null | undefined;
@@ -17957,7 +17997,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17957
17997
  requestId: string;
17958
17998
  }, {
17959
17999
  data: {
17960
- 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";
18000
+ 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" | "edited" | "unsupported";
17961
18001
  message: string;
17962
18002
  id: string;
17963
18003
  url: string;
@@ -18455,7 +18495,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18455
18495
  previewUrl: string;
18456
18496
  imageSetId: string;
18457
18497
  repliedMessage: {
18458
- 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";
18498
+ 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" | "edited" | "unsupported";
18459
18499
  message: string;
18460
18500
  id: string;
18461
18501
  url: string;
@@ -18661,10 +18701,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18661
18701
  telephonySignature: string | null;
18662
18702
  };
18663
18703
  };
18704
+ editedMessageid: string;
18664
18705
  template?: any;
18665
18706
  metadata?: any;
18666
18707
  fromMessage?: {
18667
- 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";
18708
+ 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" | "edited" | "unsupported";
18668
18709
  message: string;
18669
18710
  id: string;
18670
18711
  url: string;
@@ -19162,7 +19203,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19162
19203
  previewUrl: string;
19163
19204
  imageSetId: string;
19164
19205
  repliedMessage: {
19165
- 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";
19206
+ 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" | "edited" | "unsupported";
19166
19207
  message: string;
19167
19208
  id: string;
19168
19209
  url: string;
@@ -19368,6 +19409,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19368
19409
  telephonySignature: string | null;
19369
19410
  };
19370
19411
  };
19412
+ editedMessageid: string;
19371
19413
  metadata?: any;
19372
19414
  template?: any;
19373
19415
  } | null | undefined;
@@ -19586,7 +19628,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
19586
19628
  deletedAt: z.ZodNullable<z.ZodString>;
19587
19629
  message: z.ZodOptional<z.ZodString>;
19588
19630
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
19589
- 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"]>;
19631
+ 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", "edited", "unsupported"]>;
19590
19632
  metadata: z.ZodAny;
19591
19633
  platformId: z.ZodString;
19592
19634
  platformMessageId: z.ZodString;
@@ -22779,7 +22821,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22779
22821
  };
22780
22822
  }>>>;
22781
22823
  }, "strip", z.ZodTypeAny, {
22782
- 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";
22824
+ 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" | "edited" | "unsupported";
22783
22825
  id: string;
22784
22826
  direction: "incoming" | "outgoing" | "system";
22785
22827
  createdAt: string;
@@ -23254,7 +23296,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23254
23296
  };
23255
23297
  } | null | undefined;
23256
23298
  }, {
23257
- 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";
23299
+ 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" | "edited" | "unsupported";
23258
23300
  id: string;
23259
23301
  direction: "incoming" | "outgoing" | "system";
23260
23302
  createdAt: string;
@@ -23731,7 +23773,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23731
23773
  }>;
23732
23774
  }, "strip", z.ZodTypeAny, {
23733
23775
  message: {
23734
- 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";
23776
+ 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" | "edited" | "unsupported";
23735
23777
  id: string;
23736
23778
  direction: "incoming" | "outgoing" | "system";
23737
23779
  createdAt: string;
@@ -24208,7 +24250,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24208
24250
  };
24209
24251
  }, {
24210
24252
  message: {
24211
- 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";
24253
+ 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" | "edited" | "unsupported";
24212
24254
  id: string;
24213
24255
  direction: "incoming" | "outgoing" | "system";
24214
24256
  createdAt: string;