@kl1/contracts 1.2.26-uat → 1.2.28-uat

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 (65) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +179 -0
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +12 -0
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +14 -0
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +3987 -298
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +1020 -129
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +608 -76
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +5414 -586
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-log/index.d.ts +13 -0
  16. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-log/schema.d.ts +11 -0
  18. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  19. package/dist/api-contracts/src/dashboard/index.d.ts +4 -4
  20. package/dist/api-contracts/src/dashboard/schema.d.ts +2 -2
  21. package/dist/api-contracts/src/facebook-feed/index.d.ts +624 -58
  22. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/facebook-feed/schema.d.ts +12 -3
  24. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/facebook-feed/validation.d.ts +7 -0
  26. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  27. package/dist/api-contracts/src/hold-label/index.d.ts +133 -2
  28. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/hold-label/schema.d.ts +25 -0
  30. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
  32. package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
  33. package/dist/api-contracts/src/index.d.ts +1 -0
  34. package/dist/api-contracts/src/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/instagram/index.d.ts +585 -48
  36. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  37. package/dist/api-contracts/src/line/index.d.ts +578 -53
  38. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/line/validation.d.ts +16 -5
  40. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  41. package/dist/api-contracts/src/messenger/index.d.ts +585 -48
  42. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/messenger/validation.d.ts +7 -0
  44. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  45. package/dist/api-contracts/src/sms/index.d.ts +85 -11
  46. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  48. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/telegram/index.d.ts +555 -48
  50. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/viber/index.d.ts +555 -48
  52. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/webchat/index.d.ts +1582 -56
  54. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/whatsapp/index.d.ts +569 -48
  56. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  57. package/dist/api-contracts/src/workflow-rule/index.d.ts +362 -10
  58. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  59. package/dist/entities/src/enums/chat.d.ts +3 -0
  60. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  61. package/dist/index.js +4383 -4287
  62. package/dist/index.js.map +1 -1
  63. package/dist/index.mjs +4382 -4287
  64. package/dist/index.mjs.map +1 -1
  65. package/package.json +1 -1
