@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.
- package/dist/api-contracts/src/call-log/validation.d.ts +2 -2
- package/dist/api-contracts/src/chat/index.d.ts +6511 -2021
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +1495 -31
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +439 -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 +63 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +63 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -11,6 +11,8 @@ export type CreateContactByPhoneResponse = z.infer<typeof ContactContractValidat
|
|
11
11
|
export type GetAllContactRequest = z.infer<typeof ContactContractValidationSchema.getAll.request>;
|
12
12
|
export type FilterContactsRequest = z.infer<typeof ContactContractValidationSchema.filterContacts.request>;
|
13
13
|
export type AddAttachmentsToContactRequest = z.infer<typeof ContactContractValidationSchema.addAttachments.request>;
|
14
|
+
export type CreatePlatformContactRequest = z.infer<typeof ContactContractValidationSchema.createContactPlatform.request>;
|
15
|
+
export type CreatePlatformContactResponse = z.infer<typeof ContactContractValidationSchema.createContactPlatform.response>;
|
14
16
|
export type UpdateContactRequest = Partial<CreateContactRequest>;
|
15
17
|
export type UpdateContactFromOngoingCallRequest = Partial<z.infer<typeof ContactContractValidationSchema.updateFromOngoingCall.request>>;
|
16
18
|
export type MergeContactsRequest = z.infer<typeof ContactContractValidationSchema.merge.request>;
|
@@ -323,6 +325,59 @@ export declare const contactContract: {
|
|
323
325
|
phone?: string | null | undefined;
|
324
326
|
industry?: string | null | undefined;
|
325
327
|
}>>;
|
328
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
329
|
+
id: z.ZodString;
|
330
|
+
createdAt: z.ZodDate;
|
331
|
+
updatedAt: z.ZodDate;
|
332
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
333
|
+
channelId: z.ZodString;
|
334
|
+
socialPlatformId: z.ZodString;
|
335
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
336
|
+
metadata: z.ZodObject<{
|
337
|
+
id: z.ZodString;
|
338
|
+
name: z.ZodString;
|
339
|
+
picture: z.ZodOptional<z.ZodString>;
|
340
|
+
additionalCredentials: z.ZodAny;
|
341
|
+
}, "strip", z.ZodTypeAny, {
|
342
|
+
id: string;
|
343
|
+
name: string;
|
344
|
+
picture?: string | undefined;
|
345
|
+
additionalCredentials?: any;
|
346
|
+
}, {
|
347
|
+
id: string;
|
348
|
+
name: string;
|
349
|
+
picture?: string | undefined;
|
350
|
+
additionalCredentials?: any;
|
351
|
+
}>;
|
352
|
+
}, "strip", z.ZodTypeAny, {
|
353
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
354
|
+
id: string;
|
355
|
+
metadata: {
|
356
|
+
id: string;
|
357
|
+
name: string;
|
358
|
+
picture?: string | undefined;
|
359
|
+
additionalCredentials?: any;
|
360
|
+
};
|
361
|
+
createdAt: Date;
|
362
|
+
updatedAt: Date;
|
363
|
+
deletedAt: Date | null;
|
364
|
+
channelId: string;
|
365
|
+
socialPlatformId: string;
|
366
|
+
}, {
|
367
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
368
|
+
id: string;
|
369
|
+
metadata: {
|
370
|
+
id: string;
|
371
|
+
name: string;
|
372
|
+
picture?: string | undefined;
|
373
|
+
additionalCredentials?: any;
|
374
|
+
};
|
375
|
+
createdAt: Date;
|
376
|
+
updatedAt: Date;
|
377
|
+
deletedAt: Date | null;
|
378
|
+
channelId: string;
|
379
|
+
socialPlatformId: string;
|
380
|
+
}>, "many">>;
|
326
381
|
customFields: z.ZodArray<z.ZodObject<{
|
327
382
|
id: z.ZodString;
|
328
383
|
createdAt: z.ZodDate;
|
@@ -702,6 +757,21 @@ export declare const contactContract: {
|
|
702
757
|
deletedAt: Date | null;
|
703
758
|
phone: string;
|
704
759
|
}[];
|
760
|
+
platformContacts?: {
|
761
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
762
|
+
id: string;
|
763
|
+
metadata: {
|
764
|
+
id: string;
|
765
|
+
name: string;
|
766
|
+
picture?: string | undefined;
|
767
|
+
additionalCredentials?: any;
|
768
|
+
};
|
769
|
+
createdAt: Date;
|
770
|
+
updatedAt: Date;
|
771
|
+
deletedAt: Date | null;
|
772
|
+
channelId: string;
|
773
|
+
socialPlatformId: string;
|
774
|
+
}[] | undefined;
|
705
775
|
activityLogs?: {
|
706
776
|
id: string;
|
707
777
|
description: string;
|
@@ -798,6 +868,21 @@ export declare const contactContract: {
|
|
798
868
|
deletedAt: Date | null;
|
799
869
|
phone: string;
|
800
870
|
}[];
|
871
|
+
platformContacts?: {
|
872
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
873
|
+
id: string;
|
874
|
+
metadata: {
|
875
|
+
id: string;
|
876
|
+
name: string;
|
877
|
+
picture?: string | undefined;
|
878
|
+
additionalCredentials?: any;
|
879
|
+
};
|
880
|
+
createdAt: Date;
|
881
|
+
updatedAt: Date;
|
882
|
+
deletedAt: Date | null;
|
883
|
+
channelId: string;
|
884
|
+
socialPlatformId: string;
|
885
|
+
}[] | undefined;
|
801
886
|
activityLogs?: {
|
802
887
|
id: string;
|
803
888
|
description: string;
|
@@ -896,6 +981,21 @@ export declare const contactContract: {
|
|
896
981
|
deletedAt: Date | null;
|
897
982
|
phone: string;
|
898
983
|
}[];
|
984
|
+
platformContacts?: {
|
985
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
986
|
+
id: string;
|
987
|
+
metadata: {
|
988
|
+
id: string;
|
989
|
+
name: string;
|
990
|
+
picture?: string | undefined;
|
991
|
+
additionalCredentials?: any;
|
992
|
+
};
|
993
|
+
createdAt: Date;
|
994
|
+
updatedAt: Date;
|
995
|
+
deletedAt: Date | null;
|
996
|
+
channelId: string;
|
997
|
+
socialPlatformId: string;
|
998
|
+
}[] | undefined;
|
899
999
|
activityLogs?: {
|
900
1000
|
id: string;
|
901
1001
|
description: string;
|
@@ -995,6 +1095,21 @@ export declare const contactContract: {
|
|
995
1095
|
deletedAt: Date | null;
|
996
1096
|
phone: string;
|
997
1097
|
}[];
|
1098
|
+
platformContacts?: {
|
1099
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1100
|
+
id: string;
|
1101
|
+
metadata: {
|
1102
|
+
id: string;
|
1103
|
+
name: string;
|
1104
|
+
picture?: string | undefined;
|
1105
|
+
additionalCredentials?: any;
|
1106
|
+
};
|
1107
|
+
createdAt: Date;
|
1108
|
+
updatedAt: Date;
|
1109
|
+
deletedAt: Date | null;
|
1110
|
+
channelId: string;
|
1111
|
+
socialPlatformId: string;
|
1112
|
+
}[] | undefined;
|
998
1113
|
activityLogs?: {
|
999
1114
|
id: string;
|
1000
1115
|
description: string;
|
@@ -1352,6 +1467,59 @@ export declare const contactContract: {
|
|
1352
1467
|
phone?: string | null | undefined;
|
1353
1468
|
industry?: string | null | undefined;
|
1354
1469
|
}>>;
|
1470
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1471
|
+
id: z.ZodString;
|
1472
|
+
createdAt: z.ZodDate;
|
1473
|
+
updatedAt: z.ZodDate;
|
1474
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1475
|
+
channelId: z.ZodString;
|
1476
|
+
socialPlatformId: z.ZodString;
|
1477
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
1478
|
+
metadata: z.ZodObject<{
|
1479
|
+
id: z.ZodString;
|
1480
|
+
name: z.ZodString;
|
1481
|
+
picture: z.ZodOptional<z.ZodString>;
|
1482
|
+
additionalCredentials: z.ZodAny;
|
1483
|
+
}, "strip", z.ZodTypeAny, {
|
1484
|
+
id: string;
|
1485
|
+
name: string;
|
1486
|
+
picture?: string | undefined;
|
1487
|
+
additionalCredentials?: any;
|
1488
|
+
}, {
|
1489
|
+
id: string;
|
1490
|
+
name: string;
|
1491
|
+
picture?: string | undefined;
|
1492
|
+
additionalCredentials?: any;
|
1493
|
+
}>;
|
1494
|
+
}, "strip", z.ZodTypeAny, {
|
1495
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1496
|
+
id: string;
|
1497
|
+
metadata: {
|
1498
|
+
id: string;
|
1499
|
+
name: string;
|
1500
|
+
picture?: string | undefined;
|
1501
|
+
additionalCredentials?: any;
|
1502
|
+
};
|
1503
|
+
createdAt: Date;
|
1504
|
+
updatedAt: Date;
|
1505
|
+
deletedAt: Date | null;
|
1506
|
+
channelId: string;
|
1507
|
+
socialPlatformId: string;
|
1508
|
+
}, {
|
1509
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1510
|
+
id: string;
|
1511
|
+
metadata: {
|
1512
|
+
id: string;
|
1513
|
+
name: string;
|
1514
|
+
picture?: string | undefined;
|
1515
|
+
additionalCredentials?: any;
|
1516
|
+
};
|
1517
|
+
createdAt: Date;
|
1518
|
+
updatedAt: Date;
|
1519
|
+
deletedAt: Date | null;
|
1520
|
+
channelId: string;
|
1521
|
+
socialPlatformId: string;
|
1522
|
+
}>, "many">>;
|
1355
1523
|
customFields: z.ZodArray<z.ZodObject<{
|
1356
1524
|
id: z.ZodString;
|
1357
1525
|
createdAt: z.ZodDate;
|
@@ -1731,6 +1899,21 @@ export declare const contactContract: {
|
|
1731
1899
|
deletedAt: Date | null;
|
1732
1900
|
phone: string;
|
1733
1901
|
}[];
|
1902
|
+
platformContacts?: {
|
1903
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1904
|
+
id: string;
|
1905
|
+
metadata: {
|
1906
|
+
id: string;
|
1907
|
+
name: string;
|
1908
|
+
picture?: string | undefined;
|
1909
|
+
additionalCredentials?: any;
|
1910
|
+
};
|
1911
|
+
createdAt: Date;
|
1912
|
+
updatedAt: Date;
|
1913
|
+
deletedAt: Date | null;
|
1914
|
+
channelId: string;
|
1915
|
+
socialPlatformId: string;
|
1916
|
+
}[] | undefined;
|
1734
1917
|
activityLogs?: {
|
1735
1918
|
id: string;
|
1736
1919
|
description: string;
|
@@ -1827,6 +2010,21 @@ export declare const contactContract: {
|
|
1827
2010
|
deletedAt: Date | null;
|
1828
2011
|
phone: string;
|
1829
2012
|
}[];
|
2013
|
+
platformContacts?: {
|
2014
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2015
|
+
id: string;
|
2016
|
+
metadata: {
|
2017
|
+
id: string;
|
2018
|
+
name: string;
|
2019
|
+
picture?: string | undefined;
|
2020
|
+
additionalCredentials?: any;
|
2021
|
+
};
|
2022
|
+
createdAt: Date;
|
2023
|
+
updatedAt: Date;
|
2024
|
+
deletedAt: Date | null;
|
2025
|
+
channelId: string;
|
2026
|
+
socialPlatformId: string;
|
2027
|
+
}[] | undefined;
|
1830
2028
|
activityLogs?: {
|
1831
2029
|
id: string;
|
1832
2030
|
description: string;
|
@@ -1925,6 +2123,21 @@ export declare const contactContract: {
|
|
1925
2123
|
deletedAt: Date | null;
|
1926
2124
|
phone: string;
|
1927
2125
|
}[];
|
2126
|
+
platformContacts?: {
|
2127
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2128
|
+
id: string;
|
2129
|
+
metadata: {
|
2130
|
+
id: string;
|
2131
|
+
name: string;
|
2132
|
+
picture?: string | undefined;
|
2133
|
+
additionalCredentials?: any;
|
2134
|
+
};
|
2135
|
+
createdAt: Date;
|
2136
|
+
updatedAt: Date;
|
2137
|
+
deletedAt: Date | null;
|
2138
|
+
channelId: string;
|
2139
|
+
socialPlatformId: string;
|
2140
|
+
}[] | undefined;
|
1928
2141
|
activityLogs?: {
|
1929
2142
|
id: string;
|
1930
2143
|
description: string;
|
@@ -2028,6 +2241,21 @@ export declare const contactContract: {
|
|
2028
2241
|
deletedAt: Date | null;
|
2029
2242
|
phone: string;
|
2030
2243
|
}[];
|
2244
|
+
platformContacts?: {
|
2245
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2246
|
+
id: string;
|
2247
|
+
metadata: {
|
2248
|
+
id: string;
|
2249
|
+
name: string;
|
2250
|
+
picture?: string | undefined;
|
2251
|
+
additionalCredentials?: any;
|
2252
|
+
};
|
2253
|
+
createdAt: Date;
|
2254
|
+
updatedAt: Date;
|
2255
|
+
deletedAt: Date | null;
|
2256
|
+
channelId: string;
|
2257
|
+
socialPlatformId: string;
|
2258
|
+
}[] | undefined;
|
2031
2259
|
activityLogs?: {
|
2032
2260
|
id: string;
|
2033
2261
|
description: string;
|
@@ -2128,20 +2356,26 @@ export declare const contactContract: {
|
|
2128
2356
|
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
2129
2357
|
pageSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
2130
2358
|
keyword: z.ZodOptional<z.ZodString>;
|
2359
|
+
channelType: z.ZodOptional<z.ZodString>;
|
2360
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
2131
2361
|
withEmail: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2132
|
-
relations: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"company">, z.ZodLiteral<"contactEmails">, z.ZodLiteral<"contactPhones">]>, "many">>>;
|
2362
|
+
relations: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"company">, z.ZodLiteral<"contactEmails">, z.ZodLiteral<"contactPhones">, z.ZodLiteral<"platformContacts">]>, "many">>>;
|
2133
2363
|
}, "strip", z.ZodTypeAny, {
|
2134
2364
|
page?: number | undefined;
|
2135
2365
|
pageSize?: number | undefined;
|
2136
2366
|
keyword?: string | undefined;
|
2367
|
+
channelType?: string | undefined;
|
2368
|
+
channelIds?: string[] | undefined;
|
2137
2369
|
withEmail?: boolean | undefined;
|
2138
|
-
relations?: ("company" | "contactEmails" | "contactPhones")[] | undefined;
|
2370
|
+
relations?: ("company" | "platformContacts" | "contactEmails" | "contactPhones")[] | undefined;
|
2139
2371
|
}, {
|
2140
2372
|
page?: number | undefined;
|
2141
2373
|
pageSize?: number | undefined;
|
2142
2374
|
keyword?: string | undefined;
|
2375
|
+
channelType?: string | undefined;
|
2376
|
+
channelIds?: string[] | undefined;
|
2143
2377
|
withEmail?: boolean | undefined;
|
2144
|
-
relations?: ("company" | "contactEmails" | "contactPhones")[] | undefined;
|
2378
|
+
relations?: ("company" | "platformContacts" | "contactEmails" | "contactPhones")[] | undefined;
|
2145
2379
|
}>;
|
2146
2380
|
responses: {
|
2147
2381
|
200: z.ZodObject<{
|
@@ -2345,6 +2579,59 @@ export declare const contactContract: {
|
|
2345
2579
|
phone?: string | null | undefined;
|
2346
2580
|
industry?: string | null | undefined;
|
2347
2581
|
}>>;
|
2582
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2583
|
+
id: z.ZodString;
|
2584
|
+
createdAt: z.ZodDate;
|
2585
|
+
updatedAt: z.ZodDate;
|
2586
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2587
|
+
channelId: z.ZodString;
|
2588
|
+
socialPlatformId: z.ZodString;
|
2589
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
2590
|
+
metadata: z.ZodObject<{
|
2591
|
+
id: z.ZodString;
|
2592
|
+
name: z.ZodString;
|
2593
|
+
picture: z.ZodOptional<z.ZodString>;
|
2594
|
+
additionalCredentials: z.ZodAny;
|
2595
|
+
}, "strip", z.ZodTypeAny, {
|
2596
|
+
id: string;
|
2597
|
+
name: string;
|
2598
|
+
picture?: string | undefined;
|
2599
|
+
additionalCredentials?: any;
|
2600
|
+
}, {
|
2601
|
+
id: string;
|
2602
|
+
name: string;
|
2603
|
+
picture?: string | undefined;
|
2604
|
+
additionalCredentials?: any;
|
2605
|
+
}>;
|
2606
|
+
}, "strip", z.ZodTypeAny, {
|
2607
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2608
|
+
id: string;
|
2609
|
+
metadata: {
|
2610
|
+
id: string;
|
2611
|
+
name: string;
|
2612
|
+
picture?: string | undefined;
|
2613
|
+
additionalCredentials?: any;
|
2614
|
+
};
|
2615
|
+
createdAt: Date;
|
2616
|
+
updatedAt: Date;
|
2617
|
+
deletedAt: Date | null;
|
2618
|
+
channelId: string;
|
2619
|
+
socialPlatformId: string;
|
2620
|
+
}, {
|
2621
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2622
|
+
id: string;
|
2623
|
+
metadata: {
|
2624
|
+
id: string;
|
2625
|
+
name: string;
|
2626
|
+
picture?: string | undefined;
|
2627
|
+
additionalCredentials?: any;
|
2628
|
+
};
|
2629
|
+
createdAt: Date;
|
2630
|
+
updatedAt: Date;
|
2631
|
+
deletedAt: Date | null;
|
2632
|
+
channelId: string;
|
2633
|
+
socialPlatformId: string;
|
2634
|
+
}>, "many">>;
|
2348
2635
|
customFields: z.ZodArray<z.ZodObject<{
|
2349
2636
|
id: z.ZodString;
|
2350
2637
|
createdAt: z.ZodDate;
|
@@ -2724,6 +3011,21 @@ export declare const contactContract: {
|
|
2724
3011
|
deletedAt: Date | null;
|
2725
3012
|
phone: string;
|
2726
3013
|
}[];
|
3014
|
+
platformContacts?: {
|
3015
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3016
|
+
id: string;
|
3017
|
+
metadata: {
|
3018
|
+
id: string;
|
3019
|
+
name: string;
|
3020
|
+
picture?: string | undefined;
|
3021
|
+
additionalCredentials?: any;
|
3022
|
+
};
|
3023
|
+
createdAt: Date;
|
3024
|
+
updatedAt: Date;
|
3025
|
+
deletedAt: Date | null;
|
3026
|
+
channelId: string;
|
3027
|
+
socialPlatformId: string;
|
3028
|
+
}[] | undefined;
|
2727
3029
|
activityLogs?: {
|
2728
3030
|
id: string;
|
2729
3031
|
description: string;
|
@@ -2820,6 +3122,21 @@ export declare const contactContract: {
|
|
2820
3122
|
deletedAt: Date | null;
|
2821
3123
|
phone: string;
|
2822
3124
|
}[];
|
3125
|
+
platformContacts?: {
|
3126
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3127
|
+
id: string;
|
3128
|
+
metadata: {
|
3129
|
+
id: string;
|
3130
|
+
name: string;
|
3131
|
+
picture?: string | undefined;
|
3132
|
+
additionalCredentials?: any;
|
3133
|
+
};
|
3134
|
+
createdAt: Date;
|
3135
|
+
updatedAt: Date;
|
3136
|
+
deletedAt: Date | null;
|
3137
|
+
channelId: string;
|
3138
|
+
socialPlatformId: string;
|
3139
|
+
}[] | undefined;
|
2823
3140
|
activityLogs?: {
|
2824
3141
|
id: string;
|
2825
3142
|
description: string;
|
@@ -2918,6 +3235,21 @@ export declare const contactContract: {
|
|
2918
3235
|
deletedAt: Date | null;
|
2919
3236
|
phone: string;
|
2920
3237
|
}[];
|
3238
|
+
platformContacts?: {
|
3239
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3240
|
+
id: string;
|
3241
|
+
metadata: {
|
3242
|
+
id: string;
|
3243
|
+
name: string;
|
3244
|
+
picture?: string | undefined;
|
3245
|
+
additionalCredentials?: any;
|
3246
|
+
};
|
3247
|
+
createdAt: Date;
|
3248
|
+
updatedAt: Date;
|
3249
|
+
deletedAt: Date | null;
|
3250
|
+
channelId: string;
|
3251
|
+
socialPlatformId: string;
|
3252
|
+
}[] | undefined;
|
2921
3253
|
activityLogs?: {
|
2922
3254
|
id: string;
|
2923
3255
|
description: string;
|
@@ -3021,6 +3353,21 @@ export declare const contactContract: {
|
|
3021
3353
|
deletedAt: Date | null;
|
3022
3354
|
phone: string;
|
3023
3355
|
}[];
|
3356
|
+
platformContacts?: {
|
3357
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3358
|
+
id: string;
|
3359
|
+
metadata: {
|
3360
|
+
id: string;
|
3361
|
+
name: string;
|
3362
|
+
picture?: string | undefined;
|
3363
|
+
additionalCredentials?: any;
|
3364
|
+
};
|
3365
|
+
createdAt: Date;
|
3366
|
+
updatedAt: Date;
|
3367
|
+
deletedAt: Date | null;
|
3368
|
+
channelId: string;
|
3369
|
+
socialPlatformId: string;
|
3370
|
+
}[] | undefined;
|
3024
3371
|
activityLogs?: {
|
3025
3372
|
id: string;
|
3026
3373
|
description: string;
|
@@ -3425,6 +3772,59 @@ export declare const contactContract: {
|
|
3425
3772
|
phone?: string | null | undefined;
|
3426
3773
|
industry?: string | null | undefined;
|
3427
3774
|
}>>;
|
3775
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3776
|
+
id: z.ZodString;
|
3777
|
+
createdAt: z.ZodDate;
|
3778
|
+
updatedAt: z.ZodDate;
|
3779
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3780
|
+
channelId: z.ZodString;
|
3781
|
+
socialPlatformId: z.ZodString;
|
3782
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
3783
|
+
metadata: z.ZodObject<{
|
3784
|
+
id: z.ZodString;
|
3785
|
+
name: z.ZodString;
|
3786
|
+
picture: z.ZodOptional<z.ZodString>;
|
3787
|
+
additionalCredentials: z.ZodAny;
|
3788
|
+
}, "strip", z.ZodTypeAny, {
|
3789
|
+
id: string;
|
3790
|
+
name: string;
|
3791
|
+
picture?: string | undefined;
|
3792
|
+
additionalCredentials?: any;
|
3793
|
+
}, {
|
3794
|
+
id: string;
|
3795
|
+
name: string;
|
3796
|
+
picture?: string | undefined;
|
3797
|
+
additionalCredentials?: any;
|
3798
|
+
}>;
|
3799
|
+
}, "strip", z.ZodTypeAny, {
|
3800
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3801
|
+
id: string;
|
3802
|
+
metadata: {
|
3803
|
+
id: string;
|
3804
|
+
name: string;
|
3805
|
+
picture?: string | undefined;
|
3806
|
+
additionalCredentials?: any;
|
3807
|
+
};
|
3808
|
+
createdAt: Date;
|
3809
|
+
updatedAt: Date;
|
3810
|
+
deletedAt: Date | null;
|
3811
|
+
channelId: string;
|
3812
|
+
socialPlatformId: string;
|
3813
|
+
}, {
|
3814
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3815
|
+
id: string;
|
3816
|
+
metadata: {
|
3817
|
+
id: string;
|
3818
|
+
name: string;
|
3819
|
+
picture?: string | undefined;
|
3820
|
+
additionalCredentials?: any;
|
3821
|
+
};
|
3822
|
+
createdAt: Date;
|
3823
|
+
updatedAt: Date;
|
3824
|
+
deletedAt: Date | null;
|
3825
|
+
channelId: string;
|
3826
|
+
socialPlatformId: string;
|
3827
|
+
}>, "many">>;
|
3428
3828
|
customFields: z.ZodArray<z.ZodObject<{
|
3429
3829
|
id: z.ZodString;
|
3430
3830
|
createdAt: z.ZodDate;
|
@@ -3804,6 +4204,21 @@ export declare const contactContract: {
|
|
3804
4204
|
deletedAt: Date | null;
|
3805
4205
|
phone: string;
|
3806
4206
|
}[];
|
4207
|
+
platformContacts?: {
|
4208
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4209
|
+
id: string;
|
4210
|
+
metadata: {
|
4211
|
+
id: string;
|
4212
|
+
name: string;
|
4213
|
+
picture?: string | undefined;
|
4214
|
+
additionalCredentials?: any;
|
4215
|
+
};
|
4216
|
+
createdAt: Date;
|
4217
|
+
updatedAt: Date;
|
4218
|
+
deletedAt: Date | null;
|
4219
|
+
channelId: string;
|
4220
|
+
socialPlatformId: string;
|
4221
|
+
}[] | undefined;
|
3807
4222
|
activityLogs?: {
|
3808
4223
|
id: string;
|
3809
4224
|
description: string;
|
@@ -3900,6 +4315,21 @@ export declare const contactContract: {
|
|
3900
4315
|
deletedAt: Date | null;
|
3901
4316
|
phone: string;
|
3902
4317
|
}[];
|
4318
|
+
platformContacts?: {
|
4319
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4320
|
+
id: string;
|
4321
|
+
metadata: {
|
4322
|
+
id: string;
|
4323
|
+
name: string;
|
4324
|
+
picture?: string | undefined;
|
4325
|
+
additionalCredentials?: any;
|
4326
|
+
};
|
4327
|
+
createdAt: Date;
|
4328
|
+
updatedAt: Date;
|
4329
|
+
deletedAt: Date | null;
|
4330
|
+
channelId: string;
|
4331
|
+
socialPlatformId: string;
|
4332
|
+
}[] | undefined;
|
3903
4333
|
activityLogs?: {
|
3904
4334
|
id: string;
|
3905
4335
|
description: string;
|
@@ -3998,6 +4428,21 @@ export declare const contactContract: {
|
|
3998
4428
|
deletedAt: Date | null;
|
3999
4429
|
phone: string;
|
4000
4430
|
}[];
|
4431
|
+
platformContacts?: {
|
4432
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4433
|
+
id: string;
|
4434
|
+
metadata: {
|
4435
|
+
id: string;
|
4436
|
+
name: string;
|
4437
|
+
picture?: string | undefined;
|
4438
|
+
additionalCredentials?: any;
|
4439
|
+
};
|
4440
|
+
createdAt: Date;
|
4441
|
+
updatedAt: Date;
|
4442
|
+
deletedAt: Date | null;
|
4443
|
+
channelId: string;
|
4444
|
+
socialPlatformId: string;
|
4445
|
+
}[] | undefined;
|
4001
4446
|
activityLogs?: {
|
4002
4447
|
id: string;
|
4003
4448
|
description: string;
|
@@ -4097,6 +4542,21 @@ export declare const contactContract: {
|
|
4097
4542
|
deletedAt: Date | null;
|
4098
4543
|
phone: string;
|
4099
4544
|
}[];
|
4545
|
+
platformContacts?: {
|
4546
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4547
|
+
id: string;
|
4548
|
+
metadata: {
|
4549
|
+
id: string;
|
4550
|
+
name: string;
|
4551
|
+
picture?: string | undefined;
|
4552
|
+
additionalCredentials?: any;
|
4553
|
+
};
|
4554
|
+
createdAt: Date;
|
4555
|
+
updatedAt: Date;
|
4556
|
+
deletedAt: Date | null;
|
4557
|
+
channelId: string;
|
4558
|
+
socialPlatformId: string;
|
4559
|
+
}[] | undefined;
|
4100
4560
|
activityLogs?: {
|
4101
4561
|
id: string;
|
4102
4562
|
description: string;
|
@@ -4486,6 +4946,59 @@ export declare const contactContract: {
|
|
4486
4946
|
phone?: string | null | undefined;
|
4487
4947
|
industry?: string | null | undefined;
|
4488
4948
|
}>>;
|
4949
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
4950
|
+
id: z.ZodString;
|
4951
|
+
createdAt: z.ZodDate;
|
4952
|
+
updatedAt: z.ZodDate;
|
4953
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4954
|
+
channelId: z.ZodString;
|
4955
|
+
socialPlatformId: z.ZodString;
|
4956
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
4957
|
+
metadata: z.ZodObject<{
|
4958
|
+
id: z.ZodString;
|
4959
|
+
name: z.ZodString;
|
4960
|
+
picture: z.ZodOptional<z.ZodString>;
|
4961
|
+
additionalCredentials: z.ZodAny;
|
4962
|
+
}, "strip", z.ZodTypeAny, {
|
4963
|
+
id: string;
|
4964
|
+
name: string;
|
4965
|
+
picture?: string | undefined;
|
4966
|
+
additionalCredentials?: any;
|
4967
|
+
}, {
|
4968
|
+
id: string;
|
4969
|
+
name: string;
|
4970
|
+
picture?: string | undefined;
|
4971
|
+
additionalCredentials?: any;
|
4972
|
+
}>;
|
4973
|
+
}, "strip", z.ZodTypeAny, {
|
4974
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4975
|
+
id: string;
|
4976
|
+
metadata: {
|
4977
|
+
id: string;
|
4978
|
+
name: string;
|
4979
|
+
picture?: string | undefined;
|
4980
|
+
additionalCredentials?: any;
|
4981
|
+
};
|
4982
|
+
createdAt: Date;
|
4983
|
+
updatedAt: Date;
|
4984
|
+
deletedAt: Date | null;
|
4985
|
+
channelId: string;
|
4986
|
+
socialPlatformId: string;
|
4987
|
+
}, {
|
4988
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4989
|
+
id: string;
|
4990
|
+
metadata: {
|
4991
|
+
id: string;
|
4992
|
+
name: string;
|
4993
|
+
picture?: string | undefined;
|
4994
|
+
additionalCredentials?: any;
|
4995
|
+
};
|
4996
|
+
createdAt: Date;
|
4997
|
+
updatedAt: Date;
|
4998
|
+
deletedAt: Date | null;
|
4999
|
+
channelId: string;
|
5000
|
+
socialPlatformId: string;
|
5001
|
+
}>, "many">>;
|
4489
5002
|
customFields: z.ZodArray<z.ZodObject<{
|
4490
5003
|
id: z.ZodString;
|
4491
5004
|
createdAt: z.ZodDate;
|
@@ -4865,6 +5378,21 @@ export declare const contactContract: {
|
|
4865
5378
|
deletedAt: Date | null;
|
4866
5379
|
phone: string;
|
4867
5380
|
}[];
|
5381
|
+
platformContacts?: {
|
5382
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5383
|
+
id: string;
|
5384
|
+
metadata: {
|
5385
|
+
id: string;
|
5386
|
+
name: string;
|
5387
|
+
picture?: string | undefined;
|
5388
|
+
additionalCredentials?: any;
|
5389
|
+
};
|
5390
|
+
createdAt: Date;
|
5391
|
+
updatedAt: Date;
|
5392
|
+
deletedAt: Date | null;
|
5393
|
+
channelId: string;
|
5394
|
+
socialPlatformId: string;
|
5395
|
+
}[] | undefined;
|
4868
5396
|
activityLogs?: {
|
4869
5397
|
id: string;
|
4870
5398
|
description: string;
|
@@ -4961,6 +5489,21 @@ export declare const contactContract: {
|
|
4961
5489
|
deletedAt: Date | null;
|
4962
5490
|
phone: string;
|
4963
5491
|
}[];
|
5492
|
+
platformContacts?: {
|
5493
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5494
|
+
id: string;
|
5495
|
+
metadata: {
|
5496
|
+
id: string;
|
5497
|
+
name: string;
|
5498
|
+
picture?: string | undefined;
|
5499
|
+
additionalCredentials?: any;
|
5500
|
+
};
|
5501
|
+
createdAt: Date;
|
5502
|
+
updatedAt: Date;
|
5503
|
+
deletedAt: Date | null;
|
5504
|
+
channelId: string;
|
5505
|
+
socialPlatformId: string;
|
5506
|
+
}[] | undefined;
|
4964
5507
|
activityLogs?: {
|
4965
5508
|
id: string;
|
4966
5509
|
description: string;
|
@@ -5059,6 +5602,21 @@ export declare const contactContract: {
|
|
5059
5602
|
deletedAt: Date | null;
|
5060
5603
|
phone: string;
|
5061
5604
|
}[];
|
5605
|
+
platformContacts?: {
|
5606
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5607
|
+
id: string;
|
5608
|
+
metadata: {
|
5609
|
+
id: string;
|
5610
|
+
name: string;
|
5611
|
+
picture?: string | undefined;
|
5612
|
+
additionalCredentials?: any;
|
5613
|
+
};
|
5614
|
+
createdAt: Date;
|
5615
|
+
updatedAt: Date;
|
5616
|
+
deletedAt: Date | null;
|
5617
|
+
channelId: string;
|
5618
|
+
socialPlatformId: string;
|
5619
|
+
}[] | undefined;
|
5062
5620
|
activityLogs?: {
|
5063
5621
|
id: string;
|
5064
5622
|
description: string;
|
@@ -5158,6 +5716,21 @@ export declare const contactContract: {
|
|
5158
5716
|
deletedAt: Date | null;
|
5159
5717
|
phone: string;
|
5160
5718
|
}[];
|
5719
|
+
platformContacts?: {
|
5720
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5721
|
+
id: string;
|
5722
|
+
metadata: {
|
5723
|
+
id: string;
|
5724
|
+
name: string;
|
5725
|
+
picture?: string | undefined;
|
5726
|
+
additionalCredentials?: any;
|
5727
|
+
};
|
5728
|
+
createdAt: Date;
|
5729
|
+
updatedAt: Date;
|
5730
|
+
deletedAt: Date | null;
|
5731
|
+
channelId: string;
|
5732
|
+
socialPlatformId: string;
|
5733
|
+
}[] | undefined;
|
5161
5734
|
activityLogs?: {
|
5162
5735
|
id: string;
|
5163
5736
|
description: string;
|
@@ -5247,6 +5820,103 @@ export declare const contactContract: {
|
|
5247
5820
|
'x-client-timezone'?: string | undefined;
|
5248
5821
|
}>>>;
|
5249
5822
|
};
|
5823
|
+
createContactPlatform: {
|
5824
|
+
body: z.ZodObject<{
|
5825
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
5826
|
+
name: z.ZodString;
|
5827
|
+
channelType: z.ZodString;
|
5828
|
+
channelId: z.ZodString;
|
5829
|
+
}, "strip", z.ZodTypeAny, {
|
5830
|
+
name: string;
|
5831
|
+
channelId: string;
|
5832
|
+
channelType: string;
|
5833
|
+
phoneNumber: string;
|
5834
|
+
}, {
|
5835
|
+
name: string;
|
5836
|
+
channelId: string;
|
5837
|
+
channelType: string;
|
5838
|
+
phoneNumber: string;
|
5839
|
+
}>;
|
5840
|
+
summary: "Create a new contact and platform contact for sms ";
|
5841
|
+
method: "POST";
|
5842
|
+
responses: {
|
5843
|
+
201: z.ZodObject<{
|
5844
|
+
requestId: z.ZodString;
|
5845
|
+
}, "strip", z.ZodTypeAny, {
|
5846
|
+
requestId: string;
|
5847
|
+
}, {
|
5848
|
+
requestId: string;
|
5849
|
+
}>;
|
5850
|
+
400: z.ZodObject<{
|
5851
|
+
message: z.ZodString;
|
5852
|
+
}, "strip", z.ZodTypeAny, {
|
5853
|
+
message: string;
|
5854
|
+
}, {
|
5855
|
+
message: string;
|
5856
|
+
}>;
|
5857
|
+
409: z.ZodObject<{
|
5858
|
+
message: z.ZodString;
|
5859
|
+
}, "strip", z.ZodTypeAny, {
|
5860
|
+
message: string;
|
5861
|
+
}, {
|
5862
|
+
message: string;
|
5863
|
+
}>;
|
5864
|
+
500: z.ZodObject<{
|
5865
|
+
message: z.ZodString;
|
5866
|
+
}, "strip", z.ZodTypeAny, {
|
5867
|
+
message: string;
|
5868
|
+
}, {
|
5869
|
+
message: string;
|
5870
|
+
}>;
|
5871
|
+
401: z.ZodObject<{
|
5872
|
+
message: z.ZodString;
|
5873
|
+
error: z.ZodAny;
|
5874
|
+
}, "strip", z.ZodTypeAny, {
|
5875
|
+
message: string;
|
5876
|
+
error?: any;
|
5877
|
+
}, {
|
5878
|
+
message: string;
|
5879
|
+
error?: any;
|
5880
|
+
}>;
|
5881
|
+
404: z.ZodObject<{
|
5882
|
+
message: z.ZodString;
|
5883
|
+
error: z.ZodAny;
|
5884
|
+
}, "strip", z.ZodTypeAny, {
|
5885
|
+
message: string;
|
5886
|
+
error?: any;
|
5887
|
+
}, {
|
5888
|
+
message: string;
|
5889
|
+
error?: any;
|
5890
|
+
}>;
|
5891
|
+
422: z.ZodObject<{
|
5892
|
+
message: z.ZodString;
|
5893
|
+
error: z.ZodAny;
|
5894
|
+
}, "strip", z.ZodTypeAny, {
|
5895
|
+
message: string;
|
5896
|
+
error?: any;
|
5897
|
+
}, {
|
5898
|
+
message: string;
|
5899
|
+
error?: any;
|
5900
|
+
}>;
|
5901
|
+
};
|
5902
|
+
path: "contact-service/contact/platform-contact";
|
5903
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5904
|
+
'x-tenant': z.ZodString;
|
5905
|
+
authorization: z.ZodString;
|
5906
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
5907
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
5908
|
+
}, "strip", z.ZodTypeAny, {
|
5909
|
+
'x-tenant': string;
|
5910
|
+
authorization: string;
|
5911
|
+
'x-client-timezone': string;
|
5912
|
+
'x-code'?: string | undefined;
|
5913
|
+
}, {
|
5914
|
+
'x-tenant': string;
|
5915
|
+
authorization: string;
|
5916
|
+
'x-code'?: string | undefined;
|
5917
|
+
'x-client-timezone'?: string | undefined;
|
5918
|
+
}>>>;
|
5919
|
+
};
|
5250
5920
|
updateFromOngoingCall: {
|
5251
5921
|
body: z.ZodObject<{
|
5252
5922
|
name: z.ZodOptional<z.ZodString>;
|
@@ -5458,6 +6128,59 @@ export declare const contactContract: {
|
|
5458
6128
|
phone?: string | null | undefined;
|
5459
6129
|
industry?: string | null | undefined;
|
5460
6130
|
}>>;
|
6131
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
6132
|
+
id: z.ZodString;
|
6133
|
+
createdAt: z.ZodDate;
|
6134
|
+
updatedAt: z.ZodDate;
|
6135
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6136
|
+
channelId: z.ZodString;
|
6137
|
+
socialPlatformId: z.ZodString;
|
6138
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
6139
|
+
metadata: z.ZodObject<{
|
6140
|
+
id: z.ZodString;
|
6141
|
+
name: z.ZodString;
|
6142
|
+
picture: z.ZodOptional<z.ZodString>;
|
6143
|
+
additionalCredentials: z.ZodAny;
|
6144
|
+
}, "strip", z.ZodTypeAny, {
|
6145
|
+
id: string;
|
6146
|
+
name: string;
|
6147
|
+
picture?: string | undefined;
|
6148
|
+
additionalCredentials?: any;
|
6149
|
+
}, {
|
6150
|
+
id: string;
|
6151
|
+
name: string;
|
6152
|
+
picture?: string | undefined;
|
6153
|
+
additionalCredentials?: any;
|
6154
|
+
}>;
|
6155
|
+
}, "strip", z.ZodTypeAny, {
|
6156
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6157
|
+
id: string;
|
6158
|
+
metadata: {
|
6159
|
+
id: string;
|
6160
|
+
name: string;
|
6161
|
+
picture?: string | undefined;
|
6162
|
+
additionalCredentials?: any;
|
6163
|
+
};
|
6164
|
+
createdAt: Date;
|
6165
|
+
updatedAt: Date;
|
6166
|
+
deletedAt: Date | null;
|
6167
|
+
channelId: string;
|
6168
|
+
socialPlatformId: string;
|
6169
|
+
}, {
|
6170
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6171
|
+
id: string;
|
6172
|
+
metadata: {
|
6173
|
+
id: string;
|
6174
|
+
name: string;
|
6175
|
+
picture?: string | undefined;
|
6176
|
+
additionalCredentials?: any;
|
6177
|
+
};
|
6178
|
+
createdAt: Date;
|
6179
|
+
updatedAt: Date;
|
6180
|
+
deletedAt: Date | null;
|
6181
|
+
channelId: string;
|
6182
|
+
socialPlatformId: string;
|
6183
|
+
}>, "many">>;
|
5461
6184
|
customFields: z.ZodArray<z.ZodObject<{
|
5462
6185
|
id: z.ZodString;
|
5463
6186
|
createdAt: z.ZodDate;
|
@@ -5837,6 +6560,21 @@ export declare const contactContract: {
|
|
5837
6560
|
deletedAt: Date | null;
|
5838
6561
|
phone: string;
|
5839
6562
|
}[];
|
6563
|
+
platformContacts?: {
|
6564
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6565
|
+
id: string;
|
6566
|
+
metadata: {
|
6567
|
+
id: string;
|
6568
|
+
name: string;
|
6569
|
+
picture?: string | undefined;
|
6570
|
+
additionalCredentials?: any;
|
6571
|
+
};
|
6572
|
+
createdAt: Date;
|
6573
|
+
updatedAt: Date;
|
6574
|
+
deletedAt: Date | null;
|
6575
|
+
channelId: string;
|
6576
|
+
socialPlatformId: string;
|
6577
|
+
}[] | undefined;
|
5840
6578
|
activityLogs?: {
|
5841
6579
|
id: string;
|
5842
6580
|
description: string;
|
@@ -5933,6 +6671,21 @@ export declare const contactContract: {
|
|
5933
6671
|
deletedAt: Date | null;
|
5934
6672
|
phone: string;
|
5935
6673
|
}[];
|
6674
|
+
platformContacts?: {
|
6675
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6676
|
+
id: string;
|
6677
|
+
metadata: {
|
6678
|
+
id: string;
|
6679
|
+
name: string;
|
6680
|
+
picture?: string | undefined;
|
6681
|
+
additionalCredentials?: any;
|
6682
|
+
};
|
6683
|
+
createdAt: Date;
|
6684
|
+
updatedAt: Date;
|
6685
|
+
deletedAt: Date | null;
|
6686
|
+
channelId: string;
|
6687
|
+
socialPlatformId: string;
|
6688
|
+
}[] | undefined;
|
5936
6689
|
activityLogs?: {
|
5937
6690
|
id: string;
|
5938
6691
|
description: string;
|
@@ -6031,6 +6784,21 @@ export declare const contactContract: {
|
|
6031
6784
|
deletedAt: Date | null;
|
6032
6785
|
phone: string;
|
6033
6786
|
}[];
|
6787
|
+
platformContacts?: {
|
6788
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6789
|
+
id: string;
|
6790
|
+
metadata: {
|
6791
|
+
id: string;
|
6792
|
+
name: string;
|
6793
|
+
picture?: string | undefined;
|
6794
|
+
additionalCredentials?: any;
|
6795
|
+
};
|
6796
|
+
createdAt: Date;
|
6797
|
+
updatedAt: Date;
|
6798
|
+
deletedAt: Date | null;
|
6799
|
+
channelId: string;
|
6800
|
+
socialPlatformId: string;
|
6801
|
+
}[] | undefined;
|
6034
6802
|
activityLogs?: {
|
6035
6803
|
id: string;
|
6036
6804
|
description: string;
|
@@ -6130,6 +6898,21 @@ export declare const contactContract: {
|
|
6130
6898
|
deletedAt: Date | null;
|
6131
6899
|
phone: string;
|
6132
6900
|
}[];
|
6901
|
+
platformContacts?: {
|
6902
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6903
|
+
id: string;
|
6904
|
+
metadata: {
|
6905
|
+
id: string;
|
6906
|
+
name: string;
|
6907
|
+
picture?: string | undefined;
|
6908
|
+
additionalCredentials?: any;
|
6909
|
+
};
|
6910
|
+
createdAt: Date;
|
6911
|
+
updatedAt: Date;
|
6912
|
+
deletedAt: Date | null;
|
6913
|
+
channelId: string;
|
6914
|
+
socialPlatformId: string;
|
6915
|
+
}[] | undefined;
|
6133
6916
|
activityLogs?: {
|
6134
6917
|
id: string;
|
6135
6918
|
description: string;
|
@@ -6492,6 +7275,59 @@ export declare const contactContract: {
|
|
6492
7275
|
phone?: string | null | undefined;
|
6493
7276
|
industry?: string | null | undefined;
|
6494
7277
|
}>>;
|
7278
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7279
|
+
id: z.ZodString;
|
7280
|
+
createdAt: z.ZodDate;
|
7281
|
+
updatedAt: z.ZodDate;
|
7282
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
7283
|
+
channelId: z.ZodString;
|
7284
|
+
socialPlatformId: z.ZodString;
|
7285
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
7286
|
+
metadata: z.ZodObject<{
|
7287
|
+
id: z.ZodString;
|
7288
|
+
name: z.ZodString;
|
7289
|
+
picture: z.ZodOptional<z.ZodString>;
|
7290
|
+
additionalCredentials: z.ZodAny;
|
7291
|
+
}, "strip", z.ZodTypeAny, {
|
7292
|
+
id: string;
|
7293
|
+
name: string;
|
7294
|
+
picture?: string | undefined;
|
7295
|
+
additionalCredentials?: any;
|
7296
|
+
}, {
|
7297
|
+
id: string;
|
7298
|
+
name: string;
|
7299
|
+
picture?: string | undefined;
|
7300
|
+
additionalCredentials?: any;
|
7301
|
+
}>;
|
7302
|
+
}, "strip", z.ZodTypeAny, {
|
7303
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7304
|
+
id: string;
|
7305
|
+
metadata: {
|
7306
|
+
id: string;
|
7307
|
+
name: string;
|
7308
|
+
picture?: string | undefined;
|
7309
|
+
additionalCredentials?: any;
|
7310
|
+
};
|
7311
|
+
createdAt: Date;
|
7312
|
+
updatedAt: Date;
|
7313
|
+
deletedAt: Date | null;
|
7314
|
+
channelId: string;
|
7315
|
+
socialPlatformId: string;
|
7316
|
+
}, {
|
7317
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7318
|
+
id: string;
|
7319
|
+
metadata: {
|
7320
|
+
id: string;
|
7321
|
+
name: string;
|
7322
|
+
picture?: string | undefined;
|
7323
|
+
additionalCredentials?: any;
|
7324
|
+
};
|
7325
|
+
createdAt: Date;
|
7326
|
+
updatedAt: Date;
|
7327
|
+
deletedAt: Date | null;
|
7328
|
+
channelId: string;
|
7329
|
+
socialPlatformId: string;
|
7330
|
+
}>, "many">>;
|
6495
7331
|
customFields: z.ZodArray<z.ZodObject<{
|
6496
7332
|
id: z.ZodString;
|
6497
7333
|
createdAt: z.ZodDate;
|
@@ -6871,6 +7707,21 @@ export declare const contactContract: {
|
|
6871
7707
|
deletedAt: Date | null;
|
6872
7708
|
phone: string;
|
6873
7709
|
}[];
|
7710
|
+
platformContacts?: {
|
7711
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7712
|
+
id: string;
|
7713
|
+
metadata: {
|
7714
|
+
id: string;
|
7715
|
+
name: string;
|
7716
|
+
picture?: string | undefined;
|
7717
|
+
additionalCredentials?: any;
|
7718
|
+
};
|
7719
|
+
createdAt: Date;
|
7720
|
+
updatedAt: Date;
|
7721
|
+
deletedAt: Date | null;
|
7722
|
+
channelId: string;
|
7723
|
+
socialPlatformId: string;
|
7724
|
+
}[] | undefined;
|
6874
7725
|
activityLogs?: {
|
6875
7726
|
id: string;
|
6876
7727
|
description: string;
|
@@ -6967,6 +7818,21 @@ export declare const contactContract: {
|
|
6967
7818
|
deletedAt: Date | null;
|
6968
7819
|
phone: string;
|
6969
7820
|
}[];
|
7821
|
+
platformContacts?: {
|
7822
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7823
|
+
id: string;
|
7824
|
+
metadata: {
|
7825
|
+
id: string;
|
7826
|
+
name: string;
|
7827
|
+
picture?: string | undefined;
|
7828
|
+
additionalCredentials?: any;
|
7829
|
+
};
|
7830
|
+
createdAt: Date;
|
7831
|
+
updatedAt: Date;
|
7832
|
+
deletedAt: Date | null;
|
7833
|
+
channelId: string;
|
7834
|
+
socialPlatformId: string;
|
7835
|
+
}[] | undefined;
|
6970
7836
|
activityLogs?: {
|
6971
7837
|
id: string;
|
6972
7838
|
description: string;
|
@@ -7065,6 +7931,21 @@ export declare const contactContract: {
|
|
7065
7931
|
deletedAt: Date | null;
|
7066
7932
|
phone: string;
|
7067
7933
|
}[];
|
7934
|
+
platformContacts?: {
|
7935
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7936
|
+
id: string;
|
7937
|
+
metadata: {
|
7938
|
+
id: string;
|
7939
|
+
name: string;
|
7940
|
+
picture?: string | undefined;
|
7941
|
+
additionalCredentials?: any;
|
7942
|
+
};
|
7943
|
+
createdAt: Date;
|
7944
|
+
updatedAt: Date;
|
7945
|
+
deletedAt: Date | null;
|
7946
|
+
channelId: string;
|
7947
|
+
socialPlatformId: string;
|
7948
|
+
}[] | undefined;
|
7068
7949
|
activityLogs?: {
|
7069
7950
|
id: string;
|
7070
7951
|
description: string;
|
@@ -7164,6 +8045,21 @@ export declare const contactContract: {
|
|
7164
8045
|
deletedAt: Date | null;
|
7165
8046
|
phone: string;
|
7166
8047
|
}[];
|
8048
|
+
platformContacts?: {
|
8049
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8050
|
+
id: string;
|
8051
|
+
metadata: {
|
8052
|
+
id: string;
|
8053
|
+
name: string;
|
8054
|
+
picture?: string | undefined;
|
8055
|
+
additionalCredentials?: any;
|
8056
|
+
};
|
8057
|
+
createdAt: Date;
|
8058
|
+
updatedAt: Date;
|
8059
|
+
deletedAt: Date | null;
|
8060
|
+
channelId: string;
|
8061
|
+
socialPlatformId: string;
|
8062
|
+
}[] | undefined;
|
7167
8063
|
activityLogs?: {
|
7168
8064
|
id: string;
|
7169
8065
|
description: string;
|
@@ -8040,6 +8936,59 @@ export declare const contactContract: {
|
|
8040
8936
|
phone?: string | null | undefined;
|
8041
8937
|
industry?: string | null | undefined;
|
8042
8938
|
}>>;
|
8939
|
+
platformContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
8940
|
+
id: z.ZodString;
|
8941
|
+
createdAt: z.ZodDate;
|
8942
|
+
updatedAt: z.ZodDate;
|
8943
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
8944
|
+
channelId: z.ZodString;
|
8945
|
+
socialPlatformId: z.ZodString;
|
8946
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
8947
|
+
metadata: z.ZodObject<{
|
8948
|
+
id: z.ZodString;
|
8949
|
+
name: z.ZodString;
|
8950
|
+
picture: z.ZodOptional<z.ZodString>;
|
8951
|
+
additionalCredentials: z.ZodAny;
|
8952
|
+
}, "strip", z.ZodTypeAny, {
|
8953
|
+
id: string;
|
8954
|
+
name: string;
|
8955
|
+
picture?: string | undefined;
|
8956
|
+
additionalCredentials?: any;
|
8957
|
+
}, {
|
8958
|
+
id: string;
|
8959
|
+
name: string;
|
8960
|
+
picture?: string | undefined;
|
8961
|
+
additionalCredentials?: any;
|
8962
|
+
}>;
|
8963
|
+
}, "strip", z.ZodTypeAny, {
|
8964
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8965
|
+
id: string;
|
8966
|
+
metadata: {
|
8967
|
+
id: string;
|
8968
|
+
name: string;
|
8969
|
+
picture?: string | undefined;
|
8970
|
+
additionalCredentials?: any;
|
8971
|
+
};
|
8972
|
+
createdAt: Date;
|
8973
|
+
updatedAt: Date;
|
8974
|
+
deletedAt: Date | null;
|
8975
|
+
channelId: string;
|
8976
|
+
socialPlatformId: string;
|
8977
|
+
}, {
|
8978
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8979
|
+
id: string;
|
8980
|
+
metadata: {
|
8981
|
+
id: string;
|
8982
|
+
name: string;
|
8983
|
+
picture?: string | undefined;
|
8984
|
+
additionalCredentials?: any;
|
8985
|
+
};
|
8986
|
+
createdAt: Date;
|
8987
|
+
updatedAt: Date;
|
8988
|
+
deletedAt: Date | null;
|
8989
|
+
channelId: string;
|
8990
|
+
socialPlatformId: string;
|
8991
|
+
}>, "many">>;
|
8043
8992
|
customFields: z.ZodArray<z.ZodObject<{
|
8044
8993
|
id: z.ZodString;
|
8045
8994
|
createdAt: z.ZodDate;
|
@@ -8419,6 +9368,21 @@ export declare const contactContract: {
|
|
8419
9368
|
deletedAt: Date | null;
|
8420
9369
|
phone: string;
|
8421
9370
|
}[];
|
9371
|
+
platformContacts?: {
|
9372
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
9373
|
+
id: string;
|
9374
|
+
metadata: {
|
9375
|
+
id: string;
|
9376
|
+
name: string;
|
9377
|
+
picture?: string | undefined;
|
9378
|
+
additionalCredentials?: any;
|
9379
|
+
};
|
9380
|
+
createdAt: Date;
|
9381
|
+
updatedAt: Date;
|
9382
|
+
deletedAt: Date | null;
|
9383
|
+
channelId: string;
|
9384
|
+
socialPlatformId: string;
|
9385
|
+
}[] | undefined;
|
8422
9386
|
activityLogs?: {
|
8423
9387
|
id: string;
|
8424
9388
|
description: string;
|
@@ -8515,6 +9479,21 @@ export declare const contactContract: {
|
|
8515
9479
|
deletedAt: Date | null;
|
8516
9480
|
phone: string;
|
8517
9481
|
}[];
|
9482
|
+
platformContacts?: {
|
9483
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
9484
|
+
id: string;
|
9485
|
+
metadata: {
|
9486
|
+
id: string;
|
9487
|
+
name: string;
|
9488
|
+
picture?: string | undefined;
|
9489
|
+
additionalCredentials?: any;
|
9490
|
+
};
|
9491
|
+
createdAt: Date;
|
9492
|
+
updatedAt: Date;
|
9493
|
+
deletedAt: Date | null;
|
9494
|
+
channelId: string;
|
9495
|
+
socialPlatformId: string;
|
9496
|
+
}[] | undefined;
|
8518
9497
|
activityLogs?: {
|
8519
9498
|
id: string;
|
8520
9499
|
description: string;
|
@@ -8613,6 +9592,21 @@ export declare const contactContract: {
|
|
8613
9592
|
deletedAt: Date | null;
|
8614
9593
|
phone: string;
|
8615
9594
|
}[];
|
9595
|
+
platformContacts?: {
|
9596
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
9597
|
+
id: string;
|
9598
|
+
metadata: {
|
9599
|
+
id: string;
|
9600
|
+
name: string;
|
9601
|
+
picture?: string | undefined;
|
9602
|
+
additionalCredentials?: any;
|
9603
|
+
};
|
9604
|
+
createdAt: Date;
|
9605
|
+
updatedAt: Date;
|
9606
|
+
deletedAt: Date | null;
|
9607
|
+
channelId: string;
|
9608
|
+
socialPlatformId: string;
|
9609
|
+
}[] | undefined;
|
8616
9610
|
activityLogs?: {
|
8617
9611
|
id: string;
|
8618
9612
|
description: string;
|
@@ -8712,6 +9706,21 @@ export declare const contactContract: {
|
|
8712
9706
|
deletedAt: Date | null;
|
8713
9707
|
phone: string;
|
8714
9708
|
}[];
|
9709
|
+
platformContacts?: {
|
9710
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
9711
|
+
id: string;
|
9712
|
+
metadata: {
|
9713
|
+
id: string;
|
9714
|
+
name: string;
|
9715
|
+
picture?: string | undefined;
|
9716
|
+
additionalCredentials?: any;
|
9717
|
+
};
|
9718
|
+
createdAt: Date;
|
9719
|
+
updatedAt: Date;
|
9720
|
+
deletedAt: Date | null;
|
9721
|
+
channelId: string;
|
9722
|
+
socialPlatformId: string;
|
9723
|
+
}[] | undefined;
|
8715
9724
|
activityLogs?: {
|
8716
9725
|
id: string;
|
8717
9726
|
description: string;
|