@kl1/contracts 1.0.37 → 1.0.38
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 +8 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -25
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +34 -34
- package/dist/src/chat/validation.d.ts +88 -88
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +6436 -1225
- package/dist/src/comment/index.d.ts.map +1 -1
- package/dist/src/comment/schema.d.ts +1594 -53
- package/dist/src/comment/schema.d.ts.map +1 -1
- package/dist/src/contract.d.ts +21372 -8818
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +86 -86
- package/dist/src/ticket/index.d.ts +10131 -2790
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +1342 -95
- package/dist/src/ticket/schema.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/chat/index.d.ts
CHANGED
@@ -1479,7 +1479,7 @@ export declare const receiveMessageContract: {
|
|
1479
1479
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
1480
1480
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
1481
1481
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
1482
|
-
actor: z.ZodObject<{
|
1482
|
+
actor: z.ZodOptional<z.ZodObject<{
|
1483
1483
|
id: z.ZodString;
|
1484
1484
|
name: z.ZodString;
|
1485
1485
|
email: z.ZodString;
|
@@ -1497,7 +1497,7 @@ export declare const receiveMessageContract: {
|
|
1497
1497
|
name: string;
|
1498
1498
|
email: string;
|
1499
1499
|
phone: string | null;
|
1500
|
-
}
|
1500
|
+
}>>;
|
1501
1501
|
}, "strip", z.ZodTypeAny, {
|
1502
1502
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1503
1503
|
name: string;
|
@@ -1510,15 +1510,15 @@ export declare const receiveMessageContract: {
|
|
1510
1510
|
status: boolean;
|
1511
1511
|
brandName: string;
|
1512
1512
|
platformId: string;
|
1513
|
-
|
1513
|
+
connectedUserName?: string | null | undefined;
|
1514
|
+
connectedUserId?: string | null | undefined;
|
1515
|
+
actor?: {
|
1514
1516
|
id: string;
|
1515
1517
|
address: string | null;
|
1516
1518
|
name: string;
|
1517
1519
|
email: string;
|
1518
1520
|
phone: string | null;
|
1519
|
-
};
|
1520
|
-
connectedUserName?: string | null | undefined;
|
1521
|
-
connectedUserId?: string | null | undefined;
|
1521
|
+
} | undefined;
|
1522
1522
|
}, {
|
1523
1523
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1524
1524
|
name: string;
|
@@ -1531,15 +1531,15 @@ export declare const receiveMessageContract: {
|
|
1531
1531
|
status: boolean;
|
1532
1532
|
brandName: string;
|
1533
1533
|
platformId: string;
|
1534
|
-
|
1534
|
+
connectedUserName?: string | null | undefined;
|
1535
|
+
connectedUserId?: string | null | undefined;
|
1536
|
+
actor?: {
|
1535
1537
|
id: string;
|
1536
1538
|
address: string | null;
|
1537
1539
|
name: string;
|
1538
1540
|
email: string;
|
1539
1541
|
phone: string | null;
|
1540
|
-
};
|
1541
|
-
connectedUserName?: string | null | undefined;
|
1542
|
-
connectedUserId?: string | null | undefined;
|
1542
|
+
} | undefined;
|
1543
1543
|
}>>;
|
1544
1544
|
cxlog: z.ZodOptional<z.ZodObject<{
|
1545
1545
|
id: z.ZodString;
|
@@ -1915,15 +1915,15 @@ export declare const receiveMessageContract: {
|
|
1915
1915
|
status: boolean;
|
1916
1916
|
brandName: string;
|
1917
1917
|
platformId: string;
|
1918
|
-
|
1918
|
+
connectedUserName?: string | null | undefined;
|
1919
|
+
connectedUserId?: string | null | undefined;
|
1920
|
+
actor?: {
|
1919
1921
|
id: string;
|
1920
1922
|
address: string | null;
|
1921
1923
|
name: string;
|
1922
1924
|
email: string;
|
1923
1925
|
phone: string | null;
|
1924
|
-
};
|
1925
|
-
connectedUserName?: string | null | undefined;
|
1926
|
-
connectedUserId?: string | null | undefined;
|
1926
|
+
} | undefined;
|
1927
1927
|
} | undefined;
|
1928
1928
|
cxlog?: {
|
1929
1929
|
id: string;
|
@@ -2187,15 +2187,15 @@ export declare const receiveMessageContract: {
|
|
2187
2187
|
status: boolean;
|
2188
2188
|
brandName: string;
|
2189
2189
|
platformId: string;
|
2190
|
-
|
2190
|
+
connectedUserName?: string | null | undefined;
|
2191
|
+
connectedUserId?: string | null | undefined;
|
2192
|
+
actor?: {
|
2191
2193
|
id: string;
|
2192
2194
|
address: string | null;
|
2193
2195
|
name: string;
|
2194
2196
|
email: string;
|
2195
2197
|
phone: string | null;
|
2196
|
-
};
|
2197
|
-
connectedUserName?: string | null | undefined;
|
2198
|
-
connectedUserId?: string | null | undefined;
|
2198
|
+
} | undefined;
|
2199
2199
|
} | undefined;
|
2200
2200
|
cxlog?: {
|
2201
2201
|
id: string;
|
@@ -3108,15 +3108,15 @@ export declare const receiveMessageContract: {
|
|
3108
3108
|
status: boolean;
|
3109
3109
|
brandName: string;
|
3110
3110
|
platformId: string;
|
3111
|
-
|
3111
|
+
connectedUserName?: string | null | undefined;
|
3112
|
+
connectedUserId?: string | null | undefined;
|
3113
|
+
actor?: {
|
3112
3114
|
id: string;
|
3113
3115
|
address: string | null;
|
3114
3116
|
name: string;
|
3115
3117
|
email: string;
|
3116
3118
|
phone: string | null;
|
3117
|
-
};
|
3118
|
-
connectedUserName?: string | null | undefined;
|
3119
|
-
connectedUserId?: string | null | undefined;
|
3119
|
+
} | undefined;
|
3120
3120
|
} | undefined;
|
3121
3121
|
cxlog?: {
|
3122
3122
|
id: string;
|
@@ -3537,15 +3537,15 @@ export declare const receiveMessageContract: {
|
|
3537
3537
|
status: boolean;
|
3538
3538
|
brandName: string;
|
3539
3539
|
platformId: string;
|
3540
|
-
|
3540
|
+
connectedUserName?: string | null | undefined;
|
3541
|
+
connectedUserId?: string | null | undefined;
|
3542
|
+
actor?: {
|
3541
3543
|
id: string;
|
3542
3544
|
address: string | null;
|
3543
3545
|
name: string;
|
3544
3546
|
email: string;
|
3545
3547
|
phone: string | null;
|
3546
|
-
};
|
3547
|
-
connectedUserName?: string | null | undefined;
|
3548
|
-
connectedUserId?: string | null | undefined;
|
3548
|
+
} | undefined;
|
3549
3549
|
} | undefined;
|
3550
3550
|
cxlog?: {
|
3551
3551
|
id: string;
|
@@ -3968,15 +3968,15 @@ export declare const receiveMessageContract: {
|
|
3968
3968
|
status: boolean;
|
3969
3969
|
brandName: string;
|
3970
3970
|
platformId: string;
|
3971
|
-
|
3971
|
+
connectedUserName?: string | null | undefined;
|
3972
|
+
connectedUserId?: string | null | undefined;
|
3973
|
+
actor?: {
|
3972
3974
|
id: string;
|
3973
3975
|
address: string | null;
|
3974
3976
|
name: string;
|
3975
3977
|
email: string;
|
3976
3978
|
phone: string | null;
|
3977
|
-
};
|
3978
|
-
connectedUserName?: string | null | undefined;
|
3979
|
-
connectedUserId?: string | null | undefined;
|
3979
|
+
} | undefined;
|
3980
3980
|
} | undefined;
|
3981
3981
|
cxlog?: {
|
3982
3982
|
id: string;
|
@@ -4399,15 +4399,15 @@ export declare const receiveMessageContract: {
|
|
4399
4399
|
status: boolean;
|
4400
4400
|
brandName: string;
|
4401
4401
|
platformId: string;
|
4402
|
-
|
4402
|
+
connectedUserName?: string | null | undefined;
|
4403
|
+
connectedUserId?: string | null | undefined;
|
4404
|
+
actor?: {
|
4403
4405
|
id: string;
|
4404
4406
|
address: string | null;
|
4405
4407
|
name: string;
|
4406
4408
|
email: string;
|
4407
4409
|
phone: string | null;
|
4408
|
-
};
|
4409
|
-
connectedUserName?: string | null | undefined;
|
4410
|
-
connectedUserId?: string | null | undefined;
|
4410
|
+
} | undefined;
|
4411
4411
|
} | undefined;
|
4412
4412
|
cxlog?: {
|
4413
4413
|
id: string;
|
@@ -637,7 +637,7 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
637
637
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
638
638
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
639
639
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
640
|
-
actor: z.ZodObject<{
|
640
|
+
actor: z.ZodOptional<z.ZodObject<{
|
641
641
|
id: z.ZodString;
|
642
642
|
name: z.ZodString;
|
643
643
|
email: z.ZodString;
|
@@ -655,7 +655,7 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
655
655
|
name: string;
|
656
656
|
email: string;
|
657
657
|
phone: string | null;
|
658
|
-
}
|
658
|
+
}>>;
|
659
659
|
}, "strip", z.ZodTypeAny, {
|
660
660
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
661
661
|
name: string;
|
@@ -668,15 +668,15 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
668
668
|
status: boolean;
|
669
669
|
brandName: string;
|
670
670
|
platformId: string;
|
671
|
-
|
671
|
+
connectedUserName?: string | null | undefined;
|
672
|
+
connectedUserId?: string | null | undefined;
|
673
|
+
actor?: {
|
672
674
|
id: string;
|
673
675
|
address: string | null;
|
674
676
|
name: string;
|
675
677
|
email: string;
|
676
678
|
phone: string | null;
|
677
|
-
};
|
678
|
-
connectedUserName?: string | null | undefined;
|
679
|
-
connectedUserId?: string | null | undefined;
|
679
|
+
} | undefined;
|
680
680
|
}, {
|
681
681
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
682
682
|
name: string;
|
@@ -689,15 +689,15 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
689
689
|
status: boolean;
|
690
690
|
brandName: string;
|
691
691
|
platformId: string;
|
692
|
-
|
692
|
+
connectedUserName?: string | null | undefined;
|
693
|
+
connectedUserId?: string | null | undefined;
|
694
|
+
actor?: {
|
693
695
|
id: string;
|
694
696
|
address: string | null;
|
695
697
|
name: string;
|
696
698
|
email: string;
|
697
699
|
phone: string | null;
|
698
|
-
};
|
699
|
-
connectedUserName?: string | null | undefined;
|
700
|
-
connectedUserId?: string | null | undefined;
|
700
|
+
} | undefined;
|
701
701
|
}>;
|
702
702
|
export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
703
703
|
room: z.ZodObject<{
|
@@ -825,7 +825,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
825
825
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
826
826
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
827
827
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
828
|
-
actor: z.ZodObject<{
|
828
|
+
actor: z.ZodOptional<z.ZodObject<{
|
829
829
|
id: z.ZodString;
|
830
830
|
name: z.ZodString;
|
831
831
|
email: z.ZodString;
|
@@ -843,7 +843,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
843
843
|
name: string;
|
844
844
|
email: string;
|
845
845
|
phone: string | null;
|
846
|
-
}
|
846
|
+
}>>;
|
847
847
|
}, "strip", z.ZodTypeAny, {
|
848
848
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
849
849
|
name: string;
|
@@ -856,15 +856,15 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
856
856
|
status: boolean;
|
857
857
|
brandName: string;
|
858
858
|
platformId: string;
|
859
|
-
|
859
|
+
connectedUserName?: string | null | undefined;
|
860
|
+
connectedUserId?: string | null | undefined;
|
861
|
+
actor?: {
|
860
862
|
id: string;
|
861
863
|
address: string | null;
|
862
864
|
name: string;
|
863
865
|
email: string;
|
864
866
|
phone: string | null;
|
865
|
-
};
|
866
|
-
connectedUserName?: string | null | undefined;
|
867
|
-
connectedUserId?: string | null | undefined;
|
867
|
+
} | undefined;
|
868
868
|
}, {
|
869
869
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
870
870
|
name: string;
|
@@ -877,15 +877,15 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
877
877
|
status: boolean;
|
878
878
|
brandName: string;
|
879
879
|
platformId: string;
|
880
|
-
|
880
|
+
connectedUserName?: string | null | undefined;
|
881
|
+
connectedUserId?: string | null | undefined;
|
882
|
+
actor?: {
|
881
883
|
id: string;
|
882
884
|
address: string | null;
|
883
885
|
name: string;
|
884
886
|
email: string;
|
885
887
|
phone: string | null;
|
886
|
-
};
|
887
|
-
connectedUserName?: string | null | undefined;
|
888
|
-
connectedUserId?: string | null | undefined;
|
888
|
+
} | undefined;
|
889
889
|
}>;
|
890
890
|
}, "strip", z.ZodTypeAny, {
|
891
891
|
id: string;
|
@@ -901,15 +901,15 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
901
901
|
status: boolean;
|
902
902
|
brandName: string;
|
903
903
|
platformId: string;
|
904
|
-
|
904
|
+
connectedUserName?: string | null | undefined;
|
905
|
+
connectedUserId?: string | null | undefined;
|
906
|
+
actor?: {
|
905
907
|
id: string;
|
906
908
|
address: string | null;
|
907
909
|
name: string;
|
908
910
|
email: string;
|
909
911
|
phone: string | null;
|
910
|
-
};
|
911
|
-
connectedUserName?: string | null | undefined;
|
912
|
-
connectedUserId?: string | null | undefined;
|
912
|
+
} | undefined;
|
913
913
|
};
|
914
914
|
direction: "incoming" | "outgoing" | "system";
|
915
915
|
actor: {
|
@@ -954,15 +954,15 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
954
954
|
status: boolean;
|
955
955
|
brandName: string;
|
956
956
|
platformId: string;
|
957
|
-
|
957
|
+
connectedUserName?: string | null | undefined;
|
958
|
+
connectedUserId?: string | null | undefined;
|
959
|
+
actor?: {
|
958
960
|
id: string;
|
959
961
|
address: string | null;
|
960
962
|
name: string;
|
961
963
|
email: string;
|
962
964
|
phone: string | null;
|
963
|
-
};
|
964
|
-
connectedUserName?: string | null | undefined;
|
965
|
-
connectedUserId?: string | null | undefined;
|
965
|
+
} | undefined;
|
966
966
|
};
|
967
967
|
direction: "incoming" | "outgoing" | "system";
|
968
968
|
actor: {
|
@@ -1165,15 +1165,15 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1165
1165
|
status: boolean;
|
1166
1166
|
brandName: string;
|
1167
1167
|
platformId: string;
|
1168
|
-
|
1168
|
+
connectedUserName?: string | null | undefined;
|
1169
|
+
connectedUserId?: string | null | undefined;
|
1170
|
+
actor?: {
|
1169
1171
|
id: string;
|
1170
1172
|
address: string | null;
|
1171
1173
|
name: string;
|
1172
1174
|
email: string;
|
1173
1175
|
phone: string | null;
|
1174
|
-
};
|
1175
|
-
connectedUserName?: string | null | undefined;
|
1176
|
-
connectedUserId?: string | null | undefined;
|
1176
|
+
} | undefined;
|
1177
1177
|
};
|
1178
1178
|
direction: "incoming" | "outgoing" | "system";
|
1179
1179
|
actor: {
|
@@ -1252,15 +1252,15 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1252
1252
|
status: boolean;
|
1253
1253
|
brandName: string;
|
1254
1254
|
platformId: string;
|
1255
|
-
|
1255
|
+
connectedUserName?: string | null | undefined;
|
1256
|
+
connectedUserId?: string | null | undefined;
|
1257
|
+
actor?: {
|
1256
1258
|
id: string;
|
1257
1259
|
address: string | null;
|
1258
1260
|
name: string;
|
1259
1261
|
email: string;
|
1260
1262
|
phone: string | null;
|
1261
|
-
};
|
1262
|
-
connectedUserName?: string | null | undefined;
|
1263
|
-
connectedUserId?: string | null | undefined;
|
1263
|
+
} | undefined;
|
1264
1264
|
};
|
1265
1265
|
direction: "incoming" | "outgoing" | "system";
|
1266
1266
|
actor: {
|
@@ -6483,7 +6483,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6483
6483
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
6484
6484
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
6485
6485
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
6486
|
-
actor: z.ZodObject<{
|
6486
|
+
actor: z.ZodOptional<z.ZodObject<{
|
6487
6487
|
id: z.ZodString;
|
6488
6488
|
name: z.ZodString;
|
6489
6489
|
email: z.ZodString;
|
@@ -6501,7 +6501,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6501
6501
|
name: string;
|
6502
6502
|
email: string;
|
6503
6503
|
phone: string | null;
|
6504
|
-
}
|
6504
|
+
}>>;
|
6505
6505
|
}, "strip", z.ZodTypeAny, {
|
6506
6506
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6507
6507
|
name: string;
|
@@ -6514,15 +6514,15 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6514
6514
|
status: boolean;
|
6515
6515
|
brandName: string;
|
6516
6516
|
platformId: string;
|
6517
|
-
|
6517
|
+
connectedUserName?: string | null | undefined;
|
6518
|
+
connectedUserId?: string | null | undefined;
|
6519
|
+
actor?: {
|
6518
6520
|
id: string;
|
6519
6521
|
address: string | null;
|
6520
6522
|
name: string;
|
6521
6523
|
email: string;
|
6522
6524
|
phone: string | null;
|
6523
|
-
};
|
6524
|
-
connectedUserName?: string | null | undefined;
|
6525
|
-
connectedUserId?: string | null | undefined;
|
6525
|
+
} | undefined;
|
6526
6526
|
}, {
|
6527
6527
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6528
6528
|
name: string;
|
@@ -6535,15 +6535,15 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6535
6535
|
status: boolean;
|
6536
6536
|
brandName: string;
|
6537
6537
|
platformId: string;
|
6538
|
-
|
6538
|
+
connectedUserName?: string | null | undefined;
|
6539
|
+
connectedUserId?: string | null | undefined;
|
6540
|
+
actor?: {
|
6539
6541
|
id: string;
|
6540
6542
|
address: string | null;
|
6541
6543
|
name: string;
|
6542
6544
|
email: string;
|
6543
6545
|
phone: string | null;
|
6544
|
-
};
|
6545
|
-
connectedUserName?: string | null | undefined;
|
6546
|
-
connectedUserId?: string | null | undefined;
|
6546
|
+
} | undefined;
|
6547
6547
|
}>;
|
6548
6548
|
}, "strip", z.ZodTypeAny, {
|
6549
6549
|
data: {
|
@@ -6558,15 +6558,15 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6558
6558
|
status: boolean;
|
6559
6559
|
brandName: string;
|
6560
6560
|
platformId: string;
|
6561
|
-
|
6561
|
+
connectedUserName?: string | null | undefined;
|
6562
|
+
connectedUserId?: string | null | undefined;
|
6563
|
+
actor?: {
|
6562
6564
|
id: string;
|
6563
6565
|
address: string | null;
|
6564
6566
|
name: string;
|
6565
6567
|
email: string;
|
6566
6568
|
phone: string | null;
|
6567
|
-
};
|
6568
|
-
connectedUserName?: string | null | undefined;
|
6569
|
-
connectedUserId?: string | null | undefined;
|
6569
|
+
} | undefined;
|
6570
6570
|
};
|
6571
6571
|
requestId: string;
|
6572
6572
|
}, {
|
@@ -6582,15 +6582,15 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6582
6582
|
status: boolean;
|
6583
6583
|
brandName: string;
|
6584
6584
|
platformId: string;
|
6585
|
-
|
6585
|
+
connectedUserName?: string | null | undefined;
|
6586
|
+
connectedUserId?: string | null | undefined;
|
6587
|
+
actor?: {
|
6586
6588
|
id: string;
|
6587
6589
|
address: string | null;
|
6588
6590
|
name: string;
|
6589
6591
|
email: string;
|
6590
6592
|
phone: string | null;
|
6591
|
-
};
|
6592
|
-
connectedUserName?: string | null | undefined;
|
6593
|
-
connectedUserId?: string | null | undefined;
|
6593
|
+
} | undefined;
|
6594
6594
|
};
|
6595
6595
|
requestId: string;
|
6596
6596
|
}>;
|
@@ -8057,7 +8057,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8057
8057
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
8058
8058
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8059
8059
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8060
|
-
actor: z.ZodObject<{
|
8060
|
+
actor: z.ZodOptional<z.ZodObject<{
|
8061
8061
|
id: z.ZodString;
|
8062
8062
|
name: z.ZodString;
|
8063
8063
|
email: z.ZodString;
|
@@ -8075,7 +8075,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8075
8075
|
name: string;
|
8076
8076
|
email: string;
|
8077
8077
|
phone: string | null;
|
8078
|
-
}
|
8078
|
+
}>>;
|
8079
8079
|
}, "strip", z.ZodTypeAny, {
|
8080
8080
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8081
8081
|
name: string;
|
@@ -8088,15 +8088,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8088
8088
|
status: boolean;
|
8089
8089
|
brandName: string;
|
8090
8090
|
platformId: string;
|
8091
|
-
|
8091
|
+
connectedUserName?: string | null | undefined;
|
8092
|
+
connectedUserId?: string | null | undefined;
|
8093
|
+
actor?: {
|
8092
8094
|
id: string;
|
8093
8095
|
address: string | null;
|
8094
8096
|
name: string;
|
8095
8097
|
email: string;
|
8096
8098
|
phone: string | null;
|
8097
|
-
};
|
8098
|
-
connectedUserName?: string | null | undefined;
|
8099
|
-
connectedUserId?: string | null | undefined;
|
8099
|
+
} | undefined;
|
8100
8100
|
}, {
|
8101
8101
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8102
8102
|
name: string;
|
@@ -8109,15 +8109,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8109
8109
|
status: boolean;
|
8110
8110
|
brandName: string;
|
8111
8111
|
platformId: string;
|
8112
|
-
|
8112
|
+
connectedUserName?: string | null | undefined;
|
8113
|
+
connectedUserId?: string | null | undefined;
|
8114
|
+
actor?: {
|
8113
8115
|
id: string;
|
8114
8116
|
address: string | null;
|
8115
8117
|
name: string;
|
8116
8118
|
email: string;
|
8117
8119
|
phone: string | null;
|
8118
|
-
};
|
8119
|
-
connectedUserName?: string | null | undefined;
|
8120
|
-
connectedUserId?: string | null | undefined;
|
8120
|
+
} | undefined;
|
8121
8121
|
}>>;
|
8122
8122
|
cxlog: z.ZodOptional<z.ZodObject<{
|
8123
8123
|
id: z.ZodString;
|
@@ -8493,15 +8493,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8493
8493
|
status: boolean;
|
8494
8494
|
brandName: string;
|
8495
8495
|
platformId: string;
|
8496
|
-
|
8496
|
+
connectedUserName?: string | null | undefined;
|
8497
|
+
connectedUserId?: string | null | undefined;
|
8498
|
+
actor?: {
|
8497
8499
|
id: string;
|
8498
8500
|
address: string | null;
|
8499
8501
|
name: string;
|
8500
8502
|
email: string;
|
8501
8503
|
phone: string | null;
|
8502
|
-
};
|
8503
|
-
connectedUserName?: string | null | undefined;
|
8504
|
-
connectedUserId?: string | null | undefined;
|
8504
|
+
} | undefined;
|
8505
8505
|
} | undefined;
|
8506
8506
|
cxlog?: {
|
8507
8507
|
id: string;
|
@@ -8765,15 +8765,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8765
8765
|
status: boolean;
|
8766
8766
|
brandName: string;
|
8767
8767
|
platformId: string;
|
8768
|
-
|
8768
|
+
connectedUserName?: string | null | undefined;
|
8769
|
+
connectedUserId?: string | null | undefined;
|
8770
|
+
actor?: {
|
8769
8771
|
id: string;
|
8770
8772
|
address: string | null;
|
8771
8773
|
name: string;
|
8772
8774
|
email: string;
|
8773
8775
|
phone: string | null;
|
8774
|
-
};
|
8775
|
-
connectedUserName?: string | null | undefined;
|
8776
|
-
connectedUserId?: string | null | undefined;
|
8776
|
+
} | undefined;
|
8777
8777
|
} | undefined;
|
8778
8778
|
cxlog?: {
|
8779
8779
|
id: string;
|
@@ -9686,15 +9686,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9686
9686
|
status: boolean;
|
9687
9687
|
brandName: string;
|
9688
9688
|
platformId: string;
|
9689
|
-
|
9689
|
+
connectedUserName?: string | null | undefined;
|
9690
|
+
connectedUserId?: string | null | undefined;
|
9691
|
+
actor?: {
|
9690
9692
|
id: string;
|
9691
9693
|
address: string | null;
|
9692
9694
|
name: string;
|
9693
9695
|
email: string;
|
9694
9696
|
phone: string | null;
|
9695
|
-
};
|
9696
|
-
connectedUserName?: string | null | undefined;
|
9697
|
-
connectedUserId?: string | null | undefined;
|
9697
|
+
} | undefined;
|
9698
9698
|
} | undefined;
|
9699
9699
|
cxlog?: {
|
9700
9700
|
id: string;
|
@@ -10115,15 +10115,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10115
10115
|
status: boolean;
|
10116
10116
|
brandName: string;
|
10117
10117
|
platformId: string;
|
10118
|
-
|
10118
|
+
connectedUserName?: string | null | undefined;
|
10119
|
+
connectedUserId?: string | null | undefined;
|
10120
|
+
actor?: {
|
10119
10121
|
id: string;
|
10120
10122
|
address: string | null;
|
10121
10123
|
name: string;
|
10122
10124
|
email: string;
|
10123
10125
|
phone: string | null;
|
10124
|
-
};
|
10125
|
-
connectedUserName?: string | null | undefined;
|
10126
|
-
connectedUserId?: string | null | undefined;
|
10126
|
+
} | undefined;
|
10127
10127
|
} | undefined;
|
10128
10128
|
cxlog?: {
|
10129
10129
|
id: string;
|
@@ -10546,15 +10546,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10546
10546
|
status: boolean;
|
10547
10547
|
brandName: string;
|
10548
10548
|
platformId: string;
|
10549
|
-
|
10549
|
+
connectedUserName?: string | null | undefined;
|
10550
|
+
connectedUserId?: string | null | undefined;
|
10551
|
+
actor?: {
|
10550
10552
|
id: string;
|
10551
10553
|
address: string | null;
|
10552
10554
|
name: string;
|
10553
10555
|
email: string;
|
10554
10556
|
phone: string | null;
|
10555
|
-
};
|
10556
|
-
connectedUserName?: string | null | undefined;
|
10557
|
-
connectedUserId?: string | null | undefined;
|
10557
|
+
} | undefined;
|
10558
10558
|
} | undefined;
|
10559
10559
|
cxlog?: {
|
10560
10560
|
id: string;
|
@@ -10977,15 +10977,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10977
10977
|
status: boolean;
|
10978
10978
|
brandName: string;
|
10979
10979
|
platformId: string;
|
10980
|
-
|
10980
|
+
connectedUserName?: string | null | undefined;
|
10981
|
+
connectedUserId?: string | null | undefined;
|
10982
|
+
actor?: {
|
10981
10983
|
id: string;
|
10982
10984
|
address: string | null;
|
10983
10985
|
name: string;
|
10984
10986
|
email: string;
|
10985
10987
|
phone: string | null;
|
10986
|
-
};
|
10987
|
-
connectedUserName?: string | null | undefined;
|
10988
|
-
connectedUserId?: string | null | undefined;
|
10988
|
+
} | undefined;
|
10989
10989
|
} | undefined;
|
10990
10990
|
cxlog?: {
|
10991
10991
|
id: string;
|