@kl1/contracts 1.0.57 → 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +70 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +70 -7
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +385 -285
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +382 -285
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/package.json +3 -2
- package/dist/src/app/index.d.ts +0 -17
- package/dist/src/app/index.d.ts.map +0 -1
- package/dist/src/mail/mail-server.d.ts +0 -216
- package/dist/src/mail/mail-server.d.ts.map +0 -1
- package/dist/src/platform-contact/schema.d.ts +0 -30
- package/dist/src/platform-contact/schema.d.ts.map +0 -1
package/dist/src/chat/index.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
import { DefaultQueryParamsSchema } from '../base-contract';
|
3
|
+
import { MessageSchema, RoomSchema } from './schema';
|
3
4
|
import { ChannelSchema, GetRoomsSchema, ReceiveMessageSchema, SearchRoomsSchema, SendMessageResponseSchema, SendMessageSchema, SendMessageToPlatformSchema, SolveRoomSchema, UpdateAssigneeSchema, UpdateRoomAttributesSchema, UpdateRoomTagsAndNotesSchema } from './validation';
|
4
5
|
export type GetRoomRequest = z.infer<typeof GetRoomsSchema>;
|
5
6
|
export type UpdateRoomAttributesRequest = z.infer<typeof UpdateRoomAttributesSchema>;
|
@@ -14,6 +15,8 @@ export type DisconnectChannelToServiceRequest = z.infer<typeof ChannelSchema>;
|
|
14
15
|
export type SendMessageResponseRequest = z.infer<typeof SendMessageResponseSchema>;
|
15
16
|
export type ReceiveMessageRequest = z.infer<typeof ReceiveMessageSchema>;
|
16
17
|
export type GetMessagesResponse = z.infer<typeof DefaultQueryParamsSchema>;
|
18
|
+
export type RoomSchemaType = z.infer<typeof RoomSchema>;
|
19
|
+
export type MessageSchemaType = z.infer<typeof MessageSchema>;
|
17
20
|
export declare const receiveMessageContract: {
|
18
21
|
receiveMessage: {
|
19
22
|
body: z.ZodObject<{
|
@@ -34,7 +37,11 @@ export declare const receiveMessageContract: {
|
|
34
37
|
url: z.ZodOptional<z.ZodString>;
|
35
38
|
previewUrl: z.ZodOptional<z.ZodString>;
|
36
39
|
imageSetId: z.ZodOptional<z.ZodString>;
|
37
|
-
room: z.ZodObject<{
|
40
|
+
room: z.ZodNullable<z.ZodObject<{
|
41
|
+
id: z.ZodOptional<z.ZodString>;
|
42
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
43
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
44
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
38
45
|
lastMessage: z.ZodOptional<z.ZodString>;
|
39
46
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
40
47
|
closeAt: z.ZodOptional<z.ZodDate>;
|
@@ -44,6 +51,10 @@ export declare const receiveMessageContract: {
|
|
44
51
|
isLatest: z.ZodOptional<z.ZodBoolean>;
|
45
52
|
direction: z.ZodOptional<z.ZodEnum<["incoming", "outgoing", "system"]>>;
|
46
53
|
platformContact: z.ZodOptional<z.ZodObject<{
|
54
|
+
id: z.ZodString;
|
55
|
+
createdAt: z.ZodString;
|
56
|
+
updatedAt: z.ZodString;
|
57
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
47
58
|
channelId: z.ZodString;
|
48
59
|
socialPlatformId: z.ZodString;
|
49
60
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -65,6 +76,9 @@ export declare const receiveMessageContract: {
|
|
65
76
|
}>;
|
66
77
|
contact: z.ZodObject<{
|
67
78
|
id: z.ZodString;
|
79
|
+
createdAt: z.ZodString;
|
80
|
+
updatedAt: z.ZodString;
|
81
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
68
82
|
name: z.ZodString;
|
69
83
|
address: z.ZodNullable<z.ZodString>;
|
70
84
|
channel: z.ZodNullable<z.ZodString>;
|
@@ -90,7 +104,7 @@ export declare const receiveMessageContract: {
|
|
90
104
|
updatedAt: Date;
|
91
105
|
deletedAt: Date | null;
|
92
106
|
}>, "many">>;
|
93
|
-
company: z.
|
107
|
+
company: z.ZodOptional<z.ZodObject<Omit<{
|
94
108
|
id: z.ZodString;
|
95
109
|
createdAt: z.ZodDate;
|
96
110
|
updatedAt: z.ZodDate;
|
@@ -616,16 +630,9 @@ export declare const receiveMessageContract: {
|
|
616
630
|
channel: string | null;
|
617
631
|
address: string | null;
|
618
632
|
name: string;
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
updatedAt: Date;
|
623
|
-
deletedAt: Date | null;
|
624
|
-
address?: string | null | undefined;
|
625
|
-
name?: string | undefined;
|
626
|
-
phone?: string | null | undefined;
|
627
|
-
industry?: string | null | undefined;
|
628
|
-
} | null;
|
633
|
+
createdAt: string;
|
634
|
+
updatedAt: string;
|
635
|
+
deletedAt: string | null;
|
629
636
|
notes: string | null;
|
630
637
|
contactProfile: string | null;
|
631
638
|
socialProfileUrl: string | null;
|
@@ -636,6 +643,16 @@ export declare const receiveMessageContract: {
|
|
636
643
|
updatedAt: Date;
|
637
644
|
deletedAt: Date | null;
|
638
645
|
}[] | undefined;
|
646
|
+
company?: {
|
647
|
+
id: string;
|
648
|
+
createdAt: Date;
|
649
|
+
updatedAt: Date;
|
650
|
+
deletedAt: Date | null;
|
651
|
+
address?: string | null | undefined;
|
652
|
+
name?: string | undefined;
|
653
|
+
phone?: string | null | undefined;
|
654
|
+
industry?: string | null | undefined;
|
655
|
+
} | undefined;
|
639
656
|
customFields?: {
|
640
657
|
id: string;
|
641
658
|
createdAt: Date;
|
@@ -716,16 +733,9 @@ export declare const receiveMessageContract: {
|
|
716
733
|
channel: string | null;
|
717
734
|
address: string | null;
|
718
735
|
name: string;
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
updatedAt: Date;
|
723
|
-
deletedAt: Date | null;
|
724
|
-
address?: string | null | undefined;
|
725
|
-
name?: string | undefined;
|
726
|
-
phone?: string | null | undefined;
|
727
|
-
industry?: string | null | undefined;
|
728
|
-
} | null;
|
736
|
+
createdAt: string;
|
737
|
+
updatedAt: string;
|
738
|
+
deletedAt: string | null;
|
729
739
|
notes: string | null;
|
730
740
|
contactProfile: string | null;
|
731
741
|
socialProfileUrl: string | null;
|
@@ -736,6 +746,16 @@ export declare const receiveMessageContract: {
|
|
736
746
|
updatedAt: Date;
|
737
747
|
deletedAt: Date | null;
|
738
748
|
}[] | undefined;
|
749
|
+
company?: {
|
750
|
+
id: string;
|
751
|
+
createdAt: Date;
|
752
|
+
updatedAt: Date;
|
753
|
+
deletedAt: Date | null;
|
754
|
+
address?: string | null | undefined;
|
755
|
+
name?: string | undefined;
|
756
|
+
phone?: string | null | undefined;
|
757
|
+
industry?: string | null | undefined;
|
758
|
+
} | undefined;
|
739
759
|
customFields?: {
|
740
760
|
id: string;
|
741
761
|
createdAt: Date;
|
@@ -814,28 +834,25 @@ export declare const receiveMessageContract: {
|
|
814
834
|
}>;
|
815
835
|
}, "strip", z.ZodTypeAny, {
|
816
836
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
837
|
+
id: string;
|
817
838
|
metadata: {
|
818
839
|
id: string;
|
819
840
|
name: string;
|
820
841
|
picture?: string | undefined;
|
821
842
|
additionalCredentials?: any;
|
822
843
|
};
|
844
|
+
createdAt: string;
|
845
|
+
updatedAt: string;
|
846
|
+
deletedAt: string | null;
|
823
847
|
channelId: string;
|
824
848
|
contact: {
|
825
849
|
id: string;
|
826
850
|
channel: string | null;
|
827
851
|
address: string | null;
|
828
852
|
name: string;
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
updatedAt: Date;
|
833
|
-
deletedAt: Date | null;
|
834
|
-
address?: string | null | undefined;
|
835
|
-
name?: string | undefined;
|
836
|
-
phone?: string | null | undefined;
|
837
|
-
industry?: string | null | undefined;
|
838
|
-
} | null;
|
853
|
+
createdAt: string;
|
854
|
+
updatedAt: string;
|
855
|
+
deletedAt: string | null;
|
839
856
|
notes: string | null;
|
840
857
|
contactProfile: string | null;
|
841
858
|
socialProfileUrl: string | null;
|
@@ -846,6 +863,16 @@ export declare const receiveMessageContract: {
|
|
846
863
|
updatedAt: Date;
|
847
864
|
deletedAt: Date | null;
|
848
865
|
}[] | undefined;
|
866
|
+
company?: {
|
867
|
+
id: string;
|
868
|
+
createdAt: Date;
|
869
|
+
updatedAt: Date;
|
870
|
+
deletedAt: Date | null;
|
871
|
+
address?: string | null | undefined;
|
872
|
+
name?: string | undefined;
|
873
|
+
phone?: string | null | undefined;
|
874
|
+
industry?: string | null | undefined;
|
875
|
+
} | undefined;
|
849
876
|
customFields?: {
|
850
877
|
id: string;
|
851
878
|
createdAt: Date;
|
@@ -925,28 +952,25 @@ export declare const receiveMessageContract: {
|
|
925
952
|
socialPlatformId: string;
|
926
953
|
}, {
|
927
954
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
955
|
+
id: string;
|
928
956
|
metadata: {
|
929
957
|
id: string;
|
930
958
|
name: string;
|
931
959
|
picture?: string | undefined;
|
932
960
|
additionalCredentials?: any;
|
933
961
|
};
|
962
|
+
createdAt: string;
|
963
|
+
updatedAt: string;
|
964
|
+
deletedAt: string | null;
|
934
965
|
channelId: string;
|
935
966
|
contact: {
|
936
967
|
id: string;
|
937
968
|
channel: string | null;
|
938
969
|
address: string | null;
|
939
970
|
name: string;
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
updatedAt: Date;
|
944
|
-
deletedAt: Date | null;
|
945
|
-
address?: string | null | undefined;
|
946
|
-
name?: string | undefined;
|
947
|
-
phone?: string | null | undefined;
|
948
|
-
industry?: string | null | undefined;
|
949
|
-
} | null;
|
971
|
+
createdAt: string;
|
972
|
+
updatedAt: string;
|
973
|
+
deletedAt: string | null;
|
950
974
|
notes: string | null;
|
951
975
|
contactProfile: string | null;
|
952
976
|
socialProfileUrl: string | null;
|
@@ -957,6 +981,16 @@ export declare const receiveMessageContract: {
|
|
957
981
|
updatedAt: Date;
|
958
982
|
deletedAt: Date | null;
|
959
983
|
}[] | undefined;
|
984
|
+
company?: {
|
985
|
+
id: string;
|
986
|
+
createdAt: Date;
|
987
|
+
updatedAt: Date;
|
988
|
+
deletedAt: Date | null;
|
989
|
+
address?: string | null | undefined;
|
990
|
+
name?: string | undefined;
|
991
|
+
phone?: string | null | undefined;
|
992
|
+
industry?: string | null | undefined;
|
993
|
+
} | undefined;
|
960
994
|
customFields?: {
|
961
995
|
id: string;
|
962
996
|
createdAt: Date;
|
@@ -1035,19 +1069,19 @@ export declare const receiveMessageContract: {
|
|
1035
1069
|
};
|
1036
1070
|
socialPlatformId: string;
|
1037
1071
|
}>>;
|
1038
|
-
actor: z.ZodOptional<z.ZodObject<{
|
1072
|
+
actor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
1039
1073
|
id: z.ZodString;
|
1040
|
-
createdAt: z.
|
1041
|
-
updatedAt: z.
|
1042
|
-
deletedAt: z.ZodNullable<z.
|
1074
|
+
createdAt: z.ZodString;
|
1075
|
+
updatedAt: z.ZodString;
|
1076
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1043
1077
|
name: z.ZodString;
|
1044
1078
|
email: z.ZodString;
|
1045
|
-
emailVerifiedAt: z.
|
1079
|
+
emailVerifiedAt: z.ZodOptional<z.ZodDate>;
|
1046
1080
|
password: z.ZodString;
|
1047
1081
|
address: z.ZodNullable<z.ZodString>;
|
1048
1082
|
phone: z.ZodNullable<z.ZodString>;
|
1049
1083
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
1050
|
-
roles: z.ZodArray<z.ZodObject<{
|
1084
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1051
1085
|
id: z.ZodString;
|
1052
1086
|
createdAt: z.ZodDate;
|
1053
1087
|
updatedAt: z.ZodDate;
|
@@ -1114,8 +1148,8 @@ export declare const receiveMessageContract: {
|
|
1114
1148
|
systemName: string;
|
1115
1149
|
displayName: string;
|
1116
1150
|
}[];
|
1117
|
-
}>, "many"
|
1118
|
-
extension: z.ZodObject<{
|
1151
|
+
}>, "many">>;
|
1152
|
+
extension: z.ZodOptional<z.ZodObject<{
|
1119
1153
|
id: z.ZodString;
|
1120
1154
|
createdAt: z.ZodDate;
|
1121
1155
|
updatedAt: z.ZodDate;
|
@@ -1151,20 +1185,20 @@ export declare const receiveMessageContract: {
|
|
1151
1185
|
extensionId: string | null;
|
1152
1186
|
extensionName: string;
|
1153
1187
|
telephonySignature: string | null;
|
1154
|
-
}
|
1188
|
+
}>>;
|
1155
1189
|
}, "strip", z.ZodTypeAny, {
|
1156
1190
|
id: string;
|
1157
1191
|
address: string | null;
|
1158
1192
|
name: string;
|
1159
1193
|
email: string;
|
1160
|
-
createdAt:
|
1161
|
-
updatedAt:
|
1162
|
-
deletedAt:
|
1163
|
-
emailVerifiedAt: Date | null;
|
1194
|
+
createdAt: string;
|
1195
|
+
updatedAt: string;
|
1196
|
+
deletedAt: string | null;
|
1164
1197
|
password: string;
|
1165
1198
|
phone: string | null;
|
1166
1199
|
notificationCount: number | null;
|
1167
|
-
|
1200
|
+
emailVerifiedAt?: Date | undefined;
|
1201
|
+
roles?: {
|
1168
1202
|
id: string;
|
1169
1203
|
description: string | null;
|
1170
1204
|
createdAt: Date;
|
@@ -1181,8 +1215,8 @@ export declare const receiveMessageContract: {
|
|
1181
1215
|
systemName: string;
|
1182
1216
|
displayName: string;
|
1183
1217
|
}[];
|
1184
|
-
}[];
|
1185
|
-
extension
|
1218
|
+
}[] | undefined;
|
1219
|
+
extension?: {
|
1186
1220
|
id: string;
|
1187
1221
|
createdAt: Date;
|
1188
1222
|
updatedAt: Date;
|
@@ -1194,20 +1228,20 @@ export declare const receiveMessageContract: {
|
|
1194
1228
|
extensionId: string | null;
|
1195
1229
|
extensionName: string;
|
1196
1230
|
telephonySignature: string | null;
|
1197
|
-
};
|
1231
|
+
} | undefined;
|
1198
1232
|
}, {
|
1199
1233
|
id: string;
|
1200
1234
|
address: string | null;
|
1201
1235
|
name: string;
|
1202
1236
|
email: string;
|
1203
|
-
createdAt:
|
1204
|
-
updatedAt:
|
1205
|
-
deletedAt:
|
1206
|
-
emailVerifiedAt: Date | null;
|
1237
|
+
createdAt: string;
|
1238
|
+
updatedAt: string;
|
1239
|
+
deletedAt: string | null;
|
1207
1240
|
password: string;
|
1208
1241
|
phone: string | null;
|
1209
1242
|
notificationCount: number | null;
|
1210
|
-
|
1243
|
+
emailVerifiedAt?: Date | undefined;
|
1244
|
+
roles?: {
|
1211
1245
|
id: string;
|
1212
1246
|
description: string | null;
|
1213
1247
|
createdAt: Date;
|
@@ -1224,8 +1258,8 @@ export declare const receiveMessageContract: {
|
|
1224
1258
|
systemName: string;
|
1225
1259
|
displayName: string;
|
1226
1260
|
}[];
|
1227
|
-
}[];
|
1228
|
-
extension
|
1261
|
+
}[] | undefined;
|
1262
|
+
extension?: {
|
1229
1263
|
id: string;
|
1230
1264
|
createdAt: Date;
|
1231
1265
|
updatedAt: Date;
|
@@ -1237,21 +1271,21 @@ export declare const receiveMessageContract: {
|
|
1237
1271
|
extensionId: string | null;
|
1238
1272
|
extensionName: string;
|
1239
1273
|
telephonySignature: string | null;
|
1240
|
-
};
|
1241
|
-
}
|
1242
|
-
assignee: z.ZodOptional<z.ZodObject<{
|
1274
|
+
} | undefined;
|
1275
|
+
}>>>;
|
1276
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
1243
1277
|
id: z.ZodString;
|
1244
|
-
createdAt: z.
|
1245
|
-
updatedAt: z.
|
1246
|
-
deletedAt: z.ZodNullable<z.
|
1278
|
+
createdAt: z.ZodString;
|
1279
|
+
updatedAt: z.ZodString;
|
1280
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1247
1281
|
name: z.ZodString;
|
1248
1282
|
email: z.ZodString;
|
1249
|
-
emailVerifiedAt: z.
|
1283
|
+
emailVerifiedAt: z.ZodOptional<z.ZodDate>;
|
1250
1284
|
password: z.ZodString;
|
1251
1285
|
address: z.ZodNullable<z.ZodString>;
|
1252
1286
|
phone: z.ZodNullable<z.ZodString>;
|
1253
1287
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
1254
|
-
roles: z.ZodArray<z.ZodObject<{
|
1288
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1255
1289
|
id: z.ZodString;
|
1256
1290
|
createdAt: z.ZodDate;
|
1257
1291
|
updatedAt: z.ZodDate;
|
@@ -1318,8 +1352,8 @@ export declare const receiveMessageContract: {
|
|
1318
1352
|
systemName: string;
|
1319
1353
|
displayName: string;
|
1320
1354
|
}[];
|
1321
|
-
}>, "many"
|
1322
|
-
extension: z.ZodObject<{
|
1355
|
+
}>, "many">>;
|
1356
|
+
extension: z.ZodOptional<z.ZodObject<{
|
1323
1357
|
id: z.ZodString;
|
1324
1358
|
createdAt: z.ZodDate;
|
1325
1359
|
updatedAt: z.ZodDate;
|
@@ -1355,20 +1389,20 @@ export declare const receiveMessageContract: {
|
|
1355
1389
|
extensionId: string | null;
|
1356
1390
|
extensionName: string;
|
1357
1391
|
telephonySignature: string | null;
|
1358
|
-
}
|
1392
|
+
}>>;
|
1359
1393
|
}, "strip", z.ZodTypeAny, {
|
1360
1394
|
id: string;
|
1361
1395
|
address: string | null;
|
1362
1396
|
name: string;
|
1363
1397
|
email: string;
|
1364
|
-
createdAt:
|
1365
|
-
updatedAt:
|
1366
|
-
deletedAt:
|
1367
|
-
emailVerifiedAt: Date | null;
|
1398
|
+
createdAt: string;
|
1399
|
+
updatedAt: string;
|
1400
|
+
deletedAt: string | null;
|
1368
1401
|
password: string;
|
1369
1402
|
phone: string | null;
|
1370
1403
|
notificationCount: number | null;
|
1371
|
-
|
1404
|
+
emailVerifiedAt?: Date | undefined;
|
1405
|
+
roles?: {
|
1372
1406
|
id: string;
|
1373
1407
|
description: string | null;
|
1374
1408
|
createdAt: Date;
|
@@ -1385,8 +1419,8 @@ export declare const receiveMessageContract: {
|
|
1385
1419
|
systemName: string;
|
1386
1420
|
displayName: string;
|
1387
1421
|
}[];
|
1388
|
-
}[];
|
1389
|
-
extension
|
1422
|
+
}[] | undefined;
|
1423
|
+
extension?: {
|
1390
1424
|
id: string;
|
1391
1425
|
createdAt: Date;
|
1392
1426
|
updatedAt: Date;
|
@@ -1398,20 +1432,20 @@ export declare const receiveMessageContract: {
|
|
1398
1432
|
extensionId: string | null;
|
1399
1433
|
extensionName: string;
|
1400
1434
|
telephonySignature: string | null;
|
1401
|
-
};
|
1435
|
+
} | undefined;
|
1402
1436
|
}, {
|
1403
1437
|
id: string;
|
1404
1438
|
address: string | null;
|
1405
1439
|
name: string;
|
1406
1440
|
email: string;
|
1407
|
-
createdAt:
|
1408
|
-
updatedAt:
|
1409
|
-
deletedAt:
|
1410
|
-
emailVerifiedAt: Date | null;
|
1441
|
+
createdAt: string;
|
1442
|
+
updatedAt: string;
|
1443
|
+
deletedAt: string | null;
|
1411
1444
|
password: string;
|
1412
1445
|
phone: string | null;
|
1413
1446
|
notificationCount: number | null;
|
1414
|
-
|
1447
|
+
emailVerifiedAt?: Date | undefined;
|
1448
|
+
roles?: {
|
1415
1449
|
id: string;
|
1416
1450
|
description: string | null;
|
1417
1451
|
createdAt: Date;
|
@@ -1428,8 +1462,8 @@ export declare const receiveMessageContract: {
|
|
1428
1462
|
systemName: string;
|
1429
1463
|
displayName: string;
|
1430
1464
|
}[];
|
1431
|
-
}[];
|
1432
|
-
extension
|
1465
|
+
}[] | undefined;
|
1466
|
+
extension?: {
|
1433
1467
|
id: string;
|
1434
1468
|
createdAt: Date;
|
1435
1469
|
updatedAt: Date;
|
@@ -1441,8 +1475,8 @@ export declare const receiveMessageContract: {
|
|
1441
1475
|
extensionId: string | null;
|
1442
1476
|
extensionName: string;
|
1443
1477
|
telephonySignature: string | null;
|
1444
|
-
};
|
1445
|
-
}
|
1478
|
+
} | undefined;
|
1479
|
+
}>>>;
|
1446
1480
|
channel: z.ZodOptional<z.ZodObject<{
|
1447
1481
|
name: z.ZodString;
|
1448
1482
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -1677,6 +1711,10 @@ export declare const receiveMessageContract: {
|
|
1677
1711
|
} | null;
|
1678
1712
|
}>>;
|
1679
1713
|
}, "strip", z.ZodTypeAny, {
|
1714
|
+
id?: string | undefined;
|
1715
|
+
createdAt?: string | undefined;
|
1716
|
+
updatedAt?: string | undefined;
|
1717
|
+
deletedAt?: string | null | undefined;
|
1680
1718
|
lastMessage?: string | undefined;
|
1681
1719
|
handleTime?: number | undefined;
|
1682
1720
|
closeAt?: Date | undefined;
|
@@ -1687,28 +1725,25 @@ export declare const receiveMessageContract: {
|
|
1687
1725
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
1688
1726
|
platformContact?: {
|
1689
1727
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1728
|
+
id: string;
|
1690
1729
|
metadata: {
|
1691
1730
|
id: string;
|
1692
1731
|
name: string;
|
1693
1732
|
picture?: string | undefined;
|
1694
1733
|
additionalCredentials?: any;
|
1695
1734
|
};
|
1735
|
+
createdAt: string;
|
1736
|
+
updatedAt: string;
|
1737
|
+
deletedAt: string | null;
|
1696
1738
|
channelId: string;
|
1697
1739
|
contact: {
|
1698
1740
|
id: string;
|
1699
1741
|
channel: string | null;
|
1700
1742
|
address: string | null;
|
1701
1743
|
name: string;
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
updatedAt: Date;
|
1706
|
-
deletedAt: Date | null;
|
1707
|
-
address?: string | null | undefined;
|
1708
|
-
name?: string | undefined;
|
1709
|
-
phone?: string | null | undefined;
|
1710
|
-
industry?: string | null | undefined;
|
1711
|
-
} | null;
|
1744
|
+
createdAt: string;
|
1745
|
+
updatedAt: string;
|
1746
|
+
deletedAt: string | null;
|
1712
1747
|
notes: string | null;
|
1713
1748
|
contactProfile: string | null;
|
1714
1749
|
socialProfileUrl: string | null;
|
@@ -1719,6 +1754,16 @@ export declare const receiveMessageContract: {
|
|
1719
1754
|
updatedAt: Date;
|
1720
1755
|
deletedAt: Date | null;
|
1721
1756
|
}[] | undefined;
|
1757
|
+
company?: {
|
1758
|
+
id: string;
|
1759
|
+
createdAt: Date;
|
1760
|
+
updatedAt: Date;
|
1761
|
+
deletedAt: Date | null;
|
1762
|
+
address?: string | null | undefined;
|
1763
|
+
name?: string | undefined;
|
1764
|
+
phone?: string | null | undefined;
|
1765
|
+
industry?: string | null | undefined;
|
1766
|
+
} | undefined;
|
1722
1767
|
customFields?: {
|
1723
1768
|
id: string;
|
1724
1769
|
createdAt: Date;
|
@@ -1802,14 +1847,14 @@ export declare const receiveMessageContract: {
|
|
1802
1847
|
address: string | null;
|
1803
1848
|
name: string;
|
1804
1849
|
email: string;
|
1805
|
-
createdAt:
|
1806
|
-
updatedAt:
|
1807
|
-
deletedAt:
|
1808
|
-
emailVerifiedAt: Date | null;
|
1850
|
+
createdAt: string;
|
1851
|
+
updatedAt: string;
|
1852
|
+
deletedAt: string | null;
|
1809
1853
|
password: string;
|
1810
1854
|
phone: string | null;
|
1811
1855
|
notificationCount: number | null;
|
1812
|
-
|
1856
|
+
emailVerifiedAt?: Date | undefined;
|
1857
|
+
roles?: {
|
1813
1858
|
id: string;
|
1814
1859
|
description: string | null;
|
1815
1860
|
createdAt: Date;
|
@@ -1826,8 +1871,8 @@ export declare const receiveMessageContract: {
|
|
1826
1871
|
systemName: string;
|
1827
1872
|
displayName: string;
|
1828
1873
|
}[];
|
1829
|
-
}[];
|
1830
|
-
extension
|
1874
|
+
}[] | undefined;
|
1875
|
+
extension?: {
|
1831
1876
|
id: string;
|
1832
1877
|
createdAt: Date;
|
1833
1878
|
updatedAt: Date;
|
@@ -1839,21 +1884,21 @@ export declare const receiveMessageContract: {
|
|
1839
1884
|
extensionId: string | null;
|
1840
1885
|
extensionName: string;
|
1841
1886
|
telephonySignature: string | null;
|
1842
|
-
};
|
1843
|
-
} | undefined;
|
1887
|
+
} | undefined;
|
1888
|
+
} | null | undefined;
|
1844
1889
|
assignee?: {
|
1845
1890
|
id: string;
|
1846
1891
|
address: string | null;
|
1847
1892
|
name: string;
|
1848
1893
|
email: string;
|
1849
|
-
createdAt:
|
1850
|
-
updatedAt:
|
1851
|
-
deletedAt:
|
1852
|
-
emailVerifiedAt: Date | null;
|
1894
|
+
createdAt: string;
|
1895
|
+
updatedAt: string;
|
1896
|
+
deletedAt: string | null;
|
1853
1897
|
password: string;
|
1854
1898
|
phone: string | null;
|
1855
1899
|
notificationCount: number | null;
|
1856
|
-
|
1900
|
+
emailVerifiedAt?: Date | undefined;
|
1901
|
+
roles?: {
|
1857
1902
|
id: string;
|
1858
1903
|
description: string | null;
|
1859
1904
|
createdAt: Date;
|
@@ -1870,8 +1915,8 @@ export declare const receiveMessageContract: {
|
|
1870
1915
|
systemName: string;
|
1871
1916
|
displayName: string;
|
1872
1917
|
}[];
|
1873
|
-
}[];
|
1874
|
-
extension
|
1918
|
+
}[] | undefined;
|
1919
|
+
extension?: {
|
1875
1920
|
id: string;
|
1876
1921
|
createdAt: Date;
|
1877
1922
|
updatedAt: Date;
|
@@ -1883,8 +1928,8 @@ export declare const receiveMessageContract: {
|
|
1883
1928
|
extensionId: string | null;
|
1884
1929
|
extensionName: string;
|
1885
1930
|
telephonySignature: string | null;
|
1886
|
-
};
|
1887
|
-
} | undefined;
|
1931
|
+
} | undefined;
|
1932
|
+
} | null | undefined;
|
1888
1933
|
channel?: {
|
1889
1934
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1890
1935
|
name: string;
|
@@ -1943,6 +1988,10 @@ export declare const receiveMessageContract: {
|
|
1943
1988
|
} | null;
|
1944
1989
|
} | undefined;
|
1945
1990
|
}, {
|
1991
|
+
id?: string | undefined;
|
1992
|
+
createdAt?: string | undefined;
|
1993
|
+
updatedAt?: string | undefined;
|
1994
|
+
deletedAt?: string | null | undefined;
|
1946
1995
|
lastMessage?: string | undefined;
|
1947
1996
|
handleTime?: number | undefined;
|
1948
1997
|
closeAt?: Date | undefined;
|
@@ -1953,28 +2002,25 @@ export declare const receiveMessageContract: {
|
|
1953
2002
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
1954
2003
|
platformContact?: {
|
1955
2004
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
2005
|
+
id: string;
|
1956
2006
|
metadata: {
|
1957
2007
|
id: string;
|
1958
2008
|
name: string;
|
1959
2009
|
picture?: string | undefined;
|
1960
2010
|
additionalCredentials?: any;
|
1961
2011
|
};
|
2012
|
+
createdAt: string;
|
2013
|
+
updatedAt: string;
|
2014
|
+
deletedAt: string | null;
|
1962
2015
|
channelId: string;
|
1963
2016
|
contact: {
|
1964
2017
|
id: string;
|
1965
2018
|
channel: string | null;
|
1966
2019
|
address: string | null;
|
1967
2020
|
name: string;
|
1968
|
-
|
1969
|
-
|
1970
|
-
|
1971
|
-
updatedAt: Date;
|
1972
|
-
deletedAt: Date | null;
|
1973
|
-
address?: string | null | undefined;
|
1974
|
-
name?: string | undefined;
|
1975
|
-
phone?: string | null | undefined;
|
1976
|
-
industry?: string | null | undefined;
|
1977
|
-
} | null;
|
2021
|
+
createdAt: string;
|
2022
|
+
updatedAt: string;
|
2023
|
+
deletedAt: string | null;
|
1978
2024
|
notes: string | null;
|
1979
2025
|
contactProfile: string | null;
|
1980
2026
|
socialProfileUrl: string | null;
|
@@ -1985,6 +2031,16 @@ export declare const receiveMessageContract: {
|
|
1985
2031
|
updatedAt: Date;
|
1986
2032
|
deletedAt: Date | null;
|
1987
2033
|
}[] | undefined;
|
2034
|
+
company?: {
|
2035
|
+
id: string;
|
2036
|
+
createdAt: Date;
|
2037
|
+
updatedAt: Date;
|
2038
|
+
deletedAt: Date | null;
|
2039
|
+
address?: string | null | undefined;
|
2040
|
+
name?: string | undefined;
|
2041
|
+
phone?: string | null | undefined;
|
2042
|
+
industry?: string | null | undefined;
|
2043
|
+
} | undefined;
|
1988
2044
|
customFields?: {
|
1989
2045
|
id: string;
|
1990
2046
|
createdAt: Date;
|
@@ -2068,14 +2124,14 @@ export declare const receiveMessageContract: {
|
|
2068
2124
|
address: string | null;
|
2069
2125
|
name: string;
|
2070
2126
|
email: string;
|
2071
|
-
createdAt:
|
2072
|
-
updatedAt:
|
2073
|
-
deletedAt:
|
2074
|
-
emailVerifiedAt: Date | null;
|
2127
|
+
createdAt: string;
|
2128
|
+
updatedAt: string;
|
2129
|
+
deletedAt: string | null;
|
2075
2130
|
password: string;
|
2076
2131
|
phone: string | null;
|
2077
2132
|
notificationCount: number | null;
|
2078
|
-
|
2133
|
+
emailVerifiedAt?: Date | undefined;
|
2134
|
+
roles?: {
|
2079
2135
|
id: string;
|
2080
2136
|
description: string | null;
|
2081
2137
|
createdAt: Date;
|
@@ -2092,8 +2148,8 @@ export declare const receiveMessageContract: {
|
|
2092
2148
|
systemName: string;
|
2093
2149
|
displayName: string;
|
2094
2150
|
}[];
|
2095
|
-
}[];
|
2096
|
-
extension
|
2151
|
+
}[] | undefined;
|
2152
|
+
extension?: {
|
2097
2153
|
id: string;
|
2098
2154
|
createdAt: Date;
|
2099
2155
|
updatedAt: Date;
|
@@ -2105,21 +2161,21 @@ export declare const receiveMessageContract: {
|
|
2105
2161
|
extensionId: string | null;
|
2106
2162
|
extensionName: string;
|
2107
2163
|
telephonySignature: string | null;
|
2108
|
-
};
|
2109
|
-
} | undefined;
|
2164
|
+
} | undefined;
|
2165
|
+
} | null | undefined;
|
2110
2166
|
assignee?: {
|
2111
2167
|
id: string;
|
2112
2168
|
address: string | null;
|
2113
2169
|
name: string;
|
2114
2170
|
email: string;
|
2115
|
-
createdAt:
|
2116
|
-
updatedAt:
|
2117
|
-
deletedAt:
|
2118
|
-
emailVerifiedAt: Date | null;
|
2171
|
+
createdAt: string;
|
2172
|
+
updatedAt: string;
|
2173
|
+
deletedAt: string | null;
|
2119
2174
|
password: string;
|
2120
2175
|
phone: string | null;
|
2121
2176
|
notificationCount: number | null;
|
2122
|
-
|
2177
|
+
emailVerifiedAt?: Date | undefined;
|
2178
|
+
roles?: {
|
2123
2179
|
id: string;
|
2124
2180
|
description: string | null;
|
2125
2181
|
createdAt: Date;
|
@@ -2136,8 +2192,8 @@ export declare const receiveMessageContract: {
|
|
2136
2192
|
systemName: string;
|
2137
2193
|
displayName: string;
|
2138
2194
|
}[];
|
2139
|
-
}[];
|
2140
|
-
extension
|
2195
|
+
}[] | undefined;
|
2196
|
+
extension?: {
|
2141
2197
|
id: string;
|
2142
2198
|
createdAt: Date;
|
2143
2199
|
updatedAt: Date;
|
@@ -2149,8 +2205,8 @@ export declare const receiveMessageContract: {
|
|
2149
2205
|
extensionId: string | null;
|
2150
2206
|
extensionName: string;
|
2151
2207
|
telephonySignature: string | null;
|
2152
|
-
};
|
2153
|
-
} | undefined;
|
2208
|
+
} | undefined;
|
2209
|
+
} | null | undefined;
|
2154
2210
|
channel?: {
|
2155
2211
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
2156
2212
|
name: string;
|
@@ -2208,7 +2264,7 @@ export declare const receiveMessageContract: {
|
|
2208
2264
|
note: string | null;
|
2209
2265
|
} | null;
|
2210
2266
|
} | undefined;
|
2211
|
-
}
|
2267
|
+
}>>;
|
2212
2268
|
upload: z.ZodOptional<z.ZodObject<{
|
2213
2269
|
bucketName: z.ZodNullable<z.ZodString>;
|
2214
2270
|
fileName: z.ZodNullable<z.ZodString>;
|
@@ -2243,7 +2299,7 @@ export declare const receiveMessageContract: {
|
|
2243
2299
|
fileUrl?: string | undefined;
|
2244
2300
|
status?: string | undefined;
|
2245
2301
|
}>>;
|
2246
|
-
actor: z.ZodOptional<z.ZodObject<{
|
2302
|
+
actor: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2247
2303
|
id: z.ZodString;
|
2248
2304
|
createdAt: z.ZodDate;
|
2249
2305
|
updatedAt: z.ZodDate;
|
@@ -2446,8 +2502,8 @@ export declare const receiveMessageContract: {
|
|
2446
2502
|
extensionName: string;
|
2447
2503
|
telephonySignature: string | null;
|
2448
2504
|
};
|
2449
|
-
}
|
2450
|
-
assignee: z.ZodOptional<z.ZodObject<{
|
2505
|
+
}>>>;
|
2506
|
+
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2451
2507
|
id: z.ZodString;
|
2452
2508
|
createdAt: z.ZodDate;
|
2453
2509
|
updatedAt: z.ZodDate;
|
@@ -2650,8 +2706,8 @@ export declare const receiveMessageContract: {
|
|
2650
2706
|
extensionName: string;
|
2651
2707
|
telephonySignature: string | null;
|
2652
2708
|
};
|
2653
|
-
}
|
2654
|
-
sender: z.ZodOptional<z.ZodObject<{
|
2709
|
+
}>>>;
|
2710
|
+
sender: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2655
2711
|
id: z.ZodString;
|
2656
2712
|
createdAt: z.ZodDate;
|
2657
2713
|
updatedAt: z.ZodDate;
|
@@ -2854,7 +2910,7 @@ export declare const receiveMessageContract: {
|
|
2854
2910
|
extensionName: string;
|
2855
2911
|
telephonySignature: string | null;
|
2856
2912
|
};
|
2857
|
-
}
|
2913
|
+
}>>>;
|
2858
2914
|
}, "strip", z.ZodTypeAny, {
|
2859
2915
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
2860
2916
|
id: string;
|
@@ -2864,6 +2920,10 @@ export declare const receiveMessageContract: {
|
|
2864
2920
|
deletedAt: string | null;
|
2865
2921
|
platformId: string;
|
2866
2922
|
room: {
|
2923
|
+
id?: string | undefined;
|
2924
|
+
createdAt?: string | undefined;
|
2925
|
+
updatedAt?: string | undefined;
|
2926
|
+
deletedAt?: string | null | undefined;
|
2867
2927
|
lastMessage?: string | undefined;
|
2868
2928
|
handleTime?: number | undefined;
|
2869
2929
|
closeAt?: Date | undefined;
|
@@ -2874,28 +2934,25 @@ export declare const receiveMessageContract: {
|
|
2874
2934
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
2875
2935
|
platformContact?: {
|
2876
2936
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
2937
|
+
id: string;
|
2877
2938
|
metadata: {
|
2878
2939
|
id: string;
|
2879
2940
|
name: string;
|
2880
2941
|
picture?: string | undefined;
|
2881
2942
|
additionalCredentials?: any;
|
2882
2943
|
};
|
2944
|
+
createdAt: string;
|
2945
|
+
updatedAt: string;
|
2946
|
+
deletedAt: string | null;
|
2883
2947
|
channelId: string;
|
2884
2948
|
contact: {
|
2885
2949
|
id: string;
|
2886
2950
|
channel: string | null;
|
2887
2951
|
address: string | null;
|
2888
2952
|
name: string;
|
2889
|
-
|
2890
|
-
|
2891
|
-
|
2892
|
-
updatedAt: Date;
|
2893
|
-
deletedAt: Date | null;
|
2894
|
-
address?: string | null | undefined;
|
2895
|
-
name?: string | undefined;
|
2896
|
-
phone?: string | null | undefined;
|
2897
|
-
industry?: string | null | undefined;
|
2898
|
-
} | null;
|
2953
|
+
createdAt: string;
|
2954
|
+
updatedAt: string;
|
2955
|
+
deletedAt: string | null;
|
2899
2956
|
notes: string | null;
|
2900
2957
|
contactProfile: string | null;
|
2901
2958
|
socialProfileUrl: string | null;
|
@@ -2906,6 +2963,16 @@ export declare const receiveMessageContract: {
|
|
2906
2963
|
updatedAt: Date;
|
2907
2964
|
deletedAt: Date | null;
|
2908
2965
|
}[] | undefined;
|
2966
|
+
company?: {
|
2967
|
+
id: string;
|
2968
|
+
createdAt: Date;
|
2969
|
+
updatedAt: Date;
|
2970
|
+
deletedAt: Date | null;
|
2971
|
+
address?: string | null | undefined;
|
2972
|
+
name?: string | undefined;
|
2973
|
+
phone?: string | null | undefined;
|
2974
|
+
industry?: string | null | undefined;
|
2975
|
+
} | undefined;
|
2909
2976
|
customFields?: {
|
2910
2977
|
id: string;
|
2911
2978
|
createdAt: Date;
|
@@ -2989,14 +3056,14 @@ export declare const receiveMessageContract: {
|
|
2989
3056
|
address: string | null;
|
2990
3057
|
name: string;
|
2991
3058
|
email: string;
|
2992
|
-
createdAt:
|
2993
|
-
updatedAt:
|
2994
|
-
deletedAt:
|
2995
|
-
emailVerifiedAt: Date | null;
|
3059
|
+
createdAt: string;
|
3060
|
+
updatedAt: string;
|
3061
|
+
deletedAt: string | null;
|
2996
3062
|
password: string;
|
2997
3063
|
phone: string | null;
|
2998
3064
|
notificationCount: number | null;
|
2999
|
-
|
3065
|
+
emailVerifiedAt?: Date | undefined;
|
3066
|
+
roles?: {
|
3000
3067
|
id: string;
|
3001
3068
|
description: string | null;
|
3002
3069
|
createdAt: Date;
|
@@ -3013,8 +3080,8 @@ export declare const receiveMessageContract: {
|
|
3013
3080
|
systemName: string;
|
3014
3081
|
displayName: string;
|
3015
3082
|
}[];
|
3016
|
-
}[];
|
3017
|
-
extension
|
3083
|
+
}[] | undefined;
|
3084
|
+
extension?: {
|
3018
3085
|
id: string;
|
3019
3086
|
createdAt: Date;
|
3020
3087
|
updatedAt: Date;
|
@@ -3026,21 +3093,21 @@ export declare const receiveMessageContract: {
|
|
3026
3093
|
extensionId: string | null;
|
3027
3094
|
extensionName: string;
|
3028
3095
|
telephonySignature: string | null;
|
3029
|
-
};
|
3030
|
-
} | undefined;
|
3096
|
+
} | undefined;
|
3097
|
+
} | null | undefined;
|
3031
3098
|
assignee?: {
|
3032
3099
|
id: string;
|
3033
3100
|
address: string | null;
|
3034
3101
|
name: string;
|
3035
3102
|
email: string;
|
3036
|
-
createdAt:
|
3037
|
-
updatedAt:
|
3038
|
-
deletedAt:
|
3039
|
-
emailVerifiedAt: Date | null;
|
3103
|
+
createdAt: string;
|
3104
|
+
updatedAt: string;
|
3105
|
+
deletedAt: string | null;
|
3040
3106
|
password: string;
|
3041
3107
|
phone: string | null;
|
3042
3108
|
notificationCount: number | null;
|
3043
|
-
|
3109
|
+
emailVerifiedAt?: Date | undefined;
|
3110
|
+
roles?: {
|
3044
3111
|
id: string;
|
3045
3112
|
description: string | null;
|
3046
3113
|
createdAt: Date;
|
@@ -3057,8 +3124,8 @@ export declare const receiveMessageContract: {
|
|
3057
3124
|
systemName: string;
|
3058
3125
|
displayName: string;
|
3059
3126
|
}[];
|
3060
|
-
}[];
|
3061
|
-
extension
|
3127
|
+
}[] | undefined;
|
3128
|
+
extension?: {
|
3062
3129
|
id: string;
|
3063
3130
|
createdAt: Date;
|
3064
3131
|
updatedAt: Date;
|
@@ -3070,8 +3137,8 @@ export declare const receiveMessageContract: {
|
|
3070
3137
|
extensionId: string | null;
|
3071
3138
|
extensionName: string;
|
3072
3139
|
telephonySignature: string | null;
|
3073
|
-
};
|
3074
|
-
} | undefined;
|
3140
|
+
} | undefined;
|
3141
|
+
} | null | undefined;
|
3075
3142
|
channel?: {
|
3076
3143
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3077
3144
|
name: string;
|
@@ -3129,7 +3196,7 @@ export declare const receiveMessageContract: {
|
|
3129
3196
|
note: string | null;
|
3130
3197
|
} | null;
|
3131
3198
|
} | undefined;
|
3132
|
-
};
|
3199
|
+
} | null;
|
3133
3200
|
platformMessageId: string;
|
3134
3201
|
locale: "" | "th" | "mm" | "en" | null;
|
3135
3202
|
message?: string | undefined;
|
@@ -3194,7 +3261,7 @@ export declare const receiveMessageContract: {
|
|
3194
3261
|
extensionName: string;
|
3195
3262
|
telephonySignature: string | null;
|
3196
3263
|
};
|
3197
|
-
} | undefined;
|
3264
|
+
} | null | undefined;
|
3198
3265
|
assignee?: {
|
3199
3266
|
id: string;
|
3200
3267
|
address: string | null;
|
@@ -3238,7 +3305,7 @@ export declare const receiveMessageContract: {
|
|
3238
3305
|
extensionName: string;
|
3239
3306
|
telephonySignature: string | null;
|
3240
3307
|
};
|
3241
|
-
} | undefined;
|
3308
|
+
} | null | undefined;
|
3242
3309
|
sender?: {
|
3243
3310
|
id: string;
|
3244
3311
|
address: string | null;
|
@@ -3282,7 +3349,7 @@ export declare const receiveMessageContract: {
|
|
3282
3349
|
extensionName: string;
|
3283
3350
|
telephonySignature: string | null;
|
3284
3351
|
};
|
3285
|
-
} | undefined;
|
3352
|
+
} | null | undefined;
|
3286
3353
|
}, {
|
3287
3354
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
3288
3355
|
id: string;
|
@@ -3292,6 +3359,10 @@ export declare const receiveMessageContract: {
|
|
3292
3359
|
deletedAt: string | null;
|
3293
3360
|
platformId: string;
|
3294
3361
|
room: {
|
3362
|
+
id?: string | undefined;
|
3363
|
+
createdAt?: string | undefined;
|
3364
|
+
updatedAt?: string | undefined;
|
3365
|
+
deletedAt?: string | null | undefined;
|
3295
3366
|
lastMessage?: string | undefined;
|
3296
3367
|
handleTime?: number | undefined;
|
3297
3368
|
closeAt?: Date | undefined;
|
@@ -3302,28 +3373,25 @@ export declare const receiveMessageContract: {
|
|
3302
3373
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
3303
3374
|
platformContact?: {
|
3304
3375
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3376
|
+
id: string;
|
3305
3377
|
metadata: {
|
3306
3378
|
id: string;
|
3307
3379
|
name: string;
|
3308
3380
|
picture?: string | undefined;
|
3309
3381
|
additionalCredentials?: any;
|
3310
3382
|
};
|
3383
|
+
createdAt: string;
|
3384
|
+
updatedAt: string;
|
3385
|
+
deletedAt: string | null;
|
3311
3386
|
channelId: string;
|
3312
3387
|
contact: {
|
3313
3388
|
id: string;
|
3314
3389
|
channel: string | null;
|
3315
3390
|
address: string | null;
|
3316
3391
|
name: string;
|
3317
|
-
|
3318
|
-
|
3319
|
-
|
3320
|
-
updatedAt: Date;
|
3321
|
-
deletedAt: Date | null;
|
3322
|
-
address?: string | null | undefined;
|
3323
|
-
name?: string | undefined;
|
3324
|
-
phone?: string | null | undefined;
|
3325
|
-
industry?: string | null | undefined;
|
3326
|
-
} | null;
|
3392
|
+
createdAt: string;
|
3393
|
+
updatedAt: string;
|
3394
|
+
deletedAt: string | null;
|
3327
3395
|
notes: string | null;
|
3328
3396
|
contactProfile: string | null;
|
3329
3397
|
socialProfileUrl: string | null;
|
@@ -3334,6 +3402,16 @@ export declare const receiveMessageContract: {
|
|
3334
3402
|
updatedAt: Date;
|
3335
3403
|
deletedAt: Date | null;
|
3336
3404
|
}[] | undefined;
|
3405
|
+
company?: {
|
3406
|
+
id: string;
|
3407
|
+
createdAt: Date;
|
3408
|
+
updatedAt: Date;
|
3409
|
+
deletedAt: Date | null;
|
3410
|
+
address?: string | null | undefined;
|
3411
|
+
name?: string | undefined;
|
3412
|
+
phone?: string | null | undefined;
|
3413
|
+
industry?: string | null | undefined;
|
3414
|
+
} | undefined;
|
3337
3415
|
customFields?: {
|
3338
3416
|
id: string;
|
3339
3417
|
createdAt: Date;
|
@@ -3417,14 +3495,14 @@ export declare const receiveMessageContract: {
|
|
3417
3495
|
address: string | null;
|
3418
3496
|
name: string;
|
3419
3497
|
email: string;
|
3420
|
-
createdAt:
|
3421
|
-
updatedAt:
|
3422
|
-
deletedAt:
|
3423
|
-
emailVerifiedAt: Date | null;
|
3498
|
+
createdAt: string;
|
3499
|
+
updatedAt: string;
|
3500
|
+
deletedAt: string | null;
|
3424
3501
|
password: string;
|
3425
3502
|
phone: string | null;
|
3426
3503
|
notificationCount: number | null;
|
3427
|
-
|
3504
|
+
emailVerifiedAt?: Date | undefined;
|
3505
|
+
roles?: {
|
3428
3506
|
id: string;
|
3429
3507
|
description: string | null;
|
3430
3508
|
createdAt: Date;
|
@@ -3441,8 +3519,8 @@ export declare const receiveMessageContract: {
|
|
3441
3519
|
systemName: string;
|
3442
3520
|
displayName: string;
|
3443
3521
|
}[];
|
3444
|
-
}[];
|
3445
|
-
extension
|
3522
|
+
}[] | undefined;
|
3523
|
+
extension?: {
|
3446
3524
|
id: string;
|
3447
3525
|
createdAt: Date;
|
3448
3526
|
updatedAt: Date;
|
@@ -3454,21 +3532,21 @@ export declare const receiveMessageContract: {
|
|
3454
3532
|
extensionId: string | null;
|
3455
3533
|
extensionName: string;
|
3456
3534
|
telephonySignature: string | null;
|
3457
|
-
};
|
3458
|
-
} | undefined;
|
3535
|
+
} | undefined;
|
3536
|
+
} | null | undefined;
|
3459
3537
|
assignee?: {
|
3460
3538
|
id: string;
|
3461
3539
|
address: string | null;
|
3462
3540
|
name: string;
|
3463
3541
|
email: string;
|
3464
|
-
createdAt:
|
3465
|
-
updatedAt:
|
3466
|
-
deletedAt:
|
3467
|
-
emailVerifiedAt: Date | null;
|
3542
|
+
createdAt: string;
|
3543
|
+
updatedAt: string;
|
3544
|
+
deletedAt: string | null;
|
3468
3545
|
password: string;
|
3469
3546
|
phone: string | null;
|
3470
3547
|
notificationCount: number | null;
|
3471
|
-
|
3548
|
+
emailVerifiedAt?: Date | undefined;
|
3549
|
+
roles?: {
|
3472
3550
|
id: string;
|
3473
3551
|
description: string | null;
|
3474
3552
|
createdAt: Date;
|
@@ -3485,8 +3563,8 @@ export declare const receiveMessageContract: {
|
|
3485
3563
|
systemName: string;
|
3486
3564
|
displayName: string;
|
3487
3565
|
}[];
|
3488
|
-
}[];
|
3489
|
-
extension
|
3566
|
+
}[] | undefined;
|
3567
|
+
extension?: {
|
3490
3568
|
id: string;
|
3491
3569
|
createdAt: Date;
|
3492
3570
|
updatedAt: Date;
|
@@ -3498,8 +3576,8 @@ export declare const receiveMessageContract: {
|
|
3498
3576
|
extensionId: string | null;
|
3499
3577
|
extensionName: string;
|
3500
3578
|
telephonySignature: string | null;
|
3501
|
-
};
|
3502
|
-
} | undefined;
|
3579
|
+
} | undefined;
|
3580
|
+
} | null | undefined;
|
3503
3581
|
channel?: {
|
3504
3582
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3505
3583
|
name: string;
|
@@ -3557,7 +3635,7 @@ export declare const receiveMessageContract: {
|
|
3557
3635
|
note: string | null;
|
3558
3636
|
} | null;
|
3559
3637
|
} | undefined;
|
3560
|
-
};
|
3638
|
+
} | null;
|
3561
3639
|
platformMessageId: string;
|
3562
3640
|
locale: "" | "th" | "mm" | "en" | null;
|
3563
3641
|
message?: string | undefined;
|
@@ -3622,7 +3700,7 @@ export declare const receiveMessageContract: {
|
|
3622
3700
|
extensionName: string;
|
3623
3701
|
telephonySignature: string | null;
|
3624
3702
|
};
|
3625
|
-
} | undefined;
|
3703
|
+
} | null | undefined;
|
3626
3704
|
assignee?: {
|
3627
3705
|
id: string;
|
3628
3706
|
address: string | null;
|
@@ -3666,7 +3744,7 @@ export declare const receiveMessageContract: {
|
|
3666
3744
|
extensionName: string;
|
3667
3745
|
telephonySignature: string | null;
|
3668
3746
|
};
|
3669
|
-
} | undefined;
|
3747
|
+
} | null | undefined;
|
3670
3748
|
sender?: {
|
3671
3749
|
id: string;
|
3672
3750
|
address: string | null;
|
@@ -3710,7 +3788,7 @@ export declare const receiveMessageContract: {
|
|
3710
3788
|
extensionName: string;
|
3711
3789
|
telephonySignature: string | null;
|
3712
3790
|
};
|
3713
|
-
} | undefined;
|
3791
|
+
} | null | undefined;
|
3714
3792
|
}>;
|
3715
3793
|
}, "strip", z.ZodTypeAny, {
|
3716
3794
|
message: {
|
@@ -3722,6 +3800,10 @@ export declare const receiveMessageContract: {
|
|
3722
3800
|
deletedAt: string | null;
|
3723
3801
|
platformId: string;
|
3724
3802
|
room: {
|
3803
|
+
id?: string | undefined;
|
3804
|
+
createdAt?: string | undefined;
|
3805
|
+
updatedAt?: string | undefined;
|
3806
|
+
deletedAt?: string | null | undefined;
|
3725
3807
|
lastMessage?: string | undefined;
|
3726
3808
|
handleTime?: number | undefined;
|
3727
3809
|
closeAt?: Date | undefined;
|
@@ -3732,28 +3814,25 @@ export declare const receiveMessageContract: {
|
|
3732
3814
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
3733
3815
|
platformContact?: {
|
3734
3816
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3817
|
+
id: string;
|
3735
3818
|
metadata: {
|
3736
3819
|
id: string;
|
3737
3820
|
name: string;
|
3738
3821
|
picture?: string | undefined;
|
3739
3822
|
additionalCredentials?: any;
|
3740
3823
|
};
|
3824
|
+
createdAt: string;
|
3825
|
+
updatedAt: string;
|
3826
|
+
deletedAt: string | null;
|
3741
3827
|
channelId: string;
|
3742
3828
|
contact: {
|
3743
3829
|
id: string;
|
3744
3830
|
channel: string | null;
|
3745
3831
|
address: string | null;
|
3746
3832
|
name: string;
|
3747
|
-
|
3748
|
-
|
3749
|
-
|
3750
|
-
updatedAt: Date;
|
3751
|
-
deletedAt: Date | null;
|
3752
|
-
address?: string | null | undefined;
|
3753
|
-
name?: string | undefined;
|
3754
|
-
phone?: string | null | undefined;
|
3755
|
-
industry?: string | null | undefined;
|
3756
|
-
} | null;
|
3833
|
+
createdAt: string;
|
3834
|
+
updatedAt: string;
|
3835
|
+
deletedAt: string | null;
|
3757
3836
|
notes: string | null;
|
3758
3837
|
contactProfile: string | null;
|
3759
3838
|
socialProfileUrl: string | null;
|
@@ -3764,6 +3843,16 @@ export declare const receiveMessageContract: {
|
|
3764
3843
|
updatedAt: Date;
|
3765
3844
|
deletedAt: Date | null;
|
3766
3845
|
}[] | undefined;
|
3846
|
+
company?: {
|
3847
|
+
id: string;
|
3848
|
+
createdAt: Date;
|
3849
|
+
updatedAt: Date;
|
3850
|
+
deletedAt: Date | null;
|
3851
|
+
address?: string | null | undefined;
|
3852
|
+
name?: string | undefined;
|
3853
|
+
phone?: string | null | undefined;
|
3854
|
+
industry?: string | null | undefined;
|
3855
|
+
} | undefined;
|
3767
3856
|
customFields?: {
|
3768
3857
|
id: string;
|
3769
3858
|
createdAt: Date;
|
@@ -3847,14 +3936,14 @@ export declare const receiveMessageContract: {
|
|
3847
3936
|
address: string | null;
|
3848
3937
|
name: string;
|
3849
3938
|
email: string;
|
3850
|
-
createdAt:
|
3851
|
-
updatedAt:
|
3852
|
-
deletedAt:
|
3853
|
-
emailVerifiedAt: Date | null;
|
3939
|
+
createdAt: string;
|
3940
|
+
updatedAt: string;
|
3941
|
+
deletedAt: string | null;
|
3854
3942
|
password: string;
|
3855
3943
|
phone: string | null;
|
3856
3944
|
notificationCount: number | null;
|
3857
|
-
|
3945
|
+
emailVerifiedAt?: Date | undefined;
|
3946
|
+
roles?: {
|
3858
3947
|
id: string;
|
3859
3948
|
description: string | null;
|
3860
3949
|
createdAt: Date;
|
@@ -3871,8 +3960,8 @@ export declare const receiveMessageContract: {
|
|
3871
3960
|
systemName: string;
|
3872
3961
|
displayName: string;
|
3873
3962
|
}[];
|
3874
|
-
}[];
|
3875
|
-
extension
|
3963
|
+
}[] | undefined;
|
3964
|
+
extension?: {
|
3876
3965
|
id: string;
|
3877
3966
|
createdAt: Date;
|
3878
3967
|
updatedAt: Date;
|
@@ -3884,21 +3973,21 @@ export declare const receiveMessageContract: {
|
|
3884
3973
|
extensionId: string | null;
|
3885
3974
|
extensionName: string;
|
3886
3975
|
telephonySignature: string | null;
|
3887
|
-
};
|
3888
|
-
} | undefined;
|
3976
|
+
} | undefined;
|
3977
|
+
} | null | undefined;
|
3889
3978
|
assignee?: {
|
3890
3979
|
id: string;
|
3891
3980
|
address: string | null;
|
3892
3981
|
name: string;
|
3893
3982
|
email: string;
|
3894
|
-
createdAt:
|
3895
|
-
updatedAt:
|
3896
|
-
deletedAt:
|
3897
|
-
emailVerifiedAt: Date | null;
|
3983
|
+
createdAt: string;
|
3984
|
+
updatedAt: string;
|
3985
|
+
deletedAt: string | null;
|
3898
3986
|
password: string;
|
3899
3987
|
phone: string | null;
|
3900
3988
|
notificationCount: number | null;
|
3901
|
-
|
3989
|
+
emailVerifiedAt?: Date | undefined;
|
3990
|
+
roles?: {
|
3902
3991
|
id: string;
|
3903
3992
|
description: string | null;
|
3904
3993
|
createdAt: Date;
|
@@ -3915,8 +4004,8 @@ export declare const receiveMessageContract: {
|
|
3915
4004
|
systemName: string;
|
3916
4005
|
displayName: string;
|
3917
4006
|
}[];
|
3918
|
-
}[];
|
3919
|
-
extension
|
4007
|
+
}[] | undefined;
|
4008
|
+
extension?: {
|
3920
4009
|
id: string;
|
3921
4010
|
createdAt: Date;
|
3922
4011
|
updatedAt: Date;
|
@@ -3928,8 +4017,8 @@ export declare const receiveMessageContract: {
|
|
3928
4017
|
extensionId: string | null;
|
3929
4018
|
extensionName: string;
|
3930
4019
|
telephonySignature: string | null;
|
3931
|
-
};
|
3932
|
-
} | undefined;
|
4020
|
+
} | undefined;
|
4021
|
+
} | null | undefined;
|
3933
4022
|
channel?: {
|
3934
4023
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3935
4024
|
name: string;
|
@@ -3987,7 +4076,7 @@ export declare const receiveMessageContract: {
|
|
3987
4076
|
note: string | null;
|
3988
4077
|
} | null;
|
3989
4078
|
} | undefined;
|
3990
|
-
};
|
4079
|
+
} | null;
|
3991
4080
|
platformMessageId: string;
|
3992
4081
|
locale: "" | "th" | "mm" | "en" | null;
|
3993
4082
|
message?: string | undefined;
|
@@ -4052,7 +4141,7 @@ export declare const receiveMessageContract: {
|
|
4052
4141
|
extensionName: string;
|
4053
4142
|
telephonySignature: string | null;
|
4054
4143
|
};
|
4055
|
-
} | undefined;
|
4144
|
+
} | null | undefined;
|
4056
4145
|
assignee?: {
|
4057
4146
|
id: string;
|
4058
4147
|
address: string | null;
|
@@ -4096,7 +4185,7 @@ export declare const receiveMessageContract: {
|
|
4096
4185
|
extensionName: string;
|
4097
4186
|
telephonySignature: string | null;
|
4098
4187
|
};
|
4099
|
-
} | undefined;
|
4188
|
+
} | null | undefined;
|
4100
4189
|
sender?: {
|
4101
4190
|
id: string;
|
4102
4191
|
address: string | null;
|
@@ -4140,7 +4229,7 @@ export declare const receiveMessageContract: {
|
|
4140
4229
|
extensionName: string;
|
4141
4230
|
telephonySignature: string | null;
|
4142
4231
|
};
|
4143
|
-
} | undefined;
|
4232
|
+
} | null | undefined;
|
4144
4233
|
};
|
4145
4234
|
}, {
|
4146
4235
|
message: {
|
@@ -4152,6 +4241,10 @@ export declare const receiveMessageContract: {
|
|
4152
4241
|
deletedAt: string | null;
|
4153
4242
|
platformId: string;
|
4154
4243
|
room: {
|
4244
|
+
id?: string | undefined;
|
4245
|
+
createdAt?: string | undefined;
|
4246
|
+
updatedAt?: string | undefined;
|
4247
|
+
deletedAt?: string | null | undefined;
|
4155
4248
|
lastMessage?: string | undefined;
|
4156
4249
|
handleTime?: number | undefined;
|
4157
4250
|
closeAt?: Date | undefined;
|
@@ -4162,28 +4255,25 @@ export declare const receiveMessageContract: {
|
|
4162
4255
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
4163
4256
|
platformContact?: {
|
4164
4257
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
4258
|
+
id: string;
|
4165
4259
|
metadata: {
|
4166
4260
|
id: string;
|
4167
4261
|
name: string;
|
4168
4262
|
picture?: string | undefined;
|
4169
4263
|
additionalCredentials?: any;
|
4170
4264
|
};
|
4265
|
+
createdAt: string;
|
4266
|
+
updatedAt: string;
|
4267
|
+
deletedAt: string | null;
|
4171
4268
|
channelId: string;
|
4172
4269
|
contact: {
|
4173
4270
|
id: string;
|
4174
4271
|
channel: string | null;
|
4175
4272
|
address: string | null;
|
4176
4273
|
name: string;
|
4177
|
-
|
4178
|
-
|
4179
|
-
|
4180
|
-
updatedAt: Date;
|
4181
|
-
deletedAt: Date | null;
|
4182
|
-
address?: string | null | undefined;
|
4183
|
-
name?: string | undefined;
|
4184
|
-
phone?: string | null | undefined;
|
4185
|
-
industry?: string | null | undefined;
|
4186
|
-
} | null;
|
4274
|
+
createdAt: string;
|
4275
|
+
updatedAt: string;
|
4276
|
+
deletedAt: string | null;
|
4187
4277
|
notes: string | null;
|
4188
4278
|
contactProfile: string | null;
|
4189
4279
|
socialProfileUrl: string | null;
|
@@ -4194,6 +4284,16 @@ export declare const receiveMessageContract: {
|
|
4194
4284
|
updatedAt: Date;
|
4195
4285
|
deletedAt: Date | null;
|
4196
4286
|
}[] | undefined;
|
4287
|
+
company?: {
|
4288
|
+
id: string;
|
4289
|
+
createdAt: Date;
|
4290
|
+
updatedAt: Date;
|
4291
|
+
deletedAt: Date | null;
|
4292
|
+
address?: string | null | undefined;
|
4293
|
+
name?: string | undefined;
|
4294
|
+
phone?: string | null | undefined;
|
4295
|
+
industry?: string | null | undefined;
|
4296
|
+
} | undefined;
|
4197
4297
|
customFields?: {
|
4198
4298
|
id: string;
|
4199
4299
|
createdAt: Date;
|
@@ -4277,14 +4377,14 @@ export declare const receiveMessageContract: {
|
|
4277
4377
|
address: string | null;
|
4278
4378
|
name: string;
|
4279
4379
|
email: string;
|
4280
|
-
createdAt:
|
4281
|
-
updatedAt:
|
4282
|
-
deletedAt:
|
4283
|
-
emailVerifiedAt: Date | null;
|
4380
|
+
createdAt: string;
|
4381
|
+
updatedAt: string;
|
4382
|
+
deletedAt: string | null;
|
4284
4383
|
password: string;
|
4285
4384
|
phone: string | null;
|
4286
4385
|
notificationCount: number | null;
|
4287
|
-
|
4386
|
+
emailVerifiedAt?: Date | undefined;
|
4387
|
+
roles?: {
|
4288
4388
|
id: string;
|
4289
4389
|
description: string | null;
|
4290
4390
|
createdAt: Date;
|
@@ -4301,8 +4401,8 @@ export declare const receiveMessageContract: {
|
|
4301
4401
|
systemName: string;
|
4302
4402
|
displayName: string;
|
4303
4403
|
}[];
|
4304
|
-
}[];
|
4305
|
-
extension
|
4404
|
+
}[] | undefined;
|
4405
|
+
extension?: {
|
4306
4406
|
id: string;
|
4307
4407
|
createdAt: Date;
|
4308
4408
|
updatedAt: Date;
|
@@ -4314,21 +4414,21 @@ export declare const receiveMessageContract: {
|
|
4314
4414
|
extensionId: string | null;
|
4315
4415
|
extensionName: string;
|
4316
4416
|
telephonySignature: string | null;
|
4317
|
-
};
|
4318
|
-
} | undefined;
|
4417
|
+
} | undefined;
|
4418
|
+
} | null | undefined;
|
4319
4419
|
assignee?: {
|
4320
4420
|
id: string;
|
4321
4421
|
address: string | null;
|
4322
4422
|
name: string;
|
4323
4423
|
email: string;
|
4324
|
-
createdAt:
|
4325
|
-
updatedAt:
|
4326
|
-
deletedAt:
|
4327
|
-
emailVerifiedAt: Date | null;
|
4424
|
+
createdAt: string;
|
4425
|
+
updatedAt: string;
|
4426
|
+
deletedAt: string | null;
|
4328
4427
|
password: string;
|
4329
4428
|
phone: string | null;
|
4330
4429
|
notificationCount: number | null;
|
4331
|
-
|
4430
|
+
emailVerifiedAt?: Date | undefined;
|
4431
|
+
roles?: {
|
4332
4432
|
id: string;
|
4333
4433
|
description: string | null;
|
4334
4434
|
createdAt: Date;
|
@@ -4345,8 +4445,8 @@ export declare const receiveMessageContract: {
|
|
4345
4445
|
systemName: string;
|
4346
4446
|
displayName: string;
|
4347
4447
|
}[];
|
4348
|
-
}[];
|
4349
|
-
extension
|
4448
|
+
}[] | undefined;
|
4449
|
+
extension?: {
|
4350
4450
|
id: string;
|
4351
4451
|
createdAt: Date;
|
4352
4452
|
updatedAt: Date;
|
@@ -4358,8 +4458,8 @@ export declare const receiveMessageContract: {
|
|
4358
4458
|
extensionId: string | null;
|
4359
4459
|
extensionName: string;
|
4360
4460
|
telephonySignature: string | null;
|
4361
|
-
};
|
4362
|
-
} | undefined;
|
4461
|
+
} | undefined;
|
4462
|
+
} | null | undefined;
|
4363
4463
|
channel?: {
|
4364
4464
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
4365
4465
|
name: string;
|
@@ -4417,7 +4517,7 @@ export declare const receiveMessageContract: {
|
|
4417
4517
|
note: string | null;
|
4418
4518
|
} | null;
|
4419
4519
|
} | undefined;
|
4420
|
-
};
|
4520
|
+
} | null;
|
4421
4521
|
platformMessageId: string;
|
4422
4522
|
locale: "" | "th" | "mm" | "en" | null;
|
4423
4523
|
message?: string | undefined;
|
@@ -4482,7 +4582,7 @@ export declare const receiveMessageContract: {
|
|
4482
4582
|
extensionName: string;
|
4483
4583
|
telephonySignature: string | null;
|
4484
4584
|
};
|
4485
|
-
} | undefined;
|
4585
|
+
} | null | undefined;
|
4486
4586
|
assignee?: {
|
4487
4587
|
id: string;
|
4488
4588
|
address: string | null;
|
@@ -4526,7 +4626,7 @@ export declare const receiveMessageContract: {
|
|
4526
4626
|
extensionName: string;
|
4527
4627
|
telephonySignature: string | null;
|
4528
4628
|
};
|
4529
|
-
} | undefined;
|
4629
|
+
} | null | undefined;
|
4530
4630
|
sender?: {
|
4531
4631
|
id: string;
|
4532
4632
|
address: string | null;
|
@@ -4570,7 +4670,7 @@ export declare const receiveMessageContract: {
|
|
4570
4670
|
extensionName: string;
|
4571
4671
|
telephonySignature: string | null;
|
4572
4672
|
};
|
4573
|
-
} | undefined;
|
4673
|
+
} | null | undefined;
|
4574
4674
|
};
|
4575
4675
|
}>;
|
4576
4676
|
summary: "Receive message";
|