@kl1/contracts 1.1.89-uat → 1.1.91-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. package/dist/api-contracts/src/call-log/validation.d.ts +2 -2
  2. package/dist/api-contracts/src/chat/index.d.ts +6511 -2021
  3. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/chat/schema.d.ts +1495 -31
  5. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  6. package/dist/api-contracts/src/chat/validation.d.ts +439 -0
  7. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  8. package/dist/api-contracts/src/comment/index.d.ts +489 -0
  9. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/comment/schema.d.ts +143 -0
  11. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  12. package/dist/api-contracts/src/contact/index.d.ts +1012 -3
  13. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/contact/schema.d.ts +136 -0
  15. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  16. package/dist/api-contracts/src/contact/validation.d.ts +1392 -17
  17. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  18. package/dist/api-contracts/src/contract.d.ts +7169 -516
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/index.d.ts +519 -0
  21. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/schema.d.ts +429 -0
  23. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/facebook-feed/index.d.ts +627 -48
  25. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/facebook-feed/schema.d.ts +143 -0
  27. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/facebook-feed/validation.d.ts +167 -24
  29. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/instagram/index.d.ts +436 -0
  31. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/line/index.d.ts +436 -0
  33. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/messenger/index.d.ts +436 -0
  35. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/messenger/validation.d.ts +167 -24
  37. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/telephony-cdr/index.d.ts +429 -0
  39. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +113 -0
  41. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/ticket/index.d.ts +752 -0
  43. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/ticket/schema.d.ts +113 -0
  45. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  46. package/dist/api-contracts/src/user/index.d.ts +3 -0
  47. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  48. package/dist/api-contracts/src/viber/index.d.ts +436 -0
  49. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/webchat/index.d.ts +436 -0
  51. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  52. package/dist/api-contracts/src/workflow-rule/index.d.ts +346 -0
  53. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  54. package/dist/index.js +63 -5
  55. package/dist/index.js.map +1 -1
  56. package/dist/index.mjs +63 -5
  57. package/dist/index.mjs.map +1 -1
  58. package/package.json +1 -1
@@ -253,6 +253,59 @@ export declare const PlatformContactSchema: z.ZodObject<{
253
253
  phone?: string | null | undefined;
254
254
  industry?: string | null | undefined;
255
255
  }>>;