@@ -56,6 +56,7 @@ export declare const GetRoomsSchema: z.ZodObject<{
56
56
  sorting: z.ZodDefault<z.ZodOptional<z.ZodString>>;
57
57
  caseId: z.ZodOptional<z.ZodString>;
58
58
  dispositions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
59
+ holdLogId: z.ZodOptional<z.ZodString>;
59
60
  automationQueueId: z.ZodOptional<z.ZodString>;
60
61
  }, "strip", z.ZodTypeAny, {
61
62
  page: number;
@@ -92,6 +93,7 @@ export declare const GetRoomsSchema: z.ZodObject<{
92
93
  type?: string | undefined;
93
94
  caseId?: string | undefined;
94
95
  dispositions?: string[] | undefined;
96
+ holdLogId?: string | undefined;
95
97
  automationQueueId?: string | undefined;
96
98
  }, {
97
99
  page?: number | undefined;
@@ -128,6 +130,7 @@ export declare const GetRoomsSchema: z.ZodObject<{
128
130
  sorting?: string | undefined;
129
131
  caseId?: string | undefined;
130
132
  dispositions?: string[] | undefined;
133
+ holdLogId?: string | undefined;
131
134
  automationQueueId?: string | undefined;
132
135
  }>;
133
136
  export declare const UpdateRoomTagsAndNotesSchema: z.ZodObject<{
@@ -261,7 +264,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
261
264
  }>;
262
265
  export declare const SendMessageSchema: z.ZodObject<{
263
266
  roomId: z.ZodString;
264
- messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
267
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
265
268
  message: z.ZodOptional<z.ZodString>;
266
269
  messageAttachments: z.ZodOptional<z.ZodObject<{
267
270
  bucketName: z.ZodString;
@@ -520,7 +523,7 @@ export declare const SendMessageSchema: z.ZodObject<{
520
523
  mentions?: string[] | undefined;
521
524
  }>>;
522
525
  }, "strip", z.ZodTypeAny, {
523
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
526
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
524
527
  roomId: string;
525
528
  message?: string | undefined;
526
529
  messageAttachments?: {
@@ -592,7 +595,7 @@ export declare const SendMessageSchema: z.ZodObject<{
592
595
  mentions?: string[] | undefined;
593
596
  } | undefined;
594
597
  }, {
595
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
598
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
596
599
  roomId: string;
597
600
  message?: string | undefined;
598
601
  messageAttachments?: {
@@ -670,17 +673,17 @@ export declare const InitiateMessageSchema: z.ZodObject<{
670
673
  contactId: z.ZodOptional<z.ZodString>;
671
674
  message: z.ZodObject<{
672
675
  message: z.ZodOptional<z.ZodString>;
673
- messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
676
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
674
677
  }, "strip", z.ZodTypeAny, {
675
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
678
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
676
679
  message?: string | undefined;
677
680
  }, {
678
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
681
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
679
682
  message?: string | undefined;
680
683
  }>;
681
684
  }, "strip", z.ZodTypeAny, {
682
685
  message: {
683
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
686
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
684
687
  message?: string | undefined;
685
688
  };
686
689
  channelId: string;
@@ -688,7 +691,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
688
691
  contactId?: string | undefined;
689
692
  }, {
690
693
  message: {
691
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
694
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
692
695
  message?: string | undefined;
693
696
  };
694
697
  channelId: string;
@@ -780,6 +783,7 @@ export declare const ChannelSchema: z.ZodObject<{
780
783
  channelId: z.ZodOptional<z.ZodString>;
781
784
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
782
785
  apiKey: z.ZodOptional<z.ZodString>;
786
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
783
787
  }, "strip", z.ZodTypeAny, {
784
788
  email: string;
785
789
  wabaExternalId: string;
@@ -789,6 +793,7 @@ export declare const ChannelSchema: z.ZodObject<{
789
793
  channelId?: string | undefined;
790
794
  status?: "active" | "pending" | undefined;
791
795
  apiKey?: string | undefined;
796
+ tier?: "basic" | "regular" | "premium" | undefined;
792
797
  }, {
793
798
  email: string;
794
799
  wabaExternalId: string;
@@ -798,6 +803,7 @@ export declare const ChannelSchema: z.ZodObject<{
798
803
  channelId?: string | undefined;
799
804
  status?: "active" | "pending" | undefined;
800
805
  apiKey?: string | undefined;
806
+ tier?: "basic" | "regular" | "premium" | undefined;
801
807
  }>>;
802
808
  vonageCredentials: z.ZodOptional<z.ZodObject<{
803
809
  mobileNumber: z.ZodString;
@@ -830,6 +836,7 @@ export declare const ChannelSchema: z.ZodObject<{
830
836
  channelId?: string | undefined;
831
837
  status?: "active" | "pending" | undefined;
832
838
  apiKey?: string | undefined;
839
+ tier?: "basic" | "regular" | "premium" | undefined;
833
840
  } | undefined;
834
841
  vonageCredentials?: {
835
842
  apiKey: string;
@@ -854,6 +861,7 @@ export declare const ChannelSchema: z.ZodObject<{
854
861
  channelId?: string | undefined;
855
862
  status?: "active" | "pending" | undefined;
856
863
  apiKey?: string | undefined;
864
+ tier?: "basic" | "regular" | "premium" | undefined;
857
865
  } | undefined;
858
866
  vonageCredentials?: {
859
867
  apiKey: string;
@@ -908,6 +916,7 @@ export declare const ChannelSchema: z.ZodObject<{
908
916
  channelId?: string | undefined;
909
917
  status?: "active" | "pending" | undefined;
910
918
  apiKey?: string | undefined;
919
+ tier?: "basic" | "regular" | "premium" | undefined;
911
920
  } | undefined;
912
921
  vonageCredentials?: {
913
922
  apiKey: string;
@@ -950,6 +959,7 @@ export declare const ChannelSchema: z.ZodObject<{
950
959
  channelId?: string | undefined;
951
960
  status?: "active" | "pending" | undefined;
952
961
  apiKey?: string | undefined;
962
+ tier?: "basic" | "regular" | "premium" | undefined;
953
963
  } | undefined;
954
964
  vonageCredentials?: {
955
965
  apiKey: string;
@@ -992,6 +1002,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
992
1002
  channelId: z.ZodOptional<z.ZodString>;
993
1003
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
994
1004
  apiKey: z.ZodOptional<z.ZodString>;
1005
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
995
1006
  }, "strip", z.ZodTypeAny, {
996
1007
  email: string;
997
1008
  wabaExternalId: string;
@@ -1001,6 +1012,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1001
1012
  channelId?: string | undefined;
1002
1013
  status?: "active" | "pending" | undefined;
1003
1014
  apiKey?: string | undefined;
1015
+ tier?: "basic" | "regular" | "premium" | undefined;
1004
1016
  }, {
1005
1017
  email: string;
1006
1018
  wabaExternalId: string;
@@ -1010,6 +1022,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1010
1022
  channelId?: string | undefined;
1011
1023
  status?: "active" | "pending" | undefined;
1012
1024
  apiKey?: string | undefined;
1025
+ tier?: "basic" | "regular" | "premium" | undefined;
1013
1026
  }>>;
1014
1027
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1015
1028
  mobileNumber: z.ZodString;
@@ -1042,6 +1055,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1042
1055
  channelId?: string | undefined;
1043
1056
  status?: "active" | "pending" | undefined;
1044
1057
  apiKey?: string | undefined;
1058
+ tier?: "basic" | "regular" | "premium" | undefined;
1045
1059
  } | undefined;
1046
1060
  vonageCredentials?: {
1047
1061
  apiKey: string;
@@ -1066,6 +1080,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1066
1080
  channelId?: string | undefined;
1067
1081
  status?: "active" | "pending" | undefined;
1068
1082
  apiKey?: string | undefined;
1083
+ tier?: "basic" | "regular" | "premium" | undefined;
1069
1084
  } | undefined;
1070
1085
  vonageCredentials?: {
1071
1086
  apiKey: string;
@@ -1125,6 +1140,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1125
1140
  channelId?: string | undefined;
1126
1141
  status?: "active" | "pending" | undefined;
1127
1142
  apiKey?: string | undefined;
1143
+ tier?: "basic" | "regular" | "premium" | undefined;
1128
1144
  } | undefined;
1129
1145
  vonageCredentials?: {
1130
1146
  apiKey: string;
@@ -1171,6 +1187,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1171
1187
  channelId?: string | undefined;
1172
1188
  status?: "active" | "pending" | undefined;
1173
1189
  apiKey?: string | undefined;
1190
+ tier?: "basic" | "regular" | "premium" | undefined;
1174
1191
  } | undefined;
1175
1192
  vonageCredentials?: {
1176
1193
  apiKey: string;
@@ -1221,6 +1238,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1221
1238
  channelId: z.ZodOptional<z.ZodString>;
1222
1239
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1223
1240
  apiKey: z.ZodOptional<z.ZodString>;
1241
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1224
1242
  }, "strip", z.ZodTypeAny, {
1225
1243
  email: string;
1226
1244
  wabaExternalId: string;
@@ -1230,6 +1248,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1230
1248
  channelId?: string | undefined;
1231
1249
  status?: "active" | "pending" | undefined;
1232
1250
  apiKey?: string | undefined;
1251
+ tier?: "basic" | "regular" | "premium" | undefined;
1233
1252
  }, {
1234
1253
  email: string;
1235
1254
  wabaExternalId: string;
@@ -1239,6 +1258,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1239
1258
  channelId?: string | undefined;
1240
1259
  status?: "active" | "pending" | undefined;
1241
1260
  apiKey?: string | undefined;
1261
+ tier?: "basic" | "regular" | "premium" | undefined;
1242
1262
  }>>;
1243
1263
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1244
1264
  mobileNumber: z.ZodString;
@@ -1271,6 +1291,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1271
1291
  channelId?: string | undefined;
1272
1292
  status?: "active" | "pending" | undefined;
1273
1293
  apiKey?: string | undefined;
1294
+ tier?: "basic" | "regular" | "premium" | undefined;
1274
1295
  } | undefined;
1275
1296
  vonageCredentials?: {
1276
1297
  apiKey: string;
@@ -1295,6 +1316,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1295
1316
  channelId?: string | undefined;
1296
1317
  status?: "active" | "pending" | undefined;
1297
1318
  apiKey?: string | undefined;
1319
+ tier?: "basic" | "regular" | "premium" | undefined;
1298
1320
  } | undefined;
1299
1321
  vonageCredentials?: {
1300
1322
  apiKey: string;
@@ -1349,6 +1371,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1349
1371
  channelId?: string | undefined;
1350
1372
  status?: "active" | "pending" | undefined;
1351
1373
  apiKey?: string | undefined;
1374
+ tier?: "basic" | "regular" | "premium" | undefined;
1352
1375
  } | undefined;
1353
1376
  vonageCredentials?: {
1354
1377
  apiKey: string;
@@ -1391,6 +1414,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1391
1414
  channelId?: string | undefined;
1392
1415
  status?: "active" | "pending" | undefined;
1393
1416
  apiKey?: string | undefined;
1417
+ tier?: "basic" | "regular" | "premium" | undefined;
1394
1418
  } | undefined;
1395
1419
  vonageCredentials?: {
1396
1420
  apiKey: string;
@@ -1436,6 +1460,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1436
1460
  channelId?: string | undefined;
1437
1461
  status?: "active" | "pending" | undefined;
1438
1462
  apiKey?: string | undefined;
1463
+ tier?: "basic" | "regular" | "premium" | undefined;
1439
1464
  } | undefined;
1440
1465
  vonageCredentials?: {
1441
1466
  apiKey: string;
@@ -1481,6 +1506,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1481
1506
  channelId?: string | undefined;
1482
1507
  status?: "active" | "pending" | undefined;
1483
1508
  apiKey?: string | undefined;
1509
+ tier?: "basic" | "regular" | "premium" | undefined;
1484
1510
  } | undefined;
1485
1511
  vonageCredentials?: {
1486
1512
  apiKey: string;
@@ -1509,7 +1535,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1509
1535
  id: z.ZodOptional<z.ZodString>;
1510
1536
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1511
1537
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1512
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
1538
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
1513
1539
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1514
1540
  metadata: z.ZodOptional<z.ZodAny>;
1515
1541
  platformId: z.ZodOptional<z.ZodString>;
@@ -1561,7 +1587,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1561
1587
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1562
1588
  feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1563
1589
  }, "strip", z.ZodTypeAny, {
1564
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1590
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1565
1591
  direction: "incoming" | "outgoing" | "system";
1566
1592
  id?: string | undefined;
1567
1593
  message?: string | null | undefined;
@@ -1592,7 +1618,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1592
1618
  parentMessageId?: string | null | undefined;
1593
1619
  feedPostId?: string | null | undefined;
1594
1620
  }, {
1595
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1621
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1596
1622
  direction: "incoming" | "outgoing" | "system";
1597
1623
  id?: string | undefined;
1598
1624
  message?: string | null | undefined;
@@ -1625,7 +1651,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1625
1651
  }>;
1626
1652
  }, "strip", z.ZodTypeAny, {
1627
1653
  message: {
1628
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1654
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1629
1655
  direction: "incoming" | "outgoing" | "system";
1630
1656
  id?: string | undefined;
1631
1657
  message?: string | null | undefined;
@@ -1678,6 +1704,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1678
1704
  channelId?: string | undefined;
1679
1705
  status?: "active" | "pending" | undefined;
1680
1706
  apiKey?: string | undefined;
1707
+ tier?: "basic" | "regular" | "premium" | undefined;
1681
1708
  } | undefined;
1682
1709
  vonageCredentials?: {
1683
1710
  apiKey: string;
@@ -1704,7 +1731,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1704
1731
  };
1705
1732
  }, {
1706
1733
  message: {
1707
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1734
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1708
1735
  direction: "incoming" | "outgoing" | "system";
1709
1736
  id?: string | undefined;
1710
1737
  message?: string | null | undefined;
@@ -1757,6 +1784,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1757
1784
  channelId?: string | undefined;
1758
1785
  status?: "active" | "pending" | undefined;
1759
1786
  apiKey?: string | undefined;
1787
+ tier?: "basic" | "regular" | "premium" | undefined;
1760
1788
  } | undefined;
1761
1789
  vonageCredentials?: {
1762
1790
  apiKey: string;
@@ -1927,6 +1955,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1927
1955
  channelId: z.ZodOptional<z.ZodString>;
1928
1956
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1929
1957
  apiKey: z.ZodOptional<z.ZodString>;
1958
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1930
1959
  }, "strip", z.ZodTypeAny, {
1931
1960
  email: string;
1932
1961
  wabaExternalId: string;
@@ -1936,6 +1965,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1936
1965
  channelId?: string | undefined;
1937
1966
  status?: "active" | "pending" | undefined;
1938
1967
  apiKey?: string | undefined;
1968
+ tier?: "basic" | "regular" | "premium" | undefined;
1939
1969
  }, {
1940
1970
  email: string;
1941
1971
  wabaExternalId: string;
@@ -1945,6 +1975,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1945
1975
  channelId?: string | undefined;
1946
1976
  status?: "active" | "pending" | undefined;
1947
1977
  apiKey?: string | undefined;
1978
+ tier?: "basic" | "regular" | "premium" | undefined;
1948
1979
  }>>;
1949
1980
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1950
1981
  mobileNumber: z.ZodString;
@@ -1977,6 +2008,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1977
2008
  channelId?: string | undefined;
1978
2009
  status?: "active" | "pending" | undefined;
1979
2010
  apiKey?: string | undefined;
2011
+ tier?: "basic" | "regular" | "premium" | undefined;
1980
2012
  } | undefined;
1981
2013
  vonageCredentials?: {
1982
2014
  apiKey: string;
@@ -2001,6 +2033,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2001
2033
  channelId?: string | undefined;
2002
2034
  status?: "active" | "pending" | undefined;
2003
2035
  apiKey?: string | undefined;
2036
+ tier?: "basic" | "regular" | "premium" | undefined;
2004
2037
  } | undefined;
2005
2038
  vonageCredentials?: {
2006
2039
  apiKey: string;
@@ -2055,6 +2088,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2055
2088
  channelId?: string | undefined;
2056
2089
  status?: "active" | "pending" | undefined;
2057
2090
  apiKey?: string | undefined;
2091
+ tier?: "basic" | "regular" | "premium" | undefined;
2058
2092
  } | undefined;
2059
2093
  vonageCredentials?: {
2060
2094
  apiKey: string;
@@ -2097,6 +2131,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2097
2131
  channelId?: string | undefined;
2098
2132
  status?: "active" | "pending" | undefined;
2099
2133
  apiKey?: string | undefined;
2134
+ tier?: "basic" | "regular" | "premium" | undefined;
2100
2135
  } | undefined;
2101
2136
  vonageCredentials?: {
2102
2137
  apiKey: string;
@@ -2121,7 +2156,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2121
2156
  } | undefined;
2122
2157
  }>;
2123
2158
  messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
2124
- telegramBusinessConnectionId: z.ZodNullable<z.ZodString>;
2159
+ telegramBusinessConnectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2125
2160
  }, "strip", z.ZodTypeAny, {
2126
2161
  id: string;
2127
2162
  channel: {
@@ -2144,6 +2179,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2144
2179
  channelId?: string | undefined;
2145
2180
  status?: "active" | "pending" | undefined;
2146
2181
  apiKey?: string | undefined;
2182
+ tier?: "basic" | "regular" | "premium" | undefined;
2147
2183
  } | undefined;
2148
2184
  vonageCredentials?: {
2149
2185
  apiKey: string;
@@ -2203,11 +2239,11 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2203
2239
  id: string;
2204
2240
  email: string;
2205
2241
  } | null;
2206
- telegramBusinessConnectionId: string | null;
2207
2242
  lastMessage?: string | undefined;
2208
2243
  handleTime?: number | undefined;
2209
2244
  metadata?: any;
2210
2245
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
2246
+ telegramBusinessConnectionId?: string | null | undefined;
2211
2247
  }, {
2212
2248
  id: string;
2213
2249
  channel: {
@@ -2230,6 +2266,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2230
2266
  channelId?: string | undefined;
2231
2267
  status?: "active" | "pending" | undefined;
2232
2268
  apiKey?: string | undefined;
2269
+ tier?: "basic" | "regular" | "premium" | undefined;
2233
2270
  } | undefined;
2234
2271
  vonageCredentials?: {
2235
2272
  apiKey: string;
@@ -2289,17 +2326,17 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2289
2326
  id: string;
2290
2327
  email: string;
2291
2328
  } | null;
2292
- telegramBusinessConnectionId: string | null;
2293
2329
  lastMessage?: string | undefined;
2294
2330
  handleTime?: number | undefined;
2295
2331
  metadata?: any;
2296
2332
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
2333
+ telegramBusinessConnectionId?: string | null | undefined;
2297
2334
  }>;
2298
2335
  message: z.ZodObject<{
2299
2336
  id: z.ZodOptional<z.ZodString>;
2300
2337
  message: z.ZodOptional<z.ZodString>;
2301
2338
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2302
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
2339
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
2303
2340
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2304
2341
  metadata: z.ZodOptional<z.ZodAny>;
2305
2342
  platformId: z.ZodOptional<z.ZodString>;
@@ -2355,7 +2392,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2355
2392
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2356
2393
  label: z.ZodOptional<z.ZodString>;
2357
2394
  }, "strip", z.ZodTypeAny, {
2358
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2395
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2359
2396
  direction: "incoming" | "outgoing" | "system";
2360
2397
  id?: string | undefined;
2361
2398
  message?: string | undefined;
@@ -2390,7 +2427,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2390
2427
  editedAt?: string | Date | null | undefined;
2391
2428
  label?: string | undefined;
2392
2429
  }, {
2393
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2430
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2394
2431
  direction: "incoming" | "outgoing" | "system";
2395
2432
  id?: string | undefined;
2396
2433
  message?: string | undefined;
@@ -2427,7 +2464,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2427
2464
  }>;
2428
2465
  }, "strip", z.ZodTypeAny, {
2429
2466
  message: {
2430
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2467
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2431
2468
  direction: "incoming" | "outgoing" | "system";
2432
2469
  id?: string | undefined;
2433
2470
  message?: string | undefined;
@@ -2484,6 +2521,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2484
2521
  channelId?: string | undefined;
2485
2522
  status?: "active" | "pending" | undefined;
2486
2523
  apiKey?: string | undefined;
2524
+ tier?: "basic" | "regular" | "premium" | undefined;
2487
2525
  } | undefined;
2488
2526
  vonageCredentials?: {
2489
2527
  apiKey: string;
@@ -2543,16 +2581,16 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2543
2581
  id: string;
2544
2582
  email: string;
2545
2583
  } | null;
2546
- telegramBusinessConnectionId: string | null;
2547
2584
  lastMessage?: string | undefined;
2548
2585
  handleTime?: number | undefined;
2549
2586
  metadata?: any;
2550
2587
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
2588
+ telegramBusinessConnectionId?: string | null | undefined;
2551
2589
  };
2552
2590
  isBot: boolean | null;
2553
2591
  }, {
2554
2592
  message: {
2555
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2593
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2556
2594
  direction: "incoming" | "outgoing" | "system";
2557
2595
  id?: string | undefined;
2558
2596
  message?: string | undefined;
@@ -2609,6 +2647,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2609
2647
  channelId?: string | undefined;
2610
2648
  status?: "active" | "pending" | undefined;
2611
2649
  apiKey?: string | undefined;
2650
+ tier?: "basic" | "regular" | "premium" | undefined;
2612
2651
  } | undefined;
2613
2652
  vonageCredentials?: {
2614
2653
  apiKey: string;
@@ -2668,11 +2707,11 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2668
2707
  id: string;
2669
2708
  email: string;
2670
2709
  } | null;
2671
- telegramBusinessConnectionId: string | null;
2672
2710
  lastMessage?: string | undefined;
2673
2711
  handleTime?: number | undefined;
2674
2712
  metadata?: any;
2675
2713
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
2714
+ telegramBusinessConnectionId?: string | null | undefined;
2676
2715
  };
2677
2716
  isBot?: boolean | null | undefined;
2678
2717
  }>;
@@ -2681,7 +2720,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2681
2720
  id: z.ZodOptional<z.ZodString>;
2682
2721
  message: z.ZodOptional<z.ZodString>;
2683
2722
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2684
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
2723
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
2685
2724
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2686
2725
  metadata: z.ZodOptional<z.ZodAny>;
2687
2726
  platformId: z.ZodOptional<z.ZodString>;
@@ -2737,7 +2776,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2737
2776
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2738
2777
  label: z.ZodOptional<z.ZodString>;
2739
2778
  }, "strip", z.ZodTypeAny, {
2740
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2779
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2741
2780
  direction: "incoming" | "outgoing" | "system";
2742
2781
  id?: string | undefined;
2743
2782
  message?: string | undefined;
@@ -2772,7 +2811,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2772
2811
  editedAt?: string | Date | null | undefined;
2773
2812
  label?: string | undefined;
2774
2813
  }, {
2775
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2814
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2776
2815
  direction: "incoming" | "outgoing" | "system";
2777
2816
  id?: string | undefined;
2778
2817
  message?: string | undefined;
@@ -2950,6 +2989,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2950
2989
  channelId: z.ZodOptional<z.ZodString>;
2951
2990
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2952
2991
  apiKey: z.ZodOptional<z.ZodString>;
2992
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2953
2993
  }, "strip", z.ZodTypeAny, {
2954
2994
  email: string;
2955
2995
  wabaExternalId: string;
@@ -2959,6 +2999,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2959
2999
  channelId?: string | undefined;
2960
3000
  status?: "active" | "pending" | undefined;
2961
3001
  apiKey?: string | undefined;
3002
+ tier?: "basic" | "regular" | "premium" | undefined;
2962
3003
  }, {
2963
3004
  email: string;
2964
3005
  wabaExternalId: string;
@@ -2968,6 +3009,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2968
3009
  channelId?: string | undefined;
2969
3010
  status?: "active" | "pending" | undefined;
2970
3011
  apiKey?: string | undefined;
3012
+ tier?: "basic" | "regular" | "premium" | undefined;
2971
3013
  }>>;
2972
3014
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2973
3015
  mobileNumber: z.ZodString;
@@ -3000,6 +3042,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3000
3042
  channelId?: string | undefined;
3001
3043
  status?: "active" | "pending" | undefined;
3002
3044
  apiKey?: string | undefined;
3045
+ tier?: "basic" | "regular" | "premium" | undefined;
3003
3046
  } | undefined;
3004
3047
  vonageCredentials?: {
3005
3048
  apiKey: string;
@@ -3024,6 +3067,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3024
3067
  channelId?: string | undefined;
3025
3068
  status?: "active" | "pending" | undefined;
3026
3069
  apiKey?: string | undefined;
3070
+ tier?: "basic" | "regular" | "premium" | undefined;
3027
3071
  } | undefined;
3028
3072
  vonageCredentials?: {
3029
3073
  apiKey: string;
@@ -3078,6 +3122,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3078
3122
  channelId?: string | undefined;
3079
3123
  status?: "active" | "pending" | undefined;
3080
3124
  apiKey?: string | undefined;
3125
+ tier?: "basic" | "regular" | "premium" | undefined;
3081
3126
  } | undefined;
3082
3127
  vonageCredentials?: {
3083
3128
  apiKey: string;
@@ -3120,6 +3165,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3120
3165
  channelId?: string | undefined;
3121
3166
  status?: "active" | "pending" | undefined;
3122
3167
  apiKey?: string | undefined;
3168
+ tier?: "basic" | "regular" | "premium" | undefined;
3123
3169
  } | undefined;
3124
3170
  vonageCredentials?: {
3125
3171
  apiKey: string;
@@ -3144,7 +3190,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3144
3190
  } | undefined;
3145
3191
  }>;
3146
3192
  messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
3147
- telegramBusinessConnectionId: z.ZodNullable<z.ZodString>;
3193
+ telegramBusinessConnectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3148
3194
  }, "strip", z.ZodTypeAny, {
3149
3195
  id: string;
3150
3196
  channel: {
@@ -3167,6 +3213,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3167
3213
  channelId?: string | undefined;
3168
3214
  status?: "active" | "pending" | undefined;
3169
3215
  apiKey?: string | undefined;
3216
+ tier?: "basic" | "regular" | "premium" | undefined;
3170
3217
  } | undefined;
3171
3218
  vonageCredentials?: {
3172
3219
  apiKey: string;
@@ -3226,11 +3273,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3226
3273
  id: string;
3227
3274
  email: string;
3228
3275
  } | null;
3229
- telegramBusinessConnectionId: string | null;
3230
3276
  lastMessage?: string | undefined;
3231
3277
  handleTime?: number | undefined;
3232
3278
  metadata?: any;
3233
3279
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
3280
+ telegramBusinessConnectionId?: string | null | undefined;
3234
3281
  }, {
3235
3282
  id: string;
3236
3283
  channel: {
@@ -3253,6 +3300,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3253
3300
  channelId?: string | undefined;
3254
3301
  status?: "active" | "pending" | undefined;
3255
3302
  apiKey?: string | undefined;
3303
+ tier?: "basic" | "regular" | "premium" | undefined;
3256
3304
  } | undefined;
3257
3305
  vonageCredentials?: {
3258
3306
  apiKey: string;
@@ -3312,11 +3360,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3312
3360
  id: string;
3313
3361
  email: string;
3314
3362
  } | null;
3315
- telegramBusinessConnectionId: string | null;
3316
3363
  lastMessage?: string | undefined;
3317
3364
  handleTime?: number | undefined;
3318
3365
  metadata?: any;
3319
3366
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
3367
+ telegramBusinessConnectionId?: string | null | undefined;
3320
3368
  }>;
3321
3369
  isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
3322
3370
  params: z.ZodOptional<z.ZodObject<{
@@ -3331,7 +3379,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3331
3379
  }>>;
3332
3380
  }, "strip", z.ZodTypeAny, {
3333
3381
  message: {
3334
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
3382
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
3335
3383
  direction: "incoming" | "outgoing" | "system";
3336
3384
  id?: string | undefined;
3337
3385
  message?: string | undefined;
@@ -3388,6 +3436,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3388
3436
  channelId?: string | undefined;
3389
3437
  status?: "active" | "pending" | undefined;
3390
3438
  apiKey?: string | undefined;
3439
+ tier?: "basic" | "regular" | "premium" | undefined;
3391
3440
  } | undefined;
3392
3441
  vonageCredentials?: {
3393
3442
  apiKey: string;
@@ -3447,11 +3496,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3447
3496
  id: string;
3448
3497
  email: string;
3449
3498
  } | null;
3450
- telegramBusinessConnectionId: string | null;
3451
3499
  lastMessage?: string | undefined;
3452
3500
  handleTime?: number | undefined;
3453
3501
  metadata?: any;
3454
3502
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
3503
+ telegramBusinessConnectionId?: string | null | undefined;
3455
3504
  };
