@kl1/contracts 1.1.45 → 1.1.46

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 (31) hide show
  1. package/dist/api-contracts/src/chat/index.d.ts +230 -174
  2. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/chat/schema.d.ts +65 -51
  4. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/validation.d.ts +83 -56
  6. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/contract.d.ts +325 -223
  8. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  9. package/dist/api-contracts/src/facebook-feed/index.d.ts +60 -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 +6 -6
  12. package/dist/api-contracts/src/instagram/index.d.ts +50 -33
  13. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/line/index.d.ts +55 -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 +50 -33
  18. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/sms/index.d.ts +10 -5
  20. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/viber/index.d.ts +50 -33
  22. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/webchat/index.d.ts +50 -33
  24. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  25. package/dist/entities/src/enums/chat.d.ts +5 -1
  26. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  27. package/dist/index.js +12 -5
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +12 -5
  30. package/dist/index.mjs.map +1 -1
  31. package/package.json +1 -1
@@ -261,7 +261,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
261
261
  }>;
262
262
  export declare const SendMessageSchema: z.ZodObject<{
263
263
  roomId: z.ZodString;
264
- 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"]>;
264
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
265
265
  message: z.ZodOptional<z.ZodString>;
266
266
  messageAttachments: z.ZodOptional<z.ZodObject<{
267
267
  bucketName: z.ZodString;
@@ -520,7 +520,7 @@ export declare const SendMessageSchema: z.ZodObject<{
520
520
  mentions?: string[] | undefined;
521
521
  }>>;
522
522
  }, "strip", z.ZodTypeAny, {
523
- 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";
523
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
524
524
  roomId: string;
525
525
  message?: string | undefined;
526
526
  messageAttachments?: {
@@ -592,7 +592,7 @@ export declare const SendMessageSchema: z.ZodObject<{
592
592
  mentions?: string[] | undefined;
593
593
  } | undefined;
594
594
  }, {
595
- 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";
595
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
596
596
  roomId: string;
597
597
  message?: string | undefined;
598
598
  messageAttachments?: {
@@ -670,17 +670,17 @@ export declare const InitiateMessageSchema: z.ZodObject<{
670
670
  contactId: z.ZodOptional<z.ZodString>;
671
671
  message: z.ZodObject<{
672
672
  message: z.ZodOptional<z.ZodString>;
673
- 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"]>;
673
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
674
674
  }, "strip", z.ZodTypeAny, {
675
- 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";
675
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
676
676
  message?: string | undefined;
677
677
  }, {
678
- 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";
678
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
679
679
  message?: string | undefined;
680
680
  }>;
681
681
  }, "strip", z.ZodTypeAny, {
682
682
  message: {
683
- 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";
683
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
684
684
  message?: string | undefined;
685
685
  };
686
686
  channelId: string;
@@ -688,7 +688,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
688
688
  contactId?: string | undefined;
689
689
  }, {
690
690
  message: {
691
- 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";
691
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
692
692
  message?: string | undefined;
693
693
  };
694
694
  channelId: string;
@@ -1251,7 +1251,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1251
1251
  id: z.ZodOptional<z.ZodString>;
1252
1252
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1253
1253
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1254
- 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"]>;
1254
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
1255
1255
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1256
1256
  metadata: z.ZodOptional<z.ZodAny>;
1257
1257
  platformId: z.ZodOptional<z.ZodString>;
@@ -1303,7 +1303,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1303
1303
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1304
1304
  feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1305
1305
  }, "strip", z.ZodTypeAny, {
1306
- 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";
1306
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1307
1307
  direction: "incoming" | "outgoing" | "system";
1308
1308
  id?: string | undefined;
1309
1309
  message?: string | null | undefined;
@@ -1334,7 +1334,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1334
1334
  parentMessageId?: string | null | undefined;
1335
1335
  feedPostId?: string | null | undefined;
1336
1336
  }, {
1337
- 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";
1337
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1338
1338
  direction: "incoming" | "outgoing" | "system";
1339
1339
  id?: string | undefined;
1340
1340
  message?: string | null | undefined;
@@ -1367,7 +1367,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1367
1367
  }>;
1368
1368
  }, "strip", z.ZodTypeAny, {
1369
1369
  message: {
1370
- 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";
1370
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1371
1371
  direction: "incoming" | "outgoing" | "system";
1372
1372
  id?: string | undefined;
1373
1373
  message?: string | null | undefined;
@@ -1434,7 +1434,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1434
1434
  };
1435
1435
  }, {
1436
1436
  message: {
1437
- 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";
1437
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1438
1438
  direction: "incoming" | "outgoing" | "system";
1439
1439
  id?: string | undefined;
1440
1440
  message?: string | null | undefined;
@@ -1912,7 +1912,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1912
1912
  id: z.ZodOptional<z.ZodString>;
1913
1913
  message: z.ZodOptional<z.ZodString>;
1914
1914
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1915
- 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"]>;
1915
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
1916
1916
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1917
1917
  metadata: z.ZodOptional<z.ZodAny>;
1918
1918
  platformId: z.ZodOptional<z.ZodString>;
@@ -1966,8 +1966,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1966
1966
  editedMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1967
1967
  isEdited: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1968
1968
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1969
+ label: z.ZodOptional<z.ZodString>;
1969
1970
  }, "strip", z.ZodTypeAny, {
1970
- 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";
1971
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1971
1972
  direction: "incoming" | "outgoing" | "system";
1972
1973
  id?: string | undefined;
1973
1974
  message?: string | undefined;
@@ -2000,8 +2001,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2000
2001
  editedMessageId?: string | null | undefined;
2001
2002
  isEdited?: boolean | null | undefined;
2002
2003
  editedAt?: string | Date | null | undefined;
2004
+ label?: string | undefined;
2003
2005
  }, {
2004
- 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";
2006
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2005
2007
  direction: "incoming" | "outgoing" | "system";
2006
2008
  id?: string | undefined;
2007
2009
  message?: string | undefined;
@@ -2034,10 +2036,11 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2034
2036
  editedMessageId?: string | null | undefined;
2035
2037
  isEdited?: boolean | null | undefined;
2036
2038
  editedAt?: string | Date | null | undefined;
2039
+ label?: string | undefined;
2037
2040
  }>;
2038
2041
  }, "strip", z.ZodTypeAny, {
2039
2042
  message: {
2040
- 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";
2043
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2041
2044
  direction: "incoming" | "outgoing" | "system";
2042
2045
  id?: string | undefined;
2043
2046
  message?: string | undefined;
@@ -2070,6 +2073,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2070
2073
  editedMessageId?: string | null | undefined;
2071
2074
  isEdited?: boolean | null | undefined;
2072
2075
  editedAt?: string | Date | null | undefined;
2076
+ label?: string | undefined;
2073
2077
  };
2074
2078
  room: {
2075
2079
  id: string;
@@ -2148,7 +2152,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2148
2152
  isBot: boolean | null;
2149
2153
  }, {
2150
2154
  message: {
2151
- 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";
2155
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2152
2156
  direction: "incoming" | "outgoing" | "system";
2153
2157
  id?: string | undefined;
2154
2158
  message?: string | undefined;
@@ -2181,6 +2185,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2181
2185
  editedMessageId?: string | null | undefined;
2182
2186
  isEdited?: boolean | null | undefined;
2183
2187
  editedAt?: string | Date | null | undefined;
2188
+ label?: string | undefined;
2184
2189
  };
2185
2190
  room: {
2186
2191
  id: string;
@@ -2263,7 +2268,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2263
2268
  id: z.ZodOptional<z.ZodString>;
2264
2269
  message: z.ZodOptional<z.ZodString>;
2265
2270
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2266
- 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"]>;
2271
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
2267
2272
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2268
2273
  metadata: z.ZodOptional<z.ZodAny>;
2269
2274
  platformId: z.ZodOptional<z.ZodString>;
@@ -2317,8 +2322,9 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2317
2322
  editedMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2318
2323
  isEdited: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2319
2324
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2325
+ label: z.ZodOptional<z.ZodString>;
2320
2326
  }, "strip", z.ZodTypeAny, {
2321
- 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";
2327
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2322
2328
  direction: "incoming" | "outgoing" | "system";
2323
2329
  id?: string | undefined;
2324
2330
  message?: string | undefined;
@@ -2351,8 +2357,9 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2351
2357
  editedMessageId?: string | null | undefined;
2352
2358
  isEdited?: boolean | null | undefined;
2353
2359
  editedAt?: string | Date | null | undefined;
2360
+ label?: string | undefined;
2354
2361
  }, {
2355
- 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";
2362
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2356
2363
  direction: "incoming" | "outgoing" | "system";
2357
2364
  id?: string | undefined;
2358
2365
  message?: string | undefined;
@@ -2385,6 +2392,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2385
2392
  editedMessageId?: string | null | undefined;
2386
2393
  isEdited?: boolean | null | undefined;
2387
2394
  editedAt?: string | Date | null | undefined;
2395
+ label?: string | undefined;
2388
2396
  }>;
2389
2397
  room: z.ZodObject<{
2390
2398
  id: z.ZodString;
@@ -2805,7 +2813,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2805
2813
  }>>;
2806
2814
  }, "strip", z.ZodTypeAny, {
2807
2815
  message: {
2808
- 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";
2816
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2809
2817
  direction: "incoming" | "outgoing" | "system";
2810
2818
  id?: string | undefined;
2811
2819
  message?: string | undefined;
@@ -2838,6 +2846,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2838
2846
  editedMessageId?: string | null | undefined;
2839
2847
  isEdited?: boolean | null | undefined;
2840
2848
  editedAt?: string | Date | null | undefined;
2849
+ label?: string | undefined;
2841
2850
  };
2842
2851
  room: {
2843
2852
  id: string;
@@ -2920,7 +2929,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2920
2929
  } | undefined;
2921
2930
  }, {
2922
2931
  message: {
2923
- 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";
2932
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2924
2933
  direction: "incoming" | "outgoing" | "system";
2925
2934
  id?: string | undefined;
2926
2935
  message?: string | undefined;
@@ -2953,6 +2962,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2953
2962
  editedMessageId?: string | null | undefined;
2954
2963
  isEdited?: boolean | null | undefined;
2955
2964
  editedAt?: string | Date | null | undefined;
2965
+ label?: string | undefined;
2956
2966
  };
2957
2967
  room: {
2958
2968
  id: string;
@@ -3037,11 +3047,12 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3037
3047
  export declare const SendMessageResponseSchema: z.ZodObject<{
3038
3048
  requestId: z.ZodString;
3039
3049
  data: z.ZodObject<{
3040
- 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"]>;
3050
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
3041
3051
  message: z.ZodString;
3042
3052
  id: z.ZodString;
3043
3053
  url: z.ZodString;
3044
3054
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3055
+ label: z.ZodOptional<z.ZodString>;
3045
3056
  template: z.ZodAny;
3046
3057
  metadata: z.ZodAny;
3047
3058
  createdAt: z.ZodDate;
@@ -6657,7 +6668,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6657
6668
  deletedAt: z.ZodNullable<z.ZodDate>;
6658
6669
  message: z.ZodString;
6659
6670
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6660
- 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"]>;
6671
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
6661
6672
  readAt: z.ZodDate;
6662
6673
  metadata: z.ZodAny;
6663
6674
  platformId: z.ZodString;
@@ -7315,7 +7326,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7315
7326
  };
7316
7327
  }>;
7317
7328
  }, "strip", z.ZodTypeAny, {
7318
- 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";
7329
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
7319
7330
  message: string;
7320
7331
  id: string;
7321
7332
  url: string;
@@ -7477,7 +7488,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7477
7488
  metadata?: any;
7478
7489
  template?: any;
7479
7490
  }, {
7480
- 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";
7491
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
7481
7492
  message: string;
7482
7493
  id: string;
7483
7494
  url: string;
@@ -7851,7 +7862,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7851
7862
  deletedAt: z.ZodNullable<z.ZodDate>;
7852
7863
  message: z.ZodString;
7853
7864
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7854
- 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"]>;
7865
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
7855
7866
  readAt: z.ZodDate;
7856
7867
  metadata: z.ZodAny;
7857
7868
  platformId: z.ZodString;
@@ -11032,7 +11043,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11032
11043
  deletedAt: z.ZodNullable<z.ZodDate>;
11033
11044
  message: z.ZodString;
11034
11045
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
11035
- 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"]>;
11046
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
11036
11047
  readAt: z.ZodDate;
11037
11048
  metadata: z.ZodAny;
11038
11049
  platformId: z.ZodString;
@@ -11690,7 +11701,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11690
11701
  };
11691
11702
  }>;
11692
11703
  }, "strip", z.ZodTypeAny, {
11693
- 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";
11704
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11694
11705
  message: string;
11695
11706
  id: string;
11696
11707
  url: string;
@@ -11852,7 +11863,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11852
11863
  metadata?: any;
11853
11864
  template?: any;
11854
11865
  }, {
11855
- 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";
11866
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11856
11867
  message: string;
11857
11868
  id: string;
11858
11869
  url: string;
@@ -12652,8 +12663,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12652
12663
  isActive: boolean;
12653
12664
  }>;
12654
12665
  editedMessageid: z.ZodString;
12666
+ label: z.ZodOptional<z.ZodString>;
12655
12667
  }, "strip", z.ZodTypeAny, {
12656
- 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";
12668
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12657
12669
  message: string;
12658
12670
  id: string;
12659
12671
  url: string;
@@ -13167,7 +13179,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13167
13179
  previewUrl: string;
13168
13180
  imageSetId: string;
13169
13181
  repliedMessage: {
13170
- 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";
13182
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13171
13183
  message: string;
13172
13184
  id: string;
13173
13185
  url: string;
@@ -13376,8 +13388,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13376
13388
  editedMessageid: string;
13377
13389
  metadata?: any;
13378
13390
  template?: any;
13391
+ label?: string | undefined;
13379
13392
  }, {
13380
- 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";
13393
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13381
13394
  message: string;
13382
13395
  id: string;
13383
13396
  url: string;
@@ -13891,7 +13904,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13891
13904
  previewUrl: string;
13892
13905
  imageSetId: string;
13893
13906
  repliedMessage: {
13894
- 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";
13907
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13895
13908
  message: string;
13896
13909
  id: string;
13897
13910
  url: string;
@@ -14100,9 +14113,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14100
14113
  editedMessageid: string;
14101
14114
  metadata?: any;
14102
14115
  template?: any;
14116
+ label?: string | undefined;
14103
14117
  }>>>;
14104
14118
  }, "strip", z.ZodTypeAny, {
14105
- 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";
14119
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14106
14120
  message: string;
14107
14121
  id: string;
14108
14122
  url: string;
@@ -14616,7 +14630,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14616
14630
  previewUrl: string;
14617
14631
  imageSetId: string;
14618
14632
  repliedMessage: {
14619
- 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";
14633
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14620
14634
  message: string;
14621
14635
  id: string;
14622
14636
  url: string;
@@ -14823,10 +14837,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14823
14837
  };
14824
14838
  };
14825
14839
  editedMessageid: string;
14840
+ label?: string | undefined;
14826
14841
  template?: any;
14827
14842
  metadata?: any;
14828
14843
  fromMessage?: {
14829
- 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";
14844
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14830
14845
  message: string;
14831
14846
  id: string;
14832
14847
  url: string;
@@ -15340,7 +15355,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15340
15355
  previewUrl: string;
15341
15356
  imageSetId: string;
15342
15357
  repliedMessage: {
15343
- 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";
15358
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15344
15359
  message: string;
15345
15360
  id: string;
15346
15361
  url: string;
@@ -15549,9 +15564,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15549
15564
  editedMessageid: string;
15550
15565
  metadata?: any;
15551
15566
  template?: any;
15567
+ label?: string | undefined;
15552
15568
  } | null | undefined;
15553
15569
  }, {
15554
- 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";
15570
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15555
15571
  message: string;
15556
15572
  id: string;
15557
15573
  url: string;
@@ -16065,7 +16081,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16065
16081
  previewUrl: string;
16066
16082
  imageSetId: string;
16067
16083
  repliedMessage: {
16068
- 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";
16084
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16069
16085
  message: string;
16070
16086
  id: string;
16071
16087
  url: string;
@@ -16272,10 +16288,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16272
16288
  };
16273
16289
  };
16274
16290
  editedMessageid: string;
16291
+ label?: string | undefined;
16275
16292
  template?: any;
16276
16293
  metadata?: any;
16277
16294
  fromMessage?: {
16278
- 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";
16295
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16279
16296
  message: string;
16280
16297
  id: string;
16281
16298
  url: string;
@@ -16789,7 +16806,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16789
16806
  previewUrl: string;
16790
16807
  imageSetId: string;
16791
16808
  repliedMessage: {
16792
- 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";
16809
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16793
16810
  message: string;
16794
16811
  id: string;
16795
16812
  url: string;
@@ -16998,11 +17015,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16998
17015
  editedMessageid: string;
16999
17016
  metadata?: any;
17000
17017
  template?: any;
17018
+ label?: string | undefined;
17001
17019
  } | null | undefined;
17002
17020
  }>;
17003
17021
  }, "strip", z.ZodTypeAny, {
17004
17022
  data: {
17005
- 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";
17023
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17006
17024
  message: string;
17007
17025
  id: string;
17008
17026
  url: string;
@@ -17516,7 +17534,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17516
17534
  previewUrl: string;
17517
17535
  imageSetId: string;
17518
17536
  repliedMessage: {
17519
- 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";
17537
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17520
17538
  message: string;
17521
17539
  id: string;
17522
17540
  url: string;
@@ -17723,10 +17741,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17723
17741
  };
17724
17742
  };
17725
17743
  editedMessageid: string;
17744
+ label?: string | undefined;
17726
17745
  template?: any;
17727
17746
  metadata?: any;
17728
17747
  fromMessage?: {
17729
- 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
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17730
17749
  message: string;
17731
17750
  id: string;
17732
17751
  url: string;
@@ -18240,7 +18259,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18240
18259
  previewUrl: string;
18241
18260
  imageSetId: string;
18242
18261
  repliedMessage: {
18243
- 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";
18262
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18244
18263
  message: string;
18245
18264
  id: string;
18246
18265
  url: string;
@@ -18449,12 +18468,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18449
18468
  editedMessageid: string;
18450
18469
  metadata?: any;
18451
18470
  template?: any;
18471
+ label?: string | undefined;
18452
18472
  } | null | undefined;
18453
18473
  };
18454
18474
  requestId: string;
18455
18475
  }, {
18456
18476
  data: {
18457
- 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";
18477
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18458
18478
  message: string;
18459
18479
  id: string;
18460
18480
  url: string;
@@ -18968,7 +18988,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18968
18988
  previewUrl: string;
18969
18989
  imageSetId: string;
18970
18990
  repliedMessage: {
18971
- 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";
18991
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18972
18992
  message: string;
18973
18993
  id: string;
18974
18994
  url: string;
@@ -19175,10 +19195,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19175
19195
  };
19176
19196
  };
19177
19197
  editedMessageid: string;
19198
+ label?: string | undefined;
19178
19199
  template?: any;
19179
19200
  metadata?: any;
19180
19201
  fromMessage?: {
19181
- 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";
19202
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19182
19203
  message: string;
19183
19204
  id: string;
19184
19205
  url: string;
@@ -19692,7 +19713,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19692
19713
  previewUrl: string;
19693
19714
  imageSetId: string;
19694
19715
  repliedMessage: {
19695
- 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";
19716
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19696
19717
  message: string;
19697
19718
  id: string;
19698
19719
  url: string;
@@ -19901,6 +19922,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19901
19922
  editedMessageid: string;
19902
19923
  metadata?: any;
19903
19924
  template?: any;
19925
+ label?: string | undefined;
19904
19926
  } | null | undefined;
19905
19927
  };
19906
19928
  requestId: string;
@@ -20117,7 +20139,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
20117
20139
  deletedAt: z.ZodNullable<z.ZodString>;
20118
20140
  message: z.ZodOptional<z.ZodString>;
20119
20141
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
20120
- 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"]>;
20142
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
20121
20143
  metadata: z.ZodAny;
20122
20144
  platformId: z.ZodString;
20123
20145
  platformMessageId: z.ZodString;
@@ -23309,8 +23331,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23309
23331
  telephonySignature: string | null;
23310
23332
  };
23311
23333
  }>>>;
23334
+ label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23312
23335
  }, "strip", z.ZodTypeAny, {
23313
- 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";
23336
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
23314
23337
  id: string;
23315
23338
  direction: "incoming" | "outgoing" | "system";
23316
23339
  createdAt: string;
@@ -23784,8 +23807,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23784
23807
  telephonySignature: string | null;
23785
23808
  };