256
+ platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
257
+ id: z.ZodString;
258
+ createdAt: z.ZodDate;
259
+ updatedAt: z.ZodDate;
260
+ deletedAt: z.ZodNullable<z.ZodDate>;
261
+ channelId: z.ZodString;
262
+ socialPlatformId: z.ZodString;
263
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
264
+ metadata: z.ZodObject<{
265
+ id: z.ZodString;
266
+ name: z.ZodString;
267
+ picture: z.ZodOptional<z.ZodString>;
268
+ additionalCredentials: z.ZodAny;
269
+ }, "strip", z.ZodTypeAny, {
270
+ id: string;
271
+ name: string;
272
+ picture?: string | undefined;
273
+ additionalCredentials?: any;
274
+ }, {
275
+ id: string;
276
+ name: string;
277
+ picture?: string | undefined;
278
+ additionalCredentials?: any;
279
+ }>;
280
+ }, "strip", z.ZodTypeAny, {
281
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
282
+ id: string;
283
+ metadata: {
284
+ id: string;
285
+ name: string;
286
+ picture?: string | undefined;
287
+ additionalCredentials?: any;
288
+ };
289
+ createdAt: Date;
290
+ updatedAt: Date;
291
+ deletedAt: Date | null;
292
+ channelId: string;
293
+ socialPlatformId: string;
294
+ }, {
295
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
296
+ id: string;
297
+ metadata: {
298
+ id: string;
299
+ name: string;
300
+ picture?: string | undefined;
301
+ additionalCredentials?: any;
302
+ };
303
+ createdAt: Date;
304
+ updatedAt: Date;
305
+ deletedAt: Date | null;
306
+ channelId: string;
307
+ socialPlatformId: string;
308
+ }>, "many">>;
256
309
  customFields: z.ZodArray<z.ZodObject<{
257
310
  id: z.ZodString;
258
311
  createdAt: z.ZodDate;
@@ -452,6 +505,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
452
505
  id: z.ZodString;
453
506
  createdAt: z.ZodDate;
454
507
  updatedAt: z.ZodDate;
508
+ /**
509
+ * Message Type Enum
510
+ */
455
511
  deletedAt: z.ZodNullable<z.ZodDate>;
456
512
  email: z.ZodString;
457
513
  isPrimary: z.ZodBoolean;
@@ -632,6 +688,21 @@ export declare const PlatformContactSchema: z.ZodObject<{
632
688
  deletedAt: Date | null;
633
689
  phone: string;
634
690
  }[];
691
+ platformContacts?: {
692
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
693
+ id: string;
694
+ metadata: {
695
+ id: string;
696
+ name: string;
697
+ picture?: string | undefined;
698
+ additionalCredentials?: any;
699
+ };
700
+ createdAt: Date;
701
+ updatedAt: Date;
702
+ deletedAt: Date | null;
703
+ channelId: string;
704
+ socialPlatformId: string;
705
+ }[] | undefined;
635
706
  activityLogs?: {
636
707
  id: string;
637
708
  description: string;
@@ -728,6 +799,21 @@ export declare const PlatformContactSchema: z.ZodObject<{
728
799
  deletedAt: Date | null;
729
800
  phone: string;
730
801
  }[];
802
+ platformContacts?: {
803
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
804
+ id: string;
805
+ metadata: {
806
+ id: string;
807
+ name: string;
808
+ picture?: string | undefined;
809
+ additionalCredentials?: any;
810
+ };
811
+ createdAt: Date;
812
+ updatedAt: Date;
813
+ deletedAt: Date | null;
814
+ channelId: string;
815
+ socialPlatformId: string;
816
+ }[] | undefined;
731
817
  activityLogs?: {
732
818
  id: string;
733
819
  description: string;
@@ -837,6 +923,21 @@ export declare const PlatformContactSchema: z.ZodObject<{
837
923
  deletedAt: Date | null;
838
924
  phone: string;
839
925
  }[];
926
+ platformContacts?: {
927
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
928
+ id: string;
929
+ metadata: {
930
+ id: string;
931
+ name: string;
932
+ picture?: string | undefined;
933
+ additionalCredentials?: any;
934
+ };
935
+ createdAt: Date;
936
+ updatedAt: Date;
937
+ deletedAt: Date | null;
938
+ channelId: string;
939
+ socialPlatformId: string;
940
+ }[] | undefined;
840
941
  activityLogs?: {
841
942
  id: string;
842
943
  description: string;
@@ -948,6 +1049,21 @@ export declare const PlatformContactSchema: z.ZodObject<{
948
1049
  deletedAt: Date | null;
949
1050
  phone: string;
950
1051
  }[];
1052
+ platformContacts?: {
1053
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1054
+ id: string;
1055
+ metadata: {
1056
+ id: string;
1057
+ name: string;
1058
+ picture?: string | undefined;
1059
+ additionalCredentials?: any;
1060
+ };
1061
+ createdAt: Date;
1062
+ updatedAt: Date;
1063
+ deletedAt: Date | null;
1064
+ channelId: string;
1065
+ socialPlatformId: string;
1066
+ }[] | undefined;
951
1067
  activityLogs?: {
952
1068
  id: string;
953
1069
  description: string;
@@ -1206,6 +1322,59 @@ export declare const RoomSchema: z.ZodObject<{
1206
1322
  phone?: string | null | undefined;
1207
1323
  industry?: string | null | undefined;
1208
1324
  }>>;
1325
+ platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1326
+ id: z.ZodString;
1327
+ createdAt: z.ZodDate;
1328
+ updatedAt: z.ZodDate;
1329
+ deletedAt: z.ZodNullable<z.ZodDate>;
1330
+ channelId: z.ZodString;
1331
+ socialPlatformId: z.ZodString;
1332
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
1333
+ metadata: z.ZodObject<{
1334
+ id: z.ZodString;
1335
+ name: z.ZodString;
1336
+ picture: z.ZodOptional<z.ZodString>;
1337
+ additionalCredentials: z.ZodAny;
1338
+ }, "strip", z.ZodTypeAny, {
1339
+ id: string;
1340
+ name: string;
1341
+ picture?: string | undefined;
1342
+ additionalCredentials?: any;
1343
+ }, {
1344
+ id: string;
1345
+ name: string;
1346
+ picture?: string | undefined;
1347
+ additionalCredentials?: any;
1348
+ }>;
1349
+ }, "strip", z.ZodTypeAny, {
1350
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1351
+ id: string;
1352
+ metadata: {
1353
+ id: string;
1354
+ name: string;
1355
+ picture?: string | undefined;
1356
+ additionalCredentials?: any;
1357
+ };
1358
+ createdAt: Date;
1359
+ updatedAt: Date;
1360
+ deletedAt: Date | null;
1361
+ channelId: string;
1362
+ socialPlatformId: string;
1363
+ }, {
1364
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1365
+ id: string;
1366
+ metadata: {
1367
+ id: string;
1368
+ name: string;
1369
+ picture?: string | undefined;
1370
+ additionalCredentials?: any;
1371
+ };
1372
+ createdAt: Date;
1373
+ updatedAt: Date;
1374
+ deletedAt: Date | null;
1375
+ channelId: string;
1376
+ socialPlatformId: string;
1377
+ }>, "many">>;
1209
1378
  customFields: z.ZodArray<z.ZodObject<{
1210
1379
  id: z.ZodString;
1211
1380
  createdAt: z.ZodDate;
@@ -1405,6 +1574,9 @@ export declare const RoomSchema: z.ZodObject<{
1405
1574
  id: z.ZodString;
1406
1575
  createdAt: z.ZodDate;
1407
1576
  updatedAt: z.ZodDate;
1577
+ /**
1578
+ * Message Type Enum
1579
+ */
1408
1580
  deletedAt: z.ZodNullable<z.ZodDate>;
1409
1581
  email: z.ZodString;
1410
1582
  isPrimary: z.ZodBoolean;
@@ -1585,6 +1757,21 @@ export declare const RoomSchema: z.ZodObject<{
1585
1757
  deletedAt: Date | null;
1586
1758
  phone: string;
1587
1759
  }[];
1760
+ platformContacts?: {
1761
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1762
+ id: string;
1763
+ metadata: {
1764
+ id: string;
1765
+ name: string;
1766
+ picture?: string | undefined;
1767
+ additionalCredentials?: any;
1768
+ };
1769
+ createdAt: Date;
1770
+ updatedAt: Date;
1771
+ deletedAt: Date | null;
1772
+ channelId: string;
1773
+ socialPlatformId: string;
1774
+ }[] | undefined;
1588
1775
  activityLogs?: {
1589
1776
  id: string;
1590
1777
  description: string;
@@ -1681,6 +1868,21 @@ export declare const RoomSchema: z.ZodObject<{
1681
1868
  deletedAt: Date | null;
1682
1869
  phone: string;
1683
1870
  }[];
1871
+ platformContacts?: {
1872
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1873
+ id: string;
1874
+ metadata: {
1875
+ id: string;
1876
+ name: string;
1877
+ picture?: string | undefined;
1878
+ additionalCredentials?: any;
1879
+ };
1880
+ createdAt: Date;
1881
+ updatedAt: Date;
1882
+ deletedAt: Date | null;
1883
+ channelId: string;
1884
+ socialPlatformId: string;
1885
+ }[] | undefined;
1684
1886
  activityLogs?: {
1685
1887
  id: string;
1686
1888
  description: string;
@@ -1790,6 +1992,21 @@ export declare const RoomSchema: z.ZodObject<{
1790
1992
  deletedAt: Date | null;
1791
1993
  phone: string;
1792
1994
  }[];
1995
+ platformContacts?: {
1996
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1997
+ id: string;
1998
+ metadata: {
1999
+ id: string;
2000
+ name: string;
2001
+ picture?: string | undefined;
2002
+ additionalCredentials?: any;
2003
+ };
2004
+ createdAt: Date;
2005
+ updatedAt: Date;
2006
+ deletedAt: Date | null;
2007
+ channelId: string;
2008
+ socialPlatformId: string;
2009
+ }[] | undefined;
1793
2010
  activityLogs?: {
1794
2011
  id: string;
1795
2012
  description: string;
@@ -1901,6 +2118,21 @@ export declare const RoomSchema: z.ZodObject<{
1901
2118
  deletedAt: Date | null;
1902
2119
  phone: string;
1903
2120
  }[];
2121
+ platformContacts?: {
2122
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2123
+ id: string;
2124
+ metadata: {
2125
+ id: string;
2126
+ name: string;
2127
+ picture?: string | undefined;
2128
+ additionalCredentials?: any;
2129
+ };
2130
+ createdAt: Date;
2131
+ updatedAt: Date;
2132
+ deletedAt: Date | null;
2133
+ channelId: string;
2134
+ socialPlatformId: string;
2135
+ }[] | undefined;
1904
2136
  activityLogs?: {
1905
2137
  id: string;
1906
2138
  description: string;
@@ -2384,7 +2616,9 @@ export declare const RoomSchema: z.ZodObject<{
2384
2616
  brandName: z.ZodString;
2385
2617
  platformId: z.ZodString;
2386
2618
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
2387
- isReloginRequired: z.ZodBoolean;
2619
+ isReloginRequired: z.ZodBoolean; /**
2620
+ * Message Type Enum
2621
+ */
2388
2622
  connectedUserName: z.ZodString;
2389
2623
  connectedUserId: z.ZodString;
2390
2624
  botpressBot: z.ZodNullable<z.ZodObject<{
@@ -2412,9 +2646,7 @@ export declare const RoomSchema: z.ZodObject<{
2412
2646
  updatedAt: z.ZodDate;
2413
2647
  deletedAt: z.ZodNullable<z.ZodDate>;
2414
2648
  name: z.ZodString;
2415
- email: z.ZodString; /**
2416
- * Platform Contact
2417
- */
2649
+ email: z.ZodString;
2418
2650
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
2419
2651
  password: z.ZodString;
2420
2652
  address: z.ZodNullable<z.ZodString>;
@@ -3438,6 +3670,21 @@ export declare const RoomSchema: z.ZodObject<{
3438
3670
  deletedAt: Date | null;
3439
3671
  phone: string;
3440
3672
  }[];
3673
+ platformContacts?: {
3674
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3675
+ id: string;
3676
+ metadata: {
3677
+ id: string;
3678
+ name: string;
3679
+ picture?: string | undefined;
3680
+ additionalCredentials?: any;
3681
+ };
3682
+ createdAt: Date;
3683
+ updatedAt: Date;
3684
+ deletedAt: Date | null;
3685
+ channelId: string;
3686
+ socialPlatformId: string;
3687
+ }[] | undefined;
3441
3688
  activityLogs?: {
3442
3689
  id: string;
3443
3690
  description: string;
@@ -3810,6 +4057,21 @@ export declare const RoomSchema: z.ZodObject<{
3810
4057
  deletedAt: Date | null;
3811
4058
  phone: string;
3812
4059
  }[];
4060
+ platformContacts?: {
4061
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4062
+ id: string;
4063
+ metadata: {
4064
+ id: string;
4065
+ name: string;
4066
+ picture?: string | undefined;
4067
+ additionalCredentials?: any;
4068
+ };
4069
+ createdAt: Date;
4070
+ updatedAt: Date;
4071
+ deletedAt: Date | null;
4072
+ channelId: string;
4073
+ socialPlatformId: string;
4074
+ }[] | undefined;
3813
4075
  activityLogs?: {
3814
4076
  id: string;
3815
4077
  description: string;
@@ -4013,7 +4275,9 @@ export declare const QueueRoomSchema: z.ZodObject<{
4013
4275
  brandName: z.ZodString;
4014
4276
  platformId: z.ZodString;
4015
4277
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
4016
- isReloginRequired: z.ZodBoolean;
4278
+ isReloginRequired: z.ZodBoolean; /**
4279
+ * Message Type Enum
4280
+ */
4017
4281
  connectedUserName: z.ZodString;
4018
4282
  connectedUserId: z.ZodString;
4019
4283
  botpressBot: z.ZodNullable<z.ZodObject<{
@@ -4041,9 +4305,7 @@ export declare const QueueRoomSchema: z.ZodObject<{
4041
4305
  updatedAt: z.ZodDate;
4042
4306
  deletedAt: z.ZodNullable<z.ZodDate>;
4043
4307
  name: z.ZodString;
4044
- email: z.ZodString; /**
4045
- * Platform Contact
4046
- */
4308
+ email: z.ZodString;
4047
4309
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4048
4310
  password: z.ZodString;
4049
4311
  address: z.ZodNullable<z.ZodString>;
@@ -4830,6 +5092,59 @@ export declare const QueueRoomSchema: z.ZodObject<{
4830
5092
  phone?: string | null | undefined;
4831
5093
  industry?: string | null | undefined;
4832
5094
  }>>;
5095
+ platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
5096
+ id: z.ZodString;
5097
+ createdAt: z.ZodDate;
5098
+ updatedAt: z.ZodDate;
5099
+ deletedAt: z.ZodNullable<z.ZodDate>;
5100
+ channelId: z.ZodString;
5101
+ socialPlatformId: z.ZodString;
5102
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
5103
+ metadata: z.ZodObject<{
5104
+ id: z.ZodString;
5105
+ name: z.ZodString;
5106
+ picture: z.ZodOptional<z.ZodString>;
5107
+ additionalCredentials: z.ZodAny;
5108
+ }, "strip", z.ZodTypeAny, {
5109
+ id: string;
5110
+ name: string;
5111
+ picture?: string | undefined;
5112
+ additionalCredentials?: any;
5113
+ }, {
5114
+ id: string;
5115
+ name: string;
5116
+ picture?: string | undefined;
5117
+ additionalCredentials?: any;
5118
+ }>;
5119
+ }, "strip", z.ZodTypeAny, {
5120
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5121
+ id: string;
5122
+ metadata: {
5123
+ id: string;
5124
+ name: string;
5125
+ picture?: string | undefined;
5126
+ additionalCredentials?: any;
5127
+ };
5128
+ createdAt: Date;
5129
+ updatedAt: Date;
5130
+ deletedAt: Date | null;
5131
+ channelId: string;
5132
+ socialPlatformId: string;
5133
+ }, {
5134
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5135
+ id: string;
5136
+ metadata: {
5137
+ id: string;
5138
+ name: string;
5139
+ picture?: string | undefined;
5140
+ additionalCredentials?: any;
5141
+ };
5142
+ createdAt: Date;
5143
+ updatedAt: Date;
5144
+ deletedAt: Date | null;
5145
+ channelId: string;
5146
+ socialPlatformId: string;
5147
+ }>, "many">>;
4833
5148
  customFields: z.ZodArray<z.ZodObject<{
4834
5149
  id: z.ZodString;
4835
5150
  createdAt: z.ZodDate;
@@ -5029,6 +5344,9 @@ export declare const QueueRoomSchema: z.ZodObject<{
5029
5344
  id: z.ZodString;
5030
5345
  createdAt: z.ZodDate;
5031
5346
  updatedAt: z.ZodDate;
5347
+ /**
5348
+ * Message Type Enum
5349
+ */
5032
5350
  deletedAt: z.ZodNullable<z.ZodDate>;
5033
5351
  email: z.ZodString;
5034
5352
  isPrimary: z.ZodBoolean;
@@ -5209,6 +5527,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
5209
5527
  deletedAt: Date | null;
5210
5528
  phone: string;
5211
5529
  }[];
5530
+ platformContacts?: {
5531
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5532
+ id: string;
5533
+ metadata: {
5534
+ id: string;
5535
+ name: string;
5536
+ picture?: string | undefined;
5537
+ additionalCredentials?: any;
5538
+ };
5539
+ createdAt: Date;
5540
+ updatedAt: Date;
5541
+ deletedAt: Date | null;
5542
+ channelId: string;
5543
+ socialPlatformId: string;
5544
+ }[] | undefined;
5212
5545
  activityLogs?: {
5213
5546
  id: string;
5214
5547
  description: string;
@@ -5305,6 +5638,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
5305
5638
  deletedAt: Date | null;
5306
5639
  phone: string;
5307
5640
  }[];
5641
+ platformContacts?: {
5642
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5643
+ id: string;
5644
+ metadata: {
5645
+ id: string;
5646
+ name: string;
5647
+ picture?: string | undefined;
5648
+ additionalCredentials?: any;
5649
+ };
5650
+ createdAt: Date;
5651
+ updatedAt: Date;
5652
+ deletedAt: Date | null;
5653
+ channelId: string;
5654
+ socialPlatformId: string;
5655
+ }[] | undefined;
5308
5656
  activityLogs?: {
5309
5657
  id: string;
5310
5658
  description: string;
@@ -5414,6 +5762,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
5414
5762
  deletedAt: Date | null;
5415
5763
  phone: string;
5416
5764
  }[];
5765
+ platformContacts?: {
5766
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5767
+ id: string;
5768
+ metadata: {
5769
+ id: string;
5770
+ name: string;
5771
+ picture?: string | undefined;
5772
+ additionalCredentials?: any;
5773
+ };
5774
+ createdAt: Date;
5775
+ updatedAt: Date;
5776
+ deletedAt: Date | null;
5777
+ channelId: string;
5778
+ socialPlatformId: string;
5779
+ }[] | undefined;
5417
5780
  activityLogs?: {
5418
5781
  id: string;
5419
5782
  description: string;
@@ -5525,6 +5888,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
5525
5888
  deletedAt: Date | null;
5526
5889
  phone: string;
5527
5890
  }[];
5891
+ platformContacts?: {
5892
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5893
+ id: string;
5894
+ metadata: {
5895
+ id: string;
5896
+ name: string;
5897
+ picture?: string | undefined;
5898
+ additionalCredentials?: any;
5899
+ };
5900
+ createdAt: Date;
5901
+ updatedAt: Date;
5902
+ deletedAt: Date | null;
5903
+ channelId: string;
5904
+ socialPlatformId: string;
5905
+ }[] | undefined;
5528
5906
  activityLogs?: {
5529
5907
  id: string;
5530
5908
  description: string;
@@ -6196,7 +6574,7 @@ export declare const QueueRoomSchema: z.ZodObject<{
6196
6574
  deletedAt: Date | null;
6197
6575
  isActive: boolean;
6198
6576
  }>;
6199
- automationQueueId: z.ZodNullable<z.ZodString>;
6577
+ automationQueueId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6200
6578
  }, "strip", z.ZodTypeAny, {
6201
6579
  id: string;
6202
6580
  channel: {
@@ -6424,6 +6802,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
6424
6802
  deletedAt: Date | null;
6425
6803
  phone: string;
6426
6804
  }[];
6805
+ platformContacts?: {
6806
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6807
+ id: string;
6808
+ metadata: {
6809
+ id: string;
6810
+ name: string;
6811
+ picture?: string | undefined;
6812
+ additionalCredentials?: any;
6813
+ };
6814
+ createdAt: Date;
6815
+ updatedAt: Date;
6816
+ deletedAt: Date | null;
6817
+ channelId: string;
6818
+ socialPlatformId: string;
6819
+ }[] | undefined;
6427
6820
  activityLogs?: {
6428
6821
  id: string;
6429
6822
  description: string;
@@ -6569,7 +6962,7 @@ export declare const QueueRoomSchema: z.ZodObject<{
6569
6962
  deletedAt: Date | null;
6570
6963
  isActive: boolean;
6571
6964
  };
6572
- automationQueueId: string | null;
6965
+ automationQueueId?: string | null | undefined;
6573
6966
  }, {
6574
6967
  id: string;
6575
6968
  channel: {
@@ -6797,6 +7190,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
6797
7190
  deletedAt: Date | null;
6798
7191
  phone: string;
6799
7192
  }[];
7193
+ platformContacts?: {
7194
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7195
+ id: string;
7196
+ metadata: {
7197
+ id: string;
7198
+ name: string;
7199
+ picture?: string | undefined;
7200
+ additionalCredentials?: any;
7201
+ };
7202
+ createdAt: Date;
7203
+ updatedAt: Date;
7204
+ deletedAt: Date | null;
7205
+ channelId: string;
7206
+ socialPlatformId: string;
7207
+ }[] | undefined;
6800
7208
  activityLogs?: {
6801
7209
  id: string;
6802
7210
  description: string;
@@ -6942,7 +7350,7 @@ export declare const QueueRoomSchema: z.ZodObject<{
6942
7350
  deletedAt: Date | null;
6943
7351
  isActive: boolean;
6944
7352
  };
6945
- automationQueueId: string | null;
7353
+ automationQueueId?: string | null | undefined;
6946
7354
  }>;
6947
7355
  /**
6948
7356
  * Message
@@ -7200,6 +7608,59 @@ export declare const MessageSchema: z.ZodObject<{
7200
7608
  phone?: string | null | undefined;
7201
7609
  industry?: string | null | undefined;
7202
7610
  }>>;
7611
+ platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
7612
+ id: z.ZodString;
7613
+ createdAt: z.ZodDate;
7614
+ updatedAt: z.ZodDate;
7615
+ deletedAt: z.ZodNullable<z.ZodDate>;
7616
+ channelId: z.ZodString;
7617
+ socialPlatformId: z.ZodString;
7618
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
7619
+ metadata: z.ZodObject<{
7620
+ id: z.ZodString;
7621
+ name: z.ZodString;
7622
+ picture: z.ZodOptional<z.ZodString>;
7623
+ additionalCredentials: z.ZodAny;
7624
+ }, "strip", z.ZodTypeAny, {
7625
+ id: string;
7626
+ name: string;
7627
+ picture?: string | undefined;
7628
+ additionalCredentials?: any;
7629
+ }, {
7630
+ id: string;
7631
+ name: string;
7632
+ picture?: string | undefined;
7633
+ additionalCredentials?: any;
7634
+ }>;
7635
+ }, "strip", z.ZodTypeAny, {
7636
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7637
+ id: string;
7638
+ metadata: {
7639
+ id: string;
7640
+ name: string;
7641
+ picture?: string | undefined;
7642
+ additionalCredentials?: any;
7643
+ };
7644
+ createdAt: Date;
7645
+ updatedAt: Date;
7646
+ deletedAt: Date | null;
7647
+ channelId: string;
7648
+ socialPlatformId: string;
7649
+ }, {
7650
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7651
+ id: string;
7652
+ metadata: {
7653
+ id: string;
7654
+ name: string;
7655
+ picture?: string | undefined;
7656
+ additionalCredentials?: any;
7657
+ };
7658
+ createdAt: Date;
7659
+ updatedAt: Date;
7660
+ deletedAt: Date | null;
7661
+ channelId: string;
7662
+ socialPlatformId: string;
7663
+ }>, "many">>;
7203
7664
  customFields: z.ZodArray<z.ZodObject<{
7204
7665
  id: z.ZodString;
7205
7666
  createdAt: z.ZodDate;
@@ -7399,6 +7860,9 @@ export declare const MessageSchema: z.ZodObject<{
7399
7860
  id: z.ZodString;
7400
7861
  createdAt: z.ZodDate;
7401
7862
  updatedAt: z.ZodDate;
7863
+ /**
7864
+ * Message Type Enum
7865
+ */
7402
7866
  deletedAt: z.ZodNullable<z.ZodDate>;
7403
7867
  email: z.ZodString;
7404
7868
  isPrimary: z.ZodBoolean;
@@ -7579,6 +8043,21 @@ export declare const MessageSchema: z.ZodObject<{
7579
8043
  deletedAt: Date | null;
7580
8044
  phone: string;
7581
8045
  }[];
8046
+ platformContacts?: {
8047
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8048
+ id: string;
8049
+ metadata: {
8050
+ id: string;
8051
+ name: string;
8052
+ picture?: string | undefined;
8053
+ additionalCredentials?: any;
8054
+ };
8055
+ createdAt: Date;
8056
+ updatedAt: Date;
8057
+ deletedAt: Date | null;
8058
+ channelId: string;
8059
+ socialPlatformId: string;
8060
+ }[] | undefined;
7582
8061
  activityLogs?: {
7583
8062
  id: string;
7584
8063
  description: string;
@@ -7675,6 +8154,21 @@ export declare const MessageSchema: z.ZodObject<{
7675
8154
  deletedAt: Date | null;
7676
8155
  phone: string;
7677
8156
  }[];
8157
+ platformContacts?: {
8158
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8159
+ id: string;
8160
+ metadata: {
8161
+ id: string;
8162
+ name: string;
8163
+ picture?: string | undefined;
8164
+ additionalCredentials?: any;
8165
+ };
8166
+ createdAt: Date;
8167
+ updatedAt: Date;
8168
+ deletedAt: Date | null;
8169
+ channelId: string;
8170
+ socialPlatformId: string;
8171
+ }[] | undefined;
7678
8172
  activityLogs?: {
7679
8173
  id: string;
7680
8174
  description: string;
@@ -7784,6 +8278,21 @@ export declare const MessageSchema: z.ZodObject<{
7784
8278
  deletedAt: Date | null;
7785
8279
  phone: string;
7786
8280
  }[];
8281
+ platformContacts?: {
8282
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8283
+ id: string;
8284
+ metadata: {
8285
+ id: string;
8286
+ name: string;
8287
+ picture?: string | undefined;
8288
+ additionalCredentials?: any;
8289
+ };
8290
+ createdAt: Date;
8291
+ updatedAt: Date;
8292
+ deletedAt: Date | null;
8293
+ channelId: string;
8294
+ socialPlatformId: string;
8295
+ }[] | undefined;
7787
8296
  activityLogs?: {
7788
8297
  id: string;
7789
8298
  description: string;
@@ -7895,6 +8404,21 @@ export declare const MessageSchema: z.ZodObject<{
7895
8404
  deletedAt: Date | null;
7896
8405
  phone: string;
7897
8406
  }[];
8407
+ platformContacts?: {
8408
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8409
+ id: string;
8410
+ metadata: {
8411
+ id: string;
8412
+ name: string;
8413
+ picture?: string | undefined;
8414
+ additionalCredentials?: any;
8415
+ };
8416
+ createdAt: Date;
8417
+ updatedAt: Date;
8418
+ deletedAt: Date | null;
8419
+ channelId: string;
8420
+ socialPlatformId: string;
8421
+ }[] | undefined;
7898
8422
  activityLogs?: {
7899
8423
  id: string;
7900
8424
  description: string;
@@ -8378,7 +8902,9 @@ export declare const MessageSchema: z.ZodObject<{
8378
8902
  brandName: z.ZodString;
8379
8903
  platformId: z.ZodString;
8380
8904
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8381
- isReloginRequired: z.ZodBoolean;
8905
+ isReloginRequired: z.ZodBoolean; /**
8906
+ * Message Type Enum
8907
+ */
8382
8908
  connectedUserName: z.ZodString;
8383
8909
  connectedUserId: z.ZodString;
8384
8910
  botpressBot: z.ZodNullable<z.ZodObject<{
@@ -8406,9 +8932,7 @@ export declare const MessageSchema: z.ZodObject<{
8406
8932
  updatedAt: z.ZodDate;
8407
8933
  deletedAt: z.ZodNullable<z.ZodDate>;
8408
8934
  name: z.ZodString;
8409
- email: z.ZodString; /**
8410
- * Platform Contact
8411
- */
8935
+ email: z.ZodString;
8412
8936
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
8413
8937
  password: z.ZodString;
8414
8938
  address: z.ZodNullable<z.ZodString>;
@@ -9432,6 +9956,21 @@ export declare const MessageSchema: z.ZodObject<{
9432
9956
  deletedAt: Date | null;
9433
9957
  phone: string;
9434
9958
  }[];
9959
+ platformContacts?: {
9960
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
9961
+ id: string;
9962
+ metadata: {
9963
+ id: string;
9964
+ name: string;
9965
+ picture?: string | undefined;
9966
+ additionalCredentials?: any;
9967
+ };
9968
+ createdAt: Date;
9969
+ updatedAt: Date;
9970
+ deletedAt: Date | null;
9971
+ channelId: string;
9972
+ socialPlatformId: string;
9973
+ }[] | undefined;
9435
9974
  activityLogs?: {
9436
9975
  id: string;
9437
9976
  description: string;
@@ -9804,6 +10343,21 @@ export declare const MessageSchema: z.ZodObject<{
9804
10343
  deletedAt: Date | null;
9805
10344
  phone: string;
9806
10345
  }[];
10346
+ platformContacts?: {
10347
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
10348
+ id: string;
10349
+ metadata: {
10350
+ id: string;
10351
+ name: string;
10352
+ picture?: string | undefined;
10353
+ additionalCredentials?: any;
10354
+ };
10355
+ createdAt: Date;
10356
+ updatedAt: Date;
10357
+ deletedAt: Date | null;
10358
+ channelId: string;
10359
+ socialPlatformId: string;
10360
+ }[] | undefined;
9807
10361
  activityLogs?: {
9808
10362
  id: string;
9809
10363
  description: string;
@@ -11949,6 +12503,21 @@ export declare const MessageSchema: z.ZodObject<{
11949
12503
  deletedAt: Date | null;
11950
12504
  phone: string;
11951
12505
  }[];
12506
+ platformContacts?: {
12507
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
12508
+ id: string;
12509
+ metadata: {
12510
+ id: string;
12511
+ name: string;
12512
+ picture?: string | undefined;
12513
+ additionalCredentials?: any;
12514
+ };
12515
+ createdAt: Date;
12516
+ updatedAt: Date;
12517
+ deletedAt: Date | null;
12518
+ channelId: string;
12519
+ socialPlatformId: string;
12520
+ }[] | undefined;
11952
12521
  activityLogs?: {
11953
12522
  id: string;
11954
12523
  description: string;
@@ -12658,6 +13227,21 @@ export declare const MessageSchema: z.ZodObject<{
12658
13227
  deletedAt: Date | null;
12659
13228
  phone: string;
12660
13229
  }[];
13230
+ platformContacts?: {
13231
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
13232
+ id: string;
13233
+ metadata: {
13234
+ id: string;
13235
+ name: string;
13236
+ picture?: string | undefined;
13237
+ additionalCredentials?: any;
13238
+ };
13239
+ createdAt: Date;
13240
+ updatedAt: Date;
13241
+ deletedAt: Date | null;
13242
+ channelId: string;
13243
+ socialPlatformId: string;
13244
+ }[] | undefined;
12661
13245
  activityLogs?: {
12662
13246
  id: string;
12663
13247
  description: string;
@@ -13721,6 +14305,59 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13721
14305
  phone?: string | null | undefined;
13722
14306
  industry?: string | null | undefined;
13723
14307
  }>>;
14308
+ platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
14309
+ id: z.ZodString;
14310
+ createdAt: z.ZodDate;
14311
+ updatedAt: z.ZodDate;
14312
+ deletedAt: z.ZodNullable<z.ZodDate>;
14313
+ channelId: z.ZodString;
14314
+ socialPlatformId: z.ZodString;
14315
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
14316
+ metadata: z.ZodObject<{
14317
+ id: z.ZodString;
14318
+ name: z.ZodString;
14319
+ picture: z.ZodOptional<z.ZodString>;
14320
+ additionalCredentials: z.ZodAny;
14321
+ }, "strip", z.ZodTypeAny, {
14322
+ id: string;
14323
+ name: string;
14324
+ picture?: string | undefined;
14325
+ additionalCredentials?: any;
14326
+ }, {
14327
+ id: string;
14328
+ name: string;
14329
+ picture?: string | undefined;
14330
+ additionalCredentials?: any;
14331
+ }>;
14332
+ }, "strip", z.ZodTypeAny, {
14333
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
14334
+ id: string;
14335
+ metadata: {
14336
+ id: string;
14337
+ name: string;
14338
+ picture?: string | undefined;
14339
+ additionalCredentials?: any;
14340
+ };
14341
+ createdAt: Date;
14342
+ updatedAt: Date;
14343
+ deletedAt: Date | null;
14344
+ channelId: string;
14345
+ socialPlatformId: string;
14346
+ }, {
14347
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
14348
+ id: string;
14349
+ metadata: {
14350
+ id: string;
14351
+ name: string;
14352
+ picture?: string | undefined;
14353
+ additionalCredentials?: any;
14354
+ };
14355
+ createdAt: Date;
14356
+ updatedAt: Date;
14357
+ deletedAt: Date | null;
14358
+ channelId: string;
14359
+ socialPlatformId: string;
14360
+ }>, "many">>;
13724
14361
  customFields: z.ZodArray<z.ZodObject<{
13725
14362
  id: z.ZodString;
13726
14363
  createdAt: z.ZodDate;
@@ -13920,6 +14557,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13920
14557
  id: z.ZodString;
13921
14558
  createdAt: z.ZodDate;
13922
14559
  updatedAt: z.ZodDate;
14560
+ /**
14561
+ * Message Type Enum
14562
+ */
13923
14563
  deletedAt: z.ZodNullable<z.ZodDate>;
13924
14564
  email: z.ZodString;
13925
14565
  isPrimary: z.ZodBoolean;
@@ -14100,6 +14740,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14100
14740
  deletedAt: Date | null;
14101
14741
  phone: string;
14102
14742
  }[];
14743
+ platformContacts?: {
14744
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
14745
+ id: string;
14746
+ metadata: {
14747
+ id: string;
14748
+ name: string;
14749
+ picture?: string | undefined;
14750
+ additionalCredentials?: any;
14751
+ };
14752
+ createdAt: Date;
14753
+ updatedAt: Date;
14754
+ deletedAt: Date | null;
14755
+ channelId: string;
14756
+ socialPlatformId: string;
14757
+ }[] | undefined;
14103
14758
  activityLogs?: {
14104
14759
  id: string;
14105
14760
  description: string;
@@ -14196,6 +14851,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14196
14851
  deletedAt: Date | null;
14197
14852
  phone: string;
14198
14853
  }[];
14854
+ platformContacts?: {
14855
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
14856
+ id: string;
14857
+ metadata: {
14858
+ id: string;
14859
+ name: string;
14860
+ picture?: string | undefined;
14861
+ additionalCredentials?: any;
14862
+ };
14863
+ createdAt: Date;
14864
+ updatedAt: Date;
14865
+ deletedAt: Date | null;
14866
+ channelId: string;
14867
+ socialPlatformId: string;
14868
+ }[] | undefined;
14199
14869
  activityLogs?: {
14200
14870
  id: string;
14201
14871
  description: string;
@@ -14305,6 +14975,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14305
14975
  deletedAt: Date | null;
14306
14976
  phone: string;
14307
14977
  }[];
14978
+ platformContacts?: {
14979
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
14980
+ id: string;
14981
+ metadata: {
14982
+ id: string;
14983
+ name: string;
14984
+ picture?: string | undefined;
14985
+ additionalCredentials?: any;
14986
+ };
14987
+ createdAt: Date;
14988
+ updatedAt: Date;
14989
+ deletedAt: Date | null;
14990
+ channelId: string;
14991
+ socialPlatformId: string;
14992
+ }[] | undefined;
14308
14993
  activityLogs?: {
14309
14994
  id: string;
14310
14995
  description: string;
@@ -14416,6 +15101,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14416
15101
  deletedAt: Date | null;
14417
15102
  phone: string;
14418
15103
  }[];
15104
+ platformContacts?: {
15105
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
15106
+ id: string;
15107
+ metadata: {
15108
+ id: string;
15109
+ name: string;
15110
+ picture?: string | undefined;
15111
+ additionalCredentials?: any;
15112
+ };
15113
+ createdAt: Date;
15114
+ updatedAt: Date;
15115
+ deletedAt: Date | null;
15116
+ channelId: string;
15117
+ socialPlatformId: string;
15118
+ }[] | undefined;
14419
15119
  activityLogs?: {
14420
15120
  id: string;
14421
15121
  description: string;
@@ -14899,7 +15599,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14899
15599
  brandName: z.ZodString;
14900
15600
  platformId: z.ZodString;
14901
15601
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
14902
- isReloginRequired: z.ZodBoolean;
15602
+ isReloginRequired: z.ZodBoolean; /**
15603
+ * Message Type Enum
15604
+ */
14903
15605
  connectedUserName: z.ZodString;
14904
15606
  connectedUserId: z.ZodString;
14905
15607
  botpressBot: z.ZodNullable<z.ZodObject<{
@@ -14927,9 +15629,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14927
15629
  updatedAt: z.ZodDate;
14928
15630
  deletedAt: z.ZodNullable<z.ZodDate>;
14929
15631
  name: z.ZodString;
14930
- email: z.ZodString; /**
14931
- * Platform Contact
14932
- */
15632
+ email: z.ZodString;
14933
15633
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
14934
15634
  password: z.ZodString;
14935
15635
  address: z.ZodNullable<z.ZodString>;
@@ -15953,6 +16653,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15953
16653
  deletedAt: Date | null;
15954
16654
  phone: string;
15955
16655
  }[];
16656
+ platformContacts?: {
16657
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
16658
+ id: string;
16659
+ metadata: {
16660
+ id: string;
16661
+ name: string;
16662
+ picture?: string | undefined;
16663
+ additionalCredentials?: any;
16664
+ };
16665
+ createdAt: Date;
16666
+ updatedAt: Date;
16667
+ deletedAt: Date | null;
16668
+ channelId: string;
16669
+ socialPlatformId: string;
16670
+ }[] | undefined;
15956
16671
  activityLogs?: {
15957
16672
  id: string;
15958
16673
  description: string;
@@ -16325,6 +17040,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16325
17040
  deletedAt: Date | null;
16326
17041
  phone: string;
16327
17042
  }[];
17043
+ platformContacts?: {
17044
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
17045
+ id: string;
17046
+ metadata: {
17047
+ id: string;
17048
+ name: string;
17049
+ picture?: string | undefined;
17050
+ additionalCredentials?: any;
17051
+ };
17052
+ createdAt: Date;
17053
+ updatedAt: Date;
17054
+ deletedAt: Date | null;
17055
+ channelId: string;
17056
+ socialPlatformId: string;
17057
+ }[] | undefined;
16328
17058
  activityLogs?: {
16329
17059
  id: string;
16330
17060
  description: string;
@@ -17766,7 +18496,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17766
18496
  brandName: z.ZodString;
17767
18497
  platformId: z.ZodString;
17768
18498
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
17769
- isReloginRequired: z.ZodBoolean;
18499
+ isReloginRequired: z.ZodBoolean; /**
18500
+ * Message Type Enum
18501
+ */
17770
18502
  connectedUserName: z.ZodString;
17771
18503
  connectedUserId: z.ZodString;
17772
18504
  botpressBot: z.ZodNullable<z.ZodObject<{
@@ -17794,9 +18526,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17794
18526
  updatedAt: z.ZodDate;
17795
18527
  deletedAt: z.ZodNullable<z.ZodDate>;
17796
18528
  name: z.ZodString;
17797
- email: z.ZodString; /**
17798
- * Platform Contact
17799
- */
18529
+ email: z.ZodString;
17800
18530
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
17801
18531
  password: z.ZodString;
17802
18532
  address: z.ZodNullable<z.ZodString>;
@@ -18368,6 +19098,59 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18368
19098
  phone?: string | null | undefined;
18369
19099
  industry?: string | null | undefined;
18370
19100
  }>>;
19101
+ platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
19102
+ id: z.ZodString;
19103
+ createdAt: z.ZodDate;
19104
+ updatedAt: z.ZodDate;
19105
+ deletedAt: z.ZodNullable<z.ZodDate>;
19106
+ channelId: z.ZodString;
19107
+ socialPlatformId: z.ZodString;
19108
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
19109
+ metadata: z.ZodObject<{
19110
+ id: z.ZodString;
19111
+ name: z.ZodString;
19112
+ picture: z.ZodOptional<z.ZodString>;
19113
+ additionalCredentials: z.ZodAny;
19114
+ }, "strip", z.ZodTypeAny, {
19115
+ id: string;
19116
+ name: string;
19117
+ picture?: string | undefined;
19118
+ additionalCredentials?: any;
19119
+ }, {
19120
+ id: string;
19121
+ name: string;
19122
+ picture?: string | undefined;
19123
+ additionalCredentials?: any;
19124
+ }>;
19125
+ }, "strip", z.ZodTypeAny, {
19126
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19127
+ id: string;
19128
+ metadata: {
19129
+ id: string;
19130
+ name: string;
19131
+ picture?: string | undefined;
19132
+ additionalCredentials?: any;
19133
+ };
19134
+ createdAt: Date;
19135
+ updatedAt: Date;
19136
+ deletedAt: Date | null;
19137
+ channelId: string;
19138
+ socialPlatformId: string;
19139
+ }, {
19140
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19141
+ id: string;
19142
+ metadata: {
19143
+ id: string;
19144
+ name: string;
19145
+ picture?: string | undefined;
19146
+ additionalCredentials?: any;
19147
+ };
19148
+ createdAt: Date;
19149
+ updatedAt: Date;
19150
+ deletedAt: Date | null;
19151
+ channelId: string;
19152
+ socialPlatformId: string;
19153
+ }>, "many">>;
18371
19154
  customFields: z.ZodArray<z.ZodObject<{
18372
19155
  id: z.ZodString;
18373
19156
  createdAt: z.ZodDate;
@@ -18567,6 +19350,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18567
19350
  id: z.ZodString;
18568
19351
  createdAt: z.ZodDate;
18569
19352
  updatedAt: z.ZodDate;
19353
+ /**
19354
+ * Message Type Enum
19355
+ */
18570
19356
  deletedAt: z.ZodNullable<z.ZodDate>;
18571
19357
  email: z.ZodString;
18572
19358
  isPrimary: z.ZodBoolean;
@@ -18747,6 +19533,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18747
19533
  deletedAt: Date | null;
18748
19534
  phone: string;
18749
19535
  }[];
19536
+ platformContacts?: {
19537
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19538
+ id: string;
19539
+ metadata: {
19540
+ id: string;
19541
+ name: string;
19542
+ picture?: string | undefined;
19543
+ additionalCredentials?: any;
19544
+ };
19545
+ createdAt: Date;
19546
+ updatedAt: Date;
19547
+ deletedAt: Date | null;
19548
+ channelId: string;
19549
+ socialPlatformId: string;
19550
+ }[] | undefined;
18750
19551
  activityLogs?: {
18751
19552
  id: string;
18752
19553
  description: string;
@@ -18843,6 +19644,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18843
19644
  deletedAt: Date | null;
18844
19645
  phone: string;
18845
19646
  }[];
19647
+ platformContacts?: {
19648
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19649
+ id: string;
19650
+ metadata: {
19651
+ id: string;
19652
+ name: string;
19653
+ picture?: string | undefined;
19654
+ additionalCredentials?: any;
19655
+ };
19656
+ createdAt: Date;
19657
+ updatedAt: Date;
19658
+ deletedAt: Date | null;
19659
+ channelId: string;
19660
+ socialPlatformId: string;
19661
+ }[] | undefined;
18846
19662
  activityLogs?: {
18847
19663
  id: string;
18848
19664
  description: string;
@@ -18952,6 +19768,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18952
19768
  deletedAt: Date | null;
18953
19769
  phone: string;
18954
19770
  }[];
19771
+ platformContacts?: {
19772
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19773
+ id: string;
19774
+ metadata: {
19775
+ id: string;
19776
+ name: string;
19777
+ picture?: string | undefined;
19778
+ additionalCredentials?: any;
19779
+ };
19780
+ createdAt: Date;
19781
+ updatedAt: Date;
19782
+ deletedAt: Date | null;
19783
+ channelId: string;
19784
+ socialPlatformId: string;
19785
+ }[] | undefined;
18955
19786
  activityLogs?: {
18956
19787
  id: string;
18957
19788
  description: string;
@@ -19063,6 +19894,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19063
19894
  deletedAt: Date | null;
19064
19895
  phone: string;
19065
19896
  }[];
19897
+ platformContacts?: {
19898
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19899
+ id: string;
19900
+ metadata: {
19901
+ id: string;
19902
+ name: string;
19903
+ picture?: string | undefined;
19904
+ additionalCredentials?: any;
19905
+ };
19906
+ createdAt: Date;
19907
+ updatedAt: Date;
19908
+ deletedAt: Date | null;
19909
+ channelId: string;
19910
+ socialPlatformId: string;
19911
+ }[] | undefined;
19066
19912
  activityLogs?: {
19067
19913
  id: string;
19068
19914
  description: string;
@@ -19511,6 +20357,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19511
20357
  deletedAt: Date | null;
19512
20358
  phone: string;
19513
20359
  }[];
20360
+ platformContacts?: {
20361
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
20362
+ id: string;
20363
+ metadata: {
20364
+ id: string;
20365
+ name: string;
20366
+ picture?: string | undefined;
20367
+ additionalCredentials?: any;
20368
+ };
20369
+ createdAt: Date;
20370
+ updatedAt: Date;
20371
+ deletedAt: Date | null;
20372
+ channelId: string;
20373
+ socialPlatformId: string;
20374
+ }[] | undefined;
19514
20375
  activityLogs?: {
19515
20376
  id: string;
19516
20377
  description: string;
@@ -19760,6 +20621,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19760
20621
  deletedAt: Date | null;
19761
20622
  phone: string;
19762
20623
  }[];
20624
+ platformContacts?: {
20625
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
20626
+ id: string;
20627
+ metadata: {
20628
+ id: string;
20629
+ name: string;
20630
+ picture?: string | undefined;
20631
+ additionalCredentials?: any;
20632
+ };
20633
+ createdAt: Date;
20634
+ updatedAt: Date;
20635
+ deletedAt: Date | null;
20636
+ channelId: string;
20637
+ socialPlatformId: string;
20638
+ }[] | undefined;
19763
20639
  activityLogs?: {
19764
20640
  id: string;
19765
20641
  description: string;
@@ -20126,6 +21002,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20126
21002
  deletedAt: Date | null;
20127
21003
  phone: string;
20128
21004
  }[];
21005
+ platformContacts?: {
21006
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
21007
+ id: string;
21008
+ metadata: {
21009
+ id: string;
21010
+ name: string;
21011
+ picture?: string | undefined;
21012
+ additionalCredentials?: any;
21013
+ };
21014
+ createdAt: Date;
21015
+ updatedAt: Date;
21016
+ deletedAt: Date | null;
21017
+ channelId: string;
21018
+ socialPlatformId: string;
21019
+ }[] | undefined;
20129
21020
  activityLogs?: {
20130
21021
  id: string;
20131
21022
  description: string;
@@ -20719,6 +21610,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20719
21610
  deletedAt: Date | null;
20720
21611
  phone: string;
20721
21612
  }[];
21613
+ platformContacts?: {
21614
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
21615
+ id: string;
21616
+ metadata: {
21617
+ id: string;
21618
+ name: string;
21619
+ picture?: string | undefined;
21620
+ additionalCredentials?: any;
21621
+ };
21622
+ createdAt: Date;
21623
+ updatedAt: Date;
21624
+ deletedAt: Date | null;
21625
+ channelId: string;
21626
+ socialPlatformId: string;
21627
+ }[] | undefined;
20722
21628
  activityLogs?: {
20723
21629
  id: string;
20724
21630
  description: string;
@@ -21088,6 +21994,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
21088
21994
  deletedAt: Date | null;
21089
21995
  phone: string;
21090
21996
  }[];
21997
+ platformContacts?: {
21998
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
21999
+ id: string;
22000
+ metadata: {
22001
+ id: string;
22002
+ name: string;
22003
+ picture?: string | undefined;
22004
+ additionalCredentials?: any;
22005
+ };
22006
+ createdAt: Date;
22007
+ updatedAt: Date;
22008
+ deletedAt: Date | null;
22009
+ channelId: string;
22010
+ socialPlatformId: string;
22011
+ }[] | undefined;
21091
22012
  activityLogs?: {
21092
22013
  id: string;
21093
22014
  description: string;
@@ -21681,6 +22602,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
21681
22602
  deletedAt: Date | null;
21682
22603
  phone: string;
21683
22604
  }[];
22605
+ platformContacts?: {
22606
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
22607
+ id: string;
22608
+ metadata: {
22609
+ id: string;
22610
+ name: string;
22611
+ picture?: string | undefined;
22612
+ additionalCredentials?: any;
22613
+ };
22614
+ createdAt: Date;
22615
+ updatedAt: Date;
22616
+ deletedAt: Date | null;
22617
+ channelId: string;
22618
+ socialPlatformId: string;
22619
+ }[] | undefined;
21684
22620
  activityLogs?: {
21685
22621
  id: string;
21686
22622
  description: string;
@@ -23406,6 +24342,59 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23406
24342
  phone?: string | null | undefined;
23407
24343
  industry?: string | null | undefined;
23408
24344
  }>>;
24345
+ platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
24346
+ id: z.ZodString;
24347
+ createdAt: z.ZodDate;
24348
+ updatedAt: z.ZodDate;
24349
+ deletedAt: z.ZodNullable<z.ZodDate>;
24350
+ channelId: z.ZodString;
24351
+ socialPlatformId: z.ZodString;
24352
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
24353
+ metadata: z.ZodObject<{
24354
+ id: z.ZodString;
24355
+ name: z.ZodString;
24356
+ picture: z.ZodOptional<z.ZodString>;
24357
+ additionalCredentials: z.ZodAny;
24358
+ }, "strip", z.ZodTypeAny, {
24359
+ id: string;
24360
+ name: string;
24361
+ picture?: string | undefined;
24362
+ additionalCredentials?: any;
24363
+ }, {
24364
+ id: string;
24365
+ name: string;
24366
+ picture?: string | undefined;
24367
+ additionalCredentials?: any;
24368
+ }>;
24369
+ }, "strip", z.ZodTypeAny, {
24370
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
24371
+ id: string;
24372
+ metadata: {
24373
+ id: string;
24374
+ name: string;
24375
+ picture?: string | undefined;
24376
+ additionalCredentials?: any;
24377
+ };
24378
+ createdAt: Date;
24379
+ updatedAt: Date;
24380
+ deletedAt: Date | null;
24381
+ channelId: string;
24382
+ socialPlatformId: string;
24383
+ }, {
24384
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
24385
+ id: string;
24386
+ metadata: {
24387
+ id: string;
24388
+ name: string;
24389
+ picture?: string | undefined;
24390
+ additionalCredentials?: any;
24391
+ };
24392
+ createdAt: Date;
24393
+ updatedAt: Date;
24394
+ deletedAt: Date | null;
24395
+ channelId: string;
24396
+ socialPlatformId: string;
24397
+ }>, "many">>;
23409
24398
  customFields: z.ZodArray<z.ZodObject<{
23410
24399
  id: z.ZodString;
23411
24400
  createdAt: z.ZodDate;
@@ -23605,6 +24594,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23605
24594
  id: z.ZodString;
23606
24595
  createdAt: z.ZodDate;
23607
24596
  updatedAt: z.ZodDate;
24597
+ /**
24598
+ * Message Type Enum
24599
+ */
23608
24600
  deletedAt: z.ZodNullable<z.ZodDate>;
23609
24601
  email: z.ZodString;
23610
24602
  isPrimary: z.ZodBoolean;
@@ -23785,6 +24777,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23785
24777
  deletedAt: Date | null;
23786
24778
  phone: string;
23787
24779
  }[];
24780
+ platformContacts?: {
24781
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
24782
+ id: string;
24783
+ metadata: {
24784
+ id: string;
24785
+ name: string;
24786
+ picture?: string | undefined;
24787
+ additionalCredentials?: any;
24788
+ };
24789
+ createdAt: Date;
24790
+ updatedAt: Date;
24791
+ deletedAt: Date | null;
24792
+ channelId: string;
24793
+ socialPlatformId: string;
24794
+ }[] | undefined;
23788
24795
  activityLogs?: {
23789
24796
  id: string;
23790
24797
  description: string;
@@ -23881,6 +24888,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23881
24888
  deletedAt: Date | null;
23882
24889
  phone: string;
23883
24890
  }[];
24891
+ platformContacts?: {
24892
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
24893
+ id: string;
24894
+ metadata: {
24895
+ id: string;
24896
+ name: string;
24897
+ picture?: string | undefined;
24898
+ additionalCredentials?: any;
24899
+ };
24900
+ createdAt: Date;
24901
+ updatedAt: Date;
24902
+ deletedAt: Date | null;
24903
+ channelId: string;
24904
+ socialPlatformId: string;
24905
+ }[] | undefined;
23884
24906
  activityLogs?: {
23885
24907
  id: string;
23886
24908
  description: string;
@@ -23990,6 +25012,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23990
25012
  deletedAt: Date | null;
23991
25013
  phone: string;
23992
25014
  }[];
25015
+ platformContacts?: {
25016
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
25017
+ id: string;
25018
+ metadata: {
25019
+ id: string;
25020
+ name: string;
25021
+ picture?: string | undefined;
25022
+ additionalCredentials?: any;
25023
+ };
25024
+ createdAt: Date;
25025
+ updatedAt: Date;
25026
+ deletedAt: Date | null;
25027
+ channelId: string;
25028
+ socialPlatformId: string;
25029
+ }[] | undefined;
23993
25030
  activityLogs?: {
23994
25031
  id: string;
23995
25032
  description: string;
@@ -24101,6 +25138,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24101
25138
  deletedAt: Date | null;
24102
25139
  phone: string;
24103
25140
  }[];
25141
+ platformContacts?: {
25142
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
25143
+ id: string;
25144
+ metadata: {
25145
+ id: string;
25146
+ name: string;
25147
+ picture?: string | undefined;
25148
+ additionalCredentials?: any;
25149
+ };
25150
+ createdAt: Date;
25151
+ updatedAt: Date;
25152
+ deletedAt: Date | null;
25153
+ channelId: string;
25154
+ socialPlatformId: string;
25155
+ }[] | undefined;
24104
25156
  activityLogs?: {
24105
25157
  id: string;
24106
25158
  description: string;
@@ -24584,7 +25636,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24584
25636
  brandName: z.ZodString;
24585
25637
  platformId: z.ZodString;
24586
25638
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
24587
- isReloginRequired: z.ZodBoolean;
25639
+ isReloginRequired: z.ZodBoolean; /**
25640
+ * Message Type Enum
25641
+ */
24588
25642
  connectedUserName: z.ZodString;
24589
25643
  connectedUserId: z.ZodString;
24590
25644
  botpressBot: z.ZodNullable<z.ZodObject<{
@@ -24612,9 +25666,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24612
25666
  updatedAt: z.ZodDate;
24613
25667
  deletedAt: z.ZodNullable<z.ZodDate>;
24614
25668
  name: z.ZodString;
24615
- email: z.ZodString; /**
24616
- * Platform Contact
24617
- */
25669
+ email: z.ZodString;
24618
25670
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
24619
25671
  password: z.ZodString;
24620
25672
  address: z.ZodNullable<z.ZodString>;
@@ -25638,6 +26690,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25638
26690
  deletedAt: Date | null;
25639
26691
  phone: string;
25640
26692
  }[];
26693
+ platformContacts?: {
26694
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
26695
+ id: string;
26696
+ metadata: {
26697
+ id: string;
26698
+ name: string;
26699
+ picture?: string | undefined;
26700
+ additionalCredentials?: any;
26701
+ };
26702
+ createdAt: Date;
26703
+ updatedAt: Date;
26704
+ deletedAt: Date | null;
26705
+ channelId: string;
26706
+ socialPlatformId: string;
26707
+ }[] | undefined;
25641
26708
  activityLogs?: {
25642
26709
  id: string;
25643
26710
  description: string;
@@ -26010,6 +27077,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26010
27077
  deletedAt: Date | null;
26011
27078
  phone: string;
26012
27079
  }[];
27080
+ platformContacts?: {
27081
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
27082
+ id: string;
27083
+ metadata: {
27084
+ id: string;
27085
+ name: string;
27086
+ picture?: string | undefined;
27087
+ additionalCredentials?: any;
27088
+ };
27089
+ createdAt: Date;
27090
+ updatedAt: Date;
27091
+ deletedAt: Date | null;
27092
+ channelId: string;
27093
+ socialPlatformId: string;
27094
+ }[] | undefined;
26013
27095
  activityLogs?: {
26014
27096
  id: string;
26015
27097
  description: string;
@@ -27600,6 +28682,59 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27600
28682
  phone?: string | null | undefined;
27601
28683
  industry?: string | null | undefined;
27602
28684
  }>>;
28685
+ platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
28686
+ id: z.ZodString;
28687
+ createdAt: z.ZodDate;
28688
+ updatedAt: z.ZodDate;
28689
+ deletedAt: z.ZodNullable<z.ZodDate>;
28690
+ channelId: z.ZodString;
28691
+ socialPlatformId: z.ZodString;
28692
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
28693
+ metadata: z.ZodObject<{
28694
+ id: z.ZodString;
28695
+ name: z.ZodString;
28696
+ picture: z.ZodOptional<z.ZodString>;
28697
+ additionalCredentials: z.ZodAny;
28698
+ }, "strip", z.ZodTypeAny, {
28699
+ id: string;
28700
+ name: string;
28701
+ picture?: string | undefined;
28702
+ additionalCredentials?: any;
28703
+ }, {
28704
+ id: string;
28705
+ name: string;
28706
+ picture?: string | undefined;
28707
+ additionalCredentials?: any;
28708
+ }>;
28709
+ }, "strip", z.ZodTypeAny, {
28710
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
28711
+ id: string;
28712
+ metadata: {
28713
+ id: string;
28714
+ name: string;
28715
+ picture?: string | undefined;
28716
+ additionalCredentials?: any;
28717
+ };
28718
+ createdAt: Date;
28719
+ updatedAt: Date;
28720
+ deletedAt: Date | null;
28721
+ channelId: string;
28722
+ socialPlatformId: string;
28723
+ }, {
28724
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
28725
+ id: string;
28726
+ metadata: {
28727
+ id: string;
28728
+ name: string;
28729
+ picture?: string | undefined;
28730
+ additionalCredentials?: any;
28731
+ };
28732
+ createdAt: Date;
28733
+ updatedAt: Date;
28734
+ deletedAt: Date | null;
28735
+ channelId: string;
28736
+ socialPlatformId: string;
28737
+ }>, "many">>;
27603
28738
  customFields: z.ZodArray<z.ZodObject<{
27604
28739
  id: z.ZodString;
27605
28740
  createdAt: z.ZodDate;
@@ -27799,6 +28934,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27799
28934
  id: z.ZodString;
27800
28935
  createdAt: z.ZodDate;
27801
28936
  updatedAt: z.ZodDate;
28937
+ /**
28938
+ * Message Type Enum
28939
+ */
27802
28940
  deletedAt: z.ZodNullable<z.ZodDate>;
27803
28941
  email: z.ZodString;
27804
28942
  isPrimary: z.ZodBoolean;
@@ -27979,6 +29117,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27979
29117
  deletedAt: Date | null;
27980
29118
  phone: string;
27981
29119
  }[];
29120
+ platformContacts?: {
29121
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
29122
+ id: string;
29123
+ metadata: {
29124
+ id: string;
29125
+ name: string;
29126
+ picture?: string | undefined;
29127
+ additionalCredentials?: any;
29128
+ };
29129
+ createdAt: Date;
29130
+ updatedAt: Date;
29131
+ deletedAt: Date | null;
29132
+ channelId: string;
29133
+ socialPlatformId: string;
29134
+ }[] | undefined;
27982
29135
  activityLogs?: {
27983
29136
  id: string;
27984
29137
  description: string;
@@ -28075,6 +29228,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28075
29228
  deletedAt: Date | null;
28076
29229
  phone: string;
28077
29230
  }[];
29231
+ platformContacts?: {
29232
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
29233
+ id: string;
29234
+ metadata: {
29235
+ id: string;
29236
+ name: string;
29237
+ picture?: string | undefined;
29238
+ additionalCredentials?: any;
29239
+ };
29240
+ createdAt: Date;
29241
+ updatedAt: Date;
29242
+ deletedAt: Date | null;
29243
+ channelId: string;
29244
+ socialPlatformId: string;
29245
+ }[] | undefined;
28078
29246
  activityLogs?: {
28079
29247
  id: string;
28080
29248
  description: string;
@@ -28184,6 +29352,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28184
29352
  deletedAt: Date | null;
28185
29353
  phone: string;
28186
29354
  }[];
29355
+ platformContacts?: {
29356
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
29357
+ id: string;
29358
+ metadata: {
29359
+ id: string;
29360
+ name: string;
29361
+ picture?: string | undefined;
29362
+ additionalCredentials?: any;
29363
+ };
29364
+ createdAt: Date;
29365
+ updatedAt: Date;
29366
+ deletedAt: Date | null;
29367
+ channelId: string;
29368
+ socialPlatformId: string;
29369
+ }[] | undefined;
28187
29370
  activityLogs?: {
28188
29371
  id: string;
28189
29372
  description: string;
@@ -28295,6 +29478,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28295
29478
  deletedAt: Date | null;
28296
29479
  phone: string;
28297
29480
  }[];
29481
+ platformContacts?: {
29482
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
29483
+ id: string;
29484
+ metadata: {
29485
+ id: string;
29486
+ name: string;
29487
+ picture?: string | undefined;
29488
+ additionalCredentials?: any;
29489
+ };
29490
+ createdAt: Date;
29491
+ updatedAt: Date;
29492
+ deletedAt: Date | null;
29493
+ channelId: string;
29494
+ socialPlatformId: string;
29495
+ }[] | undefined;
28298
29496
  activityLogs?: {
28299
29497
  id: string;
28300
29498
  description: string;
@@ -28568,6 +29766,59 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28568
29766
  phone?: string | null | undefined;
28569
29767
  industry?: string | null | undefined;
28570
29768
  }>>;
29769
+ platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
29770
+ id: z.ZodString;
29771
+ createdAt: z.ZodDate;
29772
+ updatedAt: z.ZodDate;
29773
+ deletedAt: z.ZodNullable<z.ZodDate>;
29774
+ channelId: z.ZodString;
29775
+ socialPlatformId: z.ZodString;
29776
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
29777
+ metadata: z.ZodObject<{
29778
+ id: z.ZodString;
29779
+ name: z.ZodString;
29780
+ picture: z.ZodOptional<z.ZodString>;
29781
+ additionalCredentials: z.ZodAny;
29782
+ }, "strip", z.ZodTypeAny, {
29783
+ id: string;
29784
+ name: string;
29785
+ picture?: string | undefined;
29786
+ additionalCredentials?: any;
29787
+ }, {
29788
+ id: string;
29789
+ name: string;
29790
+ picture?: string | undefined;
29791
+ additionalCredentials?: any;
29792
+ }>;
29793
+ }, "strip", z.ZodTypeAny, {
29794
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
29795
+ id: string;
29796
+ metadata: {
29797
+ id: string;
29798
+ name: string;
29799
+ picture?: string | undefined;
29800
+ additionalCredentials?: any;
29801
+ };
29802
+ createdAt: Date;
29803
+ updatedAt: Date;
29804
+ deletedAt: Date | null;
29805
+ channelId: string;
29806
+ socialPlatformId: string;
29807
+ }, {
29808
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
29809
+ id: string;
29810
+ metadata: {
29811
+ id: string;
29812
+ name: string;
29813
+ picture?: string | undefined;
29814
+ additionalCredentials?: any;
29815
+ };
29816
+ createdAt: Date;
29817
+ updatedAt: Date;
29818
+ deletedAt: Date | null;
29819
+ channelId: string;
29820
+ socialPlatformId: string;
29821
+ }>, "many">>;
28571
29822
  customFields: z.ZodArray<z.ZodObject<{
28572
29823
  id: z.ZodString;
28573
29824
  createdAt: z.ZodDate;
@@ -28767,6 +30018,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28767
30018
  id: z.ZodString;
28768
30019
  createdAt: z.ZodDate;
28769
30020
  updatedAt: z.ZodDate;
30021
+ /**
30022
+ * Message Type Enum
30023
+ */
28770
30024
  deletedAt: z.ZodNullable<z.ZodDate>;
28771
30025
  email: z.ZodString;
28772
30026
  isPrimary: z.ZodBoolean;
@@ -28947,6 +30201,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28947
30201
  deletedAt: Date | null;
28948
30202
  phone: string;
28949
30203
  }[];
30204
+ platformContacts?: {
30205
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
30206
+ id: string;
30207
+ metadata: {
30208
+ id: string;
30209
+ name: string;
30210
+ picture?: string | undefined;
30211
+ additionalCredentials?: any;
30212
+ };
30213
+ createdAt: Date;
30214
+ updatedAt: Date;
30215
+ deletedAt: Date | null;
30216
+ channelId: string;
30217
+ socialPlatformId: string;
30218
+ }[] | undefined;
28950
30219
  activityLogs?: {
28951
30220
  id: string;
28952
30221
  description: string;
@@ -29043,6 +30312,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29043
30312
  deletedAt: Date | null;
29044
30313
  phone: string;
29045
30314
  }[];
30315
+ platformContacts?: {
30316
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
30317
+ id: string;
30318
+ metadata: {
30319
+ id: string;
30320
+ name: string;
30321
+ picture?: string | undefined;
30322
+ additionalCredentials?: any;
30323
+ };
30324
+ createdAt: Date;
30325
+ updatedAt: Date;
30326
+ deletedAt: Date | null;
30327
+ channelId: string;
30328
+ socialPlatformId: string;
30329
+ }[] | undefined;
29046
30330
  activityLogs?: {
29047
30331
  id: string;
29048
30332
  description: string;
@@ -29152,6 +30436,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29152
30436
  deletedAt: Date | null;
29153
30437
  phone: string;
29154
30438
  }[];
30439
+ platformContacts?: {
30440
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
30441
+ id: string;
30442
+ metadata: {
30443
+ id: string;
30444
+ name: string;
30445
+ picture?: string | undefined;
30446
+ additionalCredentials?: any;
30447
+ };
30448
+ createdAt: Date;
30449
+ updatedAt: Date;
30450
+ deletedAt: Date | null;
30451
+ channelId: string;
30452
+ socialPlatformId: string;
30453
+ }[] | undefined;
29155
30454
  activityLogs?: {
29156
30455
  id: string;
29157
30456
  description: string;
@@ -29263,6 +30562,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29263
30562
  deletedAt: Date | null;
29264
30563
  phone: string;
29265
30564
  }[];
30565
+ platformContacts?: {
30566
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
30567
+ id: string;
30568
+ metadata: {
30569
+ id: string;
30570
+ name: string;
30571
+ picture?: string | undefined;
30572
+ additionalCredentials?: any;
30573
+ };
30574
+ createdAt: Date;
30575
+ updatedAt: Date;
30576
+ deletedAt: Date | null;
30577
+ channelId: string;
30578
+ socialPlatformId: string;
30579
+ }[] | undefined;
29266
30580
  activityLogs?: {
29267
30581
  id: string;
29268
30582
  description: string;
@@ -29746,7 +31060,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29746
31060
  brandName: z.ZodString;
29747
31061
  platformId: z.ZodString;
29748
31062
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
29749
- isReloginRequired: z.ZodBoolean;
31063
+ isReloginRequired: z.ZodBoolean; /**
31064
+ * Message Type Enum
31065
+ */
29750
31066
  connectedUserName: z.ZodString;
29751
31067
  connectedUserId: z.ZodString;
29752
31068
  botpressBot: z.ZodNullable<z.ZodObject<{
@@ -29774,9 +31090,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29774
31090
  updatedAt: z.ZodDate;
29775
31091
  deletedAt: z.ZodNullable<z.ZodDate>;
29776
31092
  name: z.ZodString;
29777
- email: z.ZodString; /**
29778
- * Platform Contact
29779
- */
31093
+ email: z.ZodString;
29780
31094
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
29781
31095
  password: z.ZodString;
29782
31096
  address: z.ZodNullable<z.ZodString>;
@@ -30800,6 +32114,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30800
32114
  deletedAt: Date | null;
30801
32115
  phone: string;
30802
32116
  }[];
32117
+ platformContacts?: {
32118
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
32119
+ id: string;
32120
+ metadata: {
32121
+ id: string;
32122
+ name: string;
32123
+ picture?: string | undefined;
32124
+ additionalCredentials?: any;
32125
+ };
32126
+ createdAt: Date;
32127
+ updatedAt: Date;
32128
+ deletedAt: Date | null;
32129
+ channelId: string;
32130
+ socialPlatformId: string;
32131
+ }[] | undefined;
30803
32132
  activityLogs?: {
30804
32133
  id: string;
30805
32134
  description: string;
@@ -31172,6 +32501,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31172
32501
  deletedAt: Date | null;
31173
32502
  phone: string;
31174
32503
  }[];
32504
+ platformContacts?: {
32505
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
32506
+ id: string;
32507
+ metadata: {
32508
+ id: string;
32509
+ name: string;
32510
+ picture?: string | undefined;
32511
+ additionalCredentials?: any;
32512
+ };
32513
+ createdAt: Date;
32514
+ updatedAt: Date;
32515
+ deletedAt: Date | null;
32516
+ channelId: string;
32517
+ socialPlatformId: string;
32518
+ }[] | undefined;
31175
32519
  activityLogs?: {
31176
32520
  id: string;
31177
32521
  description: string;
@@ -33317,6 +34661,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33317
34661
  deletedAt: Date | null;
33318
34662
  phone: string;
33319
34663
  }[];
34664
+ platformContacts?: {
34665
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
34666
+ id: string;
34667
+ metadata: {
34668
+ id: string;
34669
+ name: string;
34670
+ picture?: string | undefined;
34671
+ additionalCredentials?: any;
34672
+ };
34673
+ createdAt: Date;
34674
+ updatedAt: Date;
34675
+ deletedAt: Date | null;
34676
+ channelId: string;
34677
+ socialPlatformId: string;
34678
+ }[] | undefined;
33320
34679
  activityLogs?: {
33321
34680
  id: string;
33322
34681
  description: string;
@@ -34026,6 +35385,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34026
35385
  deletedAt: Date | null;
34027
35386
  phone: string;
34028
35387
  }[];
35388
+ platformContacts?: {
35389
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
35390
+ id: string;
35391
+ metadata: {
35392
+ id: string;
35393
+ name: string;
35394
+ picture?: string | undefined;
35395
+ additionalCredentials?: any;
35396
+ };
35397
+ createdAt: Date;
35398
+ updatedAt: Date;
35399
+ deletedAt: Date | null;
35400
+ channelId: string;
35401
+ socialPlatformId: string;
35402
+ }[] | undefined;
34029
35403
  activityLogs?: {
34030
35404
  id: string;
34031
35405
  description: string;
@@ -34742,6 +36116,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34742
36116
  deletedAt: Date | null;
34743
36117
  phone: string;
34744
36118
  }[];
36119
+ platformContacts?: {
36120
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
36121
+ id: string;
36122
+ metadata: {
36123
+ id: string;
36124
+ name: string;
36125
+ picture?: string | undefined;
36126
+ additionalCredentials?: any;
36127
+ };
36128
+ createdAt: Date;
36129
+ updatedAt: Date;
36130
+ deletedAt: Date | null;
36131
+ channelId: string;
36132
+ socialPlatformId: string;
36133
+ }[] | undefined;
34745
36134
  activityLogs?: {
34746
36135
  id: string;
34747
36136
  description: string;
@@ -35446,6 +36835,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35446
36835
  deletedAt: Date | null;
35447
36836
  phone: string;
35448
36837
  }[];
36838
+ platformContacts?: {
36839
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
36840
+ id: string;
36841
+ metadata: {
36842
+ id: string;
36843
+ name: string;
36844
+ picture?: string | undefined;
36845
+ additionalCredentials?: any;
36846
+ };
36847
+ createdAt: Date;
36848
+ updatedAt: Date;
36849
+ deletedAt: Date | null;
36850
+ channelId: string;
36851
+ socialPlatformId: string;
36852
+ }[] | undefined;
35449
36853
  activityLogs?: {
35450
36854
  id: string;
35451
36855
  description: string;
@@ -35907,6 +37311,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35907
37311
  deletedAt: Date | null;
35908
37312
  phone: string;
35909
37313
  }[];
37314
+ platformContacts?: {
37315
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
37316
+ id: string;
37317
+ metadata: {
37318
+ id: string;
37319
+ name: string;
37320
+ picture?: string | undefined;
37321
+ additionalCredentials?: any;
37322
+ };
37323
+ createdAt: Date;
37324
+ updatedAt: Date;
37325
+ deletedAt: Date | null;
37326
+ channelId: string;
37327
+ socialPlatformId: string;
37328
+ }[] | undefined;
35910
37329
  activityLogs?: {
35911
37330
  id: string;
35912
37331
  description: string;
@@ -36273,6 +37692,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36273
37692
  deletedAt: Date | null;
36274
37693
  phone: string;
36275
37694
  }[];
37695
+ platformContacts?: {
37696
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
37697
+ id: string;
37698
+ metadata: {
37699
+ id: string;
37700
+ name: string;
37701
+ picture?: string | undefined;
37702
+ additionalCredentials?: any;
37703
+ };
37704
+ createdAt: Date;
37705
+ updatedAt: Date;
37706
+ deletedAt: Date | null;
37707
+ channelId: string;
37708
+ socialPlatformId: string;
37709
+ }[] | undefined;
36276
37710
  activityLogs?: {
36277
37711
  id: string;
36278
37712
  description: string;
@@ -36977,6 +38411,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36977
38411
  deletedAt: Date | null;
36978
38412
  phone: string;
36979
38413
  }[];
38414
+ platformContacts?: {
38415
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
38416
+ id: string;
38417
+ metadata: {
38418
+ id: string;
38419
+ name: string;
38420
+ picture?: string | undefined;
38421
+ additionalCredentials?: any;
38422
+ };
38423
+ createdAt: Date;
38424
+ updatedAt: Date;
38425
+ deletedAt: Date | null;
38426
+ channelId: string;
38427
+ socialPlatformId: string;
38428
+ }[] | undefined;
36980
38429
  activityLogs?: {
36981
38430
  id: string;
36982
38431
  description: string;
@@ -37438,6 +38887,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37438
38887
  deletedAt: Date | null;
37439
38888
  phone: string;
37440
38889
  }[];
38890
+ platformContacts?: {
38891
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
38892
+ id: string;
38893
+ metadata: {
38894
+ id: string;
38895
+ name: string;
38896
+ picture?: string | undefined;
38897
+ additionalCredentials?: any;
38898
+ };
38899
+ createdAt: Date;
38900
+ updatedAt: Date;
38901
+ deletedAt: Date | null;
38902
+ channelId: string;
38903
+ socialPlatformId: string;
38904
+ }[] | undefined;
37441
38905
  activityLogs?: {
37442
38906
  id: string;
37443
38907
  description: string;