3456
3505
  isBot: boolean | null;
3457
3506
  params?: {
@@ -3460,7 +3509,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3460
3509
  } | undefined;
3461
3510
  }, {
3462
3511
  message: {
3463
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
3512
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
3464
3513
  direction: "incoming" | "outgoing" | "system";
3465
3514
  id?: string | undefined;
3466
3515
  message?: string | undefined;
@@ -3517,6 +3566,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3517
3566
  channelId?: string | undefined;
3518
3567
  status?: "active" | "pending" | undefined;
3519
3568
  apiKey?: string | undefined;
3569
+ tier?: "basic" | "regular" | "premium" | undefined;
3520
3570
  } | undefined;
3521
3571
  vonageCredentials?: {
3522
3572
  apiKey: string;
@@ -3576,11 +3626,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3576
3626
  id: string;
3577
3627
  email: string;
3578
3628
  } | null;
3579
- telegramBusinessConnectionId: string | null;
3580
3629
  lastMessage?: string | undefined;
3581
3630
  handleTime?: number | undefined;
3582
3631
  metadata?: any;
3583
3632
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
3633
+ telegramBusinessConnectionId?: string | null | undefined;
3584
3634
  };
3585
3635
  isBot?: boolean | null | undefined;
3586
3636
  params?: {
@@ -3591,7 +3641,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3591
3641
  export declare const SendMessageResponseSchema: z.ZodObject<{
3592
3642
  requestId: z.ZodString;
3593
3643
  data: z.ZodObject<{
3594
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
3644
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
3595
3645
  message: z.ZodString;
3596
3646
  id: z.ZodString;
3597
3647
  url: z.ZodString;
@@ -5539,6 +5589,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5539
5589
  channelId: z.ZodOptional<z.ZodString>;
5540
5590
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
5541
5591
  apiKey: z.ZodOptional<z.ZodString>;
5592
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
5542
5593
  }, "strip", z.ZodTypeAny, {
5543
5594
  email: string;
5544
5595
  wabaExternalId: string;
@@ -5548,6 +5599,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5548
5599
  channelId?: string | undefined;
5549
5600
  status?: "active" | "pending" | undefined;
5550
5601
  apiKey?: string | undefined;
5602
+ tier?: "basic" | "regular" | "premium" | undefined;
5551
5603
  }, {
5552
5604
  email: string;
5553
5605
  wabaExternalId: string;
@@ -5557,6 +5609,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5557
5609
  channelId?: string | undefined;
5558
5610
  status?: "active" | "pending" | undefined;
5559
5611
  apiKey?: string | undefined;
5612
+ tier?: "basic" | "regular" | "premium" | undefined;
5560
5613
  }>>;
5561
5614
  vonageCredentials: z.ZodOptional<z.ZodObject<{
5562
5615
  mobileNumber: z.ZodString;
@@ -5589,6 +5642,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5589
5642
  channelId?: string | undefined;
5590
5643
  status?: "active" | "pending" | undefined;
5591
5644
  apiKey?: string | undefined;
5645
+ tier?: "basic" | "regular" | "premium" | undefined;
5592
5646
  } | undefined;
5593
5647
  vonageCredentials?: {
5594
5648
  apiKey: string;
@@ -5613,6 +5667,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5613
5667
  channelId?: string | undefined;
5614
5668
  status?: "active" | "pending" | undefined;
5615
5669
  apiKey?: string | undefined;
5670
+ tier?: "basic" | "regular" | "premium" | undefined;
5616
5671
  } | undefined;
5617
5672
  vonageCredentials?: {
5618
5673
  apiKey: string;
@@ -5871,6 +5926,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5871
5926
  channelId?: string | undefined;
5872
5927
  status?: "active" | "pending" | undefined;
5873
5928
  apiKey?: string | undefined;
5929
+ tier?: "basic" | "regular" | "premium" | undefined;
5874
5930
  } | undefined;
5875
5931
  vonageCredentials?: {
5876
5932
  apiKey: string;
@@ -5960,6 +6016,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5960
6016
  channelId?: string | undefined;
5961
6017
  status?: "active" | "pending" | undefined;
5962
6018
  apiKey?: string | undefined;
6019
+ tier?: "basic" | "regular" | "premium" | undefined;
5963
6020
  } | undefined;
5964
6021
  vonageCredentials?: {
5965
6022
  apiKey: string;
@@ -6032,17 +6089,17 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6032
6089
  }>;
6033
6090
  cxlog: z.ZodObject<{
6034
6091
  id: z.ZodString;
6092
+ channel: z.ZodNullable<z.ZodString>;
6093
+ direction: z.ZodNullable<z.ZodString>;
6035
6094
  createdAt: z.ZodDate;
6036
6095
  updatedAt: z.ZodDate;
6037
6096
  deletedAt: z.ZodNullable<z.ZodDate>;
6038
- caseId: z.ZodNumber;
6039
6097
  entityId: z.ZodString;
6040
- entityName: z.ZodString;
6041
- contactId: z.ZodNullable<z.ZodString>;
6042
- channel: z.ZodNullable<z.ZodString>;
6043
6098
  queueId: z.ZodNullable<z.ZodString>;
6099
+ contactId: z.ZodNullable<z.ZodString>;
6100
+ caseId: z.ZodNumber;
6101
+ entityName: z.ZodString;
6044
6102
  agentId: z.ZodNullable<z.ZodString>;
6045
- direction: z.ZodNullable<z.ZodString>;
6046
6103
  startedDate: z.ZodNullable<z.ZodDate>;
6047
6104
  handledTime: z.ZodNullable<z.ZodNumber>;
6048
6105
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -6312,6 +6369,69 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6312
6369
  dateValue: Date | null;
6313
6370
  }[] | null | undefined;
6314
6371
  }>>;
6372
+ holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
6373
+ id: z.ZodString;
6374
+ createdAt: z.ZodDate;
6375
+ updatedAt: z.ZodDate;
6376
+ deletedAt: z.ZodNullable<z.ZodDate>;
6377
+ startedAt: z.ZodString;
6378
+ endedAt: z.ZodNullable<z.ZodString>;
6379
+ duration: z.ZodNullable<z.ZodNumber>;
6380
+ holdLabel: z.ZodObject<{
6381
+ id: z.ZodString;
6382
+ createdAt: z.ZodDate;
6383
+ updatedAt: z.ZodDate;
6384
+ deletedAt: z.ZodNullable<z.ZodDate>;
6385
+ name: z.ZodString;
6386
+ position: z.ZodNumber;
6387
+ }, "strip", z.ZodTypeAny, {
6388
+ name: string;
6389
+ id: string;
6390
+ position: number;
6391
+ createdAt: Date;
6392
+ updatedAt: Date;
6393
+ deletedAt: Date | null;
6394
+ }, {
6395
+ name: string;
6396
+ id: string;
6397
+ position: number;
6398
+ createdAt: Date;
6399
+ updatedAt: Date;
6400
+ deletedAt: Date | null;
6401
+ }>;
6402
+ }, "strip", z.ZodTypeAny, {
6403
+ id: string;
6404
+ createdAt: Date;
6405
+ updatedAt: Date;
6406
+ deletedAt: Date | null;
6407
+ startedAt: string;
6408
+ endedAt: string | null;
6409
+ duration: number | null;
6410
+ holdLabel: {
6411
+ name: string;
6412
+ id: string;
6413
+ position: number;
6414
+ createdAt: Date;
6415
+ updatedAt: Date;
6416
+ deletedAt: Date | null;
6417
+ };
6418
+ }, {
6419
+ id: string;
6420
+ createdAt: Date;
6421
+ updatedAt: Date;
6422
+ deletedAt: Date | null;
6423
+ startedAt: string;
6424
+ endedAt: string | null;
6425
+ duration: number | null;
6426
+ holdLabel: {
6427
+ name: string;
6428
+ id: string;
6429
+ position: number;
6430
+ createdAt: Date;
6431
+ updatedAt: Date;
6432
+ deletedAt: Date | null;
6433
+ };
6434
+ }>, "many">>>;
6315
6435
  }, "strip", z.ZodTypeAny, {
6316
6436
  id: string;
6317
6437
  channel: string | null;
@@ -6380,6 +6500,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6380
6500
  dateValue: Date | null;
6381
6501
  }[] | null | undefined;