23786
23809
  } | null | undefined;
23810
+ label?: string | null | undefined;
23787
23811
  }, {
23788
- 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";
23812
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
23789
23813
  id: string;
23790
23814
  direction: "incoming" | "outgoing" | "system";
23791
23815
  createdAt: string;
@@ -24259,10 +24283,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24259
24283
  telephonySignature: string | null;
24260
24284
  };
24261
24285
  } | null | undefined;
24286
+ label?: string | null | undefined;
24262
24287
  }>;
24263
24288
  }, "strip", z.ZodTypeAny, {
24264
24289
  message: {
24265
- 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";
24290
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
24266
24291
  id: string;
24267
24292
  direction: "incoming" | "outgoing" | "system";
24268
24293
  createdAt: string;
@@ -24736,10 +24761,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24736
24761
  telephonySignature: string | null;
24737
24762
  };
24738
24763
  } | null | undefined;
24764
+ label?: string | null | undefined;
24739
24765
  };
24740
24766
  }, {
24741
24767
  message: {
24742
- 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";
24768
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
24743
24769
  id: string;
24744
24770
  direction: "incoming" | "outgoing" | "system";
24745
24771
  createdAt: string;
@@ -25213,6 +25239,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25213
25239
  telephonySignature: string | null;
25214
25240
  };
25215
25241
  } | null | undefined;
25242
+ label?: string | null | undefined;
25216
25243
  };
25217
25244
  }>;
25218
25245
  export declare const LineStickerSchema: z.ZodObject<{