@kl1/contracts 1.1.88-uat → 1.1.90-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/automation-queue/index.d.ts +56 -56
- package/dist/api-contracts/src/automation-queue/schema.d.ts +6 -6
- package/dist/api-contracts/src/automation-queue/validation.d.ts +6 -6
- package/dist/api-contracts/src/call-log/validation.d.ts +2 -2
- package/dist/api-contracts/src/chat/index.d.ts +4893 -411
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +1491 -9
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +436 -0
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +489 -0
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +143 -0
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +1012 -3
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +136 -0
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +1392 -17
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +7169 -516
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +519 -0
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +429 -0
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +627 -48
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +143 -0
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +167 -24
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +436 -0
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +436 -0
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +436 -0
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +167 -24
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +429 -0
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +113 -0
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +752 -0
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +113 -0
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +3 -0
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +436 -0
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +436 -0
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +346 -0
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/index.js +57 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +57 -4
- package/dist/index.mjs.map +1 -1
- 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;
|
@@ -493,7 +549,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
493
549
|
phone: string;
|
494
550
|
}>, "many">;
|
495
551
|
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
496
|
-
id: z.ZodString;
|
552
|
+
id: z.ZodString; /**
|
553
|
+
* Channel metadata
|
554
|
+
*/
|
497
555
|
createdAt: z.ZodDate;
|
498
556
|
updatedAt: z.ZodDate;
|
499
557
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -632,6 +690,21 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
632
690
|
deletedAt: Date | null;
|
633
691
|
phone: string;
|
634
692
|
}[];
|
693
|
+
platformContacts?: {
|
694
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
695
|
+
id: string;
|
696
|
+
metadata: {
|
697
|
+
id: string;
|
698
|
+
name: string;
|
699
|
+
picture?: string | undefined;
|
700
|
+
additionalCredentials?: any;
|
701
|
+
};
|
702
|
+
createdAt: Date;
|
703
|
+
updatedAt: Date;
|
704
|
+
deletedAt: Date | null;
|
705
|
+
channelId: string;
|
706
|
+
socialPlatformId: string;
|
707
|
+
}[] | undefined;
|
635
708
|
activityLogs?: {
|
636
709
|
id: string;
|
637
710
|
description: string;
|
@@ -728,6 +801,21 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
728
801
|
deletedAt: Date | null;
|
729
802
|
phone: string;
|
730
803
|
}[];
|
804
|
+
platformContacts?: {
|
805
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
806
|
+
id: string;
|
807
|
+
metadata: {
|
808
|
+
id: string;
|
809
|
+
name: string;
|
810
|
+
picture?: string | undefined;
|
811
|
+
additionalCredentials?: any;
|
812
|
+
};
|
813
|
+
createdAt: Date;
|
814
|
+
updatedAt: Date;
|
815
|
+
deletedAt: Date | null;
|
816
|
+
channelId: string;
|
817
|
+
socialPlatformId: string;
|
818
|
+
}[] | undefined;
|
731
819
|
activityLogs?: {
|
732
820
|
id: string;
|
733
821
|
description: string;
|
@@ -837,6 +925,21 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
837
925
|
deletedAt: Date | null;
|
838
926
|
phone: string;
|
839
927
|
}[];
|
928
|
+
platformContacts?: {
|
929
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
930
|
+
id: string;
|
931
|
+
metadata: {
|
932
|
+
id: string;
|
933
|
+
name: string;
|
934
|
+
picture?: string | undefined;
|
935
|
+
additionalCredentials?: any;
|
936
|
+
};
|
937
|
+
createdAt: Date;
|
938
|
+
updatedAt: Date;
|
939
|
+
deletedAt: Date | null;
|
940
|
+
channelId: string;
|
941
|
+
socialPlatformId: string;
|
942
|
+
}[] | undefined;
|
840
943
|
activityLogs?: {
|
841
944
|
id: string;
|
842
945
|
description: string;
|
@@ -948,6 +1051,21 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
948
1051
|
deletedAt: Date | null;
|
949
1052
|
phone: string;
|
950
1053
|
}[];
|
1054
|
+
platformContacts?: {
|
1055
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1056
|
+
id: string;
|
1057
|
+
metadata: {
|
1058
|
+
id: string;
|
1059
|
+
name: string;
|
1060
|
+
picture?: string | undefined;
|
1061
|
+
additionalCredentials?: any;
|
1062
|
+
};
|
1063
|
+
createdAt: Date;
|
1064
|
+
updatedAt: Date;
|
1065
|
+
deletedAt: Date | null;
|
1066
|
+
channelId: string;
|
1067
|
+
socialPlatformId: string;
|
1068
|
+
}[] | undefined;
|
951
1069
|
activityLogs?: {
|
952
1070
|
id: string;
|
953
1071
|
description: string;
|
@@ -1206,6 +1324,59 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1206
1324
|
phone?: string | null | undefined;
|
1207
1325
|
industry?: string | null | undefined;
|
1208
1326
|
}>>;
|
1327
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1328
|
+
id: z.ZodString;
|
1329
|
+
createdAt: z.ZodDate;
|
1330
|
+
updatedAt: z.ZodDate;
|
1331
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1332
|
+
channelId: z.ZodString;
|
1333
|
+
socialPlatformId: z.ZodString;
|
1334
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
1335
|
+
metadata: z.ZodObject<{
|
1336
|
+
id: z.ZodString;
|
1337
|
+
name: z.ZodString;
|
1338
|
+
picture: z.ZodOptional<z.ZodString>;
|
1339
|
+
additionalCredentials: z.ZodAny;
|
1340
|
+
}, "strip", z.ZodTypeAny, {
|
1341
|
+
id: string;
|
1342
|
+
name: string;
|
1343
|
+
picture?: string | undefined;
|
1344
|
+
additionalCredentials?: any;
|
1345
|
+
}, {
|
1346
|
+
id: string;
|
1347
|
+
name: string;
|
1348
|
+
picture?: string | undefined;
|
1349
|
+
additionalCredentials?: any;
|
1350
|
+
}>;
|
1351
|
+
}, "strip", z.ZodTypeAny, {
|
1352
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1353
|
+
id: string;
|
1354
|
+
metadata: {
|
1355
|
+
id: string;
|
1356
|
+
name: string;
|
1357
|
+
picture?: string | undefined;
|
1358
|
+
additionalCredentials?: any;
|
1359
|
+
};
|
1360
|
+
createdAt: Date;
|
1361
|
+
updatedAt: Date;
|
1362
|
+
deletedAt: Date | null;
|
1363
|
+
channelId: string;
|
1364
|
+
socialPlatformId: string;
|
1365
|
+
}, {
|
1366
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1367
|
+
id: string;
|
1368
|
+
metadata: {
|
1369
|
+
id: string;
|
1370
|
+
name: string;
|
1371
|
+
picture?: string | undefined;
|
1372
|
+
additionalCredentials?: any;
|
1373
|
+
};
|
1374
|
+
createdAt: Date;
|
1375
|
+
updatedAt: Date;
|
1376
|
+
deletedAt: Date | null;
|
1377
|
+
channelId: string;
|
1378
|
+
socialPlatformId: string;
|
1379
|
+
}>, "many">>;
|
1209
1380
|
customFields: z.ZodArray<z.ZodObject<{
|
1210
1381
|
id: z.ZodString;
|
1211
1382
|
createdAt: z.ZodDate;
|
@@ -1405,6 +1576,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1405
1576
|
id: z.ZodString;
|
1406
1577
|
createdAt: z.ZodDate;
|
1407
1578
|
updatedAt: z.ZodDate;
|
1579
|
+
/**
|
1580
|
+
* Message Type Enum
|
1581
|
+
*/
|
1408
1582
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1409
1583
|
email: z.ZodString;
|
1410
1584
|
isPrimary: z.ZodBoolean;
|
@@ -1446,7 +1620,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1446
1620
|
phone: string;
|
1447
1621
|
}>, "many">;
|
1448
1622
|
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1449
|
-
id: z.ZodString;
|
1623
|
+
id: z.ZodString; /**
|
1624
|
+
* Channel metadata
|
1625
|
+
*/
|
1450
1626
|
createdAt: z.ZodDate;
|
1451
1627
|
updatedAt: z.ZodDate;
|
1452
1628
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -1585,6 +1761,21 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1585
1761
|
deletedAt: Date | null;
|
1586
1762
|
phone: string;
|
1587
1763
|
}[];
|
1764
|
+
platformContacts?: {
|
1765
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1766
|
+
id: string;
|
1767
|
+
metadata: {
|
1768
|
+
id: string;
|
1769
|
+
name: string;
|
1770
|
+
picture?: string | undefined;
|
1771
|
+
additionalCredentials?: any;
|
1772
|
+
};
|
1773
|
+
createdAt: Date;
|
1774
|
+
updatedAt: Date;
|
1775
|
+
deletedAt: Date | null;
|
1776
|
+
channelId: string;
|
1777
|
+
socialPlatformId: string;
|
1778
|
+
}[] | undefined;
|
1588
1779
|
activityLogs?: {
|
1589
1780
|
id: string;
|
1590
1781
|
description: string;
|
@@ -1681,6 +1872,21 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1681
1872
|
deletedAt: Date | null;
|
1682
1873
|
phone: string;
|
1683
1874
|
}[];
|
1875
|
+
platformContacts?: {
|
1876
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1877
|
+
id: string;
|
1878
|
+
metadata: {
|
1879
|
+
id: string;
|
1880
|
+
name: string;
|
1881
|
+
picture?: string | undefined;
|
1882
|
+
additionalCredentials?: any;
|
1883
|
+
};
|
1884
|
+
createdAt: Date;
|
1885
|
+
updatedAt: Date;
|
1886
|
+
deletedAt: Date | null;
|
1887
|
+
channelId: string;
|
1888
|
+
socialPlatformId: string;
|
1889
|
+
}[] | undefined;
|
1684
1890
|
activityLogs?: {
|
1685
1891
|
id: string;
|
1686
1892
|
description: string;
|
@@ -1790,6 +1996,21 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1790
1996
|
deletedAt: Date | null;
|
1791
1997
|
phone: string;
|
1792
1998
|
}[];
|
1999
|
+
platformContacts?: {
|
2000
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2001
|
+
id: string;
|
2002
|
+
metadata: {
|
2003
|
+
id: string;
|
2004
|
+
name: string;
|
2005
|
+
picture?: string | undefined;
|
2006
|
+
additionalCredentials?: any;
|
2007
|
+
};
|
2008
|
+
createdAt: Date;
|
2009
|
+
updatedAt: Date;
|
2010
|
+
deletedAt: Date | null;
|
2011
|
+
channelId: string;
|
2012
|
+
socialPlatformId: string;
|
2013
|
+
}[] | undefined;
|
1793
2014
|
activityLogs?: {
|
1794
2015
|
id: string;
|
1795
2016
|
description: string;
|
@@ -1901,6 +2122,21 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1901
2122
|
deletedAt: Date | null;
|
1902
2123
|
phone: string;
|
1903
2124
|
}[];
|
2125
|
+
platformContacts?: {
|
2126
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2127
|
+
id: string;
|
2128
|
+
metadata: {
|
2129
|
+
id: string;
|
2130
|
+
name: string;
|
2131
|
+
picture?: string | undefined;
|
2132
|
+
additionalCredentials?: any;
|
2133
|
+
};
|
2134
|
+
createdAt: Date;
|
2135
|
+
updatedAt: Date;
|
2136
|
+
deletedAt: Date | null;
|
2137
|
+
channelId: string;
|
2138
|
+
socialPlatformId: string;
|
2139
|
+
}[] | undefined;
|
1904
2140
|
activityLogs?: {
|
1905
2141
|
id: string;
|
1906
2142
|
description: string;
|
@@ -3438,6 +3674,21 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3438
3674
|
deletedAt: Date | null;
|
3439
3675
|
phone: string;
|
3440
3676
|
}[];
|
3677
|
+
platformContacts?: {
|
3678
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3679
|
+
id: string;
|
3680
|
+
metadata: {
|
3681
|
+
id: string;
|
3682
|
+
name: string;
|
3683
|
+
picture?: string | undefined;
|
3684
|
+
additionalCredentials?: any;
|
3685
|
+
};
|
3686
|
+
createdAt: Date;
|
3687
|
+
updatedAt: Date;
|
3688
|
+
deletedAt: Date | null;
|
3689
|
+
channelId: string;
|
3690
|
+
socialPlatformId: string;
|
3691
|
+
}[] | undefined;
|
3441
3692
|
activityLogs?: {
|
3442
3693
|
id: string;
|
3443
3694
|
description: string;
|
@@ -3810,6 +4061,21 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3810
4061
|
deletedAt: Date | null;
|
3811
4062
|
phone: string;
|
3812
4063
|
}[];
|
4064
|
+
platformContacts?: {
|
4065
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4066
|
+
id: string;
|
4067
|
+
metadata: {
|
4068
|
+
id: string;
|
4069
|
+
name: string;
|
4070
|
+
picture?: string | undefined;
|
4071
|
+
additionalCredentials?: any;
|
4072
|
+
};
|
4073
|
+
createdAt: Date;
|
4074
|
+
updatedAt: Date;
|
4075
|
+
deletedAt: Date | null;
|
4076
|
+
channelId: string;
|
4077
|
+
socialPlatformId: string;
|
4078
|
+
}[] | undefined;
|
3813
4079
|
activityLogs?: {
|
3814
4080
|
id: string;
|
3815
4081
|
description: string;
|
@@ -4830,6 +5096,59 @@ export declare const QueueRoomSchema: z.ZodObject<{
|
|
4830
5096
|
phone?: string | null | undefined;
|
4831
5097
|
industry?: string | null | undefined;
|
4832
5098
|
}>>;
|
5099
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
5100
|
+
id: z.ZodString;
|
5101
|
+
createdAt: z.ZodDate;
|
5102
|
+
updatedAt: z.ZodDate;
|
5103
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5104
|
+
channelId: z.ZodString;
|
5105
|
+
socialPlatformId: z.ZodString;
|
5106
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
5107
|
+
metadata: z.ZodObject<{
|
5108
|
+
id: z.ZodString;
|
5109
|
+
name: z.ZodString;
|
5110
|
+
picture: z.ZodOptional<z.ZodString>;
|
5111
|
+
additionalCredentials: z.ZodAny;
|
5112
|
+
}, "strip", z.ZodTypeAny, {
|
5113
|
+
id: string;
|
5114
|
+
name: string;
|
5115
|
+
picture?: string | undefined;
|
5116
|
+
additionalCredentials?: any;
|
5117
|
+
}, {
|
5118
|
+
id: string;
|
5119
|
+
name: string;
|
5120
|
+
picture?: string | undefined;
|
5121
|
+
additionalCredentials?: any;
|
5122
|
+
}>;
|
5123
|
+
}, "strip", z.ZodTypeAny, {
|
5124
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5125
|
+
id: string;
|
5126
|
+
metadata: {
|
5127
|
+
id: string;
|
5128
|
+
name: string;
|
5129
|
+
picture?: string | undefined;
|
5130
|
+
additionalCredentials?: any;
|
5131
|
+
};
|
5132
|
+
createdAt: Date;
|
5133
|
+
updatedAt: Date;
|
5134
|
+
deletedAt: Date | null;
|
5135
|
+
channelId: string;
|
5136
|
+
socialPlatformId: string;
|
5137
|
+
}, {
|
5138
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5139
|
+
id: string;
|
5140
|
+
metadata: {
|
5141
|
+
id: string;
|
5142
|
+
name: string;
|
5143
|
+
picture?: string | undefined;
|
5144
|
+
additionalCredentials?: any;
|
5145
|
+
};
|
5146
|
+
createdAt: Date;
|
5147
|
+
updatedAt: Date;
|
5148
|
+
deletedAt: Date | null;
|
5149
|
+
channelId: string;
|
5150
|
+
socialPlatformId: string;
|
5151
|
+
}>, "many">>;
|
4833
5152
|
customFields: z.ZodArray<z.ZodObject<{
|
4834
5153
|
id: z.ZodString;
|
4835
5154
|
createdAt: z.ZodDate;
|
@@ -5029,6 +5348,9 @@ export declare const QueueRoomSchema: z.ZodObject<{
|
|
5029
5348
|
id: z.ZodString;
|
5030
5349
|
createdAt: z.ZodDate;
|
5031
5350
|
updatedAt: z.ZodDate;
|
5351
|
+
/**
|
5352
|
+
* Message Type Enum
|
5353
|
+
*/
|
5032
5354
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5033
5355
|
email: z.ZodString;
|
5034
5356
|
isPrimary: z.ZodBoolean;
|
@@ -5070,7 +5392,9 @@ export declare const QueueRoomSchema: z.ZodObject<{
|
|
5070
5392
|
phone: string;
|
5071
5393
|
}>, "many">;
|
5072
5394
|
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
5073
|
-
id: z.ZodString;
|
5395
|
+
id: z.ZodString; /**
|
5396
|
+
* Channel metadata
|
5397
|
+
*/
|
5074
5398
|
createdAt: z.ZodDate;
|
5075
5399
|
updatedAt: z.ZodDate;
|
5076
5400
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -5209,6 +5533,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
|
|
5209
5533
|
deletedAt: Date | null;
|
5210
5534
|
phone: string;
|
5211
5535
|
}[];
|
5536
|
+
platformContacts?: {
|
5537
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5538
|
+
id: string;
|
5539
|
+
metadata: {
|
5540
|
+
id: string;
|
5541
|
+
name: string;
|
5542
|
+
picture?: string | undefined;
|
5543
|
+
additionalCredentials?: any;
|
5544
|
+
};
|
5545
|
+
createdAt: Date;
|
5546
|
+
updatedAt: Date;
|
5547
|
+
deletedAt: Date | null;
|
5548
|
+
channelId: string;
|
5549
|
+
socialPlatformId: string;
|
5550
|
+
}[] | undefined;
|
5212
5551
|
activityLogs?: {
|
5213
5552
|
id: string;
|
5214
5553
|
description: string;
|
@@ -5305,6 +5644,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
|
|
5305
5644
|
deletedAt: Date | null;
|
5306
5645
|
phone: string;
|
5307
5646
|
}[];
|
5647
|
+
platformContacts?: {
|
5648
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5649
|
+
id: string;
|
5650
|
+
metadata: {
|
5651
|
+
id: string;
|
5652
|
+
name: string;
|
5653
|
+
picture?: string | undefined;
|
5654
|
+
additionalCredentials?: any;
|
5655
|
+
};
|
5656
|
+
createdAt: Date;
|
5657
|
+
updatedAt: Date;
|
5658
|
+
deletedAt: Date | null;
|
5659
|
+
channelId: string;
|
5660
|
+
socialPlatformId: string;
|
5661
|
+
}[] | undefined;
|
5308
5662
|
activityLogs?: {
|
5309
5663
|
id: string;
|
5310
5664
|
description: string;
|
@@ -5414,6 +5768,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
|
|
5414
5768
|
deletedAt: Date | null;
|
5415
5769
|
phone: string;
|
5416
5770
|
}[];
|
5771
|
+
platformContacts?: {
|
5772
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5773
|
+
id: string;
|
5774
|
+
metadata: {
|
5775
|
+
id: string;
|
5776
|
+
name: string;
|
5777
|
+
picture?: string | undefined;
|
5778
|
+
additionalCredentials?: any;
|
5779
|
+
};
|
5780
|
+
createdAt: Date;
|
5781
|
+
updatedAt: Date;
|
5782
|
+
deletedAt: Date | null;
|
5783
|
+
channelId: string;
|
5784
|
+
socialPlatformId: string;
|
5785
|
+
}[] | undefined;
|
5417
5786
|
activityLogs?: {
|
5418
5787
|
id: string;
|
5419
5788
|
description: string;
|
@@ -5525,6 +5894,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
|
|
5525
5894
|
deletedAt: Date | null;
|
5526
5895
|
phone: string;
|
5527
5896
|
}[];
|
5897
|
+
platformContacts?: {
|
5898
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5899
|
+
id: string;
|
5900
|
+
metadata: {
|
5901
|
+
id: string;
|
5902
|
+
name: string;
|
5903
|
+
picture?: string | undefined;
|
5904
|
+
additionalCredentials?: any;
|
5905
|
+
};
|
5906
|
+
createdAt: Date;
|
5907
|
+
updatedAt: Date;
|
5908
|
+
deletedAt: Date | null;
|
5909
|
+
channelId: string;
|
5910
|
+
socialPlatformId: string;
|
5911
|
+
}[] | undefined;
|
5528
5912
|
activityLogs?: {
|
5529
5913
|
id: string;
|
5530
5914
|
description: string;
|
@@ -6424,6 +6808,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
|
|
6424
6808
|
deletedAt: Date | null;
|
6425
6809
|
phone: string;
|
6426
6810
|
}[];
|
6811
|
+
platformContacts?: {
|
6812
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6813
|
+
id: string;
|
6814
|
+
metadata: {
|
6815
|
+
id: string;
|
6816
|
+
name: string;
|
6817
|
+
picture?: string | undefined;
|
6818
|
+
additionalCredentials?: any;
|
6819
|
+
};
|
6820
|
+
createdAt: Date;
|
6821
|
+
updatedAt: Date;
|
6822
|
+
deletedAt: Date | null;
|
6823
|
+
channelId: string;
|
6824
|
+
socialPlatformId: string;
|
6825
|
+
}[] | undefined;
|
6427
6826
|
activityLogs?: {
|
6428
6827
|
id: string;
|
6429
6828
|
description: string;
|
@@ -6797,6 +7196,21 @@ export declare const QueueRoomSchema: z.ZodObject<{
|
|
6797
7196
|
deletedAt: Date | null;
|
6798
7197
|
phone: string;
|
6799
7198
|
}[];
|
7199
|
+
platformContacts?: {
|
7200
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7201
|
+
id: string;
|
7202
|
+
metadata: {
|
7203
|
+
id: string;
|
7204
|
+
name: string;
|
7205
|
+
picture?: string | undefined;
|
7206
|
+
additionalCredentials?: any;
|
7207
|
+
};
|
7208
|
+
createdAt: Date;
|
7209
|
+
updatedAt: Date;
|
7210
|
+
deletedAt: Date | null;
|
7211
|
+
channelId: string;
|
7212
|
+
socialPlatformId: string;
|
7213
|
+
}[] | undefined;
|
6800
7214
|
activityLogs?: {
|
6801
7215
|
id: string;
|
6802
7216
|
description: string;
|
@@ -7200,6 +7614,59 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7200
7614
|
phone?: string | null | undefined;
|
7201
7615
|
industry?: string | null | undefined;
|
7202
7616
|
}>>;
|
7617
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7618
|
+
id: z.ZodString;
|
7619
|
+
createdAt: z.ZodDate;
|
7620
|
+
updatedAt: z.ZodDate;
|
7621
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
7622
|
+
channelId: z.ZodString;
|
7623
|
+
socialPlatformId: z.ZodString;
|
7624
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
7625
|
+
metadata: z.ZodObject<{
|
7626
|
+
id: z.ZodString;
|
7627
|
+
name: z.ZodString;
|
7628
|
+
picture: z.ZodOptional<z.ZodString>;
|
7629
|
+
additionalCredentials: z.ZodAny;
|
7630
|
+
}, "strip", z.ZodTypeAny, {
|
7631
|
+
id: string;
|
7632
|
+
name: string;
|
7633
|
+
picture?: string | undefined;
|
7634
|
+
additionalCredentials?: any;
|
7635
|
+
}, {
|
7636
|
+
id: string;
|
7637
|
+
name: string;
|
7638
|
+
picture?: string | undefined;
|
7639
|
+
additionalCredentials?: any;
|
7640
|
+
}>;
|
7641
|
+
}, "strip", z.ZodTypeAny, {
|
7642
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7643
|
+
id: string;
|
7644
|
+
metadata: {
|
7645
|
+
id: string;
|
7646
|
+
name: string;
|
7647
|
+
picture?: string | undefined;
|
7648
|
+
additionalCredentials?: any;
|
7649
|
+
};
|
7650
|
+
createdAt: Date;
|
7651
|
+
updatedAt: Date;
|
7652
|
+
deletedAt: Date | null;
|
7653
|
+
channelId: string;
|
7654
|
+
socialPlatformId: string;
|
7655
|
+
}, {
|
7656
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7657
|
+
id: string;
|
7658
|
+
metadata: {
|
7659
|
+
id: string;
|
7660
|
+
name: string;
|
7661
|
+
picture?: string | undefined;
|
7662
|
+
additionalCredentials?: any;
|
7663
|
+
};
|
7664
|
+
createdAt: Date;
|
7665
|
+
updatedAt: Date;
|
7666
|
+
deletedAt: Date | null;
|
7667
|
+
channelId: string;
|
7668
|
+
socialPlatformId: string;
|
7669
|
+
}>, "many">>;
|
7203
7670
|
customFields: z.ZodArray<z.ZodObject<{
|
7204
7671
|
id: z.ZodString;
|
7205
7672
|
createdAt: z.ZodDate;
|
@@ -7399,6 +7866,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7399
7866
|
id: z.ZodString;
|
7400
7867
|
createdAt: z.ZodDate;
|
7401
7868
|
updatedAt: z.ZodDate;
|
7869
|
+
/**
|
7870
|
+
* Message Type Enum
|
7871
|
+
*/
|
7402
7872
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7403
7873
|
email: z.ZodString;
|
7404
7874
|
isPrimary: z.ZodBoolean;
|
@@ -7440,7 +7910,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7440
7910
|
phone: string;
|
7441
7911
|
}>, "many">;
|
7442
7912
|
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7443
|
-
id: z.ZodString;
|
7913
|
+
id: z.ZodString; /**
|
7914
|
+
* Channel metadata
|
7915
|
+
*/
|
7444
7916
|
createdAt: z.ZodDate;
|
7445
7917
|
updatedAt: z.ZodDate;
|
7446
7918
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -7579,6 +8051,21 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7579
8051
|
deletedAt: Date | null;
|
7580
8052
|
phone: string;
|
7581
8053
|
}[];
|
8054
|
+
platformContacts?: {
|
8055
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8056
|
+
id: string;
|
8057
|
+
metadata: {
|
8058
|
+
id: string;
|
8059
|
+
name: string;
|
8060
|
+
picture?: string | undefined;
|
8061
|
+
additionalCredentials?: any;
|
8062
|
+
};
|
8063
|
+
createdAt: Date;
|
8064
|
+
updatedAt: Date;
|
8065
|
+
deletedAt: Date | null;
|
8066
|
+
channelId: string;
|
8067
|
+
socialPlatformId: string;
|
8068
|
+
}[] | undefined;
|
7582
8069
|
activityLogs?: {
|
7583
8070
|
id: string;
|
7584
8071
|
description: string;
|
@@ -7675,6 +8162,21 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7675
8162
|
deletedAt: Date | null;
|
7676
8163
|
phone: string;
|
7677
8164
|
}[];
|
8165
|
+
platformContacts?: {
|
8166
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8167
|
+
id: string;
|
8168
|
+
metadata: {
|
8169
|
+
id: string;
|
8170
|
+
name: string;
|
8171
|
+
picture?: string | undefined;
|
8172
|
+
additionalCredentials?: any;
|
8173
|
+
};
|
8174
|
+
createdAt: Date;
|
8175
|
+
updatedAt: Date;
|
8176
|
+
deletedAt: Date | null;
|
8177
|
+
channelId: string;
|
8178
|
+
socialPlatformId: string;
|
8179
|
+
}[] | undefined;
|
7678
8180
|
activityLogs?: {
|
7679
8181
|
id: string;
|
7680
8182
|
description: string;
|
@@ -7784,6 +8286,21 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7784
8286
|
deletedAt: Date | null;
|
7785
8287
|
phone: string;
|
7786
8288
|
}[];
|
8289
|
+
platformContacts?: {
|
8290
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8291
|
+
id: string;
|
8292
|
+
metadata: {
|
8293
|
+
id: string;
|
8294
|
+
name: string;
|
8295
|
+
picture?: string | undefined;
|
8296
|
+
additionalCredentials?: any;
|
8297
|
+
};
|
8298
|
+
createdAt: Date;
|
8299
|
+
updatedAt: Date;
|
8300
|
+
deletedAt: Date | null;
|
8301
|
+
channelId: string;
|
8302
|
+
socialPlatformId: string;
|
8303
|
+
}[] | undefined;
|
7787
8304
|
activityLogs?: {
|
7788
8305
|
id: string;
|
7789
8306
|
description: string;
|
@@ -7895,6 +8412,21 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7895
8412
|
deletedAt: Date | null;
|
7896
8413
|
phone: string;
|
7897
8414
|
}[];
|
8415
|
+
platformContacts?: {
|
8416
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8417
|
+
id: string;
|
8418
|
+
metadata: {
|
8419
|
+
id: string;
|
8420
|
+
name: string;
|
8421
|
+
picture?: string | undefined;
|
8422
|
+
additionalCredentials?: any;
|
8423
|
+
};
|
8424
|
+
createdAt: Date;
|
8425
|
+
updatedAt: Date;
|
8426
|
+
deletedAt: Date | null;
|
8427
|
+
channelId: string;
|
8428
|
+
socialPlatformId: string;
|
8429
|
+
}[] | undefined;
|
7898
8430
|
activityLogs?: {
|
7899
8431
|
id: string;
|
7900
8432
|
description: string;
|
@@ -9432,6 +9964,21 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9432
9964
|
deletedAt: Date | null;
|
9433
9965
|
phone: string;
|
9434
9966
|
}[];
|
9967
|
+
platformContacts?: {
|
9968
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
9969
|
+
id: string;
|
9970
|
+
metadata: {
|
9971
|
+
id: string;
|
9972
|
+
name: string;
|
9973
|
+
picture?: string | undefined;
|
9974
|
+
additionalCredentials?: any;
|
9975
|
+
};
|
9976
|
+
createdAt: Date;
|
9977
|
+
updatedAt: Date;
|
9978
|
+
deletedAt: Date | null;
|
9979
|
+
channelId: string;
|
9980
|
+
socialPlatformId: string;
|
9981
|
+
}[] | undefined;
|
9435
9982
|
activityLogs?: {
|
9436
9983
|
id: string;
|
9437
9984
|
description: string;
|
@@ -9804,6 +10351,21 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9804
10351
|
deletedAt: Date | null;
|
9805
10352
|
phone: string;
|
9806
10353
|
}[];
|
10354
|
+
platformContacts?: {
|
10355
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
10356
|
+
id: string;
|
10357
|
+
metadata: {
|
10358
|
+
id: string;
|
10359
|
+
name: string;
|
10360
|
+
picture?: string | undefined;
|
10361
|
+
additionalCredentials?: any;
|
10362
|
+
};
|
10363
|
+
createdAt: Date;
|
10364
|
+
updatedAt: Date;
|
10365
|
+
deletedAt: Date | null;
|
10366
|
+
channelId: string;
|
10367
|
+
socialPlatformId: string;
|
10368
|
+
}[] | undefined;
|
9807
10369
|
activityLogs?: {
|
9808
10370
|
id: string;
|
9809
10371
|
description: string;
|
@@ -11949,6 +12511,21 @@ export declare const MessageSchema: z.ZodObject<{
|
|
11949
12511
|
deletedAt: Date | null;
|
11950
12512
|
phone: string;
|
11951
12513
|
}[];
|
12514
|
+
platformContacts?: {
|
12515
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
12516
|
+
id: string;
|
12517
|
+
metadata: {
|
12518
|
+
id: string;
|
12519
|
+
name: string;
|
12520
|
+
picture?: string | undefined;
|
12521
|
+
additionalCredentials?: any;
|
12522
|
+
};
|
12523
|
+
createdAt: Date;
|
12524
|
+
updatedAt: Date;
|
12525
|
+
deletedAt: Date | null;
|
12526
|
+
channelId: string;
|
12527
|
+
socialPlatformId: string;
|
12528
|
+
}[] | undefined;
|
11952
12529
|
activityLogs?: {
|
11953
12530
|
id: string;
|
11954
12531
|
description: string;
|
@@ -12658,6 +13235,21 @@ export declare const MessageSchema: z.ZodObject<{
|
|
12658
13235
|
deletedAt: Date | null;
|
12659
13236
|
phone: string;
|
12660
13237
|
}[];
|
13238
|
+
platformContacts?: {
|
13239
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
13240
|
+
id: string;
|
13241
|
+
metadata: {
|
13242
|
+
id: string;
|
13243
|
+
name: string;
|
13244
|
+
picture?: string | undefined;
|
13245
|
+
additionalCredentials?: any;
|
13246
|
+
};
|
13247
|
+
createdAt: Date;
|
13248
|
+
updatedAt: Date;
|
13249
|
+
deletedAt: Date | null;
|
13250
|
+
channelId: string;
|
13251
|
+
socialPlatformId: string;
|
13252
|
+
}[] | undefined;
|
12661
13253
|
activityLogs?: {
|
12662
13254
|
id: string;
|
12663
13255
|
description: string;
|
@@ -13721,6 +14313,59 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13721
14313
|
phone?: string | null | undefined;
|
13722
14314
|
industry?: string | null | undefined;
|
13723
14315
|
}>>;
|
14316
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
14317
|
+
id: z.ZodString;
|
14318
|
+
createdAt: z.ZodDate;
|
14319
|
+
updatedAt: z.ZodDate;
|
14320
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
14321
|
+
channelId: z.ZodString;
|
14322
|
+
socialPlatformId: z.ZodString;
|
14323
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
14324
|
+
metadata: z.ZodObject<{
|
14325
|
+
id: z.ZodString;
|
14326
|
+
name: z.ZodString;
|
14327
|
+
picture: z.ZodOptional<z.ZodString>;
|
14328
|
+
additionalCredentials: z.ZodAny;
|
14329
|
+
}, "strip", z.ZodTypeAny, {
|
14330
|
+
id: string;
|
14331
|
+
name: string;
|
14332
|
+
picture?: string | undefined;
|
14333
|
+
additionalCredentials?: any;
|
14334
|
+
}, {
|
14335
|
+
id: string;
|
14336
|
+
name: string;
|
14337
|
+
picture?: string | undefined;
|
14338
|
+
additionalCredentials?: any;
|
14339
|
+
}>;
|
14340
|
+
}, "strip", z.ZodTypeAny, {
|
14341
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
14342
|
+
id: string;
|
14343
|
+
metadata: {
|
14344
|
+
id: string;
|
14345
|
+
name: string;
|
14346
|
+
picture?: string | undefined;
|
14347
|
+
additionalCredentials?: any;
|
14348
|
+
};
|
14349
|
+
createdAt: Date;
|
14350
|
+
updatedAt: Date;
|
14351
|
+
deletedAt: Date | null;
|
14352
|
+
channelId: string;
|
14353
|
+
socialPlatformId: string;
|
14354
|
+
}, {
|
14355
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
14356
|
+
id: string;
|
14357
|
+
metadata: {
|
14358
|
+
id: string;
|
14359
|
+
name: string;
|
14360
|
+
picture?: string | undefined;
|
14361
|
+
additionalCredentials?: any;
|
14362
|
+
};
|
14363
|
+
createdAt: Date;
|
14364
|
+
updatedAt: Date;
|
14365
|
+
deletedAt: Date | null;
|
14366
|
+
channelId: string;
|
14367
|
+
socialPlatformId: string;
|
14368
|
+
}>, "many">>;
|
13724
14369
|
customFields: z.ZodArray<z.ZodObject<{
|
13725
14370
|
id: z.ZodString;
|
13726
14371
|
createdAt: z.ZodDate;
|
@@ -13920,6 +14565,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13920
14565
|
id: z.ZodString;
|
13921
14566
|
createdAt: z.ZodDate;
|
13922
14567
|
updatedAt: z.ZodDate;
|
14568
|
+
/**
|
14569
|
+
* Message Type Enum
|
14570
|
+
*/
|
13923
14571
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
13924
14572
|
email: z.ZodString;
|
13925
14573
|
isPrimary: z.ZodBoolean;
|
@@ -13961,7 +14609,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13961
14609
|
phone: string;
|
13962
14610
|
}>, "many">;
|
13963
14611
|
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
13964
|
-
id: z.ZodString;
|
14612
|
+
id: z.ZodString; /**
|
14613
|
+
* Channel metadata
|
14614
|
+
*/
|
13965
14615
|
createdAt: z.ZodDate;
|
13966
14616
|
updatedAt: z.ZodDate;
|
13967
14617
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -14100,6 +14750,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14100
14750
|
deletedAt: Date | null;
|
14101
14751
|
phone: string;
|
14102
14752
|
}[];
|
14753
|
+
platformContacts?: {
|
14754
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
14755
|
+
id: string;
|
14756
|
+
metadata: {
|
14757
|
+
id: string;
|
14758
|
+
name: string;
|
14759
|
+
picture?: string | undefined;
|
14760
|
+
additionalCredentials?: any;
|
14761
|
+
};
|
14762
|
+
createdAt: Date;
|
14763
|
+
updatedAt: Date;
|
14764
|
+
deletedAt: Date | null;
|
14765
|
+
channelId: string;
|
14766
|
+
socialPlatformId: string;
|
14767
|
+
}[] | undefined;
|
14103
14768
|
activityLogs?: {
|
14104
14769
|
id: string;
|
14105
14770
|
description: string;
|
@@ -14196,6 +14861,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14196
14861
|
deletedAt: Date | null;
|
14197
14862
|
phone: string;
|
14198
14863
|
}[];
|
14864
|
+
platformContacts?: {
|
14865
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
14866
|
+
id: string;
|
14867
|
+
metadata: {
|
14868
|
+
id: string;
|
14869
|
+
name: string;
|
14870
|
+
picture?: string | undefined;
|
14871
|
+
additionalCredentials?: any;
|
14872
|
+
};
|
14873
|
+
createdAt: Date;
|
14874
|
+
updatedAt: Date;
|
14875
|
+
deletedAt: Date | null;
|
14876
|
+
channelId: string;
|
14877
|
+
socialPlatformId: string;
|
14878
|
+
}[] | undefined;
|
14199
14879
|
activityLogs?: {
|
14200
14880
|
id: string;
|
14201
14881
|
description: string;
|
@@ -14305,6 +14985,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14305
14985
|
deletedAt: Date | null;
|
14306
14986
|
phone: string;
|
14307
14987
|
}[];
|
14988
|
+
platformContacts?: {
|
14989
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
14990
|
+
id: string;
|
14991
|
+
metadata: {
|
14992
|
+
id: string;
|
14993
|
+
name: string;
|
14994
|
+
picture?: string | undefined;
|
14995
|
+
additionalCredentials?: any;
|
14996
|
+
};
|
14997
|
+
createdAt: Date;
|
14998
|
+
updatedAt: Date;
|
14999
|
+
deletedAt: Date | null;
|
15000
|
+
channelId: string;
|
15001
|
+
socialPlatformId: string;
|
15002
|
+
}[] | undefined;
|
14308
15003
|
activityLogs?: {
|
14309
15004
|
id: string;
|
14310
15005
|
description: string;
|
@@ -14416,6 +15111,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14416
15111
|
deletedAt: Date | null;
|
14417
15112
|
phone: string;
|
14418
15113
|
}[];
|
15114
|
+
platformContacts?: {
|
15115
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
15116
|
+
id: string;
|
15117
|
+
metadata: {
|
15118
|
+
id: string;
|
15119
|
+
name: string;
|
15120
|
+
picture?: string | undefined;
|
15121
|
+
additionalCredentials?: any;
|
15122
|
+
};
|
15123
|
+
createdAt: Date;
|
15124
|
+
updatedAt: Date;
|
15125
|
+
deletedAt: Date | null;
|
15126
|
+
channelId: string;
|
15127
|
+
socialPlatformId: string;
|
15128
|
+
}[] | undefined;
|
14419
15129
|
activityLogs?: {
|
14420
15130
|
id: string;
|
14421
15131
|
description: string;
|
@@ -15953,6 +16663,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
15953
16663
|
deletedAt: Date | null;
|
15954
16664
|
phone: string;
|
15955
16665
|
}[];
|
16666
|
+
platformContacts?: {
|
16667
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
16668
|
+
id: string;
|
16669
|
+
metadata: {
|
16670
|
+
id: string;
|
16671
|
+
name: string;
|
16672
|
+
picture?: string | undefined;
|
16673
|
+
additionalCredentials?: any;
|
16674
|
+
};
|
16675
|
+
createdAt: Date;
|
16676
|
+
updatedAt: Date;
|
16677
|
+
deletedAt: Date | null;
|
16678
|
+
channelId: string;
|
16679
|
+
socialPlatformId: string;
|
16680
|
+
}[] | undefined;
|
15956
16681
|
activityLogs?: {
|
15957
16682
|
id: string;
|
15958
16683
|
description: string;
|
@@ -16325,6 +17050,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16325
17050
|
deletedAt: Date | null;
|
16326
17051
|
phone: string;
|
16327
17052
|
}[];
|
17053
|
+
platformContacts?: {
|
17054
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
17055
|
+
id: string;
|
17056
|
+
metadata: {
|
17057
|
+
id: string;
|
17058
|
+
name: string;
|
17059
|
+
picture?: string | undefined;
|
17060
|
+
additionalCredentials?: any;
|
17061
|
+
};
|
17062
|
+
createdAt: Date;
|
17063
|
+
updatedAt: Date;
|
17064
|
+
deletedAt: Date | null;
|
17065
|
+
channelId: string;
|
17066
|
+
socialPlatformId: string;
|
17067
|
+
}[] | undefined;
|
16328
17068
|
activityLogs?: {
|
16329
17069
|
id: string;
|
16330
17070
|
description: string;
|
@@ -18368,6 +19108,59 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18368
19108
|
phone?: string | null | undefined;
|
18369
19109
|
industry?: string | null | undefined;
|
18370
19110
|
}>>;
|
19111
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
19112
|
+
id: z.ZodString;
|
19113
|
+
createdAt: z.ZodDate;
|
19114
|
+
updatedAt: z.ZodDate;
|
19115
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
19116
|
+
channelId: z.ZodString;
|
19117
|
+
socialPlatformId: z.ZodString;
|
19118
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
19119
|
+
metadata: z.ZodObject<{
|
19120
|
+
id: z.ZodString;
|
19121
|
+
name: z.ZodString;
|
19122
|
+
picture: z.ZodOptional<z.ZodString>;
|
19123
|
+
additionalCredentials: z.ZodAny;
|
19124
|
+
}, "strip", z.ZodTypeAny, {
|
19125
|
+
id: string;
|
19126
|
+
name: string;
|
19127
|
+
picture?: string | undefined;
|
19128
|
+
additionalCredentials?: any;
|
19129
|
+
}, {
|
19130
|
+
id: string;
|
19131
|
+
name: string;
|
19132
|
+
picture?: string | undefined;
|
19133
|
+
additionalCredentials?: any;
|
19134
|
+
}>;
|
19135
|
+
}, "strip", z.ZodTypeAny, {
|
19136
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
19137
|
+
id: string;
|
19138
|
+
metadata: {
|
19139
|
+
id: string;
|
19140
|
+
name: string;
|
19141
|
+
picture?: string | undefined;
|
19142
|
+
additionalCredentials?: any;
|
19143
|
+
};
|
19144
|
+
createdAt: Date;
|
19145
|
+
updatedAt: Date;
|
19146
|
+
deletedAt: Date | null;
|
19147
|
+
channelId: string;
|
19148
|
+
socialPlatformId: string;
|
19149
|
+
}, {
|
19150
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
19151
|
+
id: string;
|
19152
|
+
metadata: {
|
19153
|
+
id: string;
|
19154
|
+
name: string;
|
19155
|
+
picture?: string | undefined;
|
19156
|
+
additionalCredentials?: any;
|
19157
|
+
};
|
19158
|
+
createdAt: Date;
|
19159
|
+
updatedAt: Date;
|
19160
|
+
deletedAt: Date | null;
|
19161
|
+
channelId: string;
|
19162
|
+
socialPlatformId: string;
|
19163
|
+
}>, "many">>;
|
18371
19164
|
customFields: z.ZodArray<z.ZodObject<{
|
18372
19165
|
id: z.ZodString;
|
18373
19166
|
createdAt: z.ZodDate;
|
@@ -18567,6 +19360,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18567
19360
|
id: z.ZodString;
|
18568
19361
|
createdAt: z.ZodDate;
|
18569
19362
|
updatedAt: z.ZodDate;
|
19363
|
+
/**
|
19364
|
+
* Message Type Enum
|
19365
|
+
*/
|
18570
19366
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
18571
19367
|
email: z.ZodString;
|
18572
19368
|
isPrimary: z.ZodBoolean;
|
@@ -18608,7 +19404,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18608
19404
|
phone: string;
|
18609
19405
|
}>, "many">;
|
18610
19406
|
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
18611
|
-
id: z.ZodString;
|
19407
|
+
id: z.ZodString; /**
|
19408
|
+
* Channel metadata
|
19409
|
+
*/
|
18612
19410
|
createdAt: z.ZodDate;
|
18613
19411
|
updatedAt: z.ZodDate;
|
18614
19412
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -18747,6 +19545,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18747
19545
|
deletedAt: Date | null;
|
18748
19546
|
phone: string;
|
18749
19547
|
}[];
|
19548
|
+
platformContacts?: {
|
19549
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
19550
|
+
id: string;
|
19551
|
+
metadata: {
|
19552
|
+
id: string;
|
19553
|
+
name: string;
|
19554
|
+
picture?: string | undefined;
|
19555
|
+
additionalCredentials?: any;
|
19556
|
+
};
|
19557
|
+
createdAt: Date;
|
19558
|
+
updatedAt: Date;
|
19559
|
+
deletedAt: Date | null;
|
19560
|
+
channelId: string;
|
19561
|
+
socialPlatformId: string;
|
19562
|
+
}[] | undefined;
|
18750
19563
|
activityLogs?: {
|
18751
19564
|
id: string;
|
18752
19565
|
description: string;
|
@@ -18843,6 +19656,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18843
19656
|
deletedAt: Date | null;
|
18844
19657
|
phone: string;
|
18845
19658
|
}[];
|
19659
|
+
platformContacts?: {
|
19660
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
19661
|
+
id: string;
|
19662
|
+
metadata: {
|
19663
|
+
id: string;
|
19664
|
+
name: string;
|
19665
|
+
picture?: string | undefined;
|
19666
|
+
additionalCredentials?: any;
|
19667
|
+
};
|
19668
|
+
createdAt: Date;
|
19669
|
+
updatedAt: Date;
|
19670
|
+
deletedAt: Date | null;
|
19671
|
+
channelId: string;
|
19672
|
+
socialPlatformId: string;
|
19673
|
+
}[] | undefined;
|
18846
19674
|
activityLogs?: {
|
18847
19675
|
id: string;
|
18848
19676
|
description: string;
|
@@ -18952,6 +19780,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18952
19780
|
deletedAt: Date | null;
|
18953
19781
|
phone: string;
|
18954
19782
|
}[];
|
19783
|
+
platformContacts?: {
|
19784
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
19785
|
+
id: string;
|
19786
|
+
metadata: {
|
19787
|
+
id: string;
|
19788
|
+
name: string;
|
19789
|
+
picture?: string | undefined;
|
19790
|
+
additionalCredentials?: any;
|
19791
|
+
};
|
19792
|
+
createdAt: Date;
|
19793
|
+
updatedAt: Date;
|
19794
|
+
deletedAt: Date | null;
|
19795
|
+
channelId: string;
|
19796
|
+
socialPlatformId: string;
|
19797
|
+
}[] | undefined;
|
18955
19798
|
activityLogs?: {
|
18956
19799
|
id: string;
|
18957
19800
|
description: string;
|
@@ -19063,6 +19906,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19063
19906
|
deletedAt: Date | null;
|
19064
19907
|
phone: string;
|
19065
19908
|
}[];
|
19909
|
+
platformContacts?: {
|
19910
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
19911
|
+
id: string;
|
19912
|
+
metadata: {
|
19913
|
+
id: string;
|
19914
|
+
name: string;
|
19915
|
+
picture?: string | undefined;
|
19916
|
+
additionalCredentials?: any;
|
19917
|
+
};
|
19918
|
+
createdAt: Date;
|
19919
|
+
updatedAt: Date;
|
19920
|
+
deletedAt: Date | null;
|
19921
|
+
channelId: string;
|
19922
|
+
socialPlatformId: string;
|
19923
|
+
}[] | undefined;
|
19066
19924
|
activityLogs?: {
|
19067
19925
|
id: string;
|
19068
19926
|
description: string;
|
@@ -19511,6 +20369,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19511
20369
|
deletedAt: Date | null;
|
19512
20370
|
phone: string;
|
19513
20371
|
}[];
|
20372
|
+
platformContacts?: {
|
20373
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
20374
|
+
id: string;
|
20375
|
+
metadata: {
|
20376
|
+
id: string;
|
20377
|
+
name: string;
|
20378
|
+
picture?: string | undefined;
|
20379
|
+
additionalCredentials?: any;
|
20380
|
+
};
|
20381
|
+
createdAt: Date;
|
20382
|
+
updatedAt: Date;
|
20383
|
+
deletedAt: Date | null;
|
20384
|
+
channelId: string;
|
20385
|
+
socialPlatformId: string;
|
20386
|
+
}[] | undefined;
|
19514
20387
|
activityLogs?: {
|
19515
20388
|
id: string;
|
19516
20389
|
description: string;
|
@@ -19760,6 +20633,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19760
20633
|
deletedAt: Date | null;
|
19761
20634
|
phone: string;
|
19762
20635
|
}[];
|
20636
|
+
platformContacts?: {
|
20637
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
20638
|
+
id: string;
|
20639
|
+
metadata: {
|
20640
|
+
id: string;
|
20641
|
+
name: string;
|
20642
|
+
picture?: string | undefined;
|
20643
|
+
additionalCredentials?: any;
|
20644
|
+
};
|
20645
|
+
createdAt: Date;
|
20646
|
+
updatedAt: Date;
|
20647
|
+
deletedAt: Date | null;
|
20648
|
+
channelId: string;
|
20649
|
+
socialPlatformId: string;
|
20650
|
+
}[] | undefined;
|
19763
20651
|
activityLogs?: {
|
19764
20652
|
id: string;
|
19765
20653
|
description: string;
|
@@ -20126,6 +21014,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
20126
21014
|
deletedAt: Date | null;
|
20127
21015
|
phone: string;
|
20128
21016
|
}[];
|
21017
|
+
platformContacts?: {
|
21018
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
21019
|
+
id: string;
|
21020
|
+
metadata: {
|
21021
|
+
id: string;
|
21022
|
+
name: string;
|
21023
|
+
picture?: string | undefined;
|
21024
|
+
additionalCredentials?: any;
|
21025
|
+
};
|
21026
|
+
createdAt: Date;
|
21027
|
+
updatedAt: Date;
|
21028
|
+
deletedAt: Date | null;
|
21029
|
+
channelId: string;
|
21030
|
+
socialPlatformId: string;
|
21031
|
+
}[] | undefined;
|
20129
21032
|
activityLogs?: {
|
20130
21033
|
id: string;
|
20131
21034
|
description: string;
|
@@ -20719,6 +21622,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
20719
21622
|
deletedAt: Date | null;
|
20720
21623
|
phone: string;
|
20721
21624
|
}[];
|
21625
|
+
platformContacts?: {
|
21626
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
21627
|
+
id: string;
|
21628
|
+
metadata: {
|
21629
|
+
id: string;
|
21630
|
+
name: string;
|
21631
|
+
picture?: string | undefined;
|
21632
|
+
additionalCredentials?: any;
|
21633
|
+
};
|
21634
|
+
createdAt: Date;
|
21635
|
+
updatedAt: Date;
|
21636
|
+
deletedAt: Date | null;
|
21637
|
+
channelId: string;
|
21638
|
+
socialPlatformId: string;
|
21639
|
+
}[] | undefined;
|
20722
21640
|
activityLogs?: {
|
20723
21641
|
id: string;
|
20724
21642
|
description: string;
|
@@ -21088,6 +22006,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
21088
22006
|
deletedAt: Date | null;
|
21089
22007
|
phone: string;
|
21090
22008
|
}[];
|
22009
|
+
platformContacts?: {
|
22010
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
22011
|
+
id: string;
|
22012
|
+
metadata: {
|
22013
|
+
id: string;
|
22014
|
+
name: string;
|
22015
|
+
picture?: string | undefined;
|
22016
|
+
additionalCredentials?: any;
|
22017
|
+
};
|
22018
|
+
createdAt: Date;
|
22019
|
+
updatedAt: Date;
|
22020
|
+
deletedAt: Date | null;
|
22021
|
+
channelId: string;
|
22022
|
+
socialPlatformId: string;
|
22023
|
+
}[] | undefined;
|
21091
22024
|
activityLogs?: {
|
21092
22025
|
id: string;
|
21093
22026
|
description: string;
|
@@ -21681,6 +22614,21 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
21681
22614
|
deletedAt: Date | null;
|
21682
22615
|
phone: string;
|
21683
22616
|
}[];
|
22617
|
+
platformContacts?: {
|
22618
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
22619
|
+
id: string;
|
22620
|
+
metadata: {
|
22621
|
+
id: string;
|
22622
|
+
name: string;
|
22623
|
+
picture?: string | undefined;
|
22624
|
+
additionalCredentials?: any;
|
22625
|
+
};
|
22626
|
+
createdAt: Date;
|
22627
|
+
updatedAt: Date;
|
22628
|
+
deletedAt: Date | null;
|
22629
|
+
channelId: string;
|
22630
|
+
socialPlatformId: string;
|
22631
|
+
}[] | undefined;
|
21684
22632
|
activityLogs?: {
|
21685
22633
|
id: string;
|
21686
22634
|
description: string;
|
@@ -23406,6 +24354,59 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23406
24354
|
phone?: string | null | undefined;
|
23407
24355
|
industry?: string | null | undefined;
|
23408
24356
|
}>>;
|
24357
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
24358
|
+
id: z.ZodString;
|
24359
|
+
createdAt: z.ZodDate;
|
24360
|
+
updatedAt: z.ZodDate;
|
24361
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
24362
|
+
channelId: z.ZodString;
|
24363
|
+
socialPlatformId: z.ZodString;
|
24364
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
24365
|
+
metadata: z.ZodObject<{
|
24366
|
+
id: z.ZodString;
|
24367
|
+
name: z.ZodString;
|
24368
|
+
picture: z.ZodOptional<z.ZodString>;
|
24369
|
+
additionalCredentials: z.ZodAny;
|
24370
|
+
}, "strip", z.ZodTypeAny, {
|
24371
|
+
id: string;
|
24372
|
+
name: string;
|
24373
|
+
picture?: string | undefined;
|
24374
|
+
additionalCredentials?: any;
|
24375
|
+
}, {
|
24376
|
+
id: string;
|
24377
|
+
name: string;
|
24378
|
+
picture?: string | undefined;
|
24379
|
+
additionalCredentials?: any;
|
24380
|
+
}>;
|
24381
|
+
}, "strip", z.ZodTypeAny, {
|
24382
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
24383
|
+
id: string;
|
24384
|
+
metadata: {
|
24385
|
+
id: string;
|
24386
|
+
name: string;
|
24387
|
+
picture?: string | undefined;
|
24388
|
+
additionalCredentials?: any;
|
24389
|
+
};
|
24390
|
+
createdAt: Date;
|
24391
|
+
updatedAt: Date;
|
24392
|
+
deletedAt: Date | null;
|
24393
|
+
channelId: string;
|
24394
|
+
socialPlatformId: string;
|
24395
|
+
}, {
|
24396
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
24397
|
+
id: string;
|
24398
|
+
metadata: {
|
24399
|
+
id: string;
|
24400
|
+
name: string;
|
24401
|
+
picture?: string | undefined;
|
24402
|
+
additionalCredentials?: any;
|
24403
|
+
};
|
24404
|
+
createdAt: Date;
|
24405
|
+
updatedAt: Date;
|
24406
|
+
deletedAt: Date | null;
|
24407
|
+
channelId: string;
|
24408
|
+
socialPlatformId: string;
|
24409
|
+
}>, "many">>;
|
23409
24410
|
customFields: z.ZodArray<z.ZodObject<{
|
23410
24411
|
id: z.ZodString;
|
23411
24412
|
createdAt: z.ZodDate;
|
@@ -23605,6 +24606,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23605
24606
|
id: z.ZodString;
|
23606
24607
|
createdAt: z.ZodDate;
|
23607
24608
|
updatedAt: z.ZodDate;
|
24609
|
+
/**
|
24610
|
+
* Message Type Enum
|
24611
|
+
*/
|
23608
24612
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
23609
24613
|
email: z.ZodString;
|
23610
24614
|
isPrimary: z.ZodBoolean;
|
@@ -23646,7 +24650,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23646
24650
|
phone: string;
|
23647
24651
|
}>, "many">;
|
23648
24652
|
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
23649
|
-
id: z.ZodString;
|
24653
|
+
id: z.ZodString; /**
|
24654
|
+
* Channel metadata
|
24655
|
+
*/
|
23650
24656
|
createdAt: z.ZodDate;
|
23651
24657
|
updatedAt: z.ZodDate;
|
23652
24658
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -23785,6 +24791,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23785
24791
|
deletedAt: Date | null;
|
23786
24792
|
phone: string;
|
23787
24793
|
}[];
|
24794
|
+
platformContacts?: {
|
24795
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
24796
|
+
id: string;
|
24797
|
+
metadata: {
|
24798
|
+
id: string;
|
24799
|
+
name: string;
|
24800
|
+
picture?: string | undefined;
|
24801
|
+
additionalCredentials?: any;
|
24802
|
+
};
|
24803
|
+
createdAt: Date;
|
24804
|
+
updatedAt: Date;
|
24805
|
+
deletedAt: Date | null;
|
24806
|
+
channelId: string;
|
24807
|
+
socialPlatformId: string;
|
24808
|
+
}[] | undefined;
|
23788
24809
|
activityLogs?: {
|
23789
24810
|
id: string;
|
23790
24811
|
description: string;
|
@@ -23881,6 +24902,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23881
24902
|
deletedAt: Date | null;
|
23882
24903
|
phone: string;
|
23883
24904
|
}[];
|
24905
|
+
platformContacts?: {
|
24906
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
24907
|
+
id: string;
|
24908
|
+
metadata: {
|
24909
|
+
id: string;
|
24910
|
+
name: string;
|
24911
|
+
picture?: string | undefined;
|
24912
|
+
additionalCredentials?: any;
|
24913
|
+
};
|
24914
|
+
createdAt: Date;
|
24915
|
+
updatedAt: Date;
|
24916
|
+
deletedAt: Date | null;
|
24917
|
+
channelId: string;
|
24918
|
+
socialPlatformId: string;
|
24919
|
+
}[] | undefined;
|
23884
24920
|
activityLogs?: {
|
23885
24921
|
id: string;
|
23886
24922
|
description: string;
|
@@ -23990,6 +25026,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23990
25026
|
deletedAt: Date | null;
|
23991
25027
|
phone: string;
|
23992
25028
|
}[];
|
25029
|
+
platformContacts?: {
|
25030
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
25031
|
+
id: string;
|
25032
|
+
metadata: {
|
25033
|
+
id: string;
|
25034
|
+
name: string;
|
25035
|
+
picture?: string | undefined;
|
25036
|
+
additionalCredentials?: any;
|
25037
|
+
};
|
25038
|
+
createdAt: Date;
|
25039
|
+
updatedAt: Date;
|
25040
|
+
deletedAt: Date | null;
|
25041
|
+
channelId: string;
|
25042
|
+
socialPlatformId: string;
|
25043
|
+
}[] | undefined;
|
23993
25044
|
activityLogs?: {
|
23994
25045
|
id: string;
|
23995
25046
|
description: string;
|
@@ -24101,6 +25152,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24101
25152
|
deletedAt: Date | null;
|
24102
25153
|
phone: string;
|
24103
25154
|
}[];
|
25155
|
+
platformContacts?: {
|
25156
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
25157
|
+
id: string;
|
25158
|
+
metadata: {
|
25159
|
+
id: string;
|
25160
|
+
name: string;
|
25161
|
+
picture?: string | undefined;
|
25162
|
+
additionalCredentials?: any;
|
25163
|
+
};
|
25164
|
+
createdAt: Date;
|
25165
|
+
updatedAt: Date;
|
25166
|
+
deletedAt: Date | null;
|
25167
|
+
channelId: string;
|
25168
|
+
socialPlatformId: string;
|
25169
|
+
}[] | undefined;
|
24104
25170
|
activityLogs?: {
|
24105
25171
|
id: string;
|
24106
25172
|
description: string;
|
@@ -25638,6 +26704,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25638
26704
|
deletedAt: Date | null;
|
25639
26705
|
phone: string;
|
25640
26706
|
}[];
|
26707
|
+
platformContacts?: {
|
26708
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
26709
|
+
id: string;
|
26710
|
+
metadata: {
|
26711
|
+
id: string;
|
26712
|
+
name: string;
|
26713
|
+
picture?: string | undefined;
|
26714
|
+
additionalCredentials?: any;
|
26715
|
+
};
|
26716
|
+
createdAt: Date;
|
26717
|
+
updatedAt: Date;
|
26718
|
+
deletedAt: Date | null;
|
26719
|
+
channelId: string;
|
26720
|
+
socialPlatformId: string;
|
26721
|
+
}[] | undefined;
|
25641
26722
|
activityLogs?: {
|
25642
26723
|
id: string;
|
25643
26724
|
description: string;
|
@@ -26010,6 +27091,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
26010
27091
|
deletedAt: Date | null;
|
26011
27092
|
phone: string;
|
26012
27093
|
}[];
|
27094
|
+
platformContacts?: {
|
27095
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
27096
|
+
id: string;
|
27097
|
+
metadata: {
|
27098
|
+
id: string;
|
27099
|
+
name: string;
|
27100
|
+
picture?: string | undefined;
|
27101
|
+
additionalCredentials?: any;
|
27102
|
+
};
|
27103
|
+
createdAt: Date;
|
27104
|
+
updatedAt: Date;
|
27105
|
+
deletedAt: Date | null;
|
27106
|
+
channelId: string;
|
27107
|
+
socialPlatformId: string;
|
27108
|
+
}[] | undefined;
|
26013
27109
|
activityLogs?: {
|
26014
27110
|
id: string;
|
26015
27111
|
description: string;
|
@@ -27600,6 +28696,59 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
27600
28696
|
phone?: string | null | undefined;
|
27601
28697
|
industry?: string | null | undefined;
|
27602
28698
|
}>>;
|
28699
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
28700
|
+
id: z.ZodString;
|
28701
|
+
createdAt: z.ZodDate;
|
28702
|
+
updatedAt: z.ZodDate;
|
28703
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
28704
|
+
channelId: z.ZodString;
|
28705
|
+
socialPlatformId: z.ZodString;
|
28706
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
28707
|
+
metadata: z.ZodObject<{
|
28708
|
+
id: z.ZodString;
|
28709
|
+
name: z.ZodString;
|
28710
|
+
picture: z.ZodOptional<z.ZodString>;
|
28711
|
+
additionalCredentials: z.ZodAny;
|
28712
|
+
}, "strip", z.ZodTypeAny, {
|
28713
|
+
id: string;
|
28714
|
+
name: string;
|
28715
|
+
picture?: string | undefined;
|
28716
|
+
additionalCredentials?: any;
|
28717
|
+
}, {
|
28718
|
+
id: string;
|
28719
|
+
name: string;
|
28720
|
+
picture?: string | undefined;
|
28721
|
+
additionalCredentials?: any;
|
28722
|
+
}>;
|
28723
|
+
}, "strip", z.ZodTypeAny, {
|
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
|
+
}, {
|
28738
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
28739
|
+
id: string;
|
28740
|
+
metadata: {
|
28741
|
+
id: string;
|
28742
|
+
name: string;
|
28743
|
+
picture?: string | undefined;
|
28744
|
+
additionalCredentials?: any;
|
28745
|
+
};
|
28746
|
+
createdAt: Date;
|
28747
|
+
updatedAt: Date;
|
28748
|
+
deletedAt: Date | null;
|
28749
|
+
channelId: string;
|
28750
|
+
socialPlatformId: string;
|
28751
|
+
}>, "many">>;
|
27603
28752
|
customFields: z.ZodArray<z.ZodObject<{
|
27604
28753
|
id: z.ZodString;
|
27605
28754
|
createdAt: z.ZodDate;
|
@@ -27799,6 +28948,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
27799
28948
|
id: z.ZodString;
|
27800
28949
|
createdAt: z.ZodDate;
|
27801
28950
|
updatedAt: z.ZodDate;
|
28951
|
+
/**
|
28952
|
+
* Message Type Enum
|
28953
|
+
*/
|
27802
28954
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
27803
28955
|
email: z.ZodString;
|
27804
28956
|
isPrimary: z.ZodBoolean;
|
@@ -27840,7 +28992,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
27840
28992
|
phone: string;
|
27841
28993
|
}>, "many">;
|
27842
28994
|
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
27843
|
-
id: z.ZodString;
|
28995
|
+
id: z.ZodString; /**
|
28996
|
+
* Channel metadata
|
28997
|
+
*/
|
27844
28998
|
createdAt: z.ZodDate;
|
27845
28999
|
updatedAt: z.ZodDate;
|
27846
29000
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -27979,6 +29133,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
27979
29133
|
deletedAt: Date | null;
|
27980
29134
|
phone: string;
|
27981
29135
|
}[];
|
29136
|
+
platformContacts?: {
|
29137
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
29138
|
+
id: string;
|
29139
|
+
metadata: {
|
29140
|
+
id: string;
|
29141
|
+
name: string;
|
29142
|
+
picture?: string | undefined;
|
29143
|
+
additionalCredentials?: any;
|
29144
|
+
};
|
29145
|
+
createdAt: Date;
|
29146
|
+
updatedAt: Date;
|
29147
|
+
deletedAt: Date | null;
|
29148
|
+
channelId: string;
|
29149
|
+
socialPlatformId: string;
|
29150
|
+
}[] | undefined;
|
27982
29151
|
activityLogs?: {
|
27983
29152
|
id: string;
|
27984
29153
|
description: string;
|
@@ -28075,6 +29244,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28075
29244
|
deletedAt: Date | null;
|
28076
29245
|
phone: string;
|
28077
29246
|
}[];
|
29247
|
+
platformContacts?: {
|
29248
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
29249
|
+
id: string;
|
29250
|
+
metadata: {
|
29251
|
+
id: string;
|
29252
|
+
name: string;
|
29253
|
+
picture?: string | undefined;
|
29254
|
+
additionalCredentials?: any;
|
29255
|
+
};
|
29256
|
+
createdAt: Date;
|
29257
|
+
updatedAt: Date;
|
29258
|
+
deletedAt: Date | null;
|
29259
|
+
channelId: string;
|
29260
|
+
socialPlatformId: string;
|
29261
|
+
}[] | undefined;
|
28078
29262
|
activityLogs?: {
|
28079
29263
|
id: string;
|
28080
29264
|
description: string;
|
@@ -28184,6 +29368,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28184
29368
|
deletedAt: Date | null;
|
28185
29369
|
phone: string;
|
28186
29370
|
}[];
|
29371
|
+
platformContacts?: {
|
29372
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
29373
|
+
id: string;
|
29374
|
+
metadata: {
|
29375
|
+
id: string;
|
29376
|
+
name: string;
|
29377
|
+
picture?: string | undefined;
|
29378
|
+
additionalCredentials?: any;
|
29379
|
+
};
|
29380
|
+
createdAt: Date;
|
29381
|
+
updatedAt: Date;
|
29382
|
+
deletedAt: Date | null;
|
29383
|
+
channelId: string;
|
29384
|
+
socialPlatformId: string;
|
29385
|
+
}[] | undefined;
|
28187
29386
|
activityLogs?: {
|
28188
29387
|
id: string;
|
28189
29388
|
description: string;
|
@@ -28295,6 +29494,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28295
29494
|
deletedAt: Date | null;
|
28296
29495
|
phone: string;
|
28297
29496
|
}[];
|
29497
|
+
platformContacts?: {
|
29498
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
29499
|
+
id: string;
|
29500
|
+
metadata: {
|
29501
|
+
id: string;
|
29502
|
+
name: string;
|
29503
|
+
picture?: string | undefined;
|
29504
|
+
additionalCredentials?: any;
|
29505
|
+
};
|
29506
|
+
createdAt: Date;
|
29507
|
+
updatedAt: Date;
|
29508
|
+
deletedAt: Date | null;
|
29509
|
+
channelId: string;
|
29510
|
+
socialPlatformId: string;
|
29511
|
+
}[] | undefined;
|
28298
29512
|
activityLogs?: {
|
28299
29513
|
id: string;
|
28300
29514
|
description: string;
|
@@ -28568,6 +29782,59 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28568
29782
|
phone?: string | null | undefined;
|
28569
29783
|
industry?: string | null | undefined;
|
28570
29784
|
}>>;
|
29785
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
29786
|
+
id: z.ZodString;
|
29787
|
+
createdAt: z.ZodDate;
|
29788
|
+
updatedAt: z.ZodDate;
|
29789
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
29790
|
+
channelId: z.ZodString;
|
29791
|
+
socialPlatformId: z.ZodString;
|
29792
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
29793
|
+
metadata: z.ZodObject<{
|
29794
|
+
id: z.ZodString;
|
29795
|
+
name: z.ZodString;
|
29796
|
+
picture: z.ZodOptional<z.ZodString>;
|
29797
|
+
additionalCredentials: z.ZodAny;
|
29798
|
+
}, "strip", z.ZodTypeAny, {
|
29799
|
+
id: string;
|
29800
|
+
name: string;
|
29801
|
+
picture?: string | undefined;
|
29802
|
+
additionalCredentials?: any;
|
29803
|
+
}, {
|
29804
|
+
id: string;
|
29805
|
+
name: string;
|
29806
|
+
picture?: string | undefined;
|
29807
|
+
additionalCredentials?: any;
|
29808
|
+
}>;
|
29809
|
+
}, "strip", z.ZodTypeAny, {
|
29810
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
29811
|
+
id: string;
|
29812
|
+
metadata: {
|
29813
|
+
id: string;
|
29814
|
+
name: string;
|
29815
|
+
picture?: string | undefined;
|
29816
|
+
additionalCredentials?: any;
|
29817
|
+
};
|
29818
|
+
createdAt: Date;
|
29819
|
+
updatedAt: Date;
|
29820
|
+
deletedAt: Date | null;
|
29821
|
+
channelId: string;
|
29822
|
+
socialPlatformId: string;
|
29823
|
+
}, {
|
29824
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
29825
|
+
id: string;
|
29826
|
+
metadata: {
|
29827
|
+
id: string;
|
29828
|
+
name: string;
|
29829
|
+
picture?: string | undefined;
|
29830
|
+
additionalCredentials?: any;
|
29831
|
+
};
|
29832
|
+
createdAt: Date;
|
29833
|
+
updatedAt: Date;
|
29834
|
+
deletedAt: Date | null;
|
29835
|
+
channelId: string;
|
29836
|
+
socialPlatformId: string;
|
29837
|
+
}>, "many">>;
|
28571
29838
|
customFields: z.ZodArray<z.ZodObject<{
|
28572
29839
|
id: z.ZodString;
|
28573
29840
|
createdAt: z.ZodDate;
|
@@ -28767,6 +30034,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28767
30034
|
id: z.ZodString;
|
28768
30035
|
createdAt: z.ZodDate;
|
28769
30036
|
updatedAt: z.ZodDate;
|
30037
|
+
/**
|
30038
|
+
* Message Type Enum
|
30039
|
+
*/
|
28770
30040
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
28771
30041
|
email: z.ZodString;
|
28772
30042
|
isPrimary: z.ZodBoolean;
|
@@ -28808,7 +30078,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28808
30078
|
phone: string;
|
28809
30079
|
}>, "many">;
|
28810
30080
|
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
28811
|
-
id: z.ZodString;
|
30081
|
+
id: z.ZodString; /**
|
30082
|
+
* Channel metadata
|
30083
|
+
*/
|
28812
30084
|
createdAt: z.ZodDate;
|
28813
30085
|
updatedAt: z.ZodDate;
|
28814
30086
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -28947,6 +30219,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28947
30219
|
deletedAt: Date | null;
|
28948
30220
|
phone: string;
|
28949
30221
|
}[];
|
30222
|
+
platformContacts?: {
|
30223
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
30224
|
+
id: string;
|
30225
|
+
metadata: {
|
30226
|
+
id: string;
|
30227
|
+
name: string;
|
30228
|
+
picture?: string | undefined;
|
30229
|
+
additionalCredentials?: any;
|
30230
|
+
};
|
30231
|
+
createdAt: Date;
|
30232
|
+
updatedAt: Date;
|
30233
|
+
deletedAt: Date | null;
|
30234
|
+
channelId: string;
|
30235
|
+
socialPlatformId: string;
|
30236
|
+
}[] | undefined;
|
28950
30237
|
activityLogs?: {
|
28951
30238
|
id: string;
|
28952
30239
|
description: string;
|
@@ -29043,6 +30330,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29043
30330
|
deletedAt: Date | null;
|
29044
30331
|
phone: string;
|
29045
30332
|
}[];
|
30333
|
+
platformContacts?: {
|
30334
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
30335
|
+
id: string;
|
30336
|
+
metadata: {
|
30337
|
+
id: string;
|
30338
|
+
name: string;
|
30339
|
+
picture?: string | undefined;
|
30340
|
+
additionalCredentials?: any;
|
30341
|
+
};
|
30342
|
+
createdAt: Date;
|
30343
|
+
updatedAt: Date;
|
30344
|
+
deletedAt: Date | null;
|
30345
|
+
channelId: string;
|
30346
|
+
socialPlatformId: string;
|
30347
|
+
}[] | undefined;
|
29046
30348
|
activityLogs?: {
|
29047
30349
|
id: string;
|
29048
30350
|
description: string;
|
@@ -29152,6 +30454,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29152
30454
|
deletedAt: Date | null;
|
29153
30455
|
phone: string;
|
29154
30456
|
}[];
|
30457
|
+
platformContacts?: {
|
30458
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
30459
|
+
id: string;
|
30460
|
+
metadata: {
|
30461
|
+
id: string;
|
30462
|
+
name: string;
|
30463
|
+
picture?: string | undefined;
|
30464
|
+
additionalCredentials?: any;
|
30465
|
+
};
|
30466
|
+
createdAt: Date;
|
30467
|
+
updatedAt: Date;
|
30468
|
+
deletedAt: Date | null;
|
30469
|
+
channelId: string;
|
30470
|
+
socialPlatformId: string;
|
30471
|
+
}[] | undefined;
|
29155
30472
|
activityLogs?: {
|
29156
30473
|
id: string;
|
29157
30474
|
description: string;
|
@@ -29263,6 +30580,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29263
30580
|
deletedAt: Date | null;
|
29264
30581
|
phone: string;
|
29265
30582
|
}[];
|
30583
|
+
platformContacts?: {
|
30584
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
30585
|
+
id: string;
|
30586
|
+
metadata: {
|
30587
|
+
id: string;
|
30588
|
+
name: string;
|
30589
|
+
picture?: string | undefined;
|
30590
|
+
additionalCredentials?: any;
|
30591
|
+
};
|
30592
|
+
createdAt: Date;
|
30593
|
+
updatedAt: Date;
|
30594
|
+
deletedAt: Date | null;
|
30595
|
+
channelId: string;
|
30596
|
+
socialPlatformId: string;
|
30597
|
+
}[] | undefined;
|
29266
30598
|
activityLogs?: {
|
29267
30599
|
id: string;
|
29268
30600
|
description: string;
|
@@ -30800,6 +32132,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30800
32132
|
deletedAt: Date | null;
|
30801
32133
|
phone: string;
|
30802
32134
|
}[];
|
32135
|
+
platformContacts?: {
|
32136
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
32137
|
+
id: string;
|
32138
|
+
metadata: {
|
32139
|
+
id: string;
|
32140
|
+
name: string;
|
32141
|
+
picture?: string | undefined;
|
32142
|
+
additionalCredentials?: any;
|
32143
|
+
};
|
32144
|
+
createdAt: Date;
|
32145
|
+
updatedAt: Date;
|
32146
|
+
deletedAt: Date | null;
|
32147
|
+
channelId: string;
|
32148
|
+
socialPlatformId: string;
|
32149
|
+
}[] | undefined;
|
30803
32150
|
activityLogs?: {
|
30804
32151
|
id: string;
|
30805
32152
|
description: string;
|
@@ -31172,6 +32519,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
31172
32519
|
deletedAt: Date | null;
|
31173
32520
|
phone: string;
|
31174
32521
|
}[];
|
32522
|
+
platformContacts?: {
|
32523
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
32524
|
+
id: string;
|
32525
|
+
metadata: {
|
32526
|
+
id: string;
|
32527
|
+
name: string;
|
32528
|
+
picture?: string | undefined;
|
32529
|
+
additionalCredentials?: any;
|
32530
|
+
};
|
32531
|
+
createdAt: Date;
|
32532
|
+
updatedAt: Date;
|
32533
|
+
deletedAt: Date | null;
|
32534
|
+
channelId: string;
|
32535
|
+
socialPlatformId: string;
|
32536
|
+
}[] | undefined;
|
31175
32537
|
activityLogs?: {
|
31176
32538
|
id: string;
|
31177
32539
|
description: string;
|
@@ -33317,6 +34679,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33317
34679
|
deletedAt: Date | null;
|
33318
34680
|
phone: string;
|
33319
34681
|
}[];
|
34682
|
+
platformContacts?: {
|
34683
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
34684
|
+
id: string;
|
34685
|
+
metadata: {
|
34686
|
+
id: string;
|
34687
|
+
name: string;
|
34688
|
+
picture?: string | undefined;
|
34689
|
+
additionalCredentials?: any;
|
34690
|
+
};
|
34691
|
+
createdAt: Date;
|
34692
|
+
updatedAt: Date;
|
34693
|
+
deletedAt: Date | null;
|
34694
|
+
channelId: string;
|
34695
|
+
socialPlatformId: string;
|
34696
|
+
}[] | undefined;
|
33320
34697
|
activityLogs?: {
|
33321
34698
|
id: string;
|
33322
34699
|
description: string;
|
@@ -34026,6 +35403,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34026
35403
|
deletedAt: Date | null;
|
34027
35404
|
phone: string;
|
34028
35405
|
}[];
|
35406
|
+
platformContacts?: {
|
35407
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
35408
|
+
id: string;
|
35409
|
+
metadata: {
|
35410
|
+
id: string;
|
35411
|
+
name: string;
|
35412
|
+
picture?: string | undefined;
|
35413
|
+
additionalCredentials?: any;
|
35414
|
+
};
|
35415
|
+
createdAt: Date;
|
35416
|
+
updatedAt: Date;
|
35417
|
+
deletedAt: Date | null;
|
35418
|
+
channelId: string;
|
35419
|
+
socialPlatformId: string;
|
35420
|
+
}[] | undefined;
|
34029
35421
|
activityLogs?: {
|
34030
35422
|
id: string;
|
34031
35423
|
description: string;
|
@@ -34742,6 +36134,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34742
36134
|
deletedAt: Date | null;
|
34743
36135
|
phone: string;
|
34744
36136
|
}[];
|
36137
|
+
platformContacts?: {
|
36138
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
36139
|
+
id: string;
|
36140
|
+
metadata: {
|
36141
|
+
id: string;
|
36142
|
+
name: string;
|
36143
|
+
picture?: string | undefined;
|
36144
|
+
additionalCredentials?: any;
|
36145
|
+
};
|
36146
|
+
createdAt: Date;
|
36147
|
+
updatedAt: Date;
|
36148
|
+
deletedAt: Date | null;
|
36149
|
+
channelId: string;
|
36150
|
+
socialPlatformId: string;
|
36151
|
+
}[] | undefined;
|
34745
36152
|
activityLogs?: {
|
34746
36153
|
id: string;
|
34747
36154
|
description: string;
|
@@ -35446,6 +36853,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35446
36853
|
deletedAt: Date | null;
|
35447
36854
|
phone: string;
|
35448
36855
|
}[];
|
36856
|
+
platformContacts?: {
|
36857
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
36858
|
+
id: string;
|
36859
|
+
metadata: {
|
36860
|
+
id: string;
|
36861
|
+
name: string;
|
36862
|
+
picture?: string | undefined;
|
36863
|
+
additionalCredentials?: any;
|
36864
|
+
};
|
36865
|
+
createdAt: Date;
|
36866
|
+
updatedAt: Date;
|
36867
|
+
deletedAt: Date | null;
|
36868
|
+
channelId: string;
|
36869
|
+
socialPlatformId: string;
|
36870
|
+
}[] | undefined;
|
35449
36871
|
activityLogs?: {
|
35450
36872
|
id: string;
|
35451
36873
|
description: string;
|
@@ -35907,6 +37329,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35907
37329
|
deletedAt: Date | null;
|
35908
37330
|
phone: string;
|
35909
37331
|
}[];
|
37332
|
+
platformContacts?: {
|
37333
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
37334
|
+
id: string;
|
37335
|
+
metadata: {
|
37336
|
+
id: string;
|
37337
|
+
name: string;
|
37338
|
+
picture?: string | undefined;
|
37339
|
+
additionalCredentials?: any;
|
37340
|
+
};
|
37341
|
+
createdAt: Date;
|
37342
|
+
updatedAt: Date;
|
37343
|
+
deletedAt: Date | null;
|
37344
|
+
channelId: string;
|
37345
|
+
socialPlatformId: string;
|
37346
|
+
}[] | undefined;
|
35910
37347
|
activityLogs?: {
|
35911
37348
|
id: string;
|
35912
37349
|
description: string;
|
@@ -36273,6 +37710,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36273
37710
|
deletedAt: Date | null;
|
36274
37711
|
phone: string;
|
36275
37712
|
}[];
|
37713
|
+
platformContacts?: {
|
37714
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
37715
|
+
id: string;
|
37716
|
+
metadata: {
|
37717
|
+
id: string;
|
37718
|
+
name: string;
|
37719
|
+
picture?: string | undefined;
|
37720
|
+
additionalCredentials?: any;
|
37721
|
+
};
|
37722
|
+
createdAt: Date;
|
37723
|
+
updatedAt: Date;
|
37724
|
+
deletedAt: Date | null;
|
37725
|
+
channelId: string;
|
37726
|
+
socialPlatformId: string;
|
37727
|
+
}[] | undefined;
|
36276
37728
|
activityLogs?: {
|
36277
37729
|
id: string;
|
36278
37730
|
description: string;
|
@@ -36977,6 +38429,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36977
38429
|
deletedAt: Date | null;
|
36978
38430
|
phone: string;
|
36979
38431
|
}[];
|
38432
|
+
platformContacts?: {
|
38433
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
38434
|
+
id: string;
|
38435
|
+
metadata: {
|
38436
|
+
id: string;
|
38437
|
+
name: string;
|
38438
|
+
picture?: string | undefined;
|
38439
|
+
additionalCredentials?: any;
|
38440
|
+
};
|
38441
|
+
createdAt: Date;
|
38442
|
+
updatedAt: Date;
|
38443
|
+
deletedAt: Date | null;
|
38444
|
+
channelId: string;
|
38445
|
+
socialPlatformId: string;
|
38446
|
+
}[] | undefined;
|
36980
38447
|
activityLogs?: {
|
36981
38448
|
id: string;
|
36982
38449
|
description: string;
|
@@ -37438,6 +38905,21 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
37438
38905
|
deletedAt: Date | null;
|
37439
38906
|
phone: string;
|
37440
38907
|
}[];
|
38908
|
+
platformContacts?: {
|
38909
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
38910
|
+
id: string;
|
38911
|
+
metadata: {
|
38912
|
+
id: string;
|
38913
|
+
name: string;
|
38914
|
+
picture?: string | undefined;
|
38915
|
+
additionalCredentials?: any;
|
38916
|
+
};
|
38917
|
+
createdAt: Date;
|
38918
|
+
updatedAt: Date;
|
38919
|
+
deletedAt: Date | null;
|
38920
|
+
channelId: string;
|
38921
|
+
socialPlatformId: string;
|
38922
|
+
}[] | undefined;
|
37441
38923
|
activityLogs?: {
|
37442
38924
|
id: string;
|
37443
38925
|
description: string;
|