6382
6502
  } | null;
6503
+ holdLogs?: {
6504
+ id: string;
6505
+ createdAt: Date;
6506
+ updatedAt: Date;
6507
+ deletedAt: Date | null;
6508
+ startedAt: string;
6509
+ endedAt: string | null;
6510
+ duration: number | null;
6511
+ holdLabel: {
6512
+ name: string;
6513
+ id: string;
6514
+ position: number;
6515
+ createdAt: Date;
6516
+ updatedAt: Date;
6517
+ deletedAt: Date | null;
6518
+ };
6519
+ }[] | null | undefined;
6383
6520
  }, {
6384
6521
  id: string;
6385
6522
  channel: string | null;
@@ -6448,6 +6585,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6448
6585
  dateValue: Date | null;
6449
6586
  }[] | null | undefined;
6450
6587
  } | null;
6588
+ holdLogs?: {
6589
+ id: string;
6590
+ createdAt: Date;
6591
+ updatedAt: Date;
6592
+ deletedAt: Date | null;
6593
+ startedAt: string;
6594
+ endedAt: string | null;
6595
+ duration: number | null;
6596
+ holdLabel: {
6597
+ name: string;
6598
+ id: string;
6599
+ position: number;
6600
+ createdAt: Date;
6601
+ updatedAt: Date;
6602
+ deletedAt: Date | null;
6603
+ };
6604
+ }[] | null | undefined;
6451
6605
  }>;
6452
6606
  workflowRule: z.ZodObject<{
6453
6607
  id: z.ZodString;
@@ -6497,6 +6651,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6497
6651
  channelId?: string | undefined;
6498
6652
  status?: "active" | "pending" | undefined;
6499
6653
  apiKey?: string | undefined;
6654
+ tier?: "basic" | "regular" | "premium" | undefined;
6500
6655
  } | undefined;
