@kl1/contracts 1.0.56 → 1.0.58
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 +81 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +78 -8
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +403 -286
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +402 -285
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/chat/index.d.ts
CHANGED
@@ -18,6 +18,10 @@ export declare const receiveMessageContract: {
|
|
18
18
|
receiveMessage: {
|
19
19
|
body: z.ZodObject<{
|
20
20
|
message: z.ZodObject<{
|
21
|
+
id: z.ZodString;
|
22
|
+
createdAt: z.ZodString;
|
23
|
+
updatedAt: z.ZodString;
|
24
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
21
25
|
message: z.ZodOptional<z.ZodString>;
|
22
26
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
23
27
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
|
@@ -30,7 +34,11 @@ export declare const receiveMessageContract: {
|
|
30
34
|
url: z.ZodOptional<z.ZodString>;
|
31
35
|
previewUrl: z.ZodOptional<z.ZodString>;
|
32
36
|
imageSetId: z.ZodOptional<z.ZodString>;
|
33
|
-
room: z.ZodObject<{
|
37
|
+
room: z.ZodNullable<z.ZodObject<{
|
38
|
+
id: z.ZodOptional<z.ZodString>;
|
39
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
40
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
41
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
34
42
|
lastMessage: z.ZodOptional<z.ZodString>;
|
35
43
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
36
44
|
closeAt: z.ZodOptional<z.ZodDate>;
|
@@ -40,6 +48,10 @@ export declare const receiveMessageContract: {
|
|
40
48
|
isLatest: z.ZodOptional<z.ZodBoolean>;
|
41
49
|
direction: z.ZodOptional<z.ZodEnum<["incoming", "outgoing", "system"]>>;
|
42
50
|
platformContact: z.ZodOptional<z.ZodObject<{
|
51
|
+
id: z.ZodString;
|
52
|
+
createdAt: z.ZodString;
|
53
|
+
updatedAt: z.ZodString;
|
54
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
43
55
|
channelId: z.ZodString;
|
44
56
|
socialPlatformId: z.ZodString;
|
45
57
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -61,6 +73,9 @@ export declare const receiveMessageContract: {
|
|
61
73
|
}>;
|
62
74
|
contact: z.ZodObject<{
|
63
75
|
id: z.ZodString;
|
76
|
+
createdAt: z.ZodString;
|
77
|
+
updatedAt: z.ZodString;
|
78
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
64
79
|
name: z.ZodString;
|
65
80
|
address: z.ZodNullable<z.ZodString>;
|
66
81
|
channel: z.ZodNullable<z.ZodString>;
|
@@ -86,7 +101,7 @@ export declare const receiveMessageContract: {
|
|
86
101
|
updatedAt: Date;
|
87
102
|
deletedAt: Date | null;
|
88
103
|
}>, "many">>;
|
89
|
-
company: z.
|
104
|
+
company: z.ZodOptional<z.ZodObject<Omit<{
|
90
105
|
id: z.ZodString;
|
91
106
|
createdAt: z.ZodDate;
|
92
107
|
updatedAt: z.ZodDate;
|
@@ -612,16 +627,9 @@ export declare const receiveMessageContract: {
|
|
612
627
|
channel: string | null;
|
613
628
|
address: string | null;
|
614
629
|
name: string;
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
updatedAt: Date;
|
619
|
-
deletedAt: Date | null;
|
620
|
-
address?: string | null | undefined;
|
621
|
-
name?: string | undefined;
|
622
|
-
phone?: string | null | undefined;
|
623
|
-
industry?: string | null | undefined;
|
624
|
-
} | null;
|
630
|
+
createdAt: string;
|
631
|
+
updatedAt: string;
|
632
|
+
deletedAt: string | null;
|
625
633
|
notes: string | null;
|
626
634
|
contactProfile: string | null;
|
627
635
|
socialProfileUrl: string | null;
|
@@ -632,6 +640,16 @@ export declare const receiveMessageContract: {
|
|
632
640
|
updatedAt: Date;
|
633
641
|
deletedAt: Date | null;
|
634
642
|
}[] | undefined;
|
643
|
+
company?: {
|
644
|
+
id: string;
|
645
|
+
createdAt: Date;
|
646
|
+
updatedAt: Date;
|
647
|
+
deletedAt: Date | null;
|
648
|
+
address?: string | null | undefined;
|
649
|
+
name?: string | undefined;
|
650
|
+
phone?: string | null | undefined;
|
651
|
+
industry?: string | null | undefined;
|
652
|
+
} | undefined;
|
635
653
|
customFields?: {
|
636
654
|
id: string;
|
637
655
|
createdAt: Date;
|
@@ -712,16 +730,9 @@ export declare const receiveMessageContract: {
|
|
712
730
|
channel: string | null;
|
713
731
|
address: string | null;
|
714
732
|
name: string;
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
updatedAt: Date;
|
719
|
-
deletedAt: Date | null;
|
720
|
-
address?: string | null | undefined;
|
721
|
-
name?: string | undefined;
|
722
|
-
phone?: string | null | undefined;
|
723
|
-
industry?: string | null | undefined;
|
724
|
-
} | null;
|
733
|
+
createdAt: string;
|
734
|
+
updatedAt: string;
|
735
|
+
deletedAt: string | null;
|
725
736
|
notes: string | null;
|
726
737
|
contactProfile: string | null;
|
727
738
|
socialProfileUrl: string | null;
|
@@ -732,6 +743,16 @@ export declare const receiveMessageContract: {
|
|
732
743
|
updatedAt: Date;
|
733
744
|
deletedAt: Date | null;
|
734
745
|
}[] | undefined;
|
746
|
+
company?: {
|
747
|
+
id: string;
|
748
|
+
createdAt: Date;
|
749
|
+
updatedAt: Date;
|
750
|
+
deletedAt: Date | null;
|
751
|
+
address?: string | null | undefined;
|
752
|
+
name?: string | undefined;
|
753
|
+
phone?: string | null | undefined;
|
754
|
+
industry?: string | null | undefined;
|
755
|
+
} | undefined;
|
735
756
|
customFields?: {
|
736
757
|
id: string;
|
737
758
|
createdAt: Date;
|
@@ -810,28 +831,25 @@ export declare const receiveMessageContract: {
|
|
810
831
|
}>;
|
811
832
|
}, "strip", z.ZodTypeAny, {
|
812
833
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
834
|
+
id: string;
|
813
835
|
metadata: {
|
814
836
|
id: string;
|
815
837
|
name: string;
|
816
838
|
picture?: string | undefined;
|
817
839
|
additionalCredentials?: any;
|
818
840
|
};
|
841
|
+
createdAt: string;
|
842
|
+
updatedAt: string;
|
843
|
+
deletedAt: string | null;
|
819
844
|
channelId: string;
|
820
845
|
contact: {
|
821
846
|
id: string;
|
822
847
|
channel: string | null;
|
823
848
|
address: string | null;
|
824
849
|
name: string;
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
updatedAt: Date;
|
829
|
-
deletedAt: Date | null;
|
830
|
-
address?: string | null | undefined;
|
831
|
-
name?: string | undefined;
|
832
|
-
phone?: string | null | undefined;
|
833
|
-
industry?: string | null | undefined;
|
834
|
-
} | null;
|
850
|
+
createdAt: string;
|
851
|
+
updatedAt: string;
|
852
|
+
deletedAt: string | null;
|
835
853
|
notes: string | null;
|
836
854
|
contactProfile: string | null;
|
837
855
|
socialProfileUrl: string | null;
|
@@ -842,6 +860,16 @@ export declare const receiveMessageContract: {
|
|
842
860
|
updatedAt: Date;
|
843
861
|
deletedAt: Date | null;
|
844
862
|
}[] | undefined;
|
863
|
+
company?: {
|
864
|
+
id: string;
|
865
|
+
createdAt: Date;
|
866
|
+
updatedAt: Date;
|
867
|
+
deletedAt: Date | null;
|
868
|
+
address?: string | null | undefined;
|
869
|
+
name?: string | undefined;
|
870
|
+
phone?: string | null | undefined;
|
871
|
+
industry?: string | null | undefined;
|
872
|
+
} | undefined;
|
845
873
|
customFields?: {
|
846
874
|
id: string;
|
847
875
|
createdAt: Date;
|
@@ -921,28 +949,25 @@ export declare const receiveMessageContract: {
|
|
921
949
|
socialPlatformId: string;
|
922
950
|
}, {
|
923
951
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
952
|
+
id: string;
|
924
953
|
metadata: {
|
925
954
|
id: string;
|
926
955
|
name: string;
|
927
956
|
picture?: string | undefined;
|
928
957
|
additionalCredentials?: any;
|
929
958
|
};
|
959
|
+
createdAt: string;
|
960
|
+
updatedAt: string;
|
961
|
+
deletedAt: string | null;
|
930
962
|
channelId: string;
|
931
963
|
contact: {
|
932
964
|
id: string;
|
933
965
|
channel: string | null;
|
934
966
|
address: string | null;
|
935
967
|
name: string;
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
updatedAt: Date;
|
940
|
-
deletedAt: Date | null;
|
941
|
-
address?: string | null | undefined;
|
942
|
-
name?: string | undefined;
|
943
|
-
phone?: string | null | undefined;
|
944
|
-
industry?: string | null | undefined;
|
945
|
-
} | null;
|
968
|
+
createdAt: string;
|
969
|
+
updatedAt: string;
|
970
|
+
deletedAt: string | null;
|
946
971
|
notes: string | null;
|
947
972
|
contactProfile: string | null;
|
948
973
|
socialProfileUrl: string | null;
|
@@ -953,6 +978,16 @@ export declare const receiveMessageContract: {
|
|
953
978
|
updatedAt: Date;
|
954
979
|
deletedAt: Date | null;
|
955
980
|
}[] | undefined;
|
981
|
+
company?: {
|
982
|
+
id: string;
|
983
|
+
createdAt: Date;
|
984
|
+
updatedAt: Date;
|
985
|
+
deletedAt: Date | null;
|
986
|
+
address?: string | null | undefined;
|
987
|
+
name?: string | undefined;
|
988
|
+
phone?: string | null | undefined;
|
989
|
+
industry?: string | null | undefined;
|
990
|
+
} | undefined;
|
956
991
|
customFields?: {
|
957
992
|
id: string;
|
958
993
|
createdAt: Date;
|
@@ -1031,19 +1066,19 @@ export declare const receiveMessageContract: {
|
|
1031
1066
|
};
|
1032
1067
|
socialPlatformId: string;
|
1033
1068
|
}>>;
|
1034
|
-
actor: z.ZodOptional<z.ZodObject<{
|
1069
|
+
actor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
1035
1070
|
id: z.ZodString;
|
1036
|
-
createdAt: z.
|
1037
|
-
updatedAt: z.
|
1038
|
-
deletedAt: z.ZodNullable<z.
|
1071
|
+
createdAt: z.ZodString;
|
1072
|
+
updatedAt: z.ZodString;
|
1073
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1039
1074
|
name: z.ZodString;
|
1040
1075
|
email: z.ZodString;
|
1041
|
-
emailVerifiedAt: z.
|
1076
|
+
emailVerifiedAt: z.ZodOptional<z.ZodDate>;
|
1042
1077
|
password: z.ZodString;
|
1043
1078
|
address: z.ZodNullable<z.ZodString>;
|
1044
1079
|
phone: z.ZodNullable<z.ZodString>;
|
1045
1080
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
1046
|
-
roles: z.ZodArray<z.ZodObject<{
|
1081
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1047
1082
|
id: z.ZodString;
|
1048
1083
|
createdAt: z.ZodDate;
|
1049
1084
|
updatedAt: z.ZodDate;
|
@@ -1110,8 +1145,8 @@ export declare const receiveMessageContract: {
|
|
1110
1145
|
systemName: string;
|
1111
1146
|
displayName: string;
|
1112
1147
|
}[];
|
1113
|
-
}>, "many"
|
1114
|
-
extension: z.ZodObject<{
|
1148
|
+
}>, "many">>;
|
1149
|
+
extension: z.ZodOptional<z.ZodObject<{
|
1115
1150
|
id: z.ZodString;
|
1116
1151
|
createdAt: z.ZodDate;
|
1117
1152
|
updatedAt: z.ZodDate;
|
@@ -1147,20 +1182,20 @@ export declare const receiveMessageContract: {
|
|
1147
1182
|
extensionId: string | null;
|
1148
1183
|
extensionName: string;
|
1149
1184
|
telephonySignature: string | null;
|
1150
|
-
}
|
1185
|
+
}>>;
|
1151
1186
|
}, "strip", z.ZodTypeAny, {
|
1152
1187
|
id: string;
|
1153
1188
|
address: string | null;
|
1154
1189
|
name: string;
|
1155
1190
|
email: string;
|
1156
|
-
createdAt:
|
1157
|
-
updatedAt:
|
1158
|
-
deletedAt:
|
1159
|
-
emailVerifiedAt: Date | null;
|
1191
|
+
createdAt: string;
|
1192
|
+
updatedAt: string;
|
1193
|
+
deletedAt: string | null;
|
1160
1194
|
password: string;
|
1161
1195
|
phone: string | null;
|
1162
1196
|
notificationCount: number | null;
|
1163
|
-
|
1197
|
+
emailVerifiedAt?: Date | undefined;
|
1198
|
+
roles?: {
|
1164
1199
|
id: string;
|
1165
1200
|
description: string | null;
|
1166
1201
|
createdAt: Date;
|
@@ -1177,8 +1212,8 @@ export declare const receiveMessageContract: {
|
|
1177
1212
|
systemName: string;
|
1178
1213
|
displayName: string;
|
1179
1214
|
}[];
|
1180
|
-
}[];
|
1181
|
-
extension
|
1215
|
+
}[] | undefined;
|
1216
|
+
extension?: {
|
1182
1217
|
id: string;
|
1183
1218
|
createdAt: Date;
|
1184
1219
|
updatedAt: Date;
|
@@ -1190,20 +1225,20 @@ export declare const receiveMessageContract: {
|
|
1190
1225
|
extensionId: string | null;
|
1191
1226
|
extensionName: string;
|
1192
1227
|
telephonySignature: string | null;
|
1193
|
-
};
|
1228
|
+
} | undefined;
|
1194
1229
|
}, {
|
1195
1230
|
id: string;
|
1196
1231
|
address: string | null;
|
1197
1232
|
name: string;
|
1198
1233
|
email: string;
|
1199
|
-
createdAt:
|
1200
|
-
updatedAt:
|
1201
|
-
deletedAt:
|
1202
|
-
emailVerifiedAt: Date | null;
|
1234
|
+
createdAt: string;
|
1235
|
+
updatedAt: string;
|
1236
|
+
deletedAt: string | null;
|
1203
1237
|
password: string;
|
1204
1238
|
phone: string | null;
|
1205
1239
|
notificationCount: number | null;
|
1206
|
-
|
1240
|
+
emailVerifiedAt?: Date | undefined;
|
1241
|
+
roles?: {
|
1207
1242
|
id: string;
|
1208
1243
|
description: string | null;
|
1209
1244
|
createdAt: Date;
|
@@ -1220,8 +1255,8 @@ export declare const receiveMessageContract: {
|
|
1220
1255
|
systemName: string;
|
1221
1256
|
displayName: string;
|
1222
1257
|
}[];
|
1223
|
-
}[];
|
1224
|
-
extension
|
1258
|
+
}[] | undefined;
|
1259
|
+
extension?: {
|
1225
1260
|
id: string;
|
1226
1261
|
createdAt: Date;
|
1227
1262
|
updatedAt: Date;
|
@@ -1233,21 +1268,21 @@ export declare const receiveMessageContract: {
|
|
1233
1268
|
extensionId: string | null;
|
1234
1269
|
extensionName: string;
|
1235
1270
|
telephonySignature: string | null;
|
1236
|
-
};
|
1237
|
-
}
|
1238
|
-
assignee: z.ZodOptional<z.ZodObject<{
|
1271
|
+
} | undefined;
|
1272
|
+
}>>>;
|
1273
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
1239
1274
|
id: z.ZodString;
|
1240
|
-
createdAt: z.
|
1241
|
-
updatedAt: z.
|
1242
|
-
deletedAt: z.ZodNullable<z.
|
1275
|
+
createdAt: z.ZodString;
|
1276
|
+
updatedAt: z.ZodString;
|
1277
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1243
1278
|
name: z.ZodString;
|
1244
1279
|
email: z.ZodString;
|
1245
|
-
emailVerifiedAt: z.
|
1280
|
+
emailVerifiedAt: z.ZodOptional<z.ZodDate>;
|
1246
1281
|
password: z.ZodString;
|
1247
1282
|
address: z.ZodNullable<z.ZodString>;
|
1248
1283
|
phone: z.ZodNullable<z.ZodString>;
|
1249
1284
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
1250
|
-
roles: z.ZodArray<z.ZodObject<{
|
1285
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1251
1286
|
id: z.ZodString;
|
1252
1287
|
createdAt: z.ZodDate;
|
1253
1288
|
updatedAt: z.ZodDate;
|
@@ -1314,8 +1349,8 @@ export declare const receiveMessageContract: {
|
|
1314
1349
|
systemName: string;
|
1315
1350
|
displayName: string;
|
1316
1351
|
}[];
|
1317
|
-
}>, "many"
|
1318
|
-
extension: z.ZodObject<{
|
1352
|
+
}>, "many">>;
|
1353
|
+
extension: z.ZodOptional<z.ZodObject<{
|
1319
1354
|
id: z.ZodString;
|
1320
1355
|
createdAt: z.ZodDate;
|
1321
1356
|
updatedAt: z.ZodDate;
|
@@ -1351,20 +1386,20 @@ export declare const receiveMessageContract: {
|
|
1351
1386
|
extensionId: string | null;
|
1352
1387
|
extensionName: string;
|
1353
1388
|
telephonySignature: string | null;
|
1354
|
-
}
|
1389
|
+
}>>;
|
1355
1390
|
}, "strip", z.ZodTypeAny, {
|
1356
1391
|
id: string;
|
1357
1392
|
address: string | null;
|
1358
1393
|
name: string;
|
1359
1394
|
email: string;
|
1360
|
-
createdAt:
|
1361
|
-
updatedAt:
|
1362
|
-
deletedAt:
|
1363
|
-
emailVerifiedAt: Date | null;
|
1395
|
+
createdAt: string;
|
1396
|
+
updatedAt: string;
|
1397
|
+
deletedAt: string | null;
|
1364
1398
|
password: string;
|
1365
1399
|
phone: string | null;
|
1366
1400
|
notificationCount: number | null;
|
1367
|
-
|
1401
|
+
emailVerifiedAt?: Date | undefined;
|
1402
|
+
roles?: {
|
1368
1403
|
id: string;
|
1369
1404
|
description: string | null;
|
1370
1405
|
createdAt: Date;
|
@@ -1381,8 +1416,8 @@ export declare const receiveMessageContract: {
|
|
1381
1416
|
systemName: string;
|
1382
1417
|
displayName: string;
|
1383
1418
|
}[];
|
1384
|
-
}[];
|
1385
|
-
extension
|
1419
|
+
}[] | undefined;
|
1420
|
+
extension?: {
|
1386
1421
|
id: string;
|
1387
1422
|
createdAt: Date;
|
1388
1423
|
updatedAt: Date;
|
@@ -1394,20 +1429,20 @@ export declare const receiveMessageContract: {
|
|
1394
1429
|
extensionId: string | null;
|
1395
1430
|
extensionName: string;
|
1396
1431
|
telephonySignature: string | null;
|
1397
|
-
};
|
1432
|
+
} | undefined;
|
1398
1433
|
}, {
|
1399
1434
|
id: string;
|
1400
1435
|
address: string | null;
|
1401
1436
|
name: string;
|
1402
1437
|
email: string;
|
1403
|
-
createdAt:
|
1404
|
-
updatedAt:
|
1405
|
-
deletedAt:
|
1406
|
-
emailVerifiedAt: Date | null;
|
1438
|
+
createdAt: string;
|
1439
|
+
updatedAt: string;
|
1440
|
+
deletedAt: string | null;
|
1407
1441
|
password: string;
|
1408
1442
|
phone: string | null;
|
1409
1443
|
notificationCount: number | null;
|
1410
|
-
|
1444
|
+
emailVerifiedAt?: Date | undefined;
|
1445
|
+
roles?: {
|
1411
1446
|
id: string;
|
1412
1447
|
description: string | null;
|
1413
1448
|
createdAt: Date;
|
@@ -1424,8 +1459,8 @@ export declare const receiveMessageContract: {
|
|
1424
1459
|
systemName: string;
|
1425
1460
|
displayName: string;
|
1426
1461
|
}[];
|
1427
|
-
}[];
|
1428
|
-
extension
|
1462
|
+
}[] | undefined;
|
1463
|
+
extension?: {
|
1429
1464
|
id: string;
|
1430
1465
|
createdAt: Date;
|
1431
1466
|
updatedAt: Date;
|
@@ -1437,8 +1472,8 @@ export declare const receiveMessageContract: {
|
|
1437
1472
|
extensionId: string | null;
|
1438
1473
|
extensionName: string;
|
1439
1474
|
telephonySignature: string | null;
|
1440
|
-
};
|
1441
|
-
}
|
1475
|
+
} | undefined;
|
1476
|
+
}>>>;
|
1442
1477
|
channel: z.ZodOptional<z.ZodObject<{
|
1443
1478
|
name: z.ZodString;
|
1444
1479
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -1673,6 +1708,10 @@ export declare const receiveMessageContract: {
|
|
1673
1708
|
} | null;
|
1674
1709
|
}>>;
|
1675
1710
|
}, "strip", z.ZodTypeAny, {
|
1711
|
+
id?: string | undefined;
|
1712
|
+
createdAt?: string | undefined;
|
1713
|
+
updatedAt?: string | undefined;
|
1714
|
+
deletedAt?: string | null | undefined;
|
1676
1715
|
lastMessage?: string | undefined;
|
1677
1716
|
handleTime?: number | undefined;
|
1678
1717
|
closeAt?: Date | undefined;
|
@@ -1683,28 +1722,25 @@ export declare const receiveMessageContract: {
|
|
1683
1722
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
1684
1723
|
platformContact?: {
|
1685
1724
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1725
|
+
id: string;
|
1686
1726
|
metadata: {
|
1687
1727
|
id: string;
|
1688
1728
|
name: string;
|
1689
1729
|
picture?: string | undefined;
|
1690
1730
|
additionalCredentials?: any;
|
1691
1731
|
};
|
1732
|
+
createdAt: string;
|
1733
|
+
updatedAt: string;
|
1734
|
+
deletedAt: string | null;
|
1692
1735
|
channelId: string;
|
1693
1736
|
contact: {
|
1694
1737
|
id: string;
|
1695
1738
|
channel: string | null;
|
1696
1739
|
address: string | null;
|
1697
1740
|
name: string;
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
updatedAt: Date;
|
1702
|
-
deletedAt: Date | null;
|
1703
|
-
address?: string | null | undefined;
|
1704
|
-
name?: string | undefined;
|
1705
|
-
phone?: string | null | undefined;
|
1706
|
-
industry?: string | null | undefined;
|
1707
|
-
} | null;
|
1741
|
+
createdAt: string;
|
1742
|
+
updatedAt: string;
|
1743
|
+
deletedAt: string | null;
|
1708
1744
|
notes: string | null;
|
1709
1745
|
contactProfile: string | null;
|
1710
1746
|
socialProfileUrl: string | null;
|
@@ -1715,6 +1751,16 @@ export declare const receiveMessageContract: {
|
|
1715
1751
|
updatedAt: Date;
|
1716
1752
|
deletedAt: Date | null;
|
1717
1753
|
}[] | undefined;
|
1754
|
+
company?: {
|
1755
|
+
id: string;
|
1756
|
+
createdAt: Date;
|
1757
|
+
updatedAt: Date;
|
1758
|
+
deletedAt: Date | null;
|
1759
|
+
address?: string | null | undefined;
|
1760
|
+
name?: string | undefined;
|
1761
|
+
phone?: string | null | undefined;
|
1762
|
+
industry?: string | null | undefined;
|
1763
|
+
} | undefined;
|
1718
1764
|
customFields?: {
|
1719
1765
|
id: string;
|
1720
1766
|
createdAt: Date;
|
@@ -1798,14 +1844,14 @@ export declare const receiveMessageContract: {
|
|
1798
1844
|
address: string | null;
|
1799
1845
|
name: string;
|
1800
1846
|
email: string;
|
1801
|
-
createdAt:
|
1802
|
-
updatedAt:
|
1803
|
-
deletedAt:
|
1804
|
-
emailVerifiedAt: Date | null;
|
1847
|
+
createdAt: string;
|
1848
|
+
updatedAt: string;
|
1849
|
+
deletedAt: string | null;
|
1805
1850
|
password: string;
|
1806
1851
|
phone: string | null;
|
1807
1852
|
notificationCount: number | null;
|
1808
|
-
|
1853
|
+
emailVerifiedAt?: Date | undefined;
|
1854
|
+
roles?: {
|
1809
1855
|
id: string;
|
1810
1856
|
description: string | null;
|
1811
1857
|
createdAt: Date;
|
@@ -1822,8 +1868,8 @@ export declare const receiveMessageContract: {
|
|
1822
1868
|
systemName: string;
|
1823
1869
|
displayName: string;
|
1824
1870
|
}[];
|
1825
|
-
}[];
|
1826
|
-
extension
|
1871
|
+
}[] | undefined;
|
1872
|
+
extension?: {
|
1827
1873
|
id: string;
|
1828
1874
|
createdAt: Date;
|
1829
1875
|
updatedAt: Date;
|
@@ -1835,21 +1881,21 @@ export declare const receiveMessageContract: {
|
|
1835
1881
|
extensionId: string | null;
|
1836
1882
|
extensionName: string;
|
1837
1883
|
telephonySignature: string | null;
|
1838
|
-
};
|
1839
|
-
} | undefined;
|
1884
|
+
} | undefined;
|
1885
|
+
} | null | undefined;
|
1840
1886
|
assignee?: {
|
1841
1887
|
id: string;
|
1842
1888
|
address: string | null;
|
1843
1889
|
name: string;
|
1844
1890
|
email: string;
|
1845
|
-
createdAt:
|
1846
|
-
updatedAt:
|
1847
|
-
deletedAt:
|
1848
|
-
emailVerifiedAt: Date | null;
|
1891
|
+
createdAt: string;
|
1892
|
+
updatedAt: string;
|
1893
|
+
deletedAt: string | null;
|
1849
1894
|
password: string;
|
1850
1895
|
phone: string | null;
|
1851
1896
|
notificationCount: number | null;
|
1852
|
-
|
1897
|
+
emailVerifiedAt?: Date | undefined;
|
1898
|
+
roles?: {
|
1853
1899
|
id: string;
|
1854
1900
|
description: string | null;
|
1855
1901
|
createdAt: Date;
|
@@ -1866,8 +1912,8 @@ export declare const receiveMessageContract: {
|
|
1866
1912
|
systemName: string;
|
1867
1913
|
displayName: string;
|
1868
1914
|
}[];
|
1869
|
-
}[];
|
1870
|
-
extension
|
1915
|
+
}[] | undefined;
|
1916
|
+
extension?: {
|
1871
1917
|
id: string;
|
1872
1918
|
createdAt: Date;
|
1873
1919
|
updatedAt: Date;
|
@@ -1879,8 +1925,8 @@ export declare const receiveMessageContract: {
|
|
1879
1925
|
extensionId: string | null;
|
1880
1926
|
extensionName: string;
|
1881
1927
|
telephonySignature: string | null;
|
1882
|
-
};
|
1883
|
-
} | undefined;
|
1928
|
+
} | undefined;
|
1929
|
+
} | null | undefined;
|
1884
1930
|
channel?: {
|
1885
1931
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1886
1932
|
name: string;
|
@@ -1939,6 +1985,10 @@ export declare const receiveMessageContract: {
|
|
1939
1985
|
} | null;
|
1940
1986
|
} | undefined;
|
1941
1987
|
}, {
|
1988
|
+
id?: string | undefined;
|
1989
|
+
createdAt?: string | undefined;
|
1990
|
+
updatedAt?: string | undefined;
|
1991
|
+
deletedAt?: string | null | undefined;
|
1942
1992
|
lastMessage?: string | undefined;
|
1943
1993
|
handleTime?: number | undefined;
|
1944
1994
|
closeAt?: Date | undefined;
|
@@ -1949,28 +1999,25 @@ export declare const receiveMessageContract: {
|
|
1949
1999
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
1950
2000
|
platformContact?: {
|
1951
2001
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
2002
|
+
id: string;
|
1952
2003
|
metadata: {
|
1953
2004
|
id: string;
|
1954
2005
|
name: string;
|
1955
2006
|
picture?: string | undefined;
|
1956
2007
|
additionalCredentials?: any;
|
1957
2008
|
};
|
2009
|
+
createdAt: string;
|
2010
|
+
updatedAt: string;
|
2011
|
+
deletedAt: string | null;
|
1958
2012
|
channelId: string;
|
1959
2013
|
contact: {
|
1960
2014
|
id: string;
|
1961
2015
|
channel: string | null;
|
1962
2016
|
address: string | null;
|
1963
2017
|
name: string;
|
1964
|
-
|
1965
|
-
|
1966
|
-
|
1967
|
-
updatedAt: Date;
|
1968
|
-
deletedAt: Date | null;
|
1969
|
-
address?: string | null | undefined;
|
1970
|
-
name?: string | undefined;
|
1971
|
-
phone?: string | null | undefined;
|
1972
|
-
industry?: string | null | undefined;
|
1973
|
-
} | null;
|
2018
|
+
createdAt: string;
|
2019
|
+
updatedAt: string;
|
2020
|
+
deletedAt: string | null;
|
1974
2021
|
notes: string | null;
|
1975
2022
|
contactProfile: string | null;
|
1976
2023
|
socialProfileUrl: string | null;
|
@@ -1981,6 +2028,16 @@ export declare const receiveMessageContract: {
|
|
1981
2028
|
updatedAt: Date;
|
1982
2029
|
deletedAt: Date | null;
|
1983
2030
|
}[] | undefined;
|
2031
|
+
company?: {
|
2032
|
+
id: string;
|
2033
|
+
createdAt: Date;
|
2034
|
+
updatedAt: Date;
|
2035
|
+
deletedAt: Date | null;
|
2036
|
+
address?: string | null | undefined;
|
2037
|
+
name?: string | undefined;
|
2038
|
+
phone?: string | null | undefined;
|
2039
|
+
industry?: string | null | undefined;
|
2040
|
+
} | undefined;
|
1984
2041
|
customFields?: {
|
1985
2042
|
id: string;
|
1986
2043
|
createdAt: Date;
|
@@ -2064,14 +2121,14 @@ export declare const receiveMessageContract: {
|
|
2064
2121
|
address: string | null;
|
2065
2122
|
name: string;
|
2066
2123
|
email: string;
|
2067
|
-
createdAt:
|
2068
|
-
updatedAt:
|
2069
|
-
deletedAt:
|
2070
|
-
emailVerifiedAt: Date | null;
|
2124
|
+
createdAt: string;
|
2125
|
+
updatedAt: string;
|
2126
|
+
deletedAt: string | null;
|
2071
2127
|
password: string;
|
2072
2128
|
phone: string | null;
|
2073
2129
|
notificationCount: number | null;
|
2074
|
-
|
2130
|
+
emailVerifiedAt?: Date | undefined;
|
2131
|
+
roles?: {
|
2075
2132
|
id: string;
|
2076
2133
|
description: string | null;
|
2077
2134
|
createdAt: Date;
|
@@ -2088,8 +2145,8 @@ export declare const receiveMessageContract: {
|
|
2088
2145
|
systemName: string;
|
2089
2146
|
displayName: string;
|
2090
2147
|
}[];
|
2091
|
-
}[];
|
2092
|
-
extension
|
2148
|
+
}[] | undefined;
|
2149
|
+
extension?: {
|
2093
2150
|
id: string;
|
2094
2151
|
createdAt: Date;
|
2095
2152
|
updatedAt: Date;
|
@@ -2101,21 +2158,21 @@ export declare const receiveMessageContract: {
|
|
2101
2158
|
extensionId: string | null;
|
2102
2159
|
extensionName: string;
|
2103
2160
|
telephonySignature: string | null;
|
2104
|
-
};
|
2105
|
-
} | undefined;
|
2161
|
+
} | undefined;
|
2162
|
+
} | null | undefined;
|
2106
2163
|
assignee?: {
|
2107
2164
|
id: string;
|
2108
2165
|
address: string | null;
|
2109
2166
|
name: string;
|
2110
2167
|
email: string;
|
2111
|
-
createdAt:
|
2112
|
-
updatedAt:
|
2113
|
-
deletedAt:
|
2114
|
-
emailVerifiedAt: Date | null;
|
2168
|
+
createdAt: string;
|
2169
|
+
updatedAt: string;
|
2170
|
+
deletedAt: string | null;
|
2115
2171
|
password: string;
|
2116
2172
|
phone: string | null;
|
2117
2173
|
notificationCount: number | null;
|
2118
|
-
|
2174
|
+
emailVerifiedAt?: Date | undefined;
|
2175
|
+
roles?: {
|
2119
2176
|
id: string;
|
2120
2177
|
description: string | null;
|
2121
2178
|
createdAt: Date;
|
@@ -2132,8 +2189,8 @@ export declare const receiveMessageContract: {
|
|
2132
2189
|
systemName: string;
|
2133
2190
|
displayName: string;
|
2134
2191
|
}[];
|
2135
|
-
}[];
|
2136
|
-
extension
|
2192
|
+
}[] | undefined;
|
2193
|
+
extension?: {
|
2137
2194
|
id: string;
|
2138
2195
|
createdAt: Date;
|
2139
2196
|
updatedAt: Date;
|
@@ -2145,8 +2202,8 @@ export declare const receiveMessageContract: {
|
|
2145
2202
|
extensionId: string | null;
|
2146
2203
|
extensionName: string;
|
2147
2204
|
telephonySignature: string | null;
|
2148
|
-
};
|
2149
|
-
} | undefined;
|
2205
|
+
} | undefined;
|
2206
|
+
} | null | undefined;
|
2150
2207
|
channel?: {
|
2151
2208
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
2152
2209
|
name: string;
|
@@ -2204,7 +2261,7 @@ export declare const receiveMessageContract: {
|
|
2204
2261
|
note: string | null;
|
2205
2262
|
} | null;
|
2206
2263
|
} | undefined;
|
2207
|
-
}
|
2264
|
+
}>>;
|
2208
2265
|
upload: z.ZodOptional<z.ZodObject<{
|
2209
2266
|
bucketName: z.ZodNullable<z.ZodString>;
|
2210
2267
|
fileName: z.ZodNullable<z.ZodString>;
|
@@ -2239,7 +2296,7 @@ export declare const receiveMessageContract: {
|
|
2239
2296
|
fileUrl?: string | undefined;
|
2240
2297
|
status?: string | undefined;
|
2241
2298
|
}>>;
|
2242
|
-
actor: z.ZodOptional<z.ZodObject<{
|
2299
|
+
actor: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2243
2300
|
id: z.ZodString;
|
2244
2301
|
createdAt: z.ZodDate;
|
2245
2302
|
updatedAt: z.ZodDate;
|
@@ -2442,8 +2499,8 @@ export declare const receiveMessageContract: {
|
|
2442
2499
|
extensionName: string;
|
2443
2500
|
telephonySignature: string | null;
|
2444
2501
|
};
|
2445
|
-
}
|
2446
|
-
assignee: z.ZodOptional<z.ZodObject<{
|
2502
|
+
}>>>;
|
2503
|
+
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2447
2504
|
id: z.ZodString;
|
2448
2505
|
createdAt: z.ZodDate;
|
2449
2506
|
updatedAt: z.ZodDate;
|
@@ -2646,8 +2703,8 @@ export declare const receiveMessageContract: {
|
|
2646
2703
|
extensionName: string;
|
2647
2704
|
telephonySignature: string | null;
|
2648
2705
|
};
|
2649
|
-
}
|
2650
|
-
sender: z.ZodOptional<z.ZodObject<{
|
2706
|
+
}>>>;
|
2707
|
+
sender: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2651
2708
|
id: z.ZodString;
|
2652
2709
|
createdAt: z.ZodDate;
|
2653
2710
|
updatedAt: z.ZodDate;
|
@@ -2850,12 +2907,20 @@ export declare const receiveMessageContract: {
|
|
2850
2907
|
extensionName: string;
|
2851
2908
|
telephonySignature: string | null;
|
2852
2909
|
};
|
2853
|
-
}
|
2910
|
+
}>>>;
|
2854
2911
|
}, "strip", z.ZodTypeAny, {
|
2855
2912
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
2913
|
+
id: string;
|
2856
2914
|
direction: "incoming" | "outgoing" | "system";
|
2915
|
+
createdAt: string;
|
2916
|
+
updatedAt: string;
|
2917
|
+
deletedAt: string | null;
|
2857
2918
|
platformId: string;
|
2858
2919
|
room: {
|
2920
|
+
id?: string | undefined;
|
2921
|
+
createdAt?: string | undefined;
|
2922
|
+
updatedAt?: string | undefined;
|
2923
|
+
deletedAt?: string | null | undefined;
|
2859
2924
|
lastMessage?: string | undefined;
|
2860
2925
|
handleTime?: number | undefined;
|
2861
2926
|
closeAt?: Date | undefined;
|
@@ -2866,28 +2931,25 @@ export declare const receiveMessageContract: {
|
|
2866
2931
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
2867
2932
|
platformContact?: {
|
2868
2933
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
2934
|
+
id: string;
|
2869
2935
|
metadata: {
|
2870
2936
|
id: string;
|
2871
2937
|
name: string;
|
2872
2938
|
picture?: string | undefined;
|
2873
2939
|
additionalCredentials?: any;
|
2874
2940
|
};
|
2941
|
+
createdAt: string;
|
2942
|
+
updatedAt: string;
|
2943
|
+
deletedAt: string | null;
|
2875
2944
|
channelId: string;
|
2876
2945
|
contact: {
|
2877
2946
|
id: string;
|
2878
2947
|
channel: string | null;
|
2879
2948
|
address: string | null;
|
2880
2949
|
name: string;
|
2881
|
-
|
2882
|
-
|
2883
|
-
|
2884
|
-
updatedAt: Date;
|
2885
|
-
deletedAt: Date | null;
|
2886
|
-
address?: string | null | undefined;
|
2887
|
-
name?: string | undefined;
|
2888
|
-
phone?: string | null | undefined;
|
2889
|
-
industry?: string | null | undefined;
|
2890
|
-
} | null;
|
2950
|
+
createdAt: string;
|
2951
|
+
updatedAt: string;
|
2952
|
+
deletedAt: string | null;
|
2891
2953
|
notes: string | null;
|
2892
2954
|
contactProfile: string | null;
|
2893
2955
|
socialProfileUrl: string | null;
|
@@ -2898,6 +2960,16 @@ export declare const receiveMessageContract: {
|
|
2898
2960
|
updatedAt: Date;
|
2899
2961
|
deletedAt: Date | null;
|
2900
2962
|
}[] | undefined;
|
2963
|
+
company?: {
|
2964
|
+
id: string;
|
2965
|
+
createdAt: Date;
|
2966
|
+
updatedAt: Date;
|
2967
|
+
deletedAt: Date | null;
|
2968
|
+
address?: string | null | undefined;
|
2969
|
+
name?: string | undefined;
|
2970
|
+
phone?: string | null | undefined;
|
2971
|
+
industry?: string | null | undefined;
|
2972
|
+
} | undefined;
|
2901
2973
|
customFields?: {
|
2902
2974
|
id: string;
|
2903
2975
|
createdAt: Date;
|
@@ -2981,14 +3053,14 @@ export declare const receiveMessageContract: {
|
|
2981
3053
|
address: string | null;
|
2982
3054
|
name: string;
|
2983
3055
|
email: string;
|
2984
|
-
createdAt:
|
2985
|
-
updatedAt:
|
2986
|
-
deletedAt:
|
2987
|
-
emailVerifiedAt: Date | null;
|
3056
|
+
createdAt: string;
|
3057
|
+
updatedAt: string;
|
3058
|
+
deletedAt: string | null;
|
2988
3059
|
password: string;
|
2989
3060
|
phone: string | null;
|
2990
3061
|
notificationCount: number | null;
|
2991
|
-
|
3062
|
+
emailVerifiedAt?: Date | undefined;
|
3063
|
+
roles?: {
|
2992
3064
|
id: string;
|
2993
3065
|
description: string | null;
|
2994
3066
|
createdAt: Date;
|
@@ -3005,8 +3077,8 @@ export declare const receiveMessageContract: {
|
|
3005
3077
|
systemName: string;
|
3006
3078
|
displayName: string;
|
3007
3079
|
}[];
|
3008
|
-
}[];
|
3009
|
-
extension
|
3080
|
+
}[] | undefined;
|
3081
|
+
extension?: {
|
3010
3082
|
id: string;
|
3011
3083
|
createdAt: Date;
|
3012
3084
|
updatedAt: Date;
|
@@ -3018,21 +3090,21 @@ export declare const receiveMessageContract: {
|
|
3018
3090
|
extensionId: string | null;
|
3019
3091
|
extensionName: string;
|
3020
3092
|
telephonySignature: string | null;
|
3021
|
-
};
|
3022
|
-
} | undefined;
|
3093
|
+
} | undefined;
|
3094
|
+
} | null | undefined;
|
3023
3095
|
assignee?: {
|
3024
3096
|
id: string;
|
3025
3097
|
address: string | null;
|
3026
3098
|
name: string;
|
3027
3099
|
email: string;
|
3028
|
-
createdAt:
|
3029
|
-
updatedAt:
|
3030
|
-
deletedAt:
|
3031
|
-
emailVerifiedAt: Date | null;
|
3100
|
+
createdAt: string;
|
3101
|
+
updatedAt: string;
|
3102
|
+
deletedAt: string | null;
|
3032
3103
|
password: string;
|
3033
3104
|
phone: string | null;
|
3034
3105
|
notificationCount: number | null;
|
3035
|
-
|
3106
|
+
emailVerifiedAt?: Date | undefined;
|
3107
|
+
roles?: {
|
3036
3108
|
id: string;
|
3037
3109
|
description: string | null;
|
3038
3110
|
createdAt: Date;
|
@@ -3049,8 +3121,8 @@ export declare const receiveMessageContract: {
|
|
3049
3121
|
systemName: string;
|
3050
3122
|
displayName: string;
|
3051
3123
|
}[];
|
3052
|
-
}[];
|
3053
|
-
extension
|
3124
|
+
}[] | undefined;
|
3125
|
+
extension?: {
|
3054
3126
|
id: string;
|
3055
3127
|
createdAt: Date;
|
3056
3128
|
updatedAt: Date;
|
@@ -3062,8 +3134,8 @@ export declare const receiveMessageContract: {
|
|
3062
3134
|
extensionId: string | null;
|
3063
3135
|
extensionName: string;
|
3064
3136
|
telephonySignature: string | null;
|
3065
|
-
};
|
3066
|
-
} | undefined;
|
3137
|
+
} | undefined;
|
3138
|
+
} | null | undefined;
|
3067
3139
|
channel?: {
|
3068
3140
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3069
3141
|
name: string;
|
@@ -3121,7 +3193,7 @@ export declare const receiveMessageContract: {
|
|
3121
3193
|
note: string | null;
|
3122
3194
|
} | null;
|
3123
3195
|
} | undefined;
|
3124
|
-
};
|
3196
|
+
} | null;
|
3125
3197
|
platformMessageId: string;
|
3126
3198
|
locale: "" | "th" | "mm" | "en" | null;
|
3127
3199
|
message?: string | undefined;
|
@@ -3186,7 +3258,7 @@ export declare const receiveMessageContract: {
|
|
3186
3258
|
extensionName: string;
|
3187
3259
|
telephonySignature: string | null;
|
3188
3260
|
};
|
3189
|
-
} | undefined;
|
3261
|
+
} | null | undefined;
|
3190
3262
|
assignee?: {
|
3191
3263
|
id: string;
|
3192
3264
|
address: string | null;
|
@@ -3230,7 +3302,7 @@ export declare const receiveMessageContract: {
|
|
3230
3302
|
extensionName: string;
|
3231
3303
|
telephonySignature: string | null;
|
3232
3304
|
};
|
3233
|
-
} | undefined;
|
3305
|
+
} | null | undefined;
|
3234
3306
|
sender?: {
|
3235
3307
|
id: string;
|
3236
3308
|
address: string | null;
|
@@ -3274,12 +3346,20 @@ export declare const receiveMessageContract: {
|
|
3274
3346
|
extensionName: string;
|
3275
3347
|
telephonySignature: string | null;
|
3276
3348
|
};
|
3277
|
-
} | undefined;
|
3349
|
+
} | null | undefined;
|
3278
3350
|
}, {
|
3279
3351
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
3352
|
+
id: string;
|
3280
3353
|
direction: "incoming" | "outgoing" | "system";
|
3354
|
+
createdAt: string;
|
3355
|
+
updatedAt: string;
|
3356
|
+
deletedAt: string | null;
|
3281
3357
|
platformId: string;
|
3282
3358
|
room: {
|
3359
|
+
id?: string | undefined;
|
3360
|
+
createdAt?: string | undefined;
|
3361
|
+
updatedAt?: string | undefined;
|
3362
|
+
deletedAt?: string | null | undefined;
|
3283
3363
|
lastMessage?: string | undefined;
|
3284
3364
|
handleTime?: number | undefined;
|
3285
3365
|
closeAt?: Date | undefined;
|
@@ -3290,28 +3370,25 @@ export declare const receiveMessageContract: {
|
|
3290
3370
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
3291
3371
|
platformContact?: {
|
3292
3372
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3373
|
+
id: string;
|
3293
3374
|
metadata: {
|
3294
3375
|
id: string;
|
3295
3376
|
name: string;
|
3296
3377
|
picture?: string | undefined;
|
3297
3378
|
additionalCredentials?: any;
|
3298
3379
|
};
|
3380
|
+
createdAt: string;
|
3381
|
+
updatedAt: string;
|
3382
|
+
deletedAt: string | null;
|
3299
3383
|
channelId: string;
|
3300
3384
|
contact: {
|
3301
3385
|
id: string;
|
3302
3386
|
channel: string | null;
|
3303
3387
|
address: string | null;
|
3304
3388
|
name: string;
|
3305
|
-
|
3306
|
-
|
3307
|
-
|
3308
|
-
updatedAt: Date;
|
3309
|
-
deletedAt: Date | null;
|
3310
|
-
address?: string | null | undefined;
|
3311
|
-
name?: string | undefined;
|
3312
|
-
phone?: string | null | undefined;
|
3313
|
-
industry?: string | null | undefined;
|
3314
|
-
} | null;
|
3389
|
+
createdAt: string;
|
3390
|
+
updatedAt: string;
|
3391
|
+
deletedAt: string | null;
|
3315
3392
|
notes: string | null;
|
3316
3393
|
contactProfile: string | null;
|
3317
3394
|
socialProfileUrl: string | null;
|
@@ -3322,6 +3399,16 @@ export declare const receiveMessageContract: {
|
|
3322
3399
|
updatedAt: Date;
|
3323
3400
|
deletedAt: Date | null;
|
3324
3401
|
}[] | undefined;
|
3402
|
+
company?: {
|
3403
|
+
id: string;
|
3404
|
+
createdAt: Date;
|
3405
|
+
updatedAt: Date;
|
3406
|
+
deletedAt: Date | null;
|
3407
|
+
address?: string | null | undefined;
|
3408
|
+
name?: string | undefined;
|
3409
|
+
phone?: string | null | undefined;
|
3410
|
+
industry?: string | null | undefined;
|
3411
|
+
} | undefined;
|
3325
3412
|
customFields?: {
|
3326
3413
|
id: string;
|
3327
3414
|
createdAt: Date;
|
@@ -3405,14 +3492,14 @@ export declare const receiveMessageContract: {
|
|
3405
3492
|
address: string | null;
|
3406
3493
|
name: string;
|
3407
3494
|
email: string;
|
3408
|
-
createdAt:
|
3409
|
-
updatedAt:
|
3410
|
-
deletedAt:
|
3411
|
-
emailVerifiedAt: Date | null;
|
3495
|
+
createdAt: string;
|
3496
|
+
updatedAt: string;
|
3497
|
+
deletedAt: string | null;
|
3412
3498
|
password: string;
|
3413
3499
|
phone: string | null;
|
3414
3500
|
notificationCount: number | null;
|
3415
|
-
|
3501
|
+
emailVerifiedAt?: Date | undefined;
|
3502
|
+
roles?: {
|
3416
3503
|
id: string;
|
3417
3504
|
description: string | null;
|
3418
3505
|
createdAt: Date;
|
@@ -3429,8 +3516,8 @@ export declare const receiveMessageContract: {
|
|
3429
3516
|
systemName: string;
|
3430
3517
|
displayName: string;
|
3431
3518
|
}[];
|
3432
|
-
}[];
|
3433
|
-
extension
|
3519
|
+
}[] | undefined;
|
3520
|
+
extension?: {
|
3434
3521
|
id: string;
|
3435
3522
|
createdAt: Date;
|
3436
3523
|
updatedAt: Date;
|
@@ -3442,21 +3529,21 @@ export declare const receiveMessageContract: {
|
|
3442
3529
|
extensionId: string | null;
|
3443
3530
|
extensionName: string;
|
3444
3531
|
telephonySignature: string | null;
|
3445
|
-
};
|
3446
|
-
} | undefined;
|
3532
|
+
} | undefined;
|
3533
|
+
} | null | undefined;
|
3447
3534
|
assignee?: {
|
3448
3535
|
id: string;
|
3449
3536
|
address: string | null;
|
3450
3537
|
name: string;
|
3451
3538
|
email: string;
|
3452
|
-
createdAt:
|
3453
|
-
updatedAt:
|
3454
|
-
deletedAt:
|
3455
|
-
emailVerifiedAt: Date | null;
|
3539
|
+
createdAt: string;
|
3540
|
+
updatedAt: string;
|
3541
|
+
deletedAt: string | null;
|
3456
3542
|
password: string;
|
3457
3543
|
phone: string | null;
|
3458
3544
|
notificationCount: number | null;
|
3459
|
-
|
3545
|
+
emailVerifiedAt?: Date | undefined;
|
3546
|
+
roles?: {
|
3460
3547
|
id: string;
|
3461
3548
|
description: string | null;
|
3462
3549
|
createdAt: Date;
|
@@ -3473,8 +3560,8 @@ export declare const receiveMessageContract: {
|
|
3473
3560
|
systemName: string;
|
3474
3561
|
displayName: string;
|
3475
3562
|
}[];
|
3476
|
-
}[];
|
3477
|
-
extension
|
3563
|
+
}[] | undefined;
|
3564
|
+
extension?: {
|
3478
3565
|
id: string;
|
3479
3566
|
createdAt: Date;
|
3480
3567
|
updatedAt: Date;
|
@@ -3486,8 +3573,8 @@ export declare const receiveMessageContract: {
|
|
3486
3573
|
extensionId: string | null;
|
3487
3574
|
extensionName: string;
|
3488
3575
|
telephonySignature: string | null;
|
3489
|
-
};
|
3490
|
-
} | undefined;
|
3576
|
+
} | undefined;
|
3577
|
+
} | null | undefined;
|
3491
3578
|
channel?: {
|
3492
3579
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3493
3580
|
name: string;
|
@@ -3545,7 +3632,7 @@ export declare const receiveMessageContract: {
|
|
3545
3632
|
note: string | null;
|
3546
3633
|
} | null;
|
3547
3634
|
} | undefined;
|
3548
|
-
};
|
3635
|
+
} | null;
|
3549
3636
|
platformMessageId: string;
|
3550
3637
|
locale: "" | "th" | "mm" | "en" | null;
|
3551
3638
|
message?: string | undefined;
|
@@ -3610,7 +3697,7 @@ export declare const receiveMessageContract: {
|
|
3610
3697
|
extensionName: string;
|
3611
3698
|
telephonySignature: string | null;
|
3612
3699
|
};
|
3613
|
-
} | undefined;
|
3700
|
+
} | null | undefined;
|
3614
3701
|
assignee?: {
|
3615
3702
|
id: string;
|
3616
3703
|
address: string | null;
|
@@ -3654,7 +3741,7 @@ export declare const receiveMessageContract: {
|
|
3654
3741
|
extensionName: string;
|
3655
3742
|
telephonySignature: string | null;
|
3656
3743
|
};
|
3657
|
-
} | undefined;
|
3744
|
+
} | null | undefined;
|
3658
3745
|
sender?: {
|
3659
3746
|
id: string;
|
3660
3747
|
address: string | null;
|
@@ -3698,14 +3785,22 @@ export declare const receiveMessageContract: {
|
|
3698
3785
|
extensionName: string;
|
3699
3786
|
telephonySignature: string | null;
|
3700
3787
|
};
|
3701
|
-
} | undefined;
|
3788
|
+
} | null | undefined;
|
3702
3789
|
}>;
|
3703
3790
|
}, "strip", z.ZodTypeAny, {
|
3704
3791
|
message: {
|
3705
3792
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
3793
|
+
id: string;
|
3706
3794
|
direction: "incoming" | "outgoing" | "system";
|
3795
|
+
createdAt: string;
|
3796
|
+
updatedAt: string;
|
3797
|
+
deletedAt: string | null;
|
3707
3798
|
platformId: string;
|
3708
3799
|
room: {
|
3800
|
+
id?: string | undefined;
|
3801
|
+
createdAt?: string | undefined;
|
3802
|
+
updatedAt?: string | undefined;
|
3803
|
+
deletedAt?: string | null | undefined;
|
3709
3804
|
lastMessage?: string | undefined;
|
3710
3805
|
handleTime?: number | undefined;
|
3711
3806
|
closeAt?: Date | undefined;
|
@@ -3716,28 +3811,25 @@ export declare const receiveMessageContract: {
|
|
3716
3811
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
3717
3812
|
platformContact?: {
|
3718
3813
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3814
|
+
id: string;
|
3719
3815
|
metadata: {
|
3720
3816
|
id: string;
|
3721
3817
|
name: string;
|
3722
3818
|
picture?: string | undefined;
|
3723
3819
|
additionalCredentials?: any;
|
3724
3820
|
};
|
3821
|
+
createdAt: string;
|
3822
|
+
updatedAt: string;
|
3823
|
+
deletedAt: string | null;
|
3725
3824
|
channelId: string;
|
3726
3825
|
contact: {
|
3727
3826
|
id: string;
|
3728
3827
|
channel: string | null;
|
3729
3828
|
address: string | null;
|
3730
3829
|
name: string;
|
3731
|
-
|
3732
|
-
|
3733
|
-
|
3734
|
-
updatedAt: Date;
|
3735
|
-
deletedAt: Date | null;
|
3736
|
-
address?: string | null | undefined;
|
3737
|
-
name?: string | undefined;
|
3738
|
-
phone?: string | null | undefined;
|
3739
|
-
industry?: string | null | undefined;
|
3740
|
-
} | null;
|
3830
|
+
createdAt: string;
|
3831
|
+
updatedAt: string;
|
3832
|
+
deletedAt: string | null;
|
3741
3833
|
notes: string | null;
|
3742
3834
|
contactProfile: string | null;
|
3743
3835
|
socialProfileUrl: string | null;
|
@@ -3748,6 +3840,16 @@ export declare const receiveMessageContract: {
|
|
3748
3840
|
updatedAt: Date;
|
3749
3841
|
deletedAt: Date | null;
|
3750
3842
|
}[] | undefined;
|
3843
|
+
company?: {
|
3844
|
+
id: string;
|
3845
|
+
createdAt: Date;
|
3846
|
+
updatedAt: Date;
|
3847
|
+
deletedAt: Date | null;
|
3848
|
+
address?: string | null | undefined;
|
3849
|
+
name?: string | undefined;
|
3850
|
+
phone?: string | null | undefined;
|
3851
|
+
industry?: string | null | undefined;
|
3852
|
+
} | undefined;
|
3751
3853
|
customFields?: {
|
3752
3854
|
id: string;
|
3753
3855
|
createdAt: Date;
|
@@ -3831,14 +3933,14 @@ export declare const receiveMessageContract: {
|
|
3831
3933
|
address: string | null;
|
3832
3934
|
name: string;
|
3833
3935
|
email: string;
|
3834
|
-
createdAt:
|
3835
|
-
updatedAt:
|
3836
|
-
deletedAt:
|
3837
|
-
emailVerifiedAt: Date | null;
|
3936
|
+
createdAt: string;
|
3937
|
+
updatedAt: string;
|
3938
|
+
deletedAt: string | null;
|
3838
3939
|
password: string;
|
3839
3940
|
phone: string | null;
|
3840
3941
|
notificationCount: number | null;
|
3841
|
-
|
3942
|
+
emailVerifiedAt?: Date | undefined;
|
3943
|
+
roles?: {
|
3842
3944
|
id: string;
|
3843
3945
|
description: string | null;
|
3844
3946
|
createdAt: Date;
|
@@ -3855,8 +3957,8 @@ export declare const receiveMessageContract: {
|
|
3855
3957
|
systemName: string;
|
3856
3958
|
displayName: string;
|
3857
3959
|
}[];
|
3858
|
-
}[];
|
3859
|
-
extension
|
3960
|
+
}[] | undefined;
|
3961
|
+
extension?: {
|
3860
3962
|
id: string;
|
3861
3963
|
createdAt: Date;
|
3862
3964
|
updatedAt: Date;
|
@@ -3868,21 +3970,21 @@ export declare const receiveMessageContract: {
|
|
3868
3970
|
extensionId: string | null;
|
3869
3971
|
extensionName: string;
|
3870
3972
|
telephonySignature: string | null;
|
3871
|
-
};
|
3872
|
-
} | undefined;
|
3973
|
+
} | undefined;
|
3974
|
+
} | null | undefined;
|
3873
3975
|
assignee?: {
|
3874
3976
|
id: string;
|
3875
3977
|
address: string | null;
|
3876
3978
|
name: string;
|
3877
3979
|
email: string;
|
3878
|
-
createdAt:
|
3879
|
-
updatedAt:
|
3880
|
-
deletedAt:
|
3881
|
-
emailVerifiedAt: Date | null;
|
3980
|
+
createdAt: string;
|
3981
|
+
updatedAt: string;
|
3982
|
+
deletedAt: string | null;
|
3882
3983
|
password: string;
|
3883
3984
|
phone: string | null;
|
3884
3985
|
notificationCount: number | null;
|
3885
|
-
|
3986
|
+
emailVerifiedAt?: Date | undefined;
|
3987
|
+
roles?: {
|
3886
3988
|
id: string;
|
3887
3989
|
description: string | null;
|
3888
3990
|
createdAt: Date;
|
@@ -3899,8 +4001,8 @@ export declare const receiveMessageContract: {
|
|
3899
4001
|
systemName: string;
|
3900
4002
|
displayName: string;
|
3901
4003
|
}[];
|
3902
|
-
}[];
|
3903
|
-
extension
|
4004
|
+
}[] | undefined;
|
4005
|
+
extension?: {
|
3904
4006
|
id: string;
|
3905
4007
|
createdAt: Date;
|
3906
4008
|
updatedAt: Date;
|
@@ -3912,8 +4014,8 @@ export declare const receiveMessageContract: {
|
|
3912
4014
|
extensionId: string | null;
|
3913
4015
|
extensionName: string;
|
3914
4016
|
telephonySignature: string | null;
|
3915
|
-
};
|
3916
|
-
} | undefined;
|
4017
|
+
} | undefined;
|
4018
|
+
} | null | undefined;
|
3917
4019
|
channel?: {
|
3918
4020
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3919
4021
|
name: string;
|
@@ -3971,7 +4073,7 @@ export declare const receiveMessageContract: {
|
|
3971
4073
|
note: string | null;
|
3972
4074
|
} | null;
|
3973
4075
|
} | undefined;
|
3974
|
-
};
|
4076
|
+
} | null;
|
3975
4077
|
platformMessageId: string;
|
3976
4078
|
locale: "" | "th" | "mm" | "en" | null;
|
3977
4079
|
message?: string | undefined;
|
@@ -4036,7 +4138,7 @@ export declare const receiveMessageContract: {
|
|
4036
4138
|
extensionName: string;
|
4037
4139
|
telephonySignature: string | null;
|
4038
4140
|
};
|
4039
|
-
} | undefined;
|
4141
|
+
} | null | undefined;
|
4040
4142
|
assignee?: {
|
4041
4143
|
id: string;
|
4042
4144
|
address: string | null;
|
@@ -4080,7 +4182,7 @@ export declare const receiveMessageContract: {
|
|
4080
4182
|
extensionName: string;
|
4081
4183
|
telephonySignature: string | null;
|
4082
4184
|
};
|
4083
|
-
} | undefined;
|
4185
|
+
} | null | undefined;
|
4084
4186
|
sender?: {
|
4085
4187
|
id: string;
|
4086
4188
|
address: string | null;
|
@@ -4124,14 +4226,22 @@ export declare const receiveMessageContract: {
|
|
4124
4226
|
extensionName: string;
|
4125
4227
|
telephonySignature: string | null;
|
4126
4228
|
};
|
4127
|
-
} | undefined;
|
4229
|
+
} | null | undefined;
|
4128
4230
|
};
|
4129
4231
|
}, {
|
4130
4232
|
message: {
|
4131
4233
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
4234
|
+
id: string;
|
4132
4235
|
direction: "incoming" | "outgoing" | "system";
|
4236
|
+
createdAt: string;
|
4237
|
+
updatedAt: string;
|
4238
|
+
deletedAt: string | null;
|
4133
4239
|
platformId: string;
|
4134
4240
|
room: {
|
4241
|
+
id?: string | undefined;
|
4242
|
+
createdAt?: string | undefined;
|
4243
|
+
updatedAt?: string | undefined;
|
4244
|
+
deletedAt?: string | null | undefined;
|
4135
4245
|
lastMessage?: string | undefined;
|
4136
4246
|
handleTime?: number | undefined;
|
4137
4247
|
closeAt?: Date | undefined;
|
@@ -4142,28 +4252,25 @@ export declare const receiveMessageContract: {
|
|
4142
4252
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
4143
4253
|
platformContact?: {
|
4144
4254
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
4255
|
+
id: string;
|
4145
4256
|
metadata: {
|
4146
4257
|
id: string;
|
4147
4258
|
name: string;
|
4148
4259
|
picture?: string | undefined;
|
4149
4260
|
additionalCredentials?: any;
|
4150
4261
|
};
|
4262
|
+
createdAt: string;
|
4263
|
+
updatedAt: string;
|
4264
|
+
deletedAt: string | null;
|
4151
4265
|
channelId: string;
|
4152
4266
|
contact: {
|
4153
4267
|
id: string;
|
4154
4268
|
channel: string | null;
|
4155
4269
|
address: string | null;
|
4156
4270
|
name: string;
|
4157
|
-
|
4158
|
-
|
4159
|
-
|
4160
|
-
updatedAt: Date;
|
4161
|
-
deletedAt: Date | null;
|
4162
|
-
address?: string | null | undefined;
|
4163
|
-
name?: string | undefined;
|
4164
|
-
phone?: string | null | undefined;
|
4165
|
-
industry?: string | null | undefined;
|
4166
|
-
} | null;
|
4271
|
+
createdAt: string;
|
4272
|
+
updatedAt: string;
|
4273
|
+
deletedAt: string | null;
|
4167
4274
|
notes: string | null;
|
4168
4275
|
contactProfile: string | null;
|
4169
4276
|
socialProfileUrl: string | null;
|
@@ -4174,6 +4281,16 @@ export declare const receiveMessageContract: {
|
|
4174
4281
|
updatedAt: Date;
|
4175
4282
|
deletedAt: Date | null;
|
4176
4283
|
}[] | undefined;
|
4284
|
+
company?: {
|
4285
|
+
id: string;
|
4286
|
+
createdAt: Date;
|
4287
|
+
updatedAt: Date;
|
4288
|
+
deletedAt: Date | null;
|
4289
|
+
address?: string | null | undefined;
|
4290
|
+
name?: string | undefined;
|
4291
|
+
phone?: string | null | undefined;
|
4292
|
+
industry?: string | null | undefined;
|
4293
|
+
} | undefined;
|
4177
4294
|
customFields?: {
|
4178
4295
|
id: string;
|
4179
4296
|
createdAt: Date;
|
@@ -4257,14 +4374,14 @@ export declare const receiveMessageContract: {
|
|
4257
4374
|
address: string | null;
|
4258
4375
|
name: string;
|
4259
4376
|
email: string;
|
4260
|
-
createdAt:
|
4261
|
-
updatedAt:
|
4262
|
-
deletedAt:
|
4263
|
-
emailVerifiedAt: Date | null;
|
4377
|
+
createdAt: string;
|
4378
|
+
updatedAt: string;
|
4379
|
+
deletedAt: string | null;
|
4264
4380
|
password: string;
|
4265
4381
|
phone: string | null;
|
4266
4382
|
notificationCount: number | null;
|
4267
|
-
|
4383
|
+
emailVerifiedAt?: Date | undefined;
|
4384
|
+
roles?: {
|
4268
4385
|
id: string;
|
4269
4386
|
description: string | null;
|
4270
4387
|
createdAt: Date;
|
@@ -4281,8 +4398,8 @@ export declare const receiveMessageContract: {
|
|
4281
4398
|
systemName: string;
|
4282
4399
|
displayName: string;
|
4283
4400
|
}[];
|
4284
|
-
}[];
|
4285
|
-
extension
|
4401
|
+
}[] | undefined;
|
4402
|
+
extension?: {
|
4286
4403
|
id: string;
|
4287
4404
|
createdAt: Date;
|
4288
4405
|
updatedAt: Date;
|
@@ -4294,21 +4411,21 @@ export declare const receiveMessageContract: {
|
|
4294
4411
|
extensionId: string | null;
|
4295
4412
|
extensionName: string;
|
4296
4413
|
telephonySignature: string | null;
|
4297
|
-
};
|
4298
|
-
} | undefined;
|
4414
|
+
} | undefined;
|
4415
|
+
} | null | undefined;
|
4299
4416
|
assignee?: {
|
4300
4417
|
id: string;
|
4301
4418
|
address: string | null;
|
4302
4419
|
name: string;
|
4303
4420
|
email: string;
|
4304
|
-
createdAt:
|
4305
|
-
updatedAt:
|
4306
|
-
deletedAt:
|
4307
|
-
emailVerifiedAt: Date | null;
|
4421
|
+
createdAt: string;
|
4422
|
+
updatedAt: string;
|
4423
|
+
deletedAt: string | null;
|
4308
4424
|
password: string;
|
4309
4425
|
phone: string | null;
|
4310
4426
|
notificationCount: number | null;
|
4311
|
-
|
4427
|
+
emailVerifiedAt?: Date | undefined;
|
4428
|
+
roles?: {
|
4312
4429
|
id: string;
|
4313
4430
|
description: string | null;
|
4314
4431
|
createdAt: Date;
|
@@ -4325,8 +4442,8 @@ export declare const receiveMessageContract: {
|
|
4325
4442
|
systemName: string;
|
4326
4443
|
displayName: string;
|
4327
4444
|
}[];
|
4328
|
-
}[];
|
4329
|
-
extension
|
4445
|
+
}[] | undefined;
|
4446
|
+
extension?: {
|
4330
4447
|
id: string;
|
4331
4448
|
createdAt: Date;
|
4332
4449
|
updatedAt: Date;
|
@@ -4338,8 +4455,8 @@ export declare const receiveMessageContract: {
|
|
4338
4455
|
extensionId: string | null;
|
4339
4456
|
extensionName: string;
|
4340
4457
|
telephonySignature: string | null;
|
4341
|
-
};
|
4342
|
-
} | undefined;
|
4458
|
+
} | undefined;
|
4459
|
+
} | null | undefined;
|
4343
4460
|
channel?: {
|
4344
4461
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
4345
4462
|
name: string;
|
@@ -4397,7 +4514,7 @@ export declare const receiveMessageContract: {
|
|
4397
4514
|
note: string | null;
|
4398
4515
|
} | null;
|
4399
4516
|
} | undefined;
|
4400
|
-
};
|
4517
|
+
} | null;
|
4401
4518
|
platformMessageId: string;
|
4402
4519
|
locale: "" | "th" | "mm" | "en" | null;
|
4403
4520
|
message?: string | undefined;
|
@@ -4462,7 +4579,7 @@ export declare const receiveMessageContract: {
|
|
4462
4579
|
extensionName: string;
|
4463
4580
|
telephonySignature: string | null;
|
4464
4581
|
};
|
4465
|
-
} | undefined;
|
4582
|
+
} | null | undefined;
|
4466
4583
|
assignee?: {
|
4467
4584
|
id: string;
|
4468
4585
|
address: string | null;
|
@@ -4506,7 +4623,7 @@ export declare const receiveMessageContract: {
|
|
4506
4623
|
extensionName: string;
|
4507
4624
|
telephonySignature: string | null;
|
4508
4625
|
};
|
4509
|
-
} | undefined;
|
4626
|
+
} | null | undefined;
|
4510
4627
|
sender?: {
|
4511
4628
|
id: string;
|
4512
4629
|
address: string | null;
|
@@ -4550,7 +4667,7 @@ export declare const receiveMessageContract: {
|
|
4550
4667
|
extensionName: string;
|
4551
4668
|
telephonySignature: string | null;
|
4552
4669
|
};
|
4553
|
-
} | undefined;
|
4670
|
+
} | null | undefined;
|
4554
4671
|
};
|
4555
4672
|
}>;
|
4556
4673
|
summary: "Receive message";
|
@@ -40702,7 +40819,7 @@ export declare const mainChatContract: {
|
|
40702
40819
|
requestId: string;
|
40703
40820
|
}>;
|
40704
40821
|
};
|
40705
|
-
path: "chat/room/read/:
|
40822
|
+
path: "chat/room/read/:roomId";
|
40706
40823
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
40707
40824
|
'x-tenant': z.ZodString;
|
40708
40825
|
authorization: z.ZodString;
|