6501
6656
  vonageCredentials?: {
6502
6657
  apiKey: string;
@@ -6864,6 +7019,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6864
7019
  dateValue: Date | null;
6865
7020
  }[] | null | undefined;
6866
7021
  } | null;
7022
+ holdLogs?: {
7023
+ id: string;
7024
+ createdAt: Date;
7025
+ updatedAt: Date;
7026
+ deletedAt: Date | null;
7027
+ startedAt: string;
7028
+ endedAt: string | null;
7029
+ duration: number | null;
7030
+ holdLabel: {
7031
+ name: string;
7032
+ id: string;
7033
+ position: number;
7034
+ createdAt: Date;
7035
+ updatedAt: Date;
7036
+ deletedAt: Date | null;
7037
+ };
7038
+ }[] | null | undefined;
6867
7039
  };
6868
7040
  workflowRule: {
6869
7041
  name: string;
@@ -6897,6 +7069,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6897
7069
  channelId?: string | undefined;
6898
7070
  status?: "active" | "pending" | undefined;
6899
7071
  apiKey?: string | undefined;
7072
+ tier?: "basic" | "regular" | "premium" | undefined;
6900
7073
  } | undefined;
6901
7074
  vonageCredentials?: {
6902
7075
  apiKey: string;
@@ -7264,6 +7437,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7264
7437
  dateValue: Date | null;
7265
7438
  }[] | null | undefined;
7266
7439
  } | null;
7440
+ holdLogs?: {
7441
+ id: string;
7442
+ createdAt: Date;
7443
+ updatedAt: Date;
7444
+ deletedAt: Date | null;
7445
+ startedAt: string;
7446
+ endedAt: string | null;
7447
+ duration: number | null;
7448
+ holdLabel: {
7449
+ name: string;
7450
+ id: string;
7451
+ position: number;
7452
+ createdAt: Date;
7453
+ updatedAt: Date;
7454
+ deletedAt: Date | null;
7455
+ };
7456
+ }[] | null | undefined;
7267
7457
  };
7268
7458
  workflowRule: {
7269
7459
  name: string;
@@ -7314,7 +7504,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7314
7504
  deletedAt: z.ZodNullable<z.ZodDate>;
7315
7505
  message: z.ZodString;
7316
7506
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7317
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
7507
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7318
7508
  readAt: z.ZodDate;
7319
7509
  metadata: z.ZodAny;
7320
7510
  platformId: z.ZodString;
@@ -7972,7 +8162,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7972
8162
  };
7973
8163
  }>;
7974
8164
  }, "strip", z.ZodTypeAny, {
7975
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
8165
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
7976
8166
  message: string;
7977
8167
  id: string;
7978
8168
  url: string;
@@ -8134,7 +8324,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8134
8324
  metadata?: any;
8135
8325
  template?: any;
8136
8326
  }, {
8137
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
8327
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8138
8328
  message: string;
8139
8329
  id: string;
8140
8330
  url: string;
@@ -8508,7 +8698,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8508
8698
  deletedAt: z.ZodNullable<z.ZodDate>;
8509
8699
  message: z.ZodString;
8510
8700
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
8511
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
8701
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
8512
8702
  readAt: z.ZodDate;
8513
8703
  metadata: z.ZodAny;
8514
8704
  platformId: z.ZodString;
@@ -10013,6 +10203,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10013
10203
  channelId: z.ZodOptional<z.ZodString>;
10014
10204
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
10015
10205
  apiKey: z.ZodOptional<z.ZodString>;
10206
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
10016
10207
  }, "strip", z.ZodTypeAny, {
10017
10208
  email: string;
10018
10209
  wabaExternalId: string;
@@ -10022,6 +10213,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10022
10213
  channelId?: string | undefined;
10023
10214
  status?: "active" | "pending" | undefined;
10024
10215
  apiKey?: string | undefined;
10216
+ tier?: "basic" | "regular" | "premium" | undefined;
10025
10217
  }, {
10026
10218
  email: string;
10027
10219
  wabaExternalId: string;
@@ -10031,6 +10223,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10031
10223
  channelId?: string | undefined;
10032
10224
  status?: "active" | "pending" | undefined;
10033
10225
  apiKey?: string | undefined;
10226
+ tier?: "basic" | "regular" | "premium" | undefined;
10034
10227
  }>>;
10035
10228
  vonageCredentials: z.ZodOptional<z.ZodObject<{
10036
10229
  mobileNumber: z.ZodString;
@@ -10063,6 +10256,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10063
10256
  channelId?: string | undefined;
10064
10257
  status?: "active" | "pending" | undefined;
10065
10258
  apiKey?: string | undefined;
10259
+ tier?: "basic" | "regular" | "premium" | undefined;
10066
10260
  } | undefined;
10067
10261
  vonageCredentials?: {
10068
10262
  apiKey: string;
@@ -10087,6 +10281,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10087
10281
  channelId?: string | undefined;
10088
10282
  status?: "active" | "pending" | undefined;
10089
10283
  apiKey?: string | undefined;
10284
+ tier?: "basic" | "regular" | "premium" | undefined;
10090
10285
  } | undefined;
10091
10286
  vonageCredentials?: {
10092
10287
  apiKey: string;
@@ -10345,6 +10540,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10345
10540
  channelId?: string | undefined;
10346
10541
  status?: "active" | "pending" | undefined;
10347
10542
  apiKey?: string | undefined;
10543
+ tier?: "basic" | "regular" | "premium" | undefined;
10348
10544
  } | undefined;
10349
10545
  vonageCredentials?: {
10350
10546
  apiKey: string;
@@ -10434,6 +10630,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10434
10630
  channelId?: string | undefined;
10435
10631
  status?: "active" | "pending" | undefined;
10436
10632
  apiKey?: string | undefined;
10633
+ tier?: "basic" | "regular" | "premium" | undefined;
10437
10634
  } | undefined;
10438
10635
  vonageCredentials?: {
10439
10636
  apiKey: string;
@@ -10506,17 +10703,17 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10506
10703
  }>;
10507
10704
  cxlog: z.ZodObject<{
10508
10705
  id: z.ZodString;
10706
+ channel: z.ZodNullable<z.ZodString>;
10707
+ direction: z.ZodNullable<z.ZodString>;
10509
10708
  createdAt: z.ZodDate;
10510
10709
  updatedAt: z.ZodDate;
10511
10710
  deletedAt: z.ZodNullable<z.ZodDate>;
10512
- caseId: z.ZodNumber;
10513
10711
  entityId: z.ZodString;
10514
- entityName: z.ZodString;
10515
- contactId: z.ZodNullable<z.ZodString>;
10516
- channel: z.ZodNullable<z.ZodString>;
10517
10712
  queueId: z.ZodNullable<z.ZodString>;
10713
+ contactId: z.ZodNullable<z.ZodString>;
10714
+ caseId: z.ZodNumber;
10715
+ entityName: z.ZodString;
10518
10716
  agentId: z.ZodNullable<z.ZodString>;
10519
- direction: z.ZodNullable<z.ZodString>;
10520
10717
  startedDate: z.ZodNullable<z.ZodDate>;
10521
10718
  handledTime: z.ZodNullable<z.ZodNumber>;
10522
10719
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -10786,6 +10983,69 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10786
10983
  dateValue: Date | null;
10787
10984
  }[] | null | undefined;
10788
10985
  }>>;
10986
+ holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
10987
+ id: z.ZodString;
10988
+ createdAt: z.ZodDate;
10989
+ updatedAt: z.ZodDate;
10990
+ deletedAt: z.ZodNullable<z.ZodDate>;
10991
+ startedAt: z.ZodString;
10992
+ endedAt: z.ZodNullable<z.ZodString>;
10993
+ duration: z.ZodNullable<z.ZodNumber>;
10994
+ holdLabel: z.ZodObject<{
10995
+ id: z.ZodString;
10996
+ createdAt: z.ZodDate;
10997
+ updatedAt: z.ZodDate;
10998
+ deletedAt: z.ZodNullable<z.ZodDate>;
10999
+ name: z.ZodString;
11000
+ position: z.ZodNumber;
11001
+ }, "strip", z.ZodTypeAny, {
11002
+ name: string;
11003
+ id: string;
11004
+ position: number;
11005
+ createdAt: Date;
11006
+ updatedAt: Date;
11007
+ deletedAt: Date | null;
11008
+ }, {
11009
+ name: string;
11010
+ id: string;
11011
+ position: number;
11012
+ createdAt: Date;
11013
+ updatedAt: Date;
11014
+ deletedAt: Date | null;
11015
+ }>;
11016
+ }, "strip", z.ZodTypeAny, {
11017
+ id: string;
11018
+ createdAt: Date;
11019
+ updatedAt: Date;
11020
+ deletedAt: Date | null;
11021
+ startedAt: string;
11022
+ endedAt: string | null;
11023
+ duration: number | null;
11024
+ holdLabel: {
11025
+ name: string;
11026
+ id: string;
11027
+ position: number;
11028
+ createdAt: Date;
11029
+ updatedAt: Date;
11030
+ deletedAt: Date | null;
11031
+ };
11032
+ }, {
11033
+ id: string;
11034
+ createdAt: Date;
11035
+ updatedAt: Date;
11036
+ deletedAt: Date | null;
11037
+ startedAt: string;
11038
+ endedAt: string | null;
11039
+ duration: number | null;
11040
+ holdLabel: {
11041
+ name: string;
11042
+ id: string;
11043
+ position: number;
11044
+ createdAt: Date;
11045
+ updatedAt: Date;
11046
+ deletedAt: Date | null;
11047
+ };
11048
+ }>, "many">>>;
10789
11049
  }, "strip", z.ZodTypeAny, {
10790
11050
  id: string;
10791
11051
  channel: string | null;
@@ -10854,6 +11114,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10854
11114
  dateValue: Date | null;
10855
11115
  }[] | null | undefined;
10856
11116
  } | null;
11117
+ holdLogs?: {
11118
+ id: string;
11119
+ createdAt: Date;
11120
+ updatedAt: Date;
11121
+ deletedAt: Date | null;
11122
+ startedAt: string;
11123
+ endedAt: string | null;
11124
+ duration: number | null;
11125
+ holdLabel: {
11126
+ name: string;
11127
+ id: string;
11128
+ position: number;
11129
+ createdAt: Date;
11130
+ updatedAt: Date;
11131
+ deletedAt: Date | null;
11132
+ };
11133
+ }[] | null | undefined;
10857
11134
  }, {
10858
11135
  id: string;
10859
11136
  channel: string | null;
@@ -10922,6 +11199,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10922
11199
  dateValue: Date | null;
10923
11200
  }[] | null | undefined;
10924
11201
  } | null;
11202
+ holdLogs?: {
11203
+ id: string;
11204
+ createdAt: Date;
11205
+ updatedAt: Date;
11206
+ deletedAt: Date | null;
11207
+ startedAt: string;
11208
+ endedAt: string | null;
11209
+ duration: number | null;
11210
+ holdLabel: {
11211
+ name: string;
11212
+ id: string;
11213
+ position: number;
11214
+ createdAt: Date;
11215
+ updatedAt: Date;
11216
+ deletedAt: Date | null;
11217
+ };
11218
+ }[] | null | undefined;
10925
11219
  }>;
10926
11220
  workflowRule: z.ZodObject<{
10927
11221
  id: z.ZodString;
@@ -10971,6 +11265,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10971
11265
  channelId?: string | undefined;
10972
11266
  status?: "active" | "pending" | undefined;
10973
11267
  apiKey?: string | undefined;
11268
+ tier?: "basic" | "regular" | "premium" | undefined;
10974
11269
  } | undefined;
10975
11270
  vonageCredentials?: {
10976
11271
  apiKey: string;
@@ -11338,6 +11633,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11338
11633
  dateValue: Date | null;
11339
11634
  }[] | null | undefined;
11340
11635
  } | null;
11636
+ holdLogs?: {
11637
+ id: string;
11638
+ createdAt: Date;
11639
+ updatedAt: Date;
11640
+ deletedAt: Date | null;
11641
+ startedAt: string;
11642
+ endedAt: string | null;
11643
+ duration: number | null;
11644
+ holdLabel: {
11645
+ name: string;
11646
+ id: string;
11647
+ position: number;
11648
+ createdAt: Date;
11649
+ updatedAt: Date;
11650
+ deletedAt: Date | null;
11651
+ };
11652
+ }[] | null | undefined;
11341
11653
  };
11342
11654
  workflowRule: {
11343
11655
  name: string;
@@ -11371,6 +11683,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11371
11683
  channelId?: string | undefined;
11372
11684
  status?: "active" | "pending" | undefined;
11373
11685
  apiKey?: string | undefined;
11686
+ tier?: "basic" | "regular" | "premium" | undefined;
11374
11687
  } | undefined;
11375
11688
  vonageCredentials?: {
11376
11689
  apiKey: string;
@@ -11738,6 +12051,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11738
12051
  dateValue: Date | null;
11739
12052
  }[] | null | undefined;
11740
12053
  } | null;
12054
+ holdLogs?: {
12055
+ id: string;
12056
+ createdAt: Date;
12057
+ updatedAt: Date;
12058
+ deletedAt: Date | null;
12059
+ startedAt: string;
12060
+ endedAt: string | null;
12061
+ duration: number | null;
12062
+ holdLabel: {
12063
+ name: string;
12064
+ id: string;
12065
+ position: number;
12066
+ createdAt: Date;
12067
+ updatedAt: Date;
12068
+ deletedAt: Date | null;
12069
+ };
12070
+ }[] | null | undefined;
11741
12071
  };
11742
12072
  workflowRule: {
11743
12073
  name: string;
@@ -11791,7 +12121,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11791
12121
  deletedAt: z.ZodNullable<z.ZodDate>;
11792
12122
  message: z.ZodString;
11793
12123
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
11794
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
12124
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
11795
12125
  readAt: z.ZodDate;
11796
12126
  metadata: z.ZodAny;
11797
12127
  platformId: z.ZodString;
@@ -12449,7 +12779,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12449
12779
  };
12450
12780
  }>;
12451
12781
  }, "strip", z.ZodTypeAny, {
12452
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12782
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12453
12783
  message: string;
12454
12784
  id: string;
12455
12785
  url: string;
@@ -12611,7 +12941,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12611
12941
  metadata?: any;
12612
12942
  template?: any;
12613
12943
  }, {
12614
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12944
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12615
12945
  message: string;
12616
12946
  id: string;
12617
12947
  url: string;
@@ -13413,7 +13743,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13413
13743
  editedMessageid: z.ZodString;
13414
13744
  label: z.ZodOptional<z.ZodString>;
13415
13745
  }, "strip", z.ZodTypeAny, {
13416
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13746
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13417
13747
  message: string;
13418
13748
  id: string;
13419
13749
  url: string;
@@ -13544,6 +13874,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13544
13874
  channelId?: string | undefined;
13545
13875
  status?: "active" | "pending" | undefined;
13546
13876
  apiKey?: string | undefined;
13877
+ tier?: "basic" | "regular" | "premium" | undefined;
13547
13878
  } | undefined;
13548
13879
  vonageCredentials?: {
13549
13880
  apiKey: string;
@@ -13911,6 +14242,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13911
14242
  dateValue: Date | null;
13912
14243
  }[] | null | undefined;
13913
14244
  } | null;
14245
+ holdLogs?: {
14246
+ id: string;
14247
+ createdAt: Date;
14248
+ updatedAt: Date;
14249
+ deletedAt: Date | null;
14250
+ startedAt: string;
14251
+ endedAt: string | null;
14252
+ duration: number | null;
14253
+ holdLabel: {
14254
+ name: string;
14255
+ id: string;
14256
+ position: number;
14257
+ createdAt: Date;
14258
+ updatedAt: Date;
14259
+ deletedAt: Date | null;
14260
+ };
14261
+ }[] | null | undefined;
13914
14262
  };
13915
14263
  workflowRule: {
13916
14264
  name: string;
@@ -13939,7 +14287,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13939
14287
  previewUrl: string;
13940
14288
  imageSetId: string;
13941
14289
  repliedMessage: {
13942
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14290
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13943
14291
  message: string;
13944
14292
  id: string;
13945
14293
  url: string;
@@ -14150,7 +14498,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14150
14498
  template?: any;
14151
14499
  label?: string | undefined;
14152
14500
  }, {
14153
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14501
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14154
14502
  message: string;
14155
14503
  id: string;
14156
14504
  url: string;
@@ -14281,6 +14629,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14281
14629
  channelId?: string | undefined;
14282
14630
  status?: "active" | "pending" | undefined;
14283
14631
  apiKey?: string | undefined;
14632
+ tier?: "basic" | "regular" | "premium" | undefined;
14284
14633
  } | undefined;
14285
14634
  vonageCredentials?: {
14286
14635
  apiKey: string;
@@ -14648,6 +14997,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14648
14997
  dateValue: Date | null;
14649
14998
  }[] | null | undefined;
14650
14999
  } | null;
15000
+ holdLogs?: {
15001
+ id: string;
15002
+ createdAt: Date;
15003
+ updatedAt: Date;
15004
+ deletedAt: Date | null;
15005
+ startedAt: string;
15006
+ endedAt: string | null;
15007
+ duration: number | null;
15008
+ holdLabel: {
15009
+ name: string;
15010
+ id: string;
15011
+ position: number;
15012
+ createdAt: Date;
15013
+ updatedAt: Date;
15014
+ deletedAt: Date | null;
15015
+ };
15016
+ }[] | null | undefined;
14651
15017
  };
14652
15018
  workflowRule: {
14653
15019
  name: string;
@@ -14676,7 +15042,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14676
15042
  previewUrl: string;
14677
15043
  imageSetId: string;
14678
15044
  repliedMessage: {
14679
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15045
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14680
15046
  message: string;
14681
15047
  id: string;
14682
15048
  url: string;
@@ -14888,7 +15254,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14888
15254
  label?: string | undefined;
14889
15255
  }>>>;
14890
15256
  }, "strip", z.ZodTypeAny, {
14891
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15257
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14892
15258
  message: string;
14893
15259
  id: string;
14894
15260
  url: string;
@@ -15019,6 +15385,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15019
15385
  channelId?: string | undefined;
15020
15386
  status?: "active" | "pending" | undefined;
15021
15387
  apiKey?: string | undefined;
15388
+ tier?: "basic" | "regular" | "premium" | undefined;
15022
15389
  } | undefined;
15023
15390
  vonageCredentials?: {
15024
15391
  apiKey: string;
@@ -15386,6 +15753,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15386
15753
  dateValue: Date | null;
15387
15754
  }[] | null | undefined;
15388
15755
  } | null;
15756
+ holdLogs?: {
15757
+ id: string;
15758
+ createdAt: Date;
15759
+ updatedAt: Date;
15760
+ deletedAt: Date | null;
15761
+ startedAt: string;
15762
+ endedAt: string | null;
15763
+ duration: number | null;
15764
+ holdLabel: {
15765
+ name: string;
15766
+ id: string;
15767
+ position: number;
15768
+ createdAt: Date;
15769
+ updatedAt: Date;
15770
+ deletedAt: Date | null;
15771
+ };
15772
+ }[] | null | undefined;
15389
15773
  };
15390
15774
  workflowRule: {
15391
15775
  name: string;
@@ -15414,7 +15798,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15414
15798
  previewUrl: string;
15415
15799
  imageSetId: string;
15416
15800
  repliedMessage: {
15417
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15801
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15418
15802
  message: string;
15419
15803
  id: string;
15420
15804
  url: string;
@@ -15625,7 +16009,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15625
16009
  template?: any;
15626
16010
  metadata?: any;
15627
16011
  fromMessage?: {
15628
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16012
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15629
16013
  message: string;
15630
16014
  id: string;
15631
16015
  url: string;
@@ -15756,6 +16140,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15756
16140
  channelId?: string | undefined;
15757
16141
  status?: "active" | "pending" | undefined;
15758
16142
  apiKey?: string | undefined;
16143
+ tier?: "basic" | "regular" | "premium" | undefined;
15759
16144
  } | undefined;
15760
16145
  vonageCredentials?: {
15761
16146
  apiKey: string;
@@ -16123,6 +16508,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16123
16508
  dateValue: Date | null;
16124
16509
  }[] | null | undefined;
16125
16510
  } | null;
16511
+ holdLogs?: {
16512
+ id: string;
16513
+ createdAt: Date;
16514
+ updatedAt: Date;
16515
+ deletedAt: Date | null;
16516
+ startedAt: string;
16517
+ endedAt: string | null;
16518
+ duration: number | null;
16519
+ holdLabel: {
16520
+ name: string;
16521
+ id: string;
16522
+ position: number;
16523
+ createdAt: Date;
16524
+ updatedAt: Date;
16525
+ deletedAt: Date | null;
16526
+ };
16527
+ }[] | null | undefined;
16126
16528
  };
16127
16529
  workflowRule: {
16128
16530
  name: string;
@@ -16151,7 +16553,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16151
16553
  previewUrl: string;
16152
16554
  imageSetId: string;
16153
16555
  repliedMessage: {
16154
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16556
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16155
16557
  message: string;
16156
16558
  id: string;
16157
16559
  url: string;
@@ -16363,7 +16765,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16363
16765
  label?: string | undefined;
16364
16766
  } | null | undefined;
16365
16767
  }, {
16366
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16768
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16367
16769
  message: string;
16368
16770
  id: string;
16369
16771
  url: string;
@@ -16494,6 +16896,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16494
16896
  channelId?: string | undefined;
16495
16897
  status?: "active" | "pending" | undefined;
16496
16898
  apiKey?: string | undefined;
16899
+ tier?: "basic" | "regular" | "premium" | undefined;
16497
16900
  } | undefined;
16498
16901
  vonageCredentials?: {
16499
16902
  apiKey: string;
@@ -16861,6 +17264,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16861
17264
  dateValue: Date | null;
16862
17265
  }[] | null | undefined;
16863
17266
  } | null;
17267
+ holdLogs?: {
17268
+ id: string;
17269
+ createdAt: Date;
17270
+ updatedAt: Date;
17271
+ deletedAt: Date | null;
17272
+ startedAt: string;
17273
+ endedAt: string | null;
17274
+ duration: number | null;
17275
+ holdLabel: {
17276
+ name: string;
17277
+ id: string;
17278
+ position: number;
17279
+ createdAt: Date;
17280
+ updatedAt: Date;
17281
+ deletedAt: Date | null;
17282
+ };
17283
+ }[] | null | undefined;
16864
17284
  };
16865
17285
  workflowRule: {
16866
17286
  name: string;
@@ -16889,7 +17309,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16889
17309
  previewUrl: string;
16890
17310
  imageSetId: string;
16891
17311
  repliedMessage: {
16892
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17312
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16893
17313
  message: string;
16894
17314
  id: string;
16895
17315
  url: string;
@@ -17100,7 +17520,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17100
17520
  template?: any;
17101
17521
  metadata?: any;
17102
17522
  fromMessage?: {
17103
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17523
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17104
17524
  message: string;
17105
17525
  id: string;
17106
17526
  url: string;
@@ -17231,6 +17651,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17231
17651
  channelId?: string | undefined;
17232
17652
  status?: "active" | "pending" | undefined;
17233
17653
  apiKey?: string | undefined;
17654
+ tier?: "basic" | "regular" | "premium" | undefined;
17234
17655
  } | undefined;
17235
17656
  vonageCredentials?: {
17236
17657
  apiKey: string;
@@ -17598,6 +18019,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17598
18019
  dateValue: Date | null;
17599
18020
  }[] | null | undefined;
17600
18021
  } | null;
18022
+ holdLogs?: {
18023
+ id: string;
18024
+ createdAt: Date;
18025
+ updatedAt: Date;
18026
+ deletedAt: Date | null;
18027
+ startedAt: string;
18028
+ endedAt: string | null;
18029
+ duration: number | null;
18030
+ holdLabel: {
18031
+ name: string;
18032
+ id: string;
18033
+ position: number;
18034
+ createdAt: Date;
18035
+ updatedAt: Date;
18036
+ deletedAt: Date | null;
18037
+ };
18038
+ }[] | null | undefined;
17601
18039
  };
17602
18040
  workflowRule: {
17603
18041
  name: string;
@@ -17626,7 +18064,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17626
18064
  previewUrl: string;
17627
18065
  imageSetId: string;
17628
18066
  repliedMessage: {
17629
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18067
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17630
18068
  message: string;
17631
18069
  id: string;
17632
18070
  url: string;
@@ -17840,7 +18278,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17840
18278
  }>;
17841
18279
  }, "strip", z.ZodTypeAny, {
17842
18280
  data: {
17843
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18281
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17844
18282
  message: string;
17845
18283
  id: string;
17846
18284
  url: string;
@@ -17971,6 +18409,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17971
18409
  channelId?: string | undefined;
17972
18410
  status?: "active" | "pending" | undefined;
17973
18411
  apiKey?: string | undefined;
18412
+ tier?: "basic" | "regular" | "premium" | undefined;
17974
18413
  } | undefined;
17975
18414
  vonageCredentials?: {
17976
18415
  apiKey: string;
@@ -18338,6 +18777,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18338
18777
  dateValue: Date | null;
18339
18778
  }[] | null | undefined;
18340
18779
  } | null;
18780
+ holdLogs?: {
18781
+ id: string;
18782
+ createdAt: Date;
18783
+ updatedAt: Date;
18784
+ deletedAt: Date | null;
18785
+ startedAt: string;
18786
+ endedAt: string | null;
18787
+ duration: number | null;
18788
+ holdLabel: {
18789
+ name: string;
18790
+ id: string;
18791
+ position: number;
18792
+ createdAt: Date;
18793
+ updatedAt: Date;
18794
+ deletedAt: Date | null;
18795
+ };
18796
+ }[] | null | undefined;
18341
18797
  };
18342
18798
  workflowRule: {
18343
18799
  name: string;
@@ -18366,7 +18822,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18366
18822
  previewUrl: string;
18367
18823
  imageSetId: string;
18368
18824
  repliedMessage: {
18369
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18825
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18370
18826
  message: string;
18371
18827
  id: string;
18372
18828
  url: string;
@@ -18577,7 +19033,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18577
19033
  template?: any;
18578
19034
  metadata?: any;
18579
19035
  fromMessage?: {
18580
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19036
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18581
19037
  message: string;
18582
19038
  id: string;
18583
19039
  url: string;
@@ -18708,6 +19164,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18708
19164
  channelId?: string | undefined;
18709
19165
  status?: "active" | "pending" | undefined;
18710
19166
  apiKey?: string | undefined;
19167
+ tier?: "basic" | "regular" | "premium" | undefined;
18711
19168
  } | undefined;
18712
19169
  vonageCredentials?: {
18713
19170
  apiKey: string;
@@ -19075,6 +19532,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19075
19532
  dateValue: Date | null;
19076
19533
  }[] | null | undefined;
19077
19534
  } | null;
19535
+ holdLogs?: {
19536
+ id: string;
19537
+ createdAt: Date;
19538
+ updatedAt: Date;
19539
+ deletedAt: Date | null;
19540
+ startedAt: string;
19541
+ endedAt: string | null;
19542
+ duration: number | null;
19543
+ holdLabel: {
19544
+ name: string;
19545
+ id: string;
19546
+ position: number;
19547
+ createdAt: Date;
19548
+ updatedAt: Date;
19549
+ deletedAt: Date | null;
19550
+ };
19551
+ }[] | null | undefined;
19078
19552
  };
19079
19553
  workflowRule: {
19080
19554
  name: string;
@@ -19103,7 +19577,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19103
19577
  previewUrl: string;
19104
19578
  imageSetId: string;
19105
19579
  repliedMessage: {
19106
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19580
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19107
19581
  message: string;
19108
19582
  id: string;
19109
19583
  url: string;
@@ -19318,7 +19792,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19318
19792
  requestId: string;
19319
19793
  }, {
19320
19794
  data: {
19321
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19795
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19322
19796
  message: string;
19323
19797
  id: string;
19324
19798
  url: string;
@@ -19449,6 +19923,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19449
19923
  channelId?: string | undefined;
19450
19924
  status?: "active" | "pending" | undefined;
19451
19925
  apiKey?: string | undefined;
19926
+ tier?: "basic" | "regular" | "premium" | undefined;
19452
19927
  } | undefined;
19453
19928
  vonageCredentials?: {
19454
19929
  apiKey: string;
@@ -19816,6 +20291,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19816
20291
  dateValue: Date | null;
19817
20292
  }[] | null | undefined;
19818
20293
  } | null;
20294
+ holdLogs?: {
20295
+ id: string;
20296
+ createdAt: Date;
20297
+ updatedAt: Date;
20298
+ deletedAt: Date | null;
20299
+ startedAt: string;
20300
+ endedAt: string | null;
20301
+ duration: number | null;
20302
+ holdLabel: {
20303
+ name: string;
20304
+ id: string;
20305
+ position: number;
20306
+ createdAt: Date;
20307
+ updatedAt: Date;
20308
+ deletedAt: Date | null;
20309
+ };
20310
+ }[] | null | undefined;
19819
20311
  };
19820
20312
  workflowRule: {
19821
20313
  name: string;
@@ -19844,7 +20336,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19844
20336
  previewUrl: string;
19845
20337
  imageSetId: string;
19846
20338
  repliedMessage: {
19847
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
20339
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19848
20340
  message: string;
19849
20341
  id: string;
19850
20342
  url: string;
@@ -20055,7 +20547,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20055
20547
  template?: any;
20056
20548
  metadata?: any;
20057
20549
  fromMessage?: {
20058
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
20550
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20059
20551
  message: string;
20060
20552
  id: string;
20061
20553
  url: string;
@@ -20186,6 +20678,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20186
20678
  channelId?: string | undefined;
20187
20679
  status?: "active" | "pending" | undefined;
20188
20680
  apiKey?: string | undefined;
20681
+ tier?: "basic" | "regular" | "premium" | undefined;
20189
20682
  } | undefined;
20190
20683
  vonageCredentials?: {
20191
20684
  apiKey: string;
@@ -20553,6 +21046,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20553
21046
  dateValue: Date | null;
20554
21047
  }[] | null | undefined;
20555
21048
  } | null;
21049
+ holdLogs?: {
21050
+ id: string;
21051
+ createdAt: Date;
21052
+ updatedAt: Date;
21053
+ deletedAt: Date | null;
21054
+ startedAt: string;
21055
+ endedAt: string | null;
21056
+ duration: number | null;
21057
+ holdLabel: {
21058
+ name: string;
21059
+ id: string;
21060
+ position: number;
21061
+ createdAt: Date;
21062
+ updatedAt: Date;
21063
+ deletedAt: Date | null;
21064
+ };
21065
+ }[] | null | undefined;
20556
21066
  };
20557
21067
  workflowRule: {
20558
21068
  name: string;
@@ -20581,7 +21091,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20581
21091
  previewUrl: string;
20582
21092
  imageSetId: string;
20583
21093
  repliedMessage: {
20584
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
21094
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20585
21095
  message: string;
20586
21096
  id: string;
20587
21097
  url: string;
@@ -20817,6 +21327,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20817
21327
  channelId: z.ZodOptional<z.ZodString>;
20818
21328
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20819
21329
  apiKey: z.ZodOptional<z.ZodString>;
21330
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20820
21331
  }, "strip", z.ZodTypeAny, {
20821
21332
  email: string;
20822
21333
  wabaExternalId: string;
@@ -20826,6 +21337,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20826
21337
  channelId?: string | undefined;
20827
21338
  status?: "active" | "pending" | undefined;
20828
21339
  apiKey?: string | undefined;
21340
+ tier?: "basic" | "regular" | "premium" | undefined;
20829
21341
  }, {
20830
21342
  email: string;
20831
21343
  wabaExternalId: string;
@@ -20835,6 +21347,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20835
21347
  channelId?: string | undefined;
20836
21348
  status?: "active" | "pending" | undefined;
20837
21349
  apiKey?: string | undefined;
21350
+ tier?: "basic" | "regular" | "premium" | undefined;
20838
21351
  }>>;
20839
21352
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20840
21353
  mobileNumber: z.ZodString;
@@ -20867,6 +21380,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20867
21380
  channelId?: string | undefined;
20868
21381
  status?: "active" | "pending" | undefined;
20869
21382
  apiKey?: string | undefined;
21383
+ tier?: "basic" | "regular" | "premium" | undefined;
20870
21384
  } | undefined;
20871
21385
  vonageCredentials?: {
20872
21386
  apiKey: string;
@@ -20891,6 +21405,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20891
21405
  channelId?: string | undefined;
20892
21406
  status?: "active" | "pending" | undefined;
20893
21407
  apiKey?: string | undefined;
21408
+ tier?: "basic" | "regular" | "premium" | undefined;
20894
21409
  } | undefined;
20895
21410
  vonageCredentials?: {
20896
21411
  apiKey: string;
@@ -20945,6 +21460,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20945
21460
  channelId?: string | undefined;
20946
21461
  status?: "active" | "pending" | undefined;
20947
21462
  apiKey?: string | undefined;
21463
+ tier?: "basic" | "regular" | "premium" | undefined;
20948
21464
  } | undefined;
20949
21465
  vonageCredentials?: {
20950
21466
  apiKey: string;
@@ -20987,6 +21503,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20987
21503
  channelId?: string | undefined;
20988
21504
  status?: "active" | "pending" | undefined;
20989
21505
  apiKey?: string | undefined;
21506
+ tier?: "basic" | "regular" | "premium" | undefined;
20990
21507
  } | undefined;
20991
21508
  vonageCredentials?: {
20992
21509
  apiKey: string;
@@ -21031,6 +21548,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21031
21548
  channelId?: string | undefined;
21032
21549
  status?: "active" | "pending" | undefined;
21033
21550
  apiKey?: string | undefined;
21551
+ tier?: "basic" | "regular" | "premium" | undefined;
21034
21552
  } | undefined;
21035
21553
  vonageCredentials?: {
21036
21554
  apiKey: string;
@@ -21076,6 +21594,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21076
21594
  channelId?: string | undefined;
21077
21595
  status?: "active" | "pending" | undefined;
21078
21596
  apiKey?: string | undefined;
21597
+ tier?: "basic" | "regular" | "premium" | undefined;
21079
21598
  } | undefined;
21080
21599
  vonageCredentials?: {
21081
21600
  apiKey: string;
@@ -21109,7 +21628,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
21109
21628
  deletedAt: z.ZodNullable<z.ZodString>;
21110
21629
  message: z.ZodOptional<z.ZodString>;
21111
21630
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
21112
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
21631
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
21113
21632
  metadata: z.ZodAny;
21114
21633
  platformId: z.ZodString;
21115
21634
  platformMessageId: z.ZodString;
@@ -22494,6 +23013,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22494
23013
  channelId: z.ZodOptional<z.ZodString>;
22495
23014
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
22496
23015
  apiKey: z.ZodOptional<z.ZodString>;
23016
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
22497
23017
  }, "strip", z.ZodTypeAny, {
22498
23018
  email: string;
22499
23019
  wabaExternalId: string;
@@ -22503,6 +23023,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22503
23023
  channelId?: string | undefined;
22504
23024
  status?: "active" | "pending" | undefined;
22505
23025
  apiKey?: string | undefined;
23026
+ tier?: "basic" | "regular" | "premium" | undefined;
22506
23027
  }, {
22507
23028
  email: string;
22508
23029
  wabaExternalId: string;
@@ -22512,6 +23033,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22512
23033
  channelId?: string | undefined;
22513
23034
  status?: "active" | "pending" | undefined;
22514
23035
  apiKey?: string | undefined;
23036
+ tier?: "basic" | "regular" | "premium" | undefined;
22515
23037
  }>>;
22516
23038
  vonageCredentials: z.ZodOptional<z.ZodObject<{
22517
23039
  mobileNumber: z.ZodString;
@@ -22544,6 +23066,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22544
23066
  channelId?: string | undefined;
22545
23067
  status?: "active" | "pending" | undefined;
22546
23068
  apiKey?: string | undefined;
23069
+ tier?: "basic" | "regular" | "premium" | undefined;
22547
23070
  } | undefined;
22548
23071
  vonageCredentials?: {
22549
23072
  apiKey: string;
@@ -22568,6 +23091,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22568
23091
  channelId?: string | undefined;
22569
23092
  status?: "active" | "pending" | undefined;
22570
23093
  apiKey?: string | undefined;
23094
+ tier?: "basic" | "regular" | "premium" | undefined;
22571
23095
  } | undefined;
22572
23096
  vonageCredentials?: {
22573
23097
  apiKey: string;
@@ -22622,6 +23146,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22622
23146
  channelId?: string | undefined;
22623
23147
  status?: "active" | "pending" | undefined;
22624
23148
  apiKey?: string | undefined;
23149
+ tier?: "basic" | "regular" | "premium" | undefined;
22625
23150
  } | undefined;
22626
23151
  vonageCredentials?: {
22627
23152
  apiKey: string;
@@ -22664,6 +23189,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22664
23189
  channelId?: string | undefined;
22665
23190
  status?: "active" | "pending" | undefined;
22666
23191
  apiKey?: string | undefined;
23192
+ tier?: "basic" | "regular" | "premium" | undefined;
22667
23193
  } | undefined;
22668
23194
  vonageCredentials?: {
22669
23195
  apiKey: string;
@@ -23339,6 +23865,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23339
23865
  channelId?: string | undefined;
23340
23866
  status?: "active" | "pending" | undefined;
23341
23867
  apiKey?: string | undefined;
23868
+ tier?: "basic" | "regular" | "premium" | undefined;
23342
23869
  } | undefined;
23343
23870
  vonageCredentials?: {
23344
23871
  apiKey: string;
@@ -23664,6 +24191,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23664
24191
  channelId?: string | undefined;
23665
24192
  status?: "active" | "pending" | undefined;
23666
24193
  apiKey?: string | undefined;
24194
+ tier?: "basic" | "regular" | "premium" | undefined;
23667
24195
  } | undefined;
23668
24196
  vonageCredentials?: {
23669
24197
  apiKey: string;
@@ -24405,7 +24933,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24405
24933
  }>>>;
24406
24934
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
24407
24935
  }, "strip", z.ZodTypeAny, {
24408
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
24936
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
24409
24937
  id: string;
24410
24938
  direction: "incoming" | "outgoing" | "system";
24411
24939
  createdAt: string;
@@ -24645,6 +25173,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24645
25173
  channelId?: string | undefined;
24646
25174
  status?: "active" | "pending" | undefined;
24647
25175
  apiKey?: string | undefined;
25176
+ tier?: "basic" | "regular" | "premium" | undefined;
24648
25177
  } | undefined;
24649
25178
  vonageCredentials?: {
24650
25179
  apiKey: string;
@@ -24893,7 +25422,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24893
25422
  } | null | undefined;
24894
25423
  label?: string | null | undefined;
24895
25424
  }, {
24896
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
25425
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
24897
25426
  id: string;
24898
25427
  direction: "incoming" | "outgoing" | "system";
24899
25428
  createdAt: string;
@@ -25133,6 +25662,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25133
25662
  channelId?: string | undefined;
25134
25663
  status?: "active" | "pending" | undefined;
25135
25664
  apiKey?: string | undefined;
25665
+ tier?: "basic" | "regular" | "premium" | undefined;
25136
25666
  } | undefined;
25137
25667
  vonageCredentials?: {
25138
25668
  apiKey: string;
@@ -25383,7 +25913,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25383
25913
  }>;
25384
25914
  }, "strip", z.ZodTypeAny, {
25385
25915
  message: {
25386
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
25916
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
25387
25917
  id: string;
25388
25918
  direction: "incoming" | "outgoing" | "system";
25389
25919
  createdAt: string;
@@ -25623,6 +26153,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25623
26153
  channelId?: string | undefined;
25624
26154
  status?: "active" | "pending" | undefined;
25625
26155
  apiKey?: string | undefined;
26156
+ tier?: "basic" | "regular" | "premium" | undefined;
25626
26157
  } | undefined;
25627
26158
  vonageCredentials?: {
25628
26159
  apiKey: string;
@@ -25873,7 +26404,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25873
26404
  };
25874
26405
  }, {
25875
26406
  message: {
25876
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
26407
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
25877
26408
  id: string;
25878
26409
  direction: "incoming" | "outgoing" | "system";
25879
26410
  createdAt: string;
@@ -26113,6 +26644,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26113
26644
  channelId?: string | undefined;
26114
26645
  status?: "active" | "pending" | undefined;
26115
26646
  apiKey?: string | undefined;
26647
+ tier?: "basic" | "regular" | "premium" | undefined;
26116
26648
  } | undefined;
26117
26649
  vonageCredentials?: {
26118
26650
  apiKey: string;