@kl1/contracts 1.1.22 → 1.1.24-uat
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 +605 -207
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +604 -207
- package/dist/index.mjs.map +1 -1
- package/dist/src/channel/index.d.ts +725 -611
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +12 -12
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +71 -8
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +277 -277
- package/dist/src/chat/schema.d.ts +43 -43
- package/dist/src/chat/validation.d.ts +114 -109
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +19857 -6726
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +29 -29
- package/dist/src/cx-log/schema.d.ts +23 -23
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +141 -136
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +136 -131
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/schema.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +23 -23
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +230 -4
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +7816 -4009
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +2103 -2
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +1937 -455
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/message-validation.schema.d.ts +3 -0
- package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/message.schema.d.ts +6 -0
- package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +374 -8
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +258 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +141 -136
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +13 -13
- package/dist/src/snippet/index.d.ts +545 -97
- package/dist/src/snippet/index.d.ts.map +1 -1
- package/dist/src/snippet/schema.d.ts +220 -19
- package/dist/src/snippet/schema.d.ts.map +1 -1
- package/dist/src/snippet/validation.d.ts +5 -5
- package/dist/src/viber/index.d.ts +105 -100
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +8021 -0
- package/dist/src/webchat/index.d.ts.map +1 -0
- package/dist/src/webchat/schema.d.ts +95 -0
- package/dist/src/webchat/schema.d.ts.map +1 -0
- package/dist/src/webchat/validation.d.ts +36 -0
- package/dist/src/webchat/validation.d.ts.map +1 -0
- package/package.json +1 -1
@@ -54,20 +54,50 @@ export declare const roomContract: {
|
|
54
54
|
query: z.ZodObject<{
|
55
55
|
page: z.ZodDefault<z.ZodNumber>;
|
56
56
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
57
|
-
keyword: z.ZodOptional<z.
|
57
|
+
keyword: z.ZodOptional<z.ZodObject<{
|
58
|
+
value: z.ZodString;
|
59
|
+
category: z.ZodUnion<[z.ZodLiteral<"contact">, z.ZodLiteral<"message">]>;
|
60
|
+
}, "strip", z.ZodTypeAny, {
|
61
|
+
value: string;
|
62
|
+
category: "message" | "contact";
|
63
|
+
}, {
|
64
|
+
value: string;
|
65
|
+
category: "message" | "contact";
|
66
|
+
}>>;
|
67
|
+
contactLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
68
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
69
|
+
date: z.ZodOptional<z.ZodString>;
|
70
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
71
|
+
assignees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
58
72
|
level1: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"close">, z.ZodLiteral<"inbox">, z.ZodLiteral<"sent">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"starred">]>>;
|
59
73
|
level2: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"unassign">, z.ZodLiteral<"mine">, z.ZodLiteral<"other">]>>;
|
60
74
|
}, "strip", z.ZodTypeAny, {
|
61
75
|
page: number;
|
62
76
|
pageSize: number;
|
63
|
-
keyword?:
|
64
|
-
|
77
|
+
keyword?: {
|
78
|
+
value: string;
|
79
|
+
category: "message" | "contact";
|
80
|
+
} | undefined;
|
81
|
+
contactLabels?: string[] | undefined;
|
82
|
+
channels?: string[] | undefined;
|
83
|
+
date?: string | undefined;
|
84
|
+
contacts?: string[] | undefined;
|
85
|
+
assignees?: string[] | undefined;
|
86
|
+
level1?: "open" | "close" | "starred" | "inbox" | "sent" | "scheduled" | undefined;
|
65
87
|
level2?: "all" | "other" | "unassign" | "mine" | undefined;
|
66
88
|
}, {
|
67
89
|
page?: number | undefined;
|
68
90
|
pageSize?: number | undefined;
|
69
|
-
keyword?:
|
70
|
-
|
91
|
+
keyword?: {
|
92
|
+
value: string;
|
93
|
+
category: "message" | "contact";
|
94
|
+
} | undefined;
|
95
|
+
contactLabels?: string[] | undefined;
|
96
|
+
channels?: string[] | undefined;
|
97
|
+
date?: string | undefined;
|
98
|
+
contacts?: string[] | undefined;
|
99
|
+
assignees?: string[] | undefined;
|
100
|
+
level1?: "open" | "close" | "starred" | "inbox" | "sent" | "scheduled" | undefined;
|
71
101
|
level2?: "all" | "other" | "unassign" | "mine" | undefined;
|
72
102
|
}>;
|
73
103
|
responses: {
|
@@ -221,6 +251,8 @@ export declare const roomContract: {
|
|
221
251
|
date: z.ZodDate;
|
222
252
|
action: z.ZodString;
|
223
253
|
unseen: z.ZodBoolean;
|
254
|
+
sendAt: z.ZodDate;
|
255
|
+
starred: z.ZodBoolean;
|
224
256
|
seemsLikeNew: z.ZodBoolean;
|
225
257
|
from: z.ZodArray<z.ZodObject<{
|
226
258
|
id: z.ZodString;
|
@@ -419,6 +451,8 @@ export declare const roomContract: {
|
|
419
451
|
emailEngineMessageId: string;
|
420
452
|
emailEngineReplyTo: string | null;
|
421
453
|
unseen: boolean;
|
454
|
+
sendAt: Date;
|
455
|
+
starred: boolean;
|
422
456
|
seemsLikeNew: boolean;
|
423
457
|
from: {
|
424
458
|
id: string;
|
@@ -493,6 +527,8 @@ export declare const roomContract: {
|
|
493
527
|
emailEngineMessageId: string;
|
494
528
|
emailEngineReplyTo: string | null;
|
495
529
|
unseen: boolean;
|
530
|
+
sendAt: Date;
|
531
|
+
starred: boolean;
|
496
532
|
seemsLikeNew: boolean;
|
497
533
|
from: {
|
498
534
|
id: string;
|
@@ -568,6 +604,8 @@ export declare const roomContract: {
|
|
568
604
|
date: z.ZodDate;
|
569
605
|
action: z.ZodString;
|
570
606
|
unseen: z.ZodBoolean;
|
607
|
+
sendAt: z.ZodDate;
|
608
|
+
starred: z.ZodBoolean;
|
571
609
|
seemsLikeNew: z.ZodBoolean;
|
572
610
|
from: z.ZodArray<z.ZodObject<{
|
573
611
|
id: z.ZodString;
|
@@ -766,6 +804,8 @@ export declare const roomContract: {
|
|
766
804
|
emailEngineMessageId: string;
|
767
805
|
emailEngineReplyTo: string | null;
|
768
806
|
unseen: boolean;
|
807
|
+
sendAt: Date;
|
808
|
+
starred: boolean;
|
769
809
|
seemsLikeNew: boolean;
|
770
810
|
from: {
|
771
811
|
id: string;
|
@@ -840,6 +880,8 @@ export declare const roomContract: {
|
|
840
880
|
emailEngineMessageId: string;
|
841
881
|
emailEngineReplyTo: string | null;
|
842
882
|
unseen: boolean;
|
883
|
+
sendAt: Date;
|
884
|
+
starred: boolean;
|
843
885
|
seemsLikeNew: boolean;
|
844
886
|
from: {
|
845
887
|
id: string;
|
@@ -968,6 +1010,8 @@ export declare const roomContract: {
|
|
968
1010
|
date: z.ZodDate;
|
969
1011
|
action: z.ZodString;
|
970
1012
|
unseen: z.ZodBoolean;
|
1013
|
+
sendAt: z.ZodDate;
|
1014
|
+
starred: z.ZodBoolean;
|
971
1015
|
seemsLikeNew: z.ZodBoolean;
|
972
1016
|
from: z.ZodArray<z.ZodObject<{
|
973
1017
|
id: z.ZodString;
|
@@ -1166,6 +1210,8 @@ export declare const roomContract: {
|
|
1166
1210
|
emailEngineMessageId: string;
|
1167
1211
|
emailEngineReplyTo: string | null;
|
1168
1212
|
unseen: boolean;
|
1213
|
+
sendAt: Date;
|
1214
|
+
starred: boolean;
|
1169
1215
|
seemsLikeNew: boolean;
|
1170
1216
|
from: {
|
1171
1217
|
id: string;
|
@@ -1240,6 +1286,8 @@ export declare const roomContract: {
|
|
1240
1286
|
emailEngineMessageId: string;
|
1241
1287
|
emailEngineReplyTo: string | null;
|
1242
1288
|
unseen: boolean;
|
1289
|
+
sendAt: Date;
|
1290
|
+
starred: boolean;
|
1243
1291
|
seemsLikeNew: boolean;
|
1244
1292
|
from: {
|
1245
1293
|
id: string;
|
@@ -1315,6 +1363,8 @@ export declare const roomContract: {
|
|
1315
1363
|
date: z.ZodDate;
|
1316
1364
|
action: z.ZodString;
|
1317
1365
|
unseen: z.ZodBoolean;
|
1366
|
+
sendAt: z.ZodDate;
|
1367
|
+
starred: z.ZodBoolean;
|
1318
1368
|
seemsLikeNew: z.ZodBoolean;
|
1319
1369
|
from: z.ZodArray<z.ZodObject<{
|
1320
1370
|
id: z.ZodString;
|
@@ -1513,6 +1563,8 @@ export declare const roomContract: {
|
|
1513
1563
|
emailEngineMessageId: string;
|
1514
1564
|
emailEngineReplyTo: string | null;
|
1515
1565
|
unseen: boolean;
|
1566
|
+
sendAt: Date;
|
1567
|
+
starred: boolean;
|
1516
1568
|
seemsLikeNew: boolean;
|
1517
1569
|
from: {
|
1518
1570
|
id: string;
|
@@ -1587,6 +1639,8 @@ export declare const roomContract: {
|
|
1587
1639
|
emailEngineMessageId: string;
|
1588
1640
|
emailEngineReplyTo: string | null;
|
1589
1641
|
unseen: boolean;
|
1642
|
+
sendAt: Date;
|
1643
|
+
starred: boolean;
|
1590
1644
|
seemsLikeNew: boolean;
|
1591
1645
|
from: {
|
1592
1646
|
id: string;
|
@@ -1827,6 +1881,150 @@ export declare const roomContract: {
|
|
1827
1881
|
};
|
1828
1882
|
}>;
|
1829
1883
|
unReadMessageCount: z.ZodNumber;
|
1884
|
+
cxlog: z.ZodObject<{
|
1885
|
+
id: z.ZodString;
|
1886
|
+
createdAt: z.ZodDate;
|
1887
|
+
updatedAt: z.ZodDate;
|
1888
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1889
|
+
caseId: z.ZodNumber;
|
1890
|
+
entityId: z.ZodString;
|
1891
|
+
entityName: z.ZodString;
|
1892
|
+
contactId: z.ZodNullable<z.ZodString>;
|
1893
|
+
channel: z.ZodNullable<z.ZodString>;
|
1894
|
+
queueId: z.ZodNullable<z.ZodString>;
|
1895
|
+
agentId: z.ZodNullable<z.ZodString>;
|
1896
|
+
direction: z.ZodNullable<z.ZodString>;
|
1897
|
+
startedDate: z.ZodNullable<z.ZodDate>;
|
1898
|
+
handledTime: z.ZodNullable<z.ZodNumber>;
|
1899
|
+
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
1900
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
1901
|
+
id: z.ZodString;
|
1902
|
+
createdAt: z.ZodDate;
|
1903
|
+
updatedAt: z.ZodDate;
|
1904
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1905
|
+
note: z.ZodNullable<z.ZodString>;
|
1906
|
+
disposition: z.ZodNullable<z.ZodString>;
|
1907
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
1908
|
+
callTo: z.ZodNullable<z.ZodString>;
|
1909
|
+
tags: z.ZodArray<z.ZodObject<{
|
1910
|
+
id: z.ZodString;
|
1911
|
+
createdAt: z.ZodDate;
|
1912
|
+
updatedAt: z.ZodDate;
|
1913
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1914
|
+
name: z.ZodString;
|
1915
|
+
}, "strip", z.ZodTypeAny, {
|
1916
|
+
id: string;
|
1917
|
+
name: string;
|
1918
|
+
createdAt: Date;
|
1919
|
+
updatedAt: Date;
|
1920
|
+
deletedAt: Date | null;
|
1921
|
+
}, {
|
1922
|
+
id: string;
|
1923
|
+
name: string;
|
1924
|
+
createdAt: Date;
|
1925
|
+
updatedAt: Date;
|
1926
|
+
deletedAt: Date | null;
|
1927
|
+
}>, "many">;
|
1928
|
+
}, "strip", z.ZodTypeAny, {
|
1929
|
+
id: string;
|
1930
|
+
disposition: string | null;
|
1931
|
+
createdAt: Date;
|
1932
|
+
updatedAt: Date;
|
1933
|
+
deletedAt: Date | null;
|
1934
|
+
tags: {
|
1935
|
+
id: string;
|
1936
|
+
name: string;
|
1937
|
+
createdAt: Date;
|
1938
|
+
updatedAt: Date;
|
1939
|
+
deletedAt: Date | null;
|
1940
|
+
}[];
|
1941
|
+
callFrom: string | null;
|
1942
|
+
callTo: string | null;
|
1943
|
+
note: string | null;
|
1944
|
+
}, {
|
1945
|
+
id: string;
|
1946
|
+
disposition: string | null;
|
1947
|
+
createdAt: Date;
|
1948
|
+
updatedAt: Date;
|
1949
|
+
deletedAt: Date | null;
|
1950
|
+
tags: {
|
1951
|
+
id: string;
|
1952
|
+
name: string;
|
1953
|
+
createdAt: Date;
|
1954
|
+
updatedAt: Date;
|
1955
|
+
deletedAt: Date | null;
|
1956
|
+
}[];
|
1957
|
+
callFrom: string | null;
|
1958
|
+
callTo: string | null;
|
1959
|
+
note: string | null;
|
1960
|
+
}>>;
|
1961
|
+
}, "strip", z.ZodTypeAny, {
|
1962
|
+
id: string;
|
1963
|
+
channel: string | null;
|
1964
|
+
direction: string | null;
|
1965
|
+
createdAt: Date;
|
1966
|
+
updatedAt: Date;
|
1967
|
+
deletedAt: Date | null;
|
1968
|
+
entityId: string;
|
1969
|
+
queueId: string | null;
|
1970
|
+
contactId: string | null;
|
1971
|
+
caseId: number;
|
1972
|
+
entityName: string;
|
1973
|
+
agentId: string | null;
|
1974
|
+
startedDate: Date | null;
|
1975
|
+
handledTime: number | null;
|
1976
|
+
firstResponseTime: number | null;
|
1977
|
+
wrapUpForm: {
|
1978
|
+
id: string;
|
1979
|
+
disposition: string | null;
|
1980
|
+
createdAt: Date;
|
1981
|
+
updatedAt: Date;
|
1982
|
+
deletedAt: Date | null;
|
1983
|
+
tags: {
|
1984
|
+
id: string;
|
1985
|
+
name: string;
|
1986
|
+
createdAt: Date;
|
1987
|
+
updatedAt: Date;
|
1988
|
+
deletedAt: Date | null;
|
1989
|
+
}[];
|
1990
|
+
callFrom: string | null;
|
1991
|
+
callTo: string | null;
|
1992
|
+
note: string | null;
|
1993
|
+
} | null;
|
1994
|
+
}, {
|
1995
|
+
id: string;
|
1996
|
+
channel: string | null;
|
1997
|
+
direction: string | null;
|
1998
|
+
createdAt: Date;
|
1999
|
+
updatedAt: Date;
|
2000
|
+
deletedAt: Date | null;
|
2001
|
+
entityId: string;
|
2002
|
+
queueId: string | null;
|
2003
|
+
contactId: string | null;
|
2004
|
+
caseId: number;
|
2005
|
+
entityName: string;
|
2006
|
+
agentId: string | null;
|
2007
|
+
startedDate: Date | null;
|
2008
|
+
handledTime: number | null;
|
2009
|
+
firstResponseTime: number | null;
|
2010
|
+
wrapUpForm: {
|
2011
|
+
id: string;
|
2012
|
+
disposition: string | null;
|
2013
|
+
createdAt: Date;
|
2014
|
+
updatedAt: Date;
|
2015
|
+
deletedAt: Date | null;
|
2016
|
+
tags: {
|
2017
|
+
id: string;
|
2018
|
+
name: string;
|
2019
|
+
createdAt: Date;
|
2020
|
+
updatedAt: Date;
|
2021
|
+
deletedAt: Date | null;
|
2022
|
+
}[];
|
2023
|
+
callFrom: string | null;
|
2024
|
+
callTo: string | null;
|
2025
|
+
note: string | null;
|
2026
|
+
} | null;
|
2027
|
+
}>;
|
1830
2028
|
}, "strip", z.ZodTypeAny, {
|
1831
2029
|
id: string;
|
1832
2030
|
direction: string;
|
@@ -1859,6 +2057,8 @@ export declare const roomContract: {
|
|
1859
2057
|
emailEngineMessageId: string;
|
1860
2058
|
emailEngineReplyTo: string | null;
|
1861
2059
|
unseen: boolean;
|
2060
|
+
sendAt: Date;
|
2061
|
+
starred: boolean;
|
1862
2062
|
seemsLikeNew: boolean;
|
1863
2063
|
from: {
|
1864
2064
|
id: string;
|
@@ -1929,6 +2129,40 @@ export declare const roomContract: {
|
|
1929
2129
|
notificationCount: number | null;
|
1930
2130
|
};
|
1931
2131
|
resolved: boolean;
|
2132
|
+
cxlog: {
|
2133
|
+
id: string;
|
2134
|
+
channel: string | null;
|
2135
|
+
direction: string | null;
|
2136
|
+
createdAt: Date;
|
2137
|
+
updatedAt: Date;
|
2138
|
+
deletedAt: Date | null;
|
2139
|
+
entityId: string;
|
2140
|
+
queueId: string | null;
|
2141
|
+
contactId: string | null;
|
2142
|
+
caseId: number;
|
2143
|
+
entityName: string;
|
2144
|
+
agentId: string | null;
|
2145
|
+
startedDate: Date | null;
|
2146
|
+
handledTime: number | null;
|
2147
|
+
firstResponseTime: number | null;
|
2148
|
+
wrapUpForm: {
|
2149
|
+
id: string;
|
2150
|
+
disposition: string | null;
|
2151
|
+
createdAt: Date;
|
2152
|
+
updatedAt: Date;
|
2153
|
+
deletedAt: Date | null;
|
2154
|
+
tags: {
|
2155
|
+
id: string;
|
2156
|
+
name: string;
|
2157
|
+
createdAt: Date;
|
2158
|
+
updatedAt: Date;
|
2159
|
+
deletedAt: Date | null;
|
2160
|
+
}[];
|
2161
|
+
callFrom: string | null;
|
2162
|
+
callTo: string | null;
|
2163
|
+
note: string | null;
|
2164
|
+
} | null;
|
2165
|
+
};
|
1932
2166
|
assigneeId: string | null;
|
1933
2167
|
subject: string;
|
1934
2168
|
from: {
|
@@ -1983,6 +2217,8 @@ export declare const roomContract: {
|
|
1983
2217
|
emailEngineMessageId: string;
|
1984
2218
|
emailEngineReplyTo: string | null;
|
1985
2219
|
unseen: boolean;
|
2220
|
+
sendAt: Date;
|
2221
|
+
starred: boolean;
|
1986
2222
|
seemsLikeNew: boolean;
|
1987
2223
|
from: {
|
1988
2224
|
id: string;
|
@@ -2058,6 +2294,8 @@ export declare const roomContract: {
|
|
2058
2294
|
emailEngineMessageId: string;
|
2059
2295
|
emailEngineReplyTo: string | null;
|
2060
2296
|
unseen: boolean;
|
2297
|
+
sendAt: Date;
|
2298
|
+
starred: boolean;
|
2061
2299
|
seemsLikeNew: boolean;
|
2062
2300
|
from: {
|
2063
2301
|
id: string;
|
@@ -2133,6 +2371,8 @@ export declare const roomContract: {
|
|
2133
2371
|
emailEngineMessageId: string;
|
2134
2372
|
emailEngineReplyTo: string | null;
|
2135
2373
|
unseen: boolean;
|
2374
|
+
sendAt: Date;
|
2375
|
+
starred: boolean;
|
2136
2376
|
seemsLikeNew: boolean;
|
2137
2377
|
from: {
|
2138
2378
|
id: string;
|
@@ -2269,6 +2509,8 @@ export declare const roomContract: {
|
|
2269
2509
|
emailEngineMessageId: string;
|
2270
2510
|
emailEngineReplyTo: string | null;
|
2271
2511
|
unseen: boolean;
|
2512
|
+
sendAt: Date;
|
2513
|
+
starred: boolean;
|
2272
2514
|
seemsLikeNew: boolean;
|
2273
2515
|
from: {
|
2274
2516
|
id: string;
|
@@ -2339,6 +2581,40 @@ export declare const roomContract: {
|
|
2339
2581
|
notificationCount: number | null;
|
2340
2582
|
};
|
2341
2583
|
resolved: boolean;
|
2584
|
+
cxlog: {
|
2585
|
+
id: string;
|
2586
|
+
channel: string | null;
|
2587
|
+
direction: string | null;
|
2588
|
+
createdAt: Date;
|
2589
|
+
updatedAt: Date;
|
2590
|
+
deletedAt: Date | null;
|
2591
|
+
entityId: string;
|
2592
|
+
queueId: string | null;
|
2593
|
+
contactId: string | null;
|
2594
|
+
caseId: number;
|
2595
|
+
entityName: string;
|
2596
|
+
agentId: string | null;
|
2597
|
+
startedDate: Date | null;
|
2598
|
+
handledTime: number | null;
|
2599
|
+
firstResponseTime: number | null;
|
2600
|
+
wrapUpForm: {
|
2601
|
+
id: string;
|
2602
|
+
disposition: string | null;
|
2603
|
+
createdAt: Date;
|
2604
|
+
updatedAt: Date;
|
2605
|
+
deletedAt: Date | null;
|
2606
|
+
tags: {
|
2607
|
+
id: string;
|
2608
|
+
name: string;
|
2609
|
+
createdAt: Date;
|
2610
|
+
updatedAt: Date;
|
2611
|
+
deletedAt: Date | null;
|
2612
|
+
}[];
|
2613
|
+
callFrom: string | null;
|
2614
|
+
callTo: string | null;
|
2615
|
+
note: string | null;
|
2616
|
+
} | null;
|
2617
|
+
};
|
2342
2618
|
assigneeId: string | null;
|
2343
2619
|
subject: string;
|
2344
2620
|
from: {
|
@@ -2393,6 +2669,8 @@ export declare const roomContract: {
|
|
2393
2669
|
emailEngineMessageId: string;
|
2394
2670
|
emailEngineReplyTo: string | null;
|
2395
2671
|
unseen: boolean;
|
2672
|
+
sendAt: Date;
|
2673
|
+
starred: boolean;
|
2396
2674
|
seemsLikeNew: boolean;
|
2397
2675
|
from: {
|
2398
2676
|
id: string;
|
@@ -2468,6 +2746,8 @@ export declare const roomContract: {
|
|
2468
2746
|
emailEngineMessageId: string;
|
2469
2747
|
emailEngineReplyTo: string | null;
|
2470
2748
|
unseen: boolean;
|
2749
|
+
sendAt: Date;
|
2750
|
+
starred: boolean;
|
2471
2751
|
seemsLikeNew: boolean;
|
2472
2752
|
from: {
|
2473
2753
|
id: string;
|
@@ -2543,6 +2823,8 @@ export declare const roomContract: {
|
|
2543
2823
|
emailEngineMessageId: string;
|
2544
2824
|
emailEngineReplyTo: string | null;
|
2545
2825
|
unseen: boolean;
|
2826
|
+
sendAt: Date;
|
2827
|
+
starred: boolean;
|
2546
2828
|
seemsLikeNew: boolean;
|
2547
2829
|
from: {
|
2548
2830
|
id: string;
|
@@ -2684,6 +2966,8 @@ export declare const roomContract: {
|
|
2684
2966
|
emailEngineMessageId: string;
|
2685
2967
|
emailEngineReplyTo: string | null;
|
2686
2968
|
unseen: boolean;
|
2969
|
+
sendAt: Date;
|
2970
|
+
starred: boolean;
|
2687
2971
|
seemsLikeNew: boolean;
|
2688
2972
|
from: {
|
2689
2973
|
id: string;
|
@@ -2754,6 +3038,40 @@ export declare const roomContract: {
|
|
2754
3038
|
notificationCount: number | null;
|
2755
3039
|
};
|
2756
3040
|
resolved: boolean;
|
3041
|
+
cxlog: {
|
3042
|
+
id: string;
|
3043
|
+
channel: string | null;
|
3044
|
+
direction: string | null;
|
3045
|
+
createdAt: Date;
|
3046
|
+
updatedAt: Date;
|
3047
|
+
deletedAt: Date | null;
|
3048
|
+
entityId: string;
|
3049
|
+
queueId: string | null;
|
3050
|
+
contactId: string | null;
|
3051
|
+
caseId: number;
|
3052
|
+
entityName: string;
|
3053
|
+
agentId: string | null;
|
3054
|
+
startedDate: Date | null;
|
3055
|
+
handledTime: number | null;
|
3056
|
+
firstResponseTime: number | null;
|
3057
|
+
wrapUpForm: {
|
3058
|
+
id: string;
|
3059
|
+
disposition: string | null;
|
3060
|
+
createdAt: Date;
|
3061
|
+
updatedAt: Date;
|
3062
|
+
deletedAt: Date | null;
|
3063
|
+
tags: {
|
3064
|
+
id: string;
|
3065
|
+
name: string;
|
3066
|
+
createdAt: Date;
|
3067
|
+
updatedAt: Date;
|
3068
|
+
deletedAt: Date | null;
|
3069
|
+
}[];
|
3070
|
+
callFrom: string | null;
|
3071
|
+
callTo: string | null;
|
3072
|
+
note: string | null;
|
3073
|
+
} | null;
|
3074
|
+
};
|
2757
3075
|
assigneeId: string | null;
|
2758
3076
|
subject: string;
|
2759
3077
|
from: {
|
@@ -2808,6 +3126,8 @@ export declare const roomContract: {
|
|
2808
3126
|
emailEngineMessageId: string;
|
2809
3127
|
emailEngineReplyTo: string | null;
|
2810
3128
|
unseen: boolean;
|
3129
|
+
sendAt: Date;
|
3130
|
+
starred: boolean;
|
2811
3131
|
seemsLikeNew: boolean;
|
2812
3132
|
from: {
|
2813
3133
|
id: string;
|
@@ -2883,6 +3203,8 @@ export declare const roomContract: {
|
|
2883
3203
|
emailEngineMessageId: string;
|
2884
3204
|
emailEngineReplyTo: string | null;
|
2885
3205
|
unseen: boolean;
|
3206
|
+
sendAt: Date;
|
3207
|
+
starred: boolean;
|
2886
3208
|
seemsLikeNew: boolean;
|
2887
3209
|
from: {
|
2888
3210
|
id: string;
|
@@ -2958,6 +3280,8 @@ export declare const roomContract: {
|
|
2958
3280
|
emailEngineMessageId: string;
|
2959
3281
|
emailEngineReplyTo: string | null;
|
2960
3282
|
unseen: boolean;
|
3283
|
+
sendAt: Date;
|
3284
|
+
starred: boolean;
|
2961
3285
|
seemsLikeNew: boolean;
|
2962
3286
|
from: {
|
2963
3287
|
id: string;
|
@@ -3100,6 +3424,8 @@ export declare const roomContract: {
|
|
3100
3424
|
emailEngineMessageId: string;
|
3101
3425
|
emailEngineReplyTo: string | null;
|
3102
3426
|
unseen: boolean;
|
3427
|
+
sendAt: Date;
|
3428
|
+
starred: boolean;
|
3103
3429
|
seemsLikeNew: boolean;
|
3104
3430
|
from: {
|
3105
3431
|
id: string;
|
@@ -3170,6 +3496,40 @@ export declare const roomContract: {
|
|
3170
3496
|
notificationCount: number | null;
|
3171
3497
|
};
|
3172
3498
|
resolved: boolean;
|
3499
|
+
cxlog: {
|
3500
|
+
id: string;
|
3501
|
+
channel: string | null;
|
3502
|
+
direction: string | null;
|
3503
|
+
createdAt: Date;
|
3504
|
+
updatedAt: Date;
|
3505
|
+
deletedAt: Date | null;
|
3506
|
+
entityId: string;
|
3507
|
+
queueId: string | null;
|
3508
|
+
contactId: string | null;
|
3509
|
+
caseId: number;
|
3510
|
+
entityName: string;
|
3511
|
+
agentId: string | null;
|
3512
|
+
startedDate: Date | null;
|
3513
|
+
handledTime: number | null;
|
3514
|
+
firstResponseTime: number | null;
|
3515
|
+
wrapUpForm: {
|
3516
|
+
id: string;
|
3517
|
+
disposition: string | null;
|
3518
|
+
createdAt: Date;
|
3519
|
+
updatedAt: Date;
|
3520
|
+
deletedAt: Date | null;
|
3521
|
+
tags: {
|
3522
|
+
id: string;
|
3523
|
+
name: string;
|
3524
|
+
createdAt: Date;
|
3525
|
+
updatedAt: Date;
|
3526
|
+
deletedAt: Date | null;
|
3527
|
+
}[];
|
3528
|
+
callFrom: string | null;
|
3529
|
+
callTo: string | null;
|
3530
|
+
note: string | null;
|
3531
|
+
} | null;
|
3532
|
+
};
|
3173
3533
|
assigneeId: string | null;
|
3174
3534
|
subject: string;
|
3175
3535
|
from: {
|
@@ -3224,6 +3584,8 @@ export declare const roomContract: {
|
|
3224
3584
|
emailEngineMessageId: string;
|
3225
3585
|
emailEngineReplyTo: string | null;
|
3226
3586
|
unseen: boolean;
|
3587
|
+
sendAt: Date;
|
3588
|
+
starred: boolean;
|
3227
3589
|
seemsLikeNew: boolean;
|
3228
3590
|
from: {
|
3229
3591
|
id: string;
|
@@ -3299,6 +3661,8 @@ export declare const roomContract: {
|
|
3299
3661
|
emailEngineMessageId: string;
|
3300
3662
|
emailEngineReplyTo: string | null;
|
3301
3663
|
unseen: boolean;
|
3664
|
+
sendAt: Date;
|
3665
|
+
starred: boolean;
|
3302
3666
|
seemsLikeNew: boolean;
|
3303
3667
|
from: {
|
3304
3668
|
id: string;
|
@@ -3374,6 +3738,8 @@ export declare const roomContract: {
|
|
3374
3738
|
emailEngineMessageId: string;
|
3375
3739
|
emailEngineReplyTo: string | null;
|
3376
3740
|
unseen: boolean;
|
3741
|
+
sendAt: Date;
|
3742
|
+
starred: boolean;
|
3377
3743
|
seemsLikeNew: boolean;
|
3378
3744
|
from: {
|
3379
3745
|
id: string;
|
@@ -3487,16 +3853,9 @@ export declare const roomContract: {
|
|
3487
3853
|
};
|
3488
3854
|
path: "mail/room";
|
3489
3855
|
};
|
3490
|
-
|
3491
|
-
summary: "Get
|
3856
|
+
getRoomCounts: {
|
3857
|
+
summary: "Get unread message counts for filter like \"open\", \"close\", \"inbox\" and etc...";
|
3492
3858
|
method: "GET";
|
3493
|
-
pathParams: z.ZodObject<{
|
3494
|
-
id: z.ZodString;
|
3495
|
-
}, "strip", z.ZodTypeAny, {
|
3496
|
-
id: string;
|
3497
|
-
}, {
|
3498
|
-
id: string;
|
3499
|
-
}>;
|
3500
3859
|
responses: {
|
3501
3860
|
401: z.ZodObject<{
|
3502
3861
|
message: z.ZodString;
|
@@ -3531,144 +3890,879 @@ export declare const roomContract: {
|
|
3531
3890
|
200: z.ZodObject<{
|
3532
3891
|
requestId: z.ZodString;
|
3533
3892
|
data: z.ZodObject<{
|
3534
|
-
|
3535
|
-
createdAt: z.ZodDate;
|
3536
|
-
updatedAt: z.ZodDate;
|
3537
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3538
|
-
subject: z.ZodString;
|
3539
|
-
resolved: z.ZodBoolean;
|
3540
|
-
assigneeId: z.ZodNullable<z.ZodString>;
|
3541
|
-
note: z.ZodString;
|
3542
|
-
mailId: z.ZodString;
|
3543
|
-
direction: z.ZodString;
|
3544
|
-
lastMessageId: z.ZodString;
|
3545
|
-
firstMessageId: z.ZodString;
|
3546
|
-
from: z.ZodArray<z.ZodObject<{
|
3547
|
-
id: z.ZodString;
|
3548
|
-
createdAt: z.ZodDate;
|
3549
|
-
updatedAt: z.ZodDate;
|
3550
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3551
|
-
name: z.ZodString;
|
3552
|
-
address: z.ZodString;
|
3553
|
-
}, "strip", z.ZodTypeAny, {
|
3554
|
-
id: string;
|
3555
|
-
address: string;
|
3556
|
-
name: string;
|
3557
|
-
createdAt: Date;
|
3558
|
-
updatedAt: Date;
|
3559
|
-
deletedAt: Date | null;
|
3560
|
-
}, {
|
3561
|
-
id: string;
|
3562
|
-
address: string;
|
3563
|
-
name: string;
|
3564
|
-
createdAt: Date;
|
3565
|
-
updatedAt: Date;
|
3566
|
-
deletedAt: Date | null;
|
3567
|
-
}>, "many">;
|
3568
|
-
to: z.ZodArray<z.ZodObject<{
|
3569
|
-
id: z.ZodString;
|
3570
|
-
createdAt: z.ZodDate;
|
3571
|
-
updatedAt: z.ZodDate;
|
3572
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3573
|
-
name: z.ZodString;
|
3574
|
-
address: z.ZodString;
|
3575
|
-
}, "strip", z.ZodTypeAny, {
|
3576
|
-
id: string;
|
3577
|
-
address: string;
|
3578
|
-
name: string;
|
3579
|
-
createdAt: Date;
|
3580
|
-
updatedAt: Date;
|
3581
|
-
deletedAt: Date | null;
|
3582
|
-
}, {
|
3583
|
-
id: string;
|
3584
|
-
address: string;
|
3585
|
-
name: string;
|
3586
|
-
createdAt: Date;
|
3587
|
-
updatedAt: Date;
|
3588
|
-
deletedAt: Date | null;
|
3589
|
-
}>, "many">;
|
3590
|
-
cc: z.ZodArray<z.ZodObject<{
|
3591
|
-
id: z.ZodString;
|
3592
|
-
createdAt: z.ZodDate;
|
3593
|
-
updatedAt: z.ZodDate;
|
3594
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3595
|
-
name: z.ZodString;
|
3596
|
-
address: z.ZodString;
|
3597
|
-
}, "strip", z.ZodTypeAny, {
|
3598
|
-
id: string;
|
3599
|
-
address: string;
|
3600
|
-
name: string;
|
3601
|
-
createdAt: Date;
|
3602
|
-
updatedAt: Date;
|
3603
|
-
deletedAt: Date | null;
|
3604
|
-
}, {
|
3605
|
-
id: string;
|
3606
|
-
address: string;
|
3607
|
-
name: string;
|
3608
|
-
createdAt: Date;
|
3609
|
-
updatedAt: Date;
|
3610
|
-
deletedAt: Date | null;
|
3611
|
-
}>, "many">;
|
3612
|
-
bcc: z.ZodArray<z.ZodObject<{
|
3613
|
-
id: z.ZodString;
|
3614
|
-
createdAt: z.ZodDate;
|
3615
|
-
updatedAt: z.ZodDate;
|
3616
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3893
|
+
general: z.ZodArray<z.ZodObject<{
|
3617
3894
|
name: z.ZodString;
|
3618
|
-
|
3895
|
+
count: z.ZodNumber;
|
3896
|
+
unReadMessagesCount: z.ZodNumber;
|
3619
3897
|
}, "strip", z.ZodTypeAny, {
|
3620
|
-
id: string;
|
3621
|
-
address: string;
|
3622
3898
|
name: string;
|
3623
|
-
|
3624
|
-
|
3625
|
-
deletedAt: Date | null;
|
3899
|
+
count: number;
|
3900
|
+
unReadMessagesCount: number;
|
3626
3901
|
}, {
|
3627
|
-
id: string;
|
3628
|
-
address: string;
|
3629
3902
|
name: string;
|
3630
|
-
|
3631
|
-
|
3632
|
-
deletedAt: Date | null;
|
3903
|
+
count: number;
|
3904
|
+
unReadMessagesCount: number;
|
3633
3905
|
}>, "many">;
|
3634
|
-
|
3635
|
-
|
3636
|
-
createdAt: z.ZodDate;
|
3637
|
-
updatedAt: z.ZodDate;
|
3638
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3639
|
-
roomId: z.ZodString;
|
3640
|
-
subject: z.ZodString;
|
3641
|
-
textPlain: z.ZodString;
|
3642
|
-
textHtml: z.ZodString;
|
3643
|
-
textId: z.ZodString;
|
3644
|
-
emailEngineEmailId: z.ZodString;
|
3645
|
-
emailEngineMessageId: z.ZodString;
|
3646
|
-
emailEngineReplyTo: z.ZodNullable<z.ZodString>;
|
3647
|
-
direction: z.ZodString;
|
3648
|
-
date: z.ZodDate;
|
3649
|
-
action: z.ZodString;
|
3650
|
-
unseen: z.ZodBoolean;
|
3651
|
-
seemsLikeNew: z.ZodBoolean;
|
3652
|
-
from: z.ZodArray<z.ZodObject<{
|
3906
|
+
channels: z.ZodArray<z.ZodObject<{
|
3907
|
+
channel: z.ZodObject<{
|
3653
3908
|
id: z.ZodString;
|
3654
3909
|
createdAt: z.ZodDate;
|
3655
3910
|
updatedAt: z.ZodDate;
|
3656
3911
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3657
3912
|
name: z.ZodString;
|
3658
3913
|
address: z.ZodString;
|
3659
|
-
|
3660
|
-
|
3661
|
-
|
3662
|
-
|
3663
|
-
|
3664
|
-
|
3665
|
-
|
3666
|
-
|
3667
|
-
|
3668
|
-
|
3669
|
-
|
3670
|
-
|
3671
|
-
|
3914
|
+
accountId: z.ZodString;
|
3915
|
+
mailServerId: z.ZodString;
|
3916
|
+
mailServer: z.ZodObject<{
|
3917
|
+
id: z.ZodString;
|
3918
|
+
createdAt: z.ZodDate;
|
3919
|
+
updatedAt: z.ZodDate;
|
3920
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3921
|
+
name: z.ZodString;
|
3922
|
+
smtpHost: z.ZodString;
|
3923
|
+
smtpPort: z.ZodNumber;
|
3924
|
+
smtpTlsPort: z.ZodNumber;
|
3925
|
+
useTlsForSmtp: z.ZodBoolean;
|
3926
|
+
imapHost: z.ZodString;
|
3927
|
+
imapPort: z.ZodNumber;
|
3928
|
+
imapTlsPort: z.ZodNumber;
|
3929
|
+
useTlsForImap: z.ZodBoolean;
|
3930
|
+
}, "strip", z.ZodTypeAny, {
|
3931
|
+
id: string;
|
3932
|
+
name: string;
|
3933
|
+
createdAt: Date;
|
3934
|
+
updatedAt: Date;
|
3935
|
+
deletedAt: Date | null;
|
3936
|
+
smtpHost: string;
|
3937
|
+
smtpPort: number;
|
3938
|
+
smtpTlsPort: number;
|
3939
|
+
useTlsForSmtp: boolean;
|
3940
|
+
imapHost: string;
|
3941
|
+
imapPort: number;
|
3942
|
+
imapTlsPort: number;
|
3943
|
+
useTlsForImap: boolean;
|
3944
|
+
}, {
|
3945
|
+
id: string;
|
3946
|
+
name: string;
|
3947
|
+
createdAt: Date;
|
3948
|
+
updatedAt: Date;
|
3949
|
+
deletedAt: Date | null;
|
3950
|
+
smtpHost: string;
|
3951
|
+
smtpPort: number;
|
3952
|
+
smtpTlsPort: number;
|
3953
|
+
useTlsForSmtp: boolean;
|
3954
|
+
imapHost: string;
|
3955
|
+
imapPort: number;
|
3956
|
+
imapTlsPort: number;
|
3957
|
+
useTlsForImap: boolean;
|
3958
|
+
}>;
|
3959
|
+
state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
|
3960
|
+
}, "strip", z.ZodTypeAny, {
|
3961
|
+
id: string;
|
3962
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
3963
|
+
address: string;
|
3964
|
+
name: string;
|
3965
|
+
createdAt: Date;
|
3966
|
+
updatedAt: Date;
|
3967
|
+
deletedAt: Date | null;
|
3968
|
+
accountId: string;
|
3969
|
+
mailServerId: string;
|
3970
|
+
mailServer: {
|
3971
|
+
id: string;
|
3972
|
+
name: string;
|
3973
|
+
createdAt: Date;
|
3974
|
+
updatedAt: Date;
|
3975
|
+
deletedAt: Date | null;
|
3976
|
+
smtpHost: string;
|
3977
|
+
smtpPort: number;
|
3978
|
+
smtpTlsPort: number;
|
3979
|
+
useTlsForSmtp: boolean;
|
3980
|
+
imapHost: string;
|
3981
|
+
imapPort: number;
|
3982
|
+
imapTlsPort: number;
|
3983
|
+
useTlsForImap: boolean;
|
3984
|
+
};
|
3985
|
+
}, {
|
3986
|
+
id: string;
|
3987
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
3988
|
+
address: string;
|
3989
|
+
name: string;
|
3990
|
+
createdAt: Date;
|
3991
|
+
updatedAt: Date;
|
3992
|
+
deletedAt: Date | null;
|
3993
|
+
accountId: string;
|
3994
|
+
mailServerId: string;
|
3995
|
+
mailServer: {
|
3996
|
+
id: string;
|
3997
|
+
name: string;
|
3998
|
+
createdAt: Date;
|
3999
|
+
updatedAt: Date;
|
4000
|
+
deletedAt: Date | null;
|
4001
|
+
smtpHost: string;
|
4002
|
+
smtpPort: number;
|
4003
|
+
smtpTlsPort: number;
|
4004
|
+
useTlsForSmtp: boolean;
|
4005
|
+
imapHost: string;
|
4006
|
+
imapPort: number;
|
4007
|
+
imapTlsPort: number;
|
4008
|
+
useTlsForImap: boolean;
|
4009
|
+
};
|
4010
|
+
}>;
|
4011
|
+
count: z.ZodNumber;
|
4012
|
+
}, "strip", z.ZodTypeAny, {
|
4013
|
+
channel: {
|
4014
|
+
id: string;
|
4015
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4016
|
+
address: string;
|
4017
|
+
name: string;
|
4018
|
+
createdAt: Date;
|
4019
|
+
updatedAt: Date;
|
4020
|
+
deletedAt: Date | null;
|
4021
|
+
accountId: string;
|
4022
|
+
mailServerId: string;
|
4023
|
+
mailServer: {
|
4024
|
+
id: string;
|
4025
|
+
name: string;
|
4026
|
+
createdAt: Date;
|
4027
|
+
updatedAt: Date;
|
4028
|
+
deletedAt: Date | null;
|
4029
|
+
smtpHost: string;
|
4030
|
+
smtpPort: number;
|
4031
|
+
smtpTlsPort: number;
|
4032
|
+
useTlsForSmtp: boolean;
|
4033
|
+
imapHost: string;
|
4034
|
+
imapPort: number;
|
4035
|
+
imapTlsPort: number;
|
4036
|
+
useTlsForImap: boolean;
|
4037
|
+
};
|
4038
|
+
};
|
4039
|
+
count: number;
|
4040
|
+
}, {
|
4041
|
+
channel: {
|
4042
|
+
id: string;
|
4043
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4044
|
+
address: string;
|
4045
|
+
name: string;
|
4046
|
+
createdAt: Date;
|
4047
|
+
updatedAt: Date;
|
4048
|
+
deletedAt: Date | null;
|
4049
|
+
accountId: string;
|
4050
|
+
mailServerId: string;
|
4051
|
+
mailServer: {
|
4052
|
+
id: string;
|
4053
|
+
name: string;
|
4054
|
+
createdAt: Date;
|
4055
|
+
updatedAt: Date;
|
4056
|
+
deletedAt: Date | null;
|
4057
|
+
smtpHost: string;
|
4058
|
+
smtpPort: number;
|
4059
|
+
smtpTlsPort: number;
|
4060
|
+
useTlsForSmtp: boolean;
|
4061
|
+
imapHost: string;
|
4062
|
+
imapPort: number;
|
4063
|
+
imapTlsPort: number;
|
4064
|
+
useTlsForImap: boolean;
|
4065
|
+
};
|
4066
|
+
};
|
4067
|
+
count: number;
|
4068
|
+
}>, "many">;
|
4069
|
+
contactLabels: z.ZodArray<z.ZodObject<{
|
4070
|
+
label: z.ZodObject<{
|
4071
|
+
id: z.ZodString;
|
4072
|
+
createdAt: z.ZodDate;
|
4073
|
+
updatedAt: z.ZodDate;
|
4074
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4075
|
+
name: z.ZodString;
|
4076
|
+
}, "strip", z.ZodTypeAny, {
|
4077
|
+
id: string;
|
4078
|
+
name: string;
|
4079
|
+
createdAt: Date;
|
4080
|
+
updatedAt: Date;
|
4081
|
+
deletedAt: Date | null;
|
4082
|
+
}, {
|
4083
|
+
id: string;
|
4084
|
+
name: string;
|
4085
|
+
createdAt: Date;
|
4086
|
+
updatedAt: Date;
|
4087
|
+
deletedAt: Date | null;
|
4088
|
+
}>;
|
4089
|
+
count: z.ZodNumber;
|
4090
|
+
}, "strip", z.ZodTypeAny, {
|
4091
|
+
label: {
|
4092
|
+
id: string;
|
4093
|
+
name: string;
|
4094
|
+
createdAt: Date;
|
4095
|
+
updatedAt: Date;
|
4096
|
+
deletedAt: Date | null;
|
4097
|
+
};
|
4098
|
+
count: number;
|
4099
|
+
}, {
|
4100
|
+
label: {
|
4101
|
+
id: string;
|
4102
|
+
name: string;
|
4103
|
+
createdAt: Date;
|
4104
|
+
updatedAt: Date;
|
4105
|
+
deletedAt: Date | null;
|
4106
|
+
};
|
4107
|
+
count: number;
|
4108
|
+
}>, "many">;
|
4109
|
+
}, "strip", z.ZodTypeAny, {
|
4110
|
+
general: {
|
4111
|
+
name: string;
|
4112
|
+
count: number;
|
4113
|
+
unReadMessagesCount: number;
|
4114
|
+
}[];
|
4115
|
+
channels: {
|
4116
|
+
channel: {
|
4117
|
+
id: string;
|
4118
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4119
|
+
address: string;
|
4120
|
+
name: string;
|
4121
|
+
createdAt: Date;
|
4122
|
+
updatedAt: Date;
|
4123
|
+
deletedAt: Date | null;
|
4124
|
+
accountId: string;
|
4125
|
+
mailServerId: string;
|
4126
|
+
mailServer: {
|
4127
|
+
id: string;
|
4128
|
+
name: string;
|
4129
|
+
createdAt: Date;
|
4130
|
+
updatedAt: Date;
|
4131
|
+
deletedAt: Date | null;
|
4132
|
+
smtpHost: string;
|
4133
|
+
smtpPort: number;
|
4134
|
+
smtpTlsPort: number;
|
4135
|
+
useTlsForSmtp: boolean;
|
4136
|
+
imapHost: string;
|
4137
|
+
imapPort: number;
|
4138
|
+
imapTlsPort: number;
|
4139
|
+
useTlsForImap: boolean;
|
4140
|
+
};
|
4141
|
+
};
|
4142
|
+
count: number;
|
4143
|
+
}[];
|
4144
|
+
contactLabels: {
|
4145
|
+
label: {
|
4146
|
+
id: string;
|
4147
|
+
name: string;
|
4148
|
+
createdAt: Date;
|
4149
|
+
updatedAt: Date;
|
4150
|
+
deletedAt: Date | null;
|
4151
|
+
};
|
4152
|
+
count: number;
|
4153
|
+
}[];
|
4154
|
+
}, {
|
4155
|
+
general: {
|
4156
|
+
name: string;
|
4157
|
+
count: number;
|
4158
|
+
unReadMessagesCount: number;
|
4159
|
+
}[];
|
4160
|
+
channels: {
|
4161
|
+
channel: {
|
4162
|
+
id: string;
|
4163
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4164
|
+
address: string;
|
4165
|
+
name: string;
|
4166
|
+
createdAt: Date;
|
4167
|
+
updatedAt: Date;
|
4168
|
+
deletedAt: Date | null;
|
4169
|
+
accountId: string;
|
4170
|
+
mailServerId: string;
|
4171
|
+
mailServer: {
|
4172
|
+
id: string;
|
4173
|
+
name: string;
|
4174
|
+
createdAt: Date;
|
4175
|
+
updatedAt: Date;
|
4176
|
+
deletedAt: Date | null;
|
4177
|
+
smtpHost: string;
|
4178
|
+
smtpPort: number;
|
4179
|
+
smtpTlsPort: number;
|
4180
|
+
useTlsForSmtp: boolean;
|
4181
|
+
imapHost: string;
|
4182
|
+
imapPort: number;
|
4183
|
+
imapTlsPort: number;
|
4184
|
+
useTlsForImap: boolean;
|
4185
|
+
};
|
4186
|
+
};
|
4187
|
+
count: number;
|
4188
|
+
}[];
|
4189
|
+
contactLabels: {
|
4190
|
+
label: {
|
4191
|
+
id: string;
|
4192
|
+
name: string;
|
4193
|
+
createdAt: Date;
|
4194
|
+
updatedAt: Date;
|
4195
|
+
deletedAt: Date | null;
|
4196
|
+
};
|
4197
|
+
count: number;
|
4198
|
+
}[];
|
4199
|
+
}>;
|
4200
|
+
}, "strip", z.ZodTypeAny, {
|
4201
|
+
data: {
|
4202
|
+
general: {
|
4203
|
+
name: string;
|
4204
|
+
count: number;
|
4205
|
+
unReadMessagesCount: number;
|
4206
|
+
}[];
|
4207
|
+
channels: {
|
4208
|
+
channel: {
|
4209
|
+
id: string;
|
4210
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4211
|
+
address: string;
|
4212
|
+
name: string;
|
4213
|
+
createdAt: Date;
|
4214
|
+
updatedAt: Date;
|
4215
|
+
deletedAt: Date | null;
|
4216
|
+
accountId: string;
|
4217
|
+
mailServerId: string;
|
4218
|
+
mailServer: {
|
4219
|
+
id: string;
|
4220
|
+
name: string;
|
4221
|
+
createdAt: Date;
|
4222
|
+
updatedAt: Date;
|
4223
|
+
deletedAt: Date | null;
|
4224
|
+
smtpHost: string;
|
4225
|
+
smtpPort: number;
|
4226
|
+
smtpTlsPort: number;
|
4227
|
+
useTlsForSmtp: boolean;
|
4228
|
+
imapHost: string;
|
4229
|
+
imapPort: number;
|
4230
|
+
imapTlsPort: number;
|
4231
|
+
useTlsForImap: boolean;
|
4232
|
+
};
|
4233
|
+
};
|
4234
|
+
count: number;
|
4235
|
+
}[];
|
4236
|
+
contactLabels: {
|
4237
|
+
label: {
|
4238
|
+
id: string;
|
4239
|
+
name: string;
|
4240
|
+
createdAt: Date;
|
4241
|
+
updatedAt: Date;
|
4242
|
+
deletedAt: Date | null;
|
4243
|
+
};
|
4244
|
+
count: number;
|
4245
|
+
}[];
|
4246
|
+
};
|
4247
|
+
requestId: string;
|
4248
|
+
}, {
|
4249
|
+
data: {
|
4250
|
+
general: {
|
4251
|
+
name: string;
|
4252
|
+
count: number;
|
4253
|
+
unReadMessagesCount: number;
|
4254
|
+
}[];
|
4255
|
+
channels: {
|
4256
|
+
channel: {
|
4257
|
+
id: string;
|
4258
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4259
|
+
address: string;
|
4260
|
+
name: string;
|
4261
|
+
createdAt: Date;
|
4262
|
+
updatedAt: Date;
|
4263
|
+
deletedAt: Date | null;
|
4264
|
+
accountId: string;
|
4265
|
+
mailServerId: string;
|
4266
|
+
mailServer: {
|
4267
|
+
id: string;
|
4268
|
+
name: string;
|
4269
|
+
createdAt: Date;
|
4270
|
+
updatedAt: Date;
|
4271
|
+
deletedAt: Date | null;
|
4272
|
+
smtpHost: string;
|
4273
|
+
smtpPort: number;
|
4274
|
+
smtpTlsPort: number;
|
4275
|
+
useTlsForSmtp: boolean;
|
4276
|
+
imapHost: string;
|
4277
|
+
imapPort: number;
|
4278
|
+
imapTlsPort: number;
|
4279
|
+
useTlsForImap: boolean;
|
4280
|
+
};
|
4281
|
+
};
|
4282
|
+
count: number;
|
4283
|
+
}[];
|
4284
|
+
contactLabels: {
|
4285
|
+
label: {
|
4286
|
+
id: string;
|
4287
|
+
name: string;
|
4288
|
+
createdAt: Date;
|
4289
|
+
updatedAt: Date;
|
4290
|
+
deletedAt: Date | null;
|
4291
|
+
};
|
4292
|
+
count: number;
|
4293
|
+
}[];
|
4294
|
+
};
|
4295
|
+
requestId: string;
|
4296
|
+
}>;
|
4297
|
+
};
|
4298
|
+
path: "mail/room/count_rooms/all";
|
4299
|
+
};
|
4300
|
+
getAttachments: {
|
4301
|
+
summary: "Get all the attachments of a room";
|
4302
|
+
method: "GET";
|
4303
|
+
pathParams: z.ZodObject<{
|
4304
|
+
id: z.ZodString;
|
4305
|
+
}, "strip", z.ZodTypeAny, {
|
4306
|
+
id: string;
|
4307
|
+
}, {
|
4308
|
+
id: string;
|
4309
|
+
}>;
|
4310
|
+
responses: {
|
4311
|
+
401: z.ZodObject<{
|
4312
|
+
message: z.ZodString;
|
4313
|
+
error: z.ZodAny;
|
4314
|
+
}, "strip", z.ZodTypeAny, {
|
4315
|
+
message: string;
|
4316
|
+
error?: any;
|
4317
|
+
}, {
|
4318
|
+
message: string;
|
4319
|
+
error?: any;
|
4320
|
+
}>;
|
4321
|
+
404: z.ZodObject<{
|
4322
|
+
message: z.ZodString;
|
4323
|
+
error: z.ZodAny;
|
4324
|
+
}, "strip", z.ZodTypeAny, {
|
4325
|
+
message: string;
|
4326
|
+
error?: any;
|
4327
|
+
}, {
|
4328
|
+
message: string;
|
4329
|
+
error?: any;
|
4330
|
+
}>;
|
4331
|
+
422: z.ZodObject<{
|
4332
|
+
message: z.ZodString;
|
4333
|
+
error: z.ZodAny;
|
4334
|
+
}, "strip", z.ZodTypeAny, {
|
4335
|
+
message: string;
|
4336
|
+
error?: any;
|
4337
|
+
}, {
|
4338
|
+
message: string;
|
4339
|
+
error?: any;
|
4340
|
+
}>;
|
4341
|
+
200: z.ZodObject<{
|
4342
|
+
requestId: z.ZodString;
|
4343
|
+
data: z.ZodArray<z.ZodObject<{
|
4344
|
+
fileName: z.ZodString;
|
4345
|
+
fileType: z.ZodString;
|
4346
|
+
emailEngineAttachmentId: z.ZodString;
|
4347
|
+
uploadId: z.ZodString;
|
4348
|
+
messageId: z.ZodString;
|
4349
|
+
roomId: z.ZodString;
|
4350
|
+
upload: z.ZodObject<{
|
4351
|
+
id: z.ZodString;
|
4352
|
+
createdAt: z.ZodDate;
|
4353
|
+
updatedAt: z.ZodDate;
|
4354
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4355
|
+
bucketName: z.ZodString;
|
4356
|
+
fileName: z.ZodString;
|
4357
|
+
fileSize: z.ZodNumber;
|
4358
|
+
fileKey: z.ZodString;
|
4359
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
4360
|
+
status: z.ZodOptional<z.ZodString>;
|
4361
|
+
}, "strip", z.ZodTypeAny, {
|
4362
|
+
id: string;
|
4363
|
+
createdAt: Date;
|
4364
|
+
updatedAt: Date;
|
4365
|
+
deletedAt: Date | null;
|
4366
|
+
fileName: string;
|
4367
|
+
fileKey: string;
|
4368
|
+
bucketName: string;
|
4369
|
+
fileSize: number;
|
4370
|
+
fileUrl: string | null;
|
4371
|
+
status?: string | undefined;
|
4372
|
+
}, {
|
4373
|
+
id: string;
|
4374
|
+
createdAt: Date;
|
4375
|
+
updatedAt: Date;
|
4376
|
+
deletedAt: Date | null;
|
4377
|
+
fileName: string;
|
4378
|
+
fileKey: string;
|
4379
|
+
bucketName: string;
|
4380
|
+
fileSize: number;
|
4381
|
+
fileUrl: string | null;
|
4382
|
+
status?: string | undefined;
|
4383
|
+
}>;
|
4384
|
+
}, "strip", z.ZodTypeAny, {
|
4385
|
+
fileName: string;
|
4386
|
+
fileType: string;
|
4387
|
+
uploadId: string;
|
4388
|
+
upload: {
|
4389
|
+
id: string;
|
4390
|
+
createdAt: Date;
|
4391
|
+
updatedAt: Date;
|
4392
|
+
deletedAt: Date | null;
|
4393
|
+
fileName: string;
|
4394
|
+
fileKey: string;
|
4395
|
+
bucketName: string;
|
4396
|
+
fileSize: number;
|
4397
|
+
fileUrl: string | null;
|
4398
|
+
status?: string | undefined;
|
4399
|
+
};
|
4400
|
+
roomId: string;
|
4401
|
+
messageId: string;
|
4402
|
+
emailEngineAttachmentId: string;
|
4403
|
+
}, {
|
4404
|
+
fileName: string;
|
4405
|
+
fileType: string;
|
4406
|
+
uploadId: string;
|
4407
|
+
upload: {
|
4408
|
+
id: string;
|
4409
|
+
createdAt: Date;
|
4410
|
+
updatedAt: Date;
|
4411
|
+
deletedAt: Date | null;
|
4412
|
+
fileName: string;
|
4413
|
+
fileKey: string;
|
4414
|
+
bucketName: string;
|
4415
|
+
fileSize: number;
|
4416
|
+
fileUrl: string | null;
|
4417
|
+
status?: string | undefined;
|
4418
|
+
};
|
4419
|
+
roomId: string;
|
4420
|
+
messageId: string;
|
4421
|
+
emailEngineAttachmentId: string;
|
4422
|
+
}>, "many">;
|
4423
|
+
}, "strip", z.ZodTypeAny, {
|
4424
|
+
data: {
|
4425
|
+
fileName: string;
|
4426
|
+
fileType: string;
|
4427
|
+
uploadId: string;
|
4428
|
+
upload: {
|
4429
|
+
id: string;
|
4430
|
+
createdAt: Date;
|
4431
|
+
updatedAt: Date;
|
4432
|
+
deletedAt: Date | null;
|
4433
|
+
fileName: string;
|
4434
|
+
fileKey: string;
|
4435
|
+
bucketName: string;
|
4436
|
+
fileSize: number;
|
4437
|
+
fileUrl: string | null;
|
4438
|
+
status?: string | undefined;
|
4439
|
+
};
|
4440
|
+
roomId: string;
|
4441
|
+
messageId: string;
|
4442
|
+
emailEngineAttachmentId: string;
|
4443
|
+
}[];
|
4444
|
+
requestId: string;
|
4445
|
+
}, {
|
4446
|
+
data: {
|
4447
|
+
fileName: string;
|
4448
|
+
fileType: string;
|
4449
|
+
uploadId: string;
|
4450
|
+
upload: {
|
4451
|
+
id: string;
|
4452
|
+
createdAt: Date;
|
4453
|
+
updatedAt: Date;
|
4454
|
+
deletedAt: Date | null;
|
4455
|
+
fileName: string;
|
4456
|
+
fileKey: string;
|
4457
|
+
bucketName: string;
|
4458
|
+
fileSize: number;
|
4459
|
+
fileUrl: string | null;
|
4460
|
+
status?: string | undefined;
|
4461
|
+
};
|
4462
|
+
roomId: string;
|
4463
|
+
messageId: string;
|
4464
|
+
emailEngineAttachmentId: string;
|
4465
|
+
}[];
|
4466
|
+
requestId: string;
|
4467
|
+
}>;
|
4468
|
+
};
|
4469
|
+
path: "mail/room/:id/attachments";
|
4470
|
+
};
|
4471
|
+
getParticipants: {
|
4472
|
+
summary: "Get all the attachments of a room";
|
4473
|
+
method: "GET";
|
4474
|
+
pathParams: z.ZodObject<{
|
4475
|
+
id: z.ZodString;
|
4476
|
+
}, "strip", z.ZodTypeAny, {
|
4477
|
+
id: string;
|
4478
|
+
}, {
|
4479
|
+
id: string;
|
4480
|
+
}>;
|
4481
|
+
responses: {
|
4482
|
+
401: z.ZodObject<{
|
4483
|
+
message: z.ZodString;
|
4484
|
+
error: z.ZodAny;
|
4485
|
+
}, "strip", z.ZodTypeAny, {
|
4486
|
+
message: string;
|
4487
|
+
error?: any;
|
4488
|
+
}, {
|
4489
|
+
message: string;
|
4490
|
+
error?: any;
|
4491
|
+
}>;
|
4492
|
+
404: z.ZodObject<{
|
4493
|
+
message: z.ZodString;
|
4494
|
+
error: z.ZodAny;
|
4495
|
+
}, "strip", z.ZodTypeAny, {
|
4496
|
+
message: string;
|
4497
|
+
error?: any;
|
4498
|
+
}, {
|
4499
|
+
message: string;
|
4500
|
+
error?: any;
|
4501
|
+
}>;
|
4502
|
+
422: z.ZodObject<{
|
4503
|
+
message: z.ZodString;
|
4504
|
+
error: z.ZodAny;
|
4505
|
+
}, "strip", z.ZodTypeAny, {
|
4506
|
+
message: string;
|
4507
|
+
error?: any;
|
4508
|
+
}, {
|
4509
|
+
message: string;
|
4510
|
+
error?: any;
|
4511
|
+
}>;
|
4512
|
+
200: z.ZodObject<{
|
4513
|
+
requestId: z.ZodString;
|
4514
|
+
data: z.ZodArray<z.ZodObject<{
|
4515
|
+
id: z.ZodString;
|
4516
|
+
createdAt: z.ZodDate;
|
4517
|
+
updatedAt: z.ZodDate;
|
4518
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4519
|
+
name: z.ZodString;
|
4520
|
+
address: z.ZodString;
|
4521
|
+
}, "strip", z.ZodTypeAny, {
|
4522
|
+
id: string;
|
4523
|
+
address: string;
|
4524
|
+
name: string;
|
4525
|
+
createdAt: Date;
|
4526
|
+
updatedAt: Date;
|
4527
|
+
deletedAt: Date | null;
|
4528
|
+
}, {
|
4529
|
+
id: string;
|
4530
|
+
address: string;
|
4531
|
+
name: string;
|
4532
|
+
createdAt: Date;
|
4533
|
+
updatedAt: Date;
|
4534
|
+
deletedAt: Date | null;
|
4535
|
+
}>, "many">;
|
4536
|
+
}, "strip", z.ZodTypeAny, {
|
4537
|
+
data: {
|
4538
|
+
id: string;
|
4539
|
+
address: string;
|
4540
|
+
name: string;
|
4541
|
+
createdAt: Date;
|
4542
|
+
updatedAt: Date;
|
4543
|
+
deletedAt: Date | null;
|
4544
|
+
}[];
|
4545
|
+
requestId: string;
|
4546
|
+
}, {
|
4547
|
+
data: {
|
4548
|
+
id: string;
|
4549
|
+
address: string;
|
4550
|
+
name: string;
|
4551
|
+
createdAt: Date;
|
4552
|
+
updatedAt: Date;
|
4553
|
+
deletedAt: Date | null;
|
4554
|
+
}[];
|
4555
|
+
requestId: string;
|
4556
|
+
}>;
|
4557
|
+
};
|
4558
|
+
path: "mail/room/:id/participants";
|
4559
|
+
};
|
4560
|
+
update: {
|
4561
|
+
body: z.ZodObject<{
|
4562
|
+
disposition: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"resolved">, z.ZodLiteral<"follow up">, z.ZodLiteral<"escalated">, z.ZodLiteral<"dropped">, z.ZodLiteral<"prank">, z.ZodLiteral<"blank">]>>>;
|
4563
|
+
assigneeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
4564
|
+
note: z.ZodOptional<z.ZodString>;
|
4565
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
4566
|
+
handover: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
4567
|
+
selfAssign: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
4568
|
+
}, "strip", z.ZodTypeAny, {
|
4569
|
+
disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
|
4570
|
+
assigneeId?: string | null | undefined;
|
4571
|
+
note?: string | undefined;
|
4572
|
+
tags?: string[] | undefined;
|
4573
|
+
handover?: boolean | null | undefined;
|
4574
|
+
selfAssign?: boolean | null | undefined;
|
4575
|
+
}, {
|
4576
|
+
disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
|
4577
|
+
assigneeId?: string | null | undefined;
|
4578
|
+
note?: string | undefined;
|
4579
|
+
tags?: string[] | undefined;
|
4580
|
+
handover?: boolean | "false" | "true" | null | undefined;
|
4581
|
+
selfAssign?: boolean | "false" | "true" | null | undefined;
|
4582
|
+
}>;
|
4583
|
+
summary: "Update a mail room by id";
|
4584
|
+
method: "PATCH";
|
4585
|
+
pathParams: z.ZodObject<{
|
4586
|
+
id: z.ZodString;
|
4587
|
+
}, "strip", z.ZodTypeAny, {
|
4588
|
+
id: string;
|
4589
|
+
}, {
|
4590
|
+
id: string;
|
4591
|
+
}>;
|
4592
|
+
responses: {
|
4593
|
+
401: z.ZodObject<{
|
4594
|
+
message: z.ZodString;
|
4595
|
+
error: z.ZodAny;
|
4596
|
+
}, "strip", z.ZodTypeAny, {
|
4597
|
+
message: string;
|
4598
|
+
error?: any;
|
4599
|
+
}, {
|
4600
|
+
message: string;
|
4601
|
+
error?: any;
|
4602
|
+
}>;
|
4603
|
+
404: z.ZodObject<{
|
4604
|
+
message: z.ZodString;
|
4605
|
+
error: z.ZodAny;
|
4606
|
+
}, "strip", z.ZodTypeAny, {
|
4607
|
+
message: string;
|
4608
|
+
error?: any;
|
4609
|
+
}, {
|
4610
|
+
message: string;
|
4611
|
+
error?: any;
|
4612
|
+
}>;
|
4613
|
+
422: z.ZodObject<{
|
4614
|
+
message: z.ZodString;
|
4615
|
+
error: z.ZodAny;
|
4616
|
+
}, "strip", z.ZodTypeAny, {
|
4617
|
+
message: string;
|
4618
|
+
error?: any;
|
4619
|
+
}, {
|
4620
|
+
message: string;
|
4621
|
+
error?: any;
|
4622
|
+
}>;
|
4623
|
+
200: z.ZodObject<{
|
4624
|
+
requestId: z.ZodString;
|
4625
|
+
data: z.ZodObject<{
|
4626
|
+
id: z.ZodString;
|
4627
|
+
createdAt: z.ZodDate;
|
4628
|
+
updatedAt: z.ZodDate;
|
4629
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4630
|
+
subject: z.ZodString;
|
4631
|
+
resolved: z.ZodBoolean;
|
4632
|
+
assigneeId: z.ZodNullable<z.ZodString>;
|
4633
|
+
note: z.ZodString;
|
4634
|
+
mailId: z.ZodString;
|
4635
|
+
direction: z.ZodString;
|
4636
|
+
lastMessageId: z.ZodString;
|
4637
|
+
firstMessageId: z.ZodString;
|
4638
|
+
from: z.ZodArray<z.ZodObject<{
|
4639
|
+
id: z.ZodString;
|
4640
|
+
createdAt: z.ZodDate;
|
4641
|
+
updatedAt: z.ZodDate;
|
4642
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4643
|
+
name: z.ZodString;
|
4644
|
+
address: z.ZodString;
|
4645
|
+
}, "strip", z.ZodTypeAny, {
|
4646
|
+
id: string;
|
4647
|
+
address: string;
|
4648
|
+
name: string;
|
4649
|
+
createdAt: Date;
|
4650
|
+
updatedAt: Date;
|
4651
|
+
deletedAt: Date | null;
|
4652
|
+
}, {
|
4653
|
+
id: string;
|
4654
|
+
address: string;
|
4655
|
+
name: string;
|
4656
|
+
createdAt: Date;
|
4657
|
+
updatedAt: Date;
|
4658
|
+
deletedAt: Date | null;
|
4659
|
+
}>, "many">;
|
4660
|
+
to: z.ZodArray<z.ZodObject<{
|
4661
|
+
id: z.ZodString;
|
4662
|
+
createdAt: z.ZodDate;
|
4663
|
+
updatedAt: z.ZodDate;
|
4664
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4665
|
+
name: z.ZodString;
|
4666
|
+
address: z.ZodString;
|
4667
|
+
}, "strip", z.ZodTypeAny, {
|
4668
|
+
id: string;
|
4669
|
+
address: string;
|
4670
|
+
name: string;
|
4671
|
+
createdAt: Date;
|
4672
|
+
updatedAt: Date;
|
4673
|
+
deletedAt: Date | null;
|
4674
|
+
}, {
|
4675
|
+
id: string;
|
4676
|
+
address: string;
|
4677
|
+
name: string;
|
4678
|
+
createdAt: Date;
|
4679
|
+
updatedAt: Date;
|
4680
|
+
deletedAt: Date | null;
|
4681
|
+
}>, "many">;
|
4682
|
+
cc: z.ZodArray<z.ZodObject<{
|
4683
|
+
id: z.ZodString;
|
4684
|
+
createdAt: z.ZodDate;
|
4685
|
+
updatedAt: z.ZodDate;
|
4686
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4687
|
+
name: z.ZodString;
|
4688
|
+
address: z.ZodString;
|
4689
|
+
}, "strip", z.ZodTypeAny, {
|
4690
|
+
id: string;
|
4691
|
+
address: string;
|
4692
|
+
name: string;
|
4693
|
+
createdAt: Date;
|
4694
|
+
updatedAt: Date;
|
4695
|
+
deletedAt: Date | null;
|
4696
|
+
}, {
|
4697
|
+
id: string;
|
4698
|
+
address: string;
|
4699
|
+
name: string;
|
4700
|
+
createdAt: Date;
|
4701
|
+
updatedAt: Date;
|
4702
|
+
deletedAt: Date | null;
|
4703
|
+
}>, "many">;
|
4704
|
+
bcc: z.ZodArray<z.ZodObject<{
|
4705
|
+
id: z.ZodString;
|
4706
|
+
createdAt: z.ZodDate;
|
4707
|
+
updatedAt: z.ZodDate;
|
4708
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4709
|
+
name: z.ZodString;
|
4710
|
+
address: z.ZodString;
|
4711
|
+
}, "strip", z.ZodTypeAny, {
|
4712
|
+
id: string;
|
4713
|
+
address: string;
|
4714
|
+
name: string;
|
4715
|
+
createdAt: Date;
|
4716
|
+
updatedAt: Date;
|
4717
|
+
deletedAt: Date | null;
|
4718
|
+
}, {
|
4719
|
+
id: string;
|
4720
|
+
address: string;
|
4721
|
+
name: string;
|
4722
|
+
createdAt: Date;
|
4723
|
+
updatedAt: Date;
|
4724
|
+
deletedAt: Date | null;
|
4725
|
+
}>, "many">;
|
4726
|
+
firstMessage: z.ZodObject<{
|
4727
|
+
id: z.ZodString;
|
4728
|
+
createdAt: z.ZodDate;
|
4729
|
+
updatedAt: z.ZodDate;
|
4730
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4731
|
+
roomId: z.ZodString;
|
4732
|
+
subject: z.ZodString;
|
4733
|
+
textPlain: z.ZodString;
|
4734
|
+
textHtml: z.ZodString;
|
4735
|
+
textId: z.ZodString;
|
4736
|
+
emailEngineEmailId: z.ZodString;
|
4737
|
+
emailEngineMessageId: z.ZodString;
|
4738
|
+
emailEngineReplyTo: z.ZodNullable<z.ZodString>;
|
4739
|
+
direction: z.ZodString;
|
4740
|
+
date: z.ZodDate;
|
4741
|
+
action: z.ZodString;
|
4742
|
+
unseen: z.ZodBoolean;
|
4743
|
+
sendAt: z.ZodDate;
|
4744
|
+
starred: z.ZodBoolean;
|
4745
|
+
seemsLikeNew: z.ZodBoolean;
|
4746
|
+
from: z.ZodArray<z.ZodObject<{
|
4747
|
+
id: z.ZodString;
|
4748
|
+
createdAt: z.ZodDate;
|
4749
|
+
updatedAt: z.ZodDate;
|
4750
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4751
|
+
name: z.ZodString;
|
4752
|
+
address: z.ZodString;
|
4753
|
+
}, "strip", z.ZodTypeAny, {
|
4754
|
+
id: string;
|
4755
|
+
address: string;
|
4756
|
+
name: string;
|
4757
|
+
createdAt: Date;
|
4758
|
+
updatedAt: Date;
|
4759
|
+
deletedAt: Date | null;
|
4760
|
+
}, {
|
4761
|
+
id: string;
|
4762
|
+
address: string;
|
4763
|
+
name: string;
|
4764
|
+
createdAt: Date;
|
4765
|
+
updatedAt: Date;
|
3672
4766
|
deletedAt: Date | null;
|
3673
4767
|
}>, "many">;
|
3674
4768
|
to: z.ZodArray<z.ZodObject<{
|
@@ -3846,6 +4940,8 @@ export declare const roomContract: {
|
|
3846
4940
|
emailEngineMessageId: string;
|
3847
4941
|
emailEngineReplyTo: string | null;
|
3848
4942
|
unseen: boolean;
|
4943
|
+
sendAt: Date;
|
4944
|
+
starred: boolean;
|
3849
4945
|
seemsLikeNew: boolean;
|
3850
4946
|
from: {
|
3851
4947
|
id: string;
|
@@ -3920,6 +5016,8 @@ export declare const roomContract: {
|
|
3920
5016
|
emailEngineMessageId: string;
|
3921
5017
|
emailEngineReplyTo: string | null;
|
3922
5018
|
unseen: boolean;
|
5019
|
+
sendAt: Date;
|
5020
|
+
starred: boolean;
|
3923
5021
|
seemsLikeNew: boolean;
|
3924
5022
|
from: {
|
3925
5023
|
id: string;
|
@@ -3995,6 +5093,8 @@ export declare const roomContract: {
|
|
3995
5093
|
date: z.ZodDate;
|
3996
5094
|
action: z.ZodString;
|
3997
5095
|
unseen: z.ZodBoolean;
|
5096
|
+
sendAt: z.ZodDate;
|
5097
|
+
starred: z.ZodBoolean;
|
3998
5098
|
seemsLikeNew: z.ZodBoolean;
|
3999
5099
|
from: z.ZodArray<z.ZodObject<{
|
4000
5100
|
id: z.ZodString;
|
@@ -4193,6 +5293,8 @@ export declare const roomContract: {
|
|
4193
5293
|
emailEngineMessageId: string;
|
4194
5294
|
emailEngineReplyTo: string | null;
|
4195
5295
|
unseen: boolean;
|
5296
|
+
sendAt: Date;
|
5297
|
+
starred: boolean;
|
4196
5298
|
seemsLikeNew: boolean;
|
4197
5299
|
from: {
|
4198
5300
|
id: string;
|
@@ -4267,6 +5369,8 @@ export declare const roomContract: {
|
|
4267
5369
|
emailEngineMessageId: string;
|
4268
5370
|
emailEngineReplyTo: string | null;
|
4269
5371
|
unseen: boolean;
|
5372
|
+
sendAt: Date;
|
5373
|
+
starred: boolean;
|
4270
5374
|
seemsLikeNew: boolean;
|
4271
5375
|
from: {
|
4272
5376
|
id: string;
|
@@ -4395,6 +5499,8 @@ export declare const roomContract: {
|
|
4395
5499
|
date: z.ZodDate;
|
4396
5500
|
action: z.ZodString;
|
4397
5501
|
unseen: z.ZodBoolean;
|
5502
|
+
sendAt: z.ZodDate;
|
5503
|
+
starred: z.ZodBoolean;
|
4398
5504
|
seemsLikeNew: z.ZodBoolean;
|
4399
5505
|
from: z.ZodArray<z.ZodObject<{
|
4400
5506
|
id: z.ZodString;
|
@@ -4593,6 +5699,8 @@ export declare const roomContract: {
|
|
4593
5699
|
emailEngineMessageId: string;
|
4594
5700
|
emailEngineReplyTo: string | null;
|
4595
5701
|
unseen: boolean;
|
5702
|
+
sendAt: Date;
|
5703
|
+
starred: boolean;
|
4596
5704
|
seemsLikeNew: boolean;
|
4597
5705
|
from: {
|
4598
5706
|
id: string;
|
@@ -4667,6 +5775,8 @@ export declare const roomContract: {
|
|
4667
5775
|
emailEngineMessageId: string;
|
4668
5776
|
emailEngineReplyTo: string | null;
|
4669
5777
|
unseen: boolean;
|
5778
|
+
sendAt: Date;
|
5779
|
+
starred: boolean;
|
4670
5780
|
seemsLikeNew: boolean;
|
4671
5781
|
from: {
|
4672
5782
|
id: string;
|
@@ -4742,6 +5852,8 @@ export declare const roomContract: {
|
|
4742
5852
|
date: z.ZodDate;
|
4743
5853
|
action: z.ZodString;
|
4744
5854
|
unseen: z.ZodBoolean;
|
5855
|
+
sendAt: z.ZodDate;
|
5856
|
+
starred: z.ZodBoolean;
|
4745
5857
|
seemsLikeNew: z.ZodBoolean;
|
4746
5858
|
from: z.ZodArray<z.ZodObject<{
|
4747
5859
|
id: z.ZodString;
|
@@ -4940,6 +6052,8 @@ export declare const roomContract: {
|
|
4940
6052
|
emailEngineMessageId: string;
|
4941
6053
|
emailEngineReplyTo: string | null;
|
4942
6054
|
unseen: boolean;
|
6055
|
+
sendAt: Date;
|
6056
|
+
starred: boolean;
|
4943
6057
|
seemsLikeNew: boolean;
|
4944
6058
|
from: {
|
4945
6059
|
id: string;
|
@@ -5014,6 +6128,8 @@ export declare const roomContract: {
|
|
5014
6128
|
emailEngineMessageId: string;
|
5015
6129
|
emailEngineReplyTo: string | null;
|
5016
6130
|
unseen: boolean;
|
6131
|
+
sendAt: Date;
|
6132
|
+
starred: boolean;
|
5017
6133
|
seemsLikeNew: boolean;
|
5018
6134
|
from: {
|
5019
6135
|
id: string;
|
@@ -5229,31 +6345,175 @@ export declare const roomContract: {
|
|
5229
6345
|
};
|
5230
6346
|
}, {
|
5231
6347
|
id: string;
|
5232
|
-
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
5233
|
-
address: string;
|
5234
|
-
name: string;
|
6348
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
6349
|
+
address: string;
|
6350
|
+
name: string;
|
6351
|
+
createdAt: Date;
|
6352
|
+
updatedAt: Date;
|
6353
|
+
deletedAt: Date | null;
|
6354
|
+
accountId: string;
|
6355
|
+
mailServerId: string;
|
6356
|
+
mailServer: {
|
6357
|
+
id: string;
|
6358
|
+
name: string;
|
6359
|
+
createdAt: Date;
|
6360
|
+
updatedAt: Date;
|
6361
|
+
deletedAt: Date | null;
|
6362
|
+
smtpHost: string;
|
6363
|
+
smtpPort: number;
|
6364
|
+
smtpTlsPort: number;
|
6365
|
+
useTlsForSmtp: boolean;
|
6366
|
+
imapHost: string;
|
6367
|
+
imapPort: number;
|
6368
|
+
imapTlsPort: number;
|
6369
|
+
useTlsForImap: boolean;
|
6370
|
+
};
|
6371
|
+
}>;
|
6372
|
+
unReadMessageCount: z.ZodNumber;
|
6373
|
+
cxlog: z.ZodObject<{
|
6374
|
+
id: z.ZodString;
|
6375
|
+
createdAt: z.ZodDate;
|
6376
|
+
updatedAt: z.ZodDate;
|
6377
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6378
|
+
caseId: z.ZodNumber;
|
6379
|
+
entityId: z.ZodString;
|
6380
|
+
entityName: z.ZodString;
|
6381
|
+
contactId: z.ZodNullable<z.ZodString>;
|
6382
|
+
channel: z.ZodNullable<z.ZodString>;
|
6383
|
+
queueId: z.ZodNullable<z.ZodString>;
|
6384
|
+
agentId: z.ZodNullable<z.ZodString>;
|
6385
|
+
direction: z.ZodNullable<z.ZodString>;
|
6386
|
+
startedDate: z.ZodNullable<z.ZodDate>;
|
6387
|
+
handledTime: z.ZodNullable<z.ZodNumber>;
|
6388
|
+
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
6389
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
6390
|
+
id: z.ZodString;
|
6391
|
+
createdAt: z.ZodDate;
|
6392
|
+
updatedAt: z.ZodDate;
|
6393
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6394
|
+
note: z.ZodNullable<z.ZodString>;
|
6395
|
+
disposition: z.ZodNullable<z.ZodString>;
|
6396
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
6397
|
+
callTo: z.ZodNullable<z.ZodString>;
|
6398
|
+
tags: z.ZodArray<z.ZodObject<{
|
6399
|
+
id: z.ZodString;
|
6400
|
+
createdAt: z.ZodDate;
|
6401
|
+
updatedAt: z.ZodDate;
|
6402
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6403
|
+
name: z.ZodString;
|
6404
|
+
}, "strip", z.ZodTypeAny, {
|
6405
|
+
id: string;
|
6406
|
+
name: string;
|
6407
|
+
createdAt: Date;
|
6408
|
+
updatedAt: Date;
|
6409
|
+
deletedAt: Date | null;
|
6410
|
+
}, {
|
6411
|
+
id: string;
|
6412
|
+
name: string;
|
6413
|
+
createdAt: Date;
|
6414
|
+
updatedAt: Date;
|
6415
|
+
deletedAt: Date | null;
|
6416
|
+
}>, "many">;
|
6417
|
+
}, "strip", z.ZodTypeAny, {
|
6418
|
+
id: string;
|
6419
|
+
disposition: string | null;
|
6420
|
+
createdAt: Date;
|
6421
|
+
updatedAt: Date;
|
6422
|
+
deletedAt: Date | null;
|
6423
|
+
tags: {
|
6424
|
+
id: string;
|
6425
|
+
name: string;
|
6426
|
+
createdAt: Date;
|
6427
|
+
updatedAt: Date;
|
6428
|
+
deletedAt: Date | null;
|
6429
|
+
}[];
|
6430
|
+
callFrom: string | null;
|
6431
|
+
callTo: string | null;
|
6432
|
+
note: string | null;
|
6433
|
+
}, {
|
6434
|
+
id: string;
|
6435
|
+
disposition: string | null;
|
6436
|
+
createdAt: Date;
|
6437
|
+
updatedAt: Date;
|
6438
|
+
deletedAt: Date | null;
|
6439
|
+
tags: {
|
6440
|
+
id: string;
|
6441
|
+
name: string;
|
6442
|
+
createdAt: Date;
|
6443
|
+
updatedAt: Date;
|
6444
|
+
deletedAt: Date | null;
|
6445
|
+
}[];
|
6446
|
+
callFrom: string | null;
|
6447
|
+
callTo: string | null;
|
6448
|
+
note: string | null;
|
6449
|
+
}>>;
|
6450
|
+
}, "strip", z.ZodTypeAny, {
|
6451
|
+
id: string;
|
6452
|
+
channel: string | null;
|
6453
|
+
direction: string | null;
|
6454
|
+
createdAt: Date;
|
6455
|
+
updatedAt: Date;
|
6456
|
+
deletedAt: Date | null;
|
6457
|
+
entityId: string;
|
6458
|
+
queueId: string | null;
|
6459
|
+
contactId: string | null;
|
6460
|
+
caseId: number;
|
6461
|
+
entityName: string;
|
6462
|
+
agentId: string | null;
|
6463
|
+
startedDate: Date | null;
|
6464
|
+
handledTime: number | null;
|
6465
|
+
firstResponseTime: number | null;
|
6466
|
+
wrapUpForm: {
|
6467
|
+
id: string;
|
6468
|
+
disposition: string | null;
|
6469
|
+
createdAt: Date;
|
6470
|
+
updatedAt: Date;
|
6471
|
+
deletedAt: Date | null;
|
6472
|
+
tags: {
|
6473
|
+
id: string;
|
6474
|
+
name: string;
|
6475
|
+
createdAt: Date;
|
6476
|
+
updatedAt: Date;
|
6477
|
+
deletedAt: Date | null;
|
6478
|
+
}[];
|
6479
|
+
callFrom: string | null;
|
6480
|
+
callTo: string | null;
|
6481
|
+
note: string | null;
|
6482
|
+
} | null;
|
6483
|
+
}, {
|
6484
|
+
id: string;
|
6485
|
+
channel: string | null;
|
6486
|
+
direction: string | null;
|
5235
6487
|
createdAt: Date;
|
5236
6488
|
updatedAt: Date;
|
5237
6489
|
deletedAt: Date | null;
|
5238
|
-
|
5239
|
-
|
5240
|
-
|
6490
|
+
entityId: string;
|
6491
|
+
queueId: string | null;
|
6492
|
+
contactId: string | null;
|
6493
|
+
caseId: number;
|
6494
|
+
entityName: string;
|
6495
|
+
agentId: string | null;
|
6496
|
+
startedDate: Date | null;
|
6497
|
+
handledTime: number | null;
|
6498
|
+
firstResponseTime: number | null;
|
6499
|
+
wrapUpForm: {
|
5241
6500
|
id: string;
|
5242
|
-
|
6501
|
+
disposition: string | null;
|
5243
6502
|
createdAt: Date;
|
5244
6503
|
updatedAt: Date;
|
5245
6504
|
deletedAt: Date | null;
|
5246
|
-
|
5247
|
-
|
5248
|
-
|
5249
|
-
|
5250
|
-
|
5251
|
-
|
5252
|
-
|
5253
|
-
|
5254
|
-
|
6505
|
+
tags: {
|
6506
|
+
id: string;
|
6507
|
+
name: string;
|
6508
|
+
createdAt: Date;
|
6509
|
+
updatedAt: Date;
|
6510
|
+
deletedAt: Date | null;
|
6511
|
+
}[];
|
6512
|
+
callFrom: string | null;
|
6513
|
+
callTo: string | null;
|
6514
|
+
note: string | null;
|
6515
|
+
} | null;
|
5255
6516
|
}>;
|
5256
|
-
unReadMessageCount: z.ZodNumber;
|
5257
6517
|
}, "strip", z.ZodTypeAny, {
|
5258
6518
|
id: string;
|
5259
6519
|
direction: string;
|
@@ -5286,6 +6546,8 @@ export declare const roomContract: {
|
|
5286
6546
|
emailEngineMessageId: string;
|
5287
6547
|
emailEngineReplyTo: string | null;
|
5288
6548
|
unseen: boolean;
|
6549
|
+
sendAt: Date;
|
6550
|
+
starred: boolean;
|
5289
6551
|
seemsLikeNew: boolean;
|
5290
6552
|
from: {
|
5291
6553
|
id: string;
|
@@ -5356,6 +6618,40 @@ export declare const roomContract: {
|
|
5356
6618
|
notificationCount: number | null;
|
5357
6619
|
};
|
5358
6620
|
resolved: boolean;
|
6621
|
+
cxlog: {
|
6622
|
+
id: string;
|
6623
|
+
channel: string | null;
|
6624
|
+
direction: string | null;
|
6625
|
+
createdAt: Date;
|
6626
|
+
updatedAt: Date;
|
6627
|
+
deletedAt: Date | null;
|
6628
|
+
entityId: string;
|
6629
|
+
queueId: string | null;
|
6630
|
+
contactId: string | null;
|
6631
|
+
caseId: number;
|
6632
|
+
entityName: string;
|
6633
|
+
agentId: string | null;
|
6634
|
+
startedDate: Date | null;
|
6635
|
+
handledTime: number | null;
|
6636
|
+
firstResponseTime: number | null;
|
6637
|
+
wrapUpForm: {
|
6638
|
+
id: string;
|
6639
|
+
disposition: string | null;
|
6640
|
+
createdAt: Date;
|
6641
|
+
updatedAt: Date;
|
6642
|
+
deletedAt: Date | null;
|
6643
|
+
tags: {
|
6644
|
+
id: string;
|
6645
|
+
name: string;
|
6646
|
+
createdAt: Date;
|
6647
|
+
updatedAt: Date;
|
6648
|
+
deletedAt: Date | null;
|
6649
|
+
}[];
|
6650
|
+
callFrom: string | null;
|
6651
|
+
callTo: string | null;
|
6652
|
+
note: string | null;
|
6653
|
+
} | null;
|
6654
|
+
};
|
5359
6655
|
assigneeId: string | null;
|
5360
6656
|
subject: string;
|
5361
6657
|
from: {
|
@@ -5410,6 +6706,8 @@ export declare const roomContract: {
|
|
5410
6706
|
emailEngineMessageId: string;
|
5411
6707
|
emailEngineReplyTo: string | null;
|
5412
6708
|
unseen: boolean;
|
6709
|
+
sendAt: Date;
|
6710
|
+
starred: boolean;
|
5413
6711
|
seemsLikeNew: boolean;
|
5414
6712
|
from: {
|
5415
6713
|
id: string;
|
@@ -5485,6 +6783,8 @@ export declare const roomContract: {
|
|
5485
6783
|
emailEngineMessageId: string;
|
5486
6784
|
emailEngineReplyTo: string | null;
|
5487
6785
|
unseen: boolean;
|
6786
|
+
sendAt: Date;
|
6787
|
+
starred: boolean;
|
5488
6788
|
seemsLikeNew: boolean;
|
5489
6789
|
from: {
|
5490
6790
|
id: string;
|
@@ -5560,6 +6860,8 @@ export declare const roomContract: {
|
|
5560
6860
|
emailEngineMessageId: string;
|
5561
6861
|
emailEngineReplyTo: string | null;
|
5562
6862
|
unseen: boolean;
|
6863
|
+
sendAt: Date;
|
6864
|
+
starred: boolean;
|
5563
6865
|
seemsLikeNew: boolean;
|
5564
6866
|
from: {
|
5565
6867
|
id: string;
|
@@ -5696,6 +6998,8 @@ export declare const roomContract: {
|
|
5696
6998
|
emailEngineMessageId: string;
|
5697
6999
|
emailEngineReplyTo: string | null;
|
5698
7000
|
unseen: boolean;
|
7001
|
+
sendAt: Date;
|
7002
|
+
starred: boolean;
|
5699
7003
|
seemsLikeNew: boolean;
|
5700
7004
|
from: {
|
5701
7005
|
id: string;
|
@@ -5766,6 +7070,40 @@ export declare const roomContract: {
|
|
5766
7070
|
notificationCount: number | null;
|
5767
7071
|
};
|
5768
7072
|
resolved: boolean;
|
7073
|
+
cxlog: {
|
7074
|
+
id: string;
|
7075
|
+
channel: string | null;
|
7076
|
+
direction: string | null;
|
7077
|
+
createdAt: Date;
|
7078
|
+
updatedAt: Date;
|
7079
|
+
deletedAt: Date | null;
|
7080
|
+
entityId: string;
|
7081
|
+
queueId: string | null;
|
7082
|
+
contactId: string | null;
|
7083
|
+
caseId: number;
|
7084
|
+
entityName: string;
|
7085
|
+
agentId: string | null;
|
7086
|
+
startedDate: Date | null;
|
7087
|
+
handledTime: number | null;
|
7088
|
+
firstResponseTime: number | null;
|
7089
|
+
wrapUpForm: {
|
7090
|
+
id: string;
|
7091
|
+
disposition: string | null;
|
7092
|
+
createdAt: Date;
|
7093
|
+
updatedAt: Date;
|
7094
|
+
deletedAt: Date | null;
|
7095
|
+
tags: {
|
7096
|
+
id: string;
|
7097
|
+
name: string;
|
7098
|
+
createdAt: Date;
|
7099
|
+
updatedAt: Date;
|
7100
|
+
deletedAt: Date | null;
|
7101
|
+
}[];
|
7102
|
+
callFrom: string | null;
|
7103
|
+
callTo: string | null;
|
7104
|
+
note: string | null;
|
7105
|
+
} | null;
|
7106
|
+
};
|
5769
7107
|
assigneeId: string | null;
|
5770
7108
|
subject: string;
|
5771
7109
|
from: {
|
@@ -5820,6 +7158,8 @@ export declare const roomContract: {
|
|
5820
7158
|
emailEngineMessageId: string;
|
5821
7159
|
emailEngineReplyTo: string | null;
|
5822
7160
|
unseen: boolean;
|
7161
|
+
sendAt: Date;
|
7162
|
+
starred: boolean;
|
5823
7163
|
seemsLikeNew: boolean;
|
5824
7164
|
from: {
|
5825
7165
|
id: string;
|
@@ -5895,6 +7235,8 @@ export declare const roomContract: {
|
|
5895
7235
|
emailEngineMessageId: string;
|
5896
7236
|
emailEngineReplyTo: string | null;
|
5897
7237
|
unseen: boolean;
|
7238
|
+
sendAt: Date;
|
7239
|
+
starred: boolean;
|
5898
7240
|
seemsLikeNew: boolean;
|
5899
7241
|
from: {
|
5900
7242
|
id: string;
|
@@ -5970,6 +7312,8 @@ export declare const roomContract: {
|
|
5970
7312
|
emailEngineMessageId: string;
|
5971
7313
|
emailEngineReplyTo: string | null;
|
5972
7314
|
unseen: boolean;
|
7315
|
+
sendAt: Date;
|
7316
|
+
starred: boolean;
|
5973
7317
|
seemsLikeNew: boolean;
|
5974
7318
|
from: {
|
5975
7319
|
id: string;
|
@@ -6108,6 +7452,8 @@ export declare const roomContract: {
|
|
6108
7452
|
emailEngineMessageId: string;
|
6109
7453
|
emailEngineReplyTo: string | null;
|
6110
7454
|
unseen: boolean;
|
7455
|
+
sendAt: Date;
|
7456
|
+
starred: boolean;
|
6111
7457
|
seemsLikeNew: boolean;
|
6112
7458
|
from: {
|
6113
7459
|
id: string;
|
@@ -6178,6 +7524,40 @@ export declare const roomContract: {
|
|
6178
7524
|
notificationCount: number | null;
|
6179
7525
|
};
|
6180
7526
|
resolved: boolean;
|
7527
|
+
cxlog: {
|
7528
|
+
id: string;
|
7529
|
+
channel: string | null;
|
7530
|
+
direction: string | null;
|
7531
|
+
createdAt: Date;
|
7532
|
+
updatedAt: Date;
|
7533
|
+
deletedAt: Date | null;
|
7534
|
+
entityId: string;
|
7535
|
+
queueId: string | null;
|
7536
|
+
contactId: string | null;
|
7537
|
+
caseId: number;
|
7538
|
+
entityName: string;
|
7539
|
+
agentId: string | null;
|
7540
|
+
startedDate: Date | null;
|
7541
|
+
handledTime: number | null;
|
7542
|
+
firstResponseTime: number | null;
|
7543
|
+
wrapUpForm: {
|
7544
|
+
id: string;
|
7545
|
+
disposition: string | null;
|
7546
|
+
createdAt: Date;
|
7547
|
+
updatedAt: Date;
|
7548
|
+
deletedAt: Date | null;
|
7549
|
+
tags: {
|
7550
|
+
id: string;
|
7551
|
+
name: string;
|
7552
|
+
createdAt: Date;
|
7553
|
+
updatedAt: Date;
|
7554
|
+
deletedAt: Date | null;
|
7555
|
+
}[];
|
7556
|
+
callFrom: string | null;
|
7557
|
+
callTo: string | null;
|
7558
|
+
note: string | null;
|
7559
|
+
} | null;
|
7560
|
+
};
|
6181
7561
|
assigneeId: string | null;
|
6182
7562
|
subject: string;
|
6183
7563
|
from: {
|
@@ -6232,6 +7612,8 @@ export declare const roomContract: {
|
|
6232
7612
|
emailEngineMessageId: string;
|
6233
7613
|
emailEngineReplyTo: string | null;
|
6234
7614
|
unseen: boolean;
|
7615
|
+
sendAt: Date;
|
7616
|
+
starred: boolean;
|
6235
7617
|
seemsLikeNew: boolean;
|
6236
7618
|
from: {
|
6237
7619
|
id: string;
|
@@ -6307,6 +7689,8 @@ export declare const roomContract: {
|
|
6307
7689
|
emailEngineMessageId: string;
|
6308
7690
|
emailEngineReplyTo: string | null;
|
6309
7691
|
unseen: boolean;
|
7692
|
+
sendAt: Date;
|
7693
|
+
starred: boolean;
|
6310
7694
|
seemsLikeNew: boolean;
|
6311
7695
|
from: {
|
6312
7696
|
id: string;
|
@@ -6382,6 +7766,8 @@ export declare const roomContract: {
|
|
6382
7766
|
emailEngineMessageId: string;
|
6383
7767
|
emailEngineReplyTo: string | null;
|
6384
7768
|
unseen: boolean;
|
7769
|
+
sendAt: Date;
|
7770
|
+
starred: boolean;
|
6385
7771
|
seemsLikeNew: boolean;
|
6386
7772
|
from: {
|
6387
7773
|
id: string;
|
@@ -6521,6 +7907,8 @@ export declare const roomContract: {
|
|
6521
7907
|
emailEngineMessageId: string;
|
6522
7908
|
emailEngineReplyTo: string | null;
|
6523
7909
|
unseen: boolean;
|
7910
|
+
sendAt: Date;
|
7911
|
+
starred: boolean;
|
6524
7912
|
seemsLikeNew: boolean;
|
6525
7913
|
from: {
|
6526
7914
|
id: string;
|
@@ -6591,6 +7979,40 @@ export declare const roomContract: {
|
|
6591
7979
|
notificationCount: number | null;
|
6592
7980
|
};
|
6593
7981
|
resolved: boolean;
|
7982
|
+
cxlog: {
|
7983
|
+
id: string;
|
7984
|
+
channel: string | null;
|
7985
|
+
direction: string | null;
|
7986
|
+
createdAt: Date;
|
7987
|
+
updatedAt: Date;
|
7988
|
+
deletedAt: Date | null;
|
7989
|
+
entityId: string;
|
7990
|
+
queueId: string | null;
|
7991
|
+
contactId: string | null;
|
7992
|
+
caseId: number;
|
7993
|
+
entityName: string;
|
7994
|
+
agentId: string | null;
|
7995
|
+
startedDate: Date | null;
|
7996
|
+
handledTime: number | null;
|
7997
|
+
firstResponseTime: number | null;
|
7998
|
+
wrapUpForm: {
|
7999
|
+
id: string;
|
8000
|
+
disposition: string | null;
|
8001
|
+
createdAt: Date;
|
8002
|
+
updatedAt: Date;
|
8003
|
+
deletedAt: Date | null;
|
8004
|
+
tags: {
|
8005
|
+
id: string;
|
8006
|
+
name: string;
|
8007
|
+
createdAt: Date;
|
8008
|
+
updatedAt: Date;
|
8009
|
+
deletedAt: Date | null;
|
8010
|
+
}[];
|
8011
|
+
callFrom: string | null;
|
8012
|
+
callTo: string | null;
|
8013
|
+
note: string | null;
|
8014
|
+
} | null;
|
8015
|
+
};
|
6594
8016
|
assigneeId: string | null;
|
6595
8017
|
subject: string;
|
6596
8018
|
from: {
|
@@ -6645,6 +8067,8 @@ export declare const roomContract: {
|
|
6645
8067
|
emailEngineMessageId: string;
|
6646
8068
|
emailEngineReplyTo: string | null;
|
6647
8069
|
unseen: boolean;
|
8070
|
+
sendAt: Date;
|
8071
|
+
starred: boolean;
|
6648
8072
|
seemsLikeNew: boolean;
|
6649
8073
|
from: {
|
6650
8074
|
id: string;
|
@@ -6720,6 +8144,8 @@ export declare const roomContract: {
|
|
6720
8144
|
emailEngineMessageId: string;
|
6721
8145
|
emailEngineReplyTo: string | null;
|
6722
8146
|
unseen: boolean;
|
8147
|
+
sendAt: Date;
|
8148
|
+
starred: boolean;
|
6723
8149
|
seemsLikeNew: boolean;
|
6724
8150
|
from: {
|
6725
8151
|
id: string;
|
@@ -6795,6 +8221,8 @@ export declare const roomContract: {
|
|
6795
8221
|
emailEngineMessageId: string;
|
6796
8222
|
emailEngineReplyTo: string | null;
|
6797
8223
|
unseen: boolean;
|
8224
|
+
sendAt: Date;
|
8225
|
+
starred: boolean;
|
6798
8226
|
seemsLikeNew: boolean;
|
6799
8227
|
from: {
|
6800
8228
|
id: string;
|
@@ -6895,197 +8323,26 @@ export declare const roomContract: {
|
|
6895
8323
|
imapHost: string;
|
6896
8324
|
imapPort: number;
|
6897
8325
|
imapTlsPort: number;
|
6898
|
-
useTlsForImap: boolean;
|
6899
|
-
};
|
6900
|
-
};
|
6901
|
-
unReadMessageCount: number;
|
6902
|
-
};
|
6903
|
-
requestId: string;
|
6904
|
-
}>;
|
6905
|
-
};
|
6906
|
-
path: "mail/room/:id";
|
6907
|
-
};
|
6908
|
-
getAttachments: {
|
6909
|
-
summary: "Get all the attachments of a room";
|
6910
|
-
method: "GET";
|
6911
|
-
pathParams: z.ZodObject<{
|
6912
|
-
id: z.ZodString;
|
6913
|
-
}, "strip", z.ZodTypeAny, {
|
6914
|
-
id: string;
|
6915
|
-
}, {
|
6916
|
-
id: string;
|
6917
|
-
}>;
|
6918
|
-
responses: {
|
6919
|
-
401: z.ZodObject<{
|
6920
|
-
message: z.ZodString;
|
6921
|
-
error: z.ZodAny;
|
6922
|
-
}, "strip", z.ZodTypeAny, {
|
6923
|
-
message: string;
|
6924
|
-
error?: any;
|
6925
|
-
}, {
|
6926
|
-
message: string;
|
6927
|
-
error?: any;
|
6928
|
-
}>;
|
6929
|
-
404: z.ZodObject<{
|
6930
|
-
message: z.ZodString;
|
6931
|
-
error: z.ZodAny;
|
6932
|
-
}, "strip", z.ZodTypeAny, {
|
6933
|
-
message: string;
|
6934
|
-
error?: any;
|
6935
|
-
}, {
|
6936
|
-
message: string;
|
6937
|
-
error?: any;
|
6938
|
-
}>;
|
6939
|
-
422: z.ZodObject<{
|
6940
|
-
message: z.ZodString;
|
6941
|
-
error: z.ZodAny;
|
6942
|
-
}, "strip", z.ZodTypeAny, {
|
6943
|
-
message: string;
|
6944
|
-
error?: any;
|
6945
|
-
}, {
|
6946
|
-
message: string;
|
6947
|
-
error?: any;
|
6948
|
-
}>;
|
6949
|
-
200: z.ZodObject<{
|
6950
|
-
requestId: z.ZodString;
|
6951
|
-
data: z.ZodArray<z.ZodObject<{
|
6952
|
-
fileName: z.ZodString;
|
6953
|
-
fileType: z.ZodString;
|
6954
|
-
emailEngineAttachmentId: z.ZodString;
|
6955
|
-
uploadId: z.ZodString;
|
6956
|
-
messageId: z.ZodString;
|
6957
|
-
roomId: z.ZodString;
|
6958
|
-
upload: z.ZodObject<{
|
6959
|
-
id: z.ZodString;
|
6960
|
-
createdAt: z.ZodDate;
|
6961
|
-
updatedAt: z.ZodDate;
|
6962
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
6963
|
-
bucketName: z.ZodString;
|
6964
|
-
fileName: z.ZodString;
|
6965
|
-
fileSize: z.ZodNumber;
|
6966
|
-
fileKey: z.ZodString;
|
6967
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
6968
|
-
status: z.ZodOptional<z.ZodString>;
|
6969
|
-
}, "strip", z.ZodTypeAny, {
|
6970
|
-
id: string;
|
6971
|
-
createdAt: Date;
|
6972
|
-
updatedAt: Date;
|
6973
|
-
deletedAt: Date | null;
|
6974
|
-
fileName: string;
|
6975
|
-
fileKey: string;
|
6976
|
-
bucketName: string;
|
6977
|
-
fileSize: number;
|
6978
|
-
fileUrl: string | null;
|
6979
|
-
status?: string | undefined;
|
6980
|
-
}, {
|
6981
|
-
id: string;
|
6982
|
-
createdAt: Date;
|
6983
|
-
updatedAt: Date;
|
6984
|
-
deletedAt: Date | null;
|
6985
|
-
fileName: string;
|
6986
|
-
fileKey: string;
|
6987
|
-
bucketName: string;
|
6988
|
-
fileSize: number;
|
6989
|
-
fileUrl: string | null;
|
6990
|
-
status?: string | undefined;
|
6991
|
-
}>;
|
6992
|
-
}, "strip", z.ZodTypeAny, {
|
6993
|
-
fileName: string;
|
6994
|
-
fileType: string;
|
6995
|
-
uploadId: string;
|
6996
|
-
upload: {
|
6997
|
-
id: string;
|
6998
|
-
createdAt: Date;
|
6999
|
-
updatedAt: Date;
|
7000
|
-
deletedAt: Date | null;
|
7001
|
-
fileName: string;
|
7002
|
-
fileKey: string;
|
7003
|
-
bucketName: string;
|
7004
|
-
fileSize: number;
|
7005
|
-
fileUrl: string | null;
|
7006
|
-
status?: string | undefined;
|
7007
|
-
};
|
7008
|
-
roomId: string;
|
7009
|
-
messageId: string;
|
7010
|
-
emailEngineAttachmentId: string;
|
7011
|
-
}, {
|
7012
|
-
fileName: string;
|
7013
|
-
fileType: string;
|
7014
|
-
uploadId: string;
|
7015
|
-
upload: {
|
7016
|
-
id: string;
|
7017
|
-
createdAt: Date;
|
7018
|
-
updatedAt: Date;
|
7019
|
-
deletedAt: Date | null;
|
7020
|
-
fileName: string;
|
7021
|
-
fileKey: string;
|
7022
|
-
bucketName: string;
|
7023
|
-
fileSize: number;
|
7024
|
-
fileUrl: string | null;
|
7025
|
-
status?: string | undefined;
|
7026
|
-
};
|
7027
|
-
roomId: string;
|
7028
|
-
messageId: string;
|
7029
|
-
emailEngineAttachmentId: string;
|
7030
|
-
}>, "many">;
|
7031
|
-
}, "strip", z.ZodTypeAny, {
|
7032
|
-
data: {
|
7033
|
-
fileName: string;
|
7034
|
-
fileType: string;
|
7035
|
-
uploadId: string;
|
7036
|
-
upload: {
|
7037
|
-
id: string;
|
7038
|
-
createdAt: Date;
|
7039
|
-
updatedAt: Date;
|
7040
|
-
deletedAt: Date | null;
|
7041
|
-
fileName: string;
|
7042
|
-
fileKey: string;
|
7043
|
-
bucketName: string;
|
7044
|
-
fileSize: number;
|
7045
|
-
fileUrl: string | null;
|
7046
|
-
status?: string | undefined;
|
7047
|
-
};
|
7048
|
-
roomId: string;
|
7049
|
-
messageId: string;
|
7050
|
-
emailEngineAttachmentId: string;
|
7051
|
-
}[];
|
7052
|
-
requestId: string;
|
7053
|
-
}, {
|
7054
|
-
data: {
|
7055
|
-
fileName: string;
|
7056
|
-
fileType: string;
|
7057
|
-
uploadId: string;
|
7058
|
-
upload: {
|
7059
|
-
id: string;
|
7060
|
-
createdAt: Date;
|
7061
|
-
updatedAt: Date;
|
7062
|
-
deletedAt: Date | null;
|
7063
|
-
fileName: string;
|
7064
|
-
fileKey: string;
|
7065
|
-
bucketName: string;
|
7066
|
-
fileSize: number;
|
7067
|
-
fileUrl: string | null;
|
7068
|
-
status?: string | undefined;
|
8326
|
+
useTlsForImap: boolean;
|
8327
|
+
};
|
7069
8328
|
};
|
7070
|
-
|
7071
|
-
|
7072
|
-
emailEngineAttachmentId: string;
|
7073
|
-
}[];
|
8329
|
+
unReadMessageCount: number;
|
8330
|
+
};
|
7074
8331
|
requestId: string;
|
7075
8332
|
}>;
|
7076
8333
|
};
|
7077
|
-
path: "mail/room/:id
|
8334
|
+
path: "mail/room/:id";
|
7078
8335
|
};
|
7079
|
-
|
7080
|
-
|
7081
|
-
method: "GET";
|
7082
|
-
pathParams: z.ZodObject<{
|
8336
|
+
markAsRead: {
|
8337
|
+
body: z.ZodObject<{
|
7083
8338
|
id: z.ZodString;
|
7084
8339
|
}, "strip", z.ZodTypeAny, {
|
7085
8340
|
id: string;
|
7086
8341
|
}, {
|
7087
8342
|
id: string;
|
7088
8343
|
}>;
|
8344
|
+
summary: "Mark all the unread messages of a room as read";
|
8345
|
+
method: "POST";
|
7089
8346
|
responses: {
|
7090
8347
|
401: z.ZodObject<{
|
7091
8348
|
message: z.ZodString;
|
@@ -7119,77 +8376,20 @@ export declare const roomContract: {
|
|
7119
8376
|
}>;
|
7120
8377
|
200: z.ZodObject<{
|
7121
8378
|
requestId: z.ZodString;
|
7122
|
-
|
7123
|
-
id: z.ZodString;
|
7124
|
-
createdAt: z.ZodDate;
|
7125
|
-
updatedAt: z.ZodDate;
|
7126
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
7127
|
-
name: z.ZodString;
|
7128
|
-
address: z.ZodString;
|
7129
|
-
}, "strip", z.ZodTypeAny, {
|
7130
|
-
id: string;
|
7131
|
-
address: string;
|
7132
|
-
name: string;
|
7133
|
-
createdAt: Date;
|
7134
|
-
updatedAt: Date;
|
7135
|
-
deletedAt: Date | null;
|
7136
|
-
}, {
|
7137
|
-
id: string;
|
7138
|
-
address: string;
|
7139
|
-
name: string;
|
7140
|
-
createdAt: Date;
|
7141
|
-
updatedAt: Date;
|
7142
|
-
deletedAt: Date | null;
|
7143
|
-
}>, "many">;
|
8379
|
+
message: z.ZodString;
|
7144
8380
|
}, "strip", z.ZodTypeAny, {
|
7145
|
-
|
7146
|
-
id: string;
|
7147
|
-
address: string;
|
7148
|
-
name: string;
|
7149
|
-
createdAt: Date;
|
7150
|
-
updatedAt: Date;
|
7151
|
-
deletedAt: Date | null;
|
7152
|
-
}[];
|
8381
|
+
message: string;
|
7153
8382
|
requestId: string;
|
7154
8383
|
}, {
|
7155
|
-
|
7156
|
-
id: string;
|
7157
|
-
address: string;
|
7158
|
-
name: string;
|
7159
|
-
createdAt: Date;
|
7160
|
-
updatedAt: Date;
|
7161
|
-
deletedAt: Date | null;
|
7162
|
-
}[];
|
8384
|
+
message: string;
|
7163
8385
|
requestId: string;
|
7164
8386
|
}>;
|
7165
8387
|
};
|
7166
|
-
path: "mail/room
|
8388
|
+
path: "mail/room/mark_as_read";
|
7167
8389
|
};
|
7168
|
-
|
7169
|
-
|
7170
|
-
|
7171
|
-
assigneeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
7172
|
-
note: z.ZodOptional<z.ZodString>;
|
7173
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
7174
|
-
handover: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
7175
|
-
selfAssign: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
7176
|
-
}, "strip", z.ZodTypeAny, {
|
7177
|
-
resolved?: boolean | null | undefined;
|
7178
|
-
assigneeId?: string | null | undefined;
|
7179
|
-
note?: string | undefined;
|
7180
|
-
tags?: string[] | undefined;
|
7181
|
-
handover?: boolean | null | undefined;
|
7182
|
-
selfAssign?: boolean | null | undefined;
|
7183
|
-
}, {
|
7184
|
-
resolved?: boolean | "false" | "true" | null | undefined;
|
7185
|
-
assigneeId?: string | null | undefined;
|
7186
|
-
note?: string | undefined;
|
7187
|
-
tags?: string[] | undefined;
|
7188
|
-
handover?: boolean | "false" | "true" | null | undefined;
|
7189
|
-
selfAssign?: boolean | "false" | "true" | null | undefined;
|
7190
|
-
}>;
|
7191
|
-
summary: "Update a mail room by id";
|
7192
|
-
method: "PATCH";
|
8390
|
+
getById: {
|
8391
|
+
summary: "Get a mail room by id";
|
8392
|
+
method: "GET";
|
7193
8393
|
pathParams: z.ZodObject<{
|
7194
8394
|
id: z.ZodString;
|
7195
8395
|
}, "strip", z.ZodTypeAny, {
|
@@ -7348,6 +8548,8 @@ export declare const roomContract: {
|
|
7348
8548
|
date: z.ZodDate;
|
7349
8549
|
action: z.ZodString;
|
7350
8550
|
unseen: z.ZodBoolean;
|
8551
|
+
sendAt: z.ZodDate;
|
8552
|
+
starred: z.ZodBoolean;
|
7351
8553
|
seemsLikeNew: z.ZodBoolean;
|
7352
8554
|
from: z.ZodArray<z.ZodObject<{
|
7353
8555
|
id: z.ZodString;
|
@@ -7546,6 +8748,8 @@ export declare const roomContract: {
|
|
7546
8748
|
emailEngineMessageId: string;
|
7547
8749
|
emailEngineReplyTo: string | null;
|
7548
8750
|
unseen: boolean;
|
8751
|
+
sendAt: Date;
|
8752
|
+
starred: boolean;
|
7549
8753
|
seemsLikeNew: boolean;
|
7550
8754
|
from: {
|
7551
8755
|
id: string;
|
@@ -7620,6 +8824,8 @@ export declare const roomContract: {
|
|
7620
8824
|
emailEngineMessageId: string;
|
7621
8825
|
emailEngineReplyTo: string | null;
|
7622
8826
|
unseen: boolean;
|
8827
|
+
sendAt: Date;
|
8828
|
+
starred: boolean;
|
7623
8829
|
seemsLikeNew: boolean;
|
7624
8830
|
from: {
|
7625
8831
|
id: string;
|
@@ -7695,6 +8901,8 @@ export declare const roomContract: {
|
|
7695
8901
|
date: z.ZodDate;
|
7696
8902
|
action: z.ZodString;
|
7697
8903
|
unseen: z.ZodBoolean;
|
8904
|
+
sendAt: z.ZodDate;
|
8905
|
+
starred: z.ZodBoolean;
|
7698
8906
|
seemsLikeNew: z.ZodBoolean;
|
7699
8907
|
from: z.ZodArray<z.ZodObject<{
|
7700
8908
|
id: z.ZodString;
|
@@ -7893,6 +9101,8 @@ export declare const roomContract: {
|
|
7893
9101
|
emailEngineMessageId: string;
|
7894
9102
|
emailEngineReplyTo: string | null;
|
7895
9103
|
unseen: boolean;
|
9104
|
+
sendAt: Date;
|
9105
|
+
starred: boolean;
|
7896
9106
|
seemsLikeNew: boolean;
|
7897
9107
|
from: {
|
7898
9108
|
id: string;
|
@@ -7967,6 +9177,8 @@ export declare const roomContract: {
|
|
7967
9177
|
emailEngineMessageId: string;
|
7968
9178
|
emailEngineReplyTo: string | null;
|
7969
9179
|
unseen: boolean;
|
9180
|
+
sendAt: Date;
|
9181
|
+
starred: boolean;
|
7970
9182
|
seemsLikeNew: boolean;
|
7971
9183
|
from: {
|
7972
9184
|
id: string;
|
@@ -8095,6 +9307,8 @@ export declare const roomContract: {
|
|
8095
9307
|
date: z.ZodDate;
|
8096
9308
|
action: z.ZodString;
|
8097
9309
|
unseen: z.ZodBoolean;
|
9310
|
+
sendAt: z.ZodDate;
|
9311
|
+
starred: z.ZodBoolean;
|
8098
9312
|
seemsLikeNew: z.ZodBoolean;
|
8099
9313
|
from: z.ZodArray<z.ZodObject<{
|
8100
9314
|
id: z.ZodString;
|
@@ -8293,6 +9507,8 @@ export declare const roomContract: {
|
|
8293
9507
|
emailEngineMessageId: string;
|
8294
9508
|
emailEngineReplyTo: string | null;
|
8295
9509
|
unseen: boolean;
|
9510
|
+
sendAt: Date;
|
9511
|
+
starred: boolean;
|
8296
9512
|
seemsLikeNew: boolean;
|
8297
9513
|
from: {
|
8298
9514
|
id: string;
|
@@ -8367,6 +9583,8 @@ export declare const roomContract: {
|
|
8367
9583
|
emailEngineMessageId: string;
|
8368
9584
|
emailEngineReplyTo: string | null;
|
8369
9585
|
unseen: boolean;
|
9586
|
+
sendAt: Date;
|
9587
|
+
starred: boolean;
|
8370
9588
|
seemsLikeNew: boolean;
|
8371
9589
|
from: {
|
8372
9590
|
id: string;
|
@@ -8442,6 +9660,8 @@ export declare const roomContract: {
|
|
8442
9660
|
date: z.ZodDate;
|
8443
9661
|
action: z.ZodString;
|
8444
9662
|
unseen: z.ZodBoolean;
|
9663
|
+
sendAt: z.ZodDate;
|
9664
|
+
starred: z.ZodBoolean;
|
8445
9665
|
seemsLikeNew: z.ZodBoolean;
|
8446
9666
|
from: z.ZodArray<z.ZodObject<{
|
8447
9667
|
id: z.ZodString;
|
@@ -8640,6 +9860,8 @@ export declare const roomContract: {
|
|
8640
9860
|
emailEngineMessageId: string;
|
8641
9861
|
emailEngineReplyTo: string | null;
|
8642
9862
|
unseen: boolean;
|
9863
|
+
sendAt: Date;
|
9864
|
+
starred: boolean;
|
8643
9865
|
seemsLikeNew: boolean;
|
8644
9866
|
from: {
|
8645
9867
|
id: string;
|
@@ -8714,6 +9936,8 @@ export declare const roomContract: {
|
|
8714
9936
|
emailEngineMessageId: string;
|
8715
9937
|
emailEngineReplyTo: string | null;
|
8716
9938
|
unseen: boolean;
|
9939
|
+
sendAt: Date;
|
9940
|
+
starred: boolean;
|
8717
9941
|
seemsLikeNew: boolean;
|
8718
9942
|
from: {
|
8719
9943
|
id: string;
|
@@ -8954,6 +10178,150 @@ export declare const roomContract: {
|
|
8954
10178
|
};
|
8955
10179
|
}>;
|
8956
10180
|
unReadMessageCount: z.ZodNumber;
|
10181
|
+
cxlog: z.ZodObject<{
|
10182
|
+
id: z.ZodString;
|
10183
|
+
createdAt: z.ZodDate;
|
10184
|
+
updatedAt: z.ZodDate;
|
10185
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
10186
|
+
caseId: z.ZodNumber;
|
10187
|
+
entityId: z.ZodString;
|
10188
|
+
entityName: z.ZodString;
|
10189
|
+
contactId: z.ZodNullable<z.ZodString>;
|
10190
|
+
channel: z.ZodNullable<z.ZodString>;
|
10191
|
+
queueId: z.ZodNullable<z.ZodString>;
|
10192
|
+
agentId: z.ZodNullable<z.ZodString>;
|
10193
|
+
direction: z.ZodNullable<z.ZodString>;
|
10194
|
+
startedDate: z.ZodNullable<z.ZodDate>;
|
10195
|
+
handledTime: z.ZodNullable<z.ZodNumber>;
|
10196
|
+
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
10197
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
10198
|
+
id: z.ZodString;
|
10199
|
+
createdAt: z.ZodDate;
|
10200
|
+
updatedAt: z.ZodDate;
|
10201
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
10202
|
+
note: z.ZodNullable<z.ZodString>;
|
10203
|
+
disposition: z.ZodNullable<z.ZodString>;
|
10204
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
10205
|
+
callTo: z.ZodNullable<z.ZodString>;
|
10206
|
+
tags: z.ZodArray<z.ZodObject<{
|
10207
|
+
id: z.ZodString;
|
10208
|
+
createdAt: z.ZodDate;
|
10209
|
+
updatedAt: z.ZodDate;
|
10210
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
10211
|
+
name: z.ZodString;
|
10212
|
+
}, "strip", z.ZodTypeAny, {
|
10213
|
+
id: string;
|
10214
|
+
name: string;
|
10215
|
+
createdAt: Date;
|
10216
|
+
updatedAt: Date;
|
10217
|
+
deletedAt: Date | null;
|
10218
|
+
}, {
|
10219
|
+
id: string;
|
10220
|
+
name: string;
|
10221
|
+
createdAt: Date;
|
10222
|
+
updatedAt: Date;
|
10223
|
+
deletedAt: Date | null;
|
10224
|
+
}>, "many">;
|
10225
|
+
}, "strip", z.ZodTypeAny, {
|
10226
|
+
id: string;
|
10227
|
+
disposition: string | null;
|
10228
|
+
createdAt: Date;
|
10229
|
+
updatedAt: Date;
|
10230
|
+
deletedAt: Date | null;
|
10231
|
+
tags: {
|
10232
|
+
id: string;
|
10233
|
+
name: string;
|
10234
|
+
createdAt: Date;
|
10235
|
+
updatedAt: Date;
|
10236
|
+
deletedAt: Date | null;
|
10237
|
+
}[];
|
10238
|
+
callFrom: string | null;
|
10239
|
+
callTo: string | null;
|
10240
|
+
note: string | null;
|
10241
|
+
}, {
|
10242
|
+
id: string;
|
10243
|
+
disposition: string | null;
|
10244
|
+
createdAt: Date;
|
10245
|
+
updatedAt: Date;
|
10246
|
+
deletedAt: Date | null;
|
10247
|
+
tags: {
|
10248
|
+
id: string;
|
10249
|
+
name: string;
|
10250
|
+
createdAt: Date;
|
10251
|
+
updatedAt: Date;
|
10252
|
+
deletedAt: Date | null;
|
10253
|
+
}[];
|
10254
|
+
callFrom: string | null;
|
10255
|
+
callTo: string | null;
|
10256
|
+
note: string | null;
|
10257
|
+
}>>;
|
10258
|
+
}, "strip", z.ZodTypeAny, {
|
10259
|
+
id: string;
|
10260
|
+
channel: string | null;
|
10261
|
+
direction: string | null;
|
10262
|
+
createdAt: Date;
|
10263
|
+
updatedAt: Date;
|
10264
|
+
deletedAt: Date | null;
|
10265
|
+
entityId: string;
|
10266
|
+
queueId: string | null;
|
10267
|
+
contactId: string | null;
|
10268
|
+
caseId: number;
|
10269
|
+
entityName: string;
|
10270
|
+
agentId: string | null;
|
10271
|
+
startedDate: Date | null;
|
10272
|
+
handledTime: number | null;
|
10273
|
+
firstResponseTime: number | null;
|
10274
|
+
wrapUpForm: {
|
10275
|
+
id: string;
|
10276
|
+
disposition: string | null;
|
10277
|
+
createdAt: Date;
|
10278
|
+
updatedAt: Date;
|
10279
|
+
deletedAt: Date | null;
|
10280
|
+
tags: {
|
10281
|
+
id: string;
|
10282
|
+
name: string;
|
10283
|
+
createdAt: Date;
|
10284
|
+
updatedAt: Date;
|
10285
|
+
deletedAt: Date | null;
|
10286
|
+
}[];
|
10287
|
+
callFrom: string | null;
|
10288
|
+
callTo: string | null;
|
10289
|
+
note: string | null;
|
10290
|
+
} | null;
|
10291
|
+
}, {
|
10292
|
+
id: string;
|
10293
|
+
channel: string | null;
|
10294
|
+
direction: string | null;
|
10295
|
+
createdAt: Date;
|
10296
|
+
updatedAt: Date;
|
10297
|
+
deletedAt: Date | null;
|
10298
|
+
entityId: string;
|
10299
|
+
queueId: string | null;
|
10300
|
+
contactId: string | null;
|
10301
|
+
caseId: number;
|
10302
|
+
entityName: string;
|
10303
|
+
agentId: string | null;
|
10304
|
+
startedDate: Date | null;
|
10305
|
+
handledTime: number | null;
|
10306
|
+
firstResponseTime: number | null;
|
10307
|
+
wrapUpForm: {
|
10308
|
+
id: string;
|
10309
|
+
disposition: string | null;
|
10310
|
+
createdAt: Date;
|
10311
|
+
updatedAt: Date;
|
10312
|
+
deletedAt: Date | null;
|
10313
|
+
tags: {
|
10314
|
+
id: string;
|
10315
|
+
name: string;
|
10316
|
+
createdAt: Date;
|
10317
|
+
updatedAt: Date;
|
10318
|
+
deletedAt: Date | null;
|
10319
|
+
}[];
|
10320
|
+
callFrom: string | null;
|
10321
|
+
callTo: string | null;
|
10322
|
+
note: string | null;
|
10323
|
+
} | null;
|
10324
|
+
}>;
|
8957
10325
|
}, "strip", z.ZodTypeAny, {
|
8958
10326
|
id: string;
|
8959
10327
|
direction: string;
|
@@ -8986,6 +10354,8 @@ export declare const roomContract: {
|
|
8986
10354
|
emailEngineMessageId: string;
|
8987
10355
|
emailEngineReplyTo: string | null;
|
8988
10356
|
unseen: boolean;
|
10357
|
+
sendAt: Date;
|
10358
|
+
starred: boolean;
|
8989
10359
|
seemsLikeNew: boolean;
|
8990
10360
|
from: {
|
8991
10361
|
id: string;
|
@@ -9056,6 +10426,40 @@ export declare const roomContract: {
|
|
9056
10426
|
notificationCount: number | null;
|
9057
10427
|
};
|
9058
10428
|
resolved: boolean;
|
10429
|
+
cxlog: {
|
10430
|
+
id: string;
|
10431
|
+
channel: string | null;
|
10432
|
+
direction: string | null;
|
10433
|
+
createdAt: Date;
|
10434
|
+
updatedAt: Date;
|
10435
|
+
deletedAt: Date | null;
|
10436
|
+
entityId: string;
|
10437
|
+
queueId: string | null;
|
10438
|
+
contactId: string | null;
|
10439
|
+
caseId: number;
|
10440
|
+
entityName: string;
|
10441
|
+
agentId: string | null;
|
10442
|
+
startedDate: Date | null;
|
10443
|
+
handledTime: number | null;
|
10444
|
+
firstResponseTime: number | null;
|
10445
|
+
wrapUpForm: {
|
10446
|
+
id: string;
|
10447
|
+
disposition: string | null;
|
10448
|
+
createdAt: Date;
|
10449
|
+
updatedAt: Date;
|
10450
|
+
deletedAt: Date | null;
|
10451
|
+
tags: {
|
10452
|
+
id: string;
|
10453
|
+
name: string;
|
10454
|
+
createdAt: Date;
|
10455
|
+
updatedAt: Date;
|
10456
|
+
deletedAt: Date | null;
|
10457
|
+
}[];
|
10458
|
+
callFrom: string | null;
|
10459
|
+
callTo: string | null;
|
10460
|
+
note: string | null;
|
10461
|
+
} | null;
|
10462
|
+
};
|
9059
10463
|
assigneeId: string | null;
|
9060
10464
|
subject: string;
|
9061
10465
|
from: {
|
@@ -9110,6 +10514,8 @@ export declare const roomContract: {
|
|
9110
10514
|
emailEngineMessageId: string;
|
9111
10515
|
emailEngineReplyTo: string | null;
|
9112
10516
|
unseen: boolean;
|
10517
|
+
sendAt: Date;
|
10518
|
+
starred: boolean;
|
9113
10519
|
seemsLikeNew: boolean;
|
9114
10520
|
from: {
|
9115
10521
|
id: string;
|
@@ -9185,6 +10591,8 @@ export declare const roomContract: {
|
|
9185
10591
|
emailEngineMessageId: string;
|
9186
10592
|
emailEngineReplyTo: string | null;
|
9187
10593
|
unseen: boolean;
|
10594
|
+
sendAt: Date;
|
10595
|
+
starred: boolean;
|
9188
10596
|
seemsLikeNew: boolean;
|
9189
10597
|
from: {
|
9190
10598
|
id: string;
|
@@ -9260,6 +10668,8 @@ export declare const roomContract: {
|
|
9260
10668
|
emailEngineMessageId: string;
|
9261
10669
|
emailEngineReplyTo: string | null;
|
9262
10670
|
unseen: boolean;
|
10671
|
+
sendAt: Date;
|
10672
|
+
starred: boolean;
|
9263
10673
|
seemsLikeNew: boolean;
|
9264
10674
|
from: {
|
9265
10675
|
id: string;
|
@@ -9396,6 +10806,8 @@ export declare const roomContract: {
|
|
9396
10806
|
emailEngineMessageId: string;
|
9397
10807
|
emailEngineReplyTo: string | null;
|
9398
10808
|
unseen: boolean;
|
10809
|
+
sendAt: Date;
|
10810
|
+
starred: boolean;
|
9399
10811
|
seemsLikeNew: boolean;
|
9400
10812
|
from: {
|
9401
10813
|
id: string;
|
@@ -9466,6 +10878,40 @@ export declare const roomContract: {
|
|
9466
10878
|
notificationCount: number | null;
|
9467
10879
|
};
|
9468
10880
|
resolved: boolean;
|
10881
|
+
cxlog: {
|
10882
|
+
id: string;
|
10883
|
+
channel: string | null;
|
10884
|
+
direction: string | null;
|
10885
|
+
createdAt: Date;
|
10886
|
+
updatedAt: Date;
|
10887
|
+
deletedAt: Date | null;
|
10888
|
+
entityId: string;
|
10889
|
+
queueId: string | null;
|
10890
|
+
contactId: string | null;
|
10891
|
+
caseId: number;
|
10892
|
+
entityName: string;
|
10893
|
+
agentId: string | null;
|
10894
|
+
startedDate: Date | null;
|
10895
|
+
handledTime: number | null;
|
10896
|
+
firstResponseTime: number | null;
|
10897
|
+
wrapUpForm: {
|
10898
|
+
id: string;
|
10899
|
+
disposition: string | null;
|
10900
|
+
createdAt: Date;
|
10901
|
+
updatedAt: Date;
|
10902
|
+
deletedAt: Date | null;
|
10903
|
+
tags: {
|
10904
|
+
id: string;
|
10905
|
+
name: string;
|
10906
|
+
createdAt: Date;
|
10907
|
+
updatedAt: Date;
|
10908
|
+
deletedAt: Date | null;
|
10909
|
+
}[];
|
10910
|
+
callFrom: string | null;
|
10911
|
+
callTo: string | null;
|
10912
|
+
note: string | null;
|
10913
|
+
} | null;
|
10914
|
+
};
|
9469
10915
|
assigneeId: string | null;
|
9470
10916
|
subject: string;
|
9471
10917
|
from: {
|
@@ -9520,6 +10966,8 @@ export declare const roomContract: {
|
|
9520
10966
|
emailEngineMessageId: string;
|
9521
10967
|
emailEngineReplyTo: string | null;
|
9522
10968
|
unseen: boolean;
|
10969
|
+
sendAt: Date;
|
10970
|
+
starred: boolean;
|
9523
10971
|
seemsLikeNew: boolean;
|
9524
10972
|
from: {
|
9525
10973
|
id: string;
|
@@ -9595,6 +11043,8 @@ export declare const roomContract: {
|
|
9595
11043
|
emailEngineMessageId: string;
|
9596
11044
|
emailEngineReplyTo: string | null;
|
9597
11045
|
unseen: boolean;
|
11046
|
+
sendAt: Date;
|
11047
|
+
starred: boolean;
|
9598
11048
|
seemsLikeNew: boolean;
|
9599
11049
|
from: {
|
9600
11050
|
id: string;
|
@@ -9670,6 +11120,8 @@ export declare const roomContract: {
|
|
9670
11120
|
emailEngineMessageId: string;
|
9671
11121
|
emailEngineReplyTo: string | null;
|
9672
11122
|
unseen: boolean;
|
11123
|
+
sendAt: Date;
|
11124
|
+
starred: boolean;
|
9673
11125
|
seemsLikeNew: boolean;
|
9674
11126
|
from: {
|
9675
11127
|
id: string;
|
@@ -9808,6 +11260,8 @@ export declare const roomContract: {
|
|
9808
11260
|
emailEngineMessageId: string;
|
9809
11261
|
emailEngineReplyTo: string | null;
|
9810
11262
|
unseen: boolean;
|
11263
|
+
sendAt: Date;
|
11264
|
+
starred: boolean;
|
9811
11265
|
seemsLikeNew: boolean;
|
9812
11266
|
from: {
|
9813
11267
|
id: string;
|
@@ -9878,6 +11332,40 @@ export declare const roomContract: {
|
|
9878
11332
|
notificationCount: number | null;
|
9879
11333
|
};
|
9880
11334
|
resolved: boolean;
|
11335
|
+
cxlog: {
|
11336
|
+
id: string;
|
11337
|
+
channel: string | null;
|
11338
|
+
direction: string | null;
|
11339
|
+
createdAt: Date;
|
11340
|
+
updatedAt: Date;
|
11341
|
+
deletedAt: Date | null;
|
11342
|
+
entityId: string;
|
11343
|
+
queueId: string | null;
|
11344
|
+
contactId: string | null;
|
11345
|
+
caseId: number;
|
11346
|
+
entityName: string;
|
11347
|
+
agentId: string | null;
|
11348
|
+
startedDate: Date | null;
|
11349
|
+
handledTime: number | null;
|
11350
|
+
firstResponseTime: number | null;
|
11351
|
+
wrapUpForm: {
|
11352
|
+
id: string;
|
11353
|
+
disposition: string | null;
|
11354
|
+
createdAt: Date;
|
11355
|
+
updatedAt: Date;
|
11356
|
+
deletedAt: Date | null;
|
11357
|
+
tags: {
|
11358
|
+
id: string;
|
11359
|
+
name: string;
|
11360
|
+
createdAt: Date;
|
11361
|
+
updatedAt: Date;
|
11362
|
+
deletedAt: Date | null;
|
11363
|
+
}[];
|
11364
|
+
callFrom: string | null;
|
11365
|
+
callTo: string | null;
|
11366
|
+
note: string | null;
|
11367
|
+
} | null;
|
11368
|
+
};
|
9881
11369
|
assigneeId: string | null;
|
9882
11370
|
subject: string;
|
9883
11371
|
from: {
|
@@ -9932,6 +11420,8 @@ export declare const roomContract: {
|
|
9932
11420
|
emailEngineMessageId: string;
|
9933
11421
|
emailEngineReplyTo: string | null;
|
9934
11422
|
unseen: boolean;
|
11423
|
+
sendAt: Date;
|
11424
|
+
starred: boolean;
|
9935
11425
|
seemsLikeNew: boolean;
|
9936
11426
|
from: {
|
9937
11427
|
id: string;
|
@@ -10007,6 +11497,8 @@ export declare const roomContract: {
|
|
10007
11497
|
emailEngineMessageId: string;
|
10008
11498
|
emailEngineReplyTo: string | null;
|
10009
11499
|
unseen: boolean;
|
11500
|
+
sendAt: Date;
|
11501
|
+
starred: boolean;
|
10010
11502
|
seemsLikeNew: boolean;
|
10011
11503
|
from: {
|
10012
11504
|
id: string;
|
@@ -10082,6 +11574,8 @@ export declare const roomContract: {
|
|
10082
11574
|
emailEngineMessageId: string;
|
10083
11575
|
emailEngineReplyTo: string | null;
|
10084
11576
|
unseen: boolean;
|
11577
|
+
sendAt: Date;
|
11578
|
+
starred: boolean;
|
10085
11579
|
seemsLikeNew: boolean;
|
10086
11580
|
from: {
|
10087
11581
|
id: string;
|
@@ -10221,6 +11715,8 @@ export declare const roomContract: {
|
|
10221
11715
|
emailEngineMessageId: string;
|
10222
11716
|
emailEngineReplyTo: string | null;
|
10223
11717
|
unseen: boolean;
|
11718
|
+
sendAt: Date;
|
11719
|
+
starred: boolean;
|
10224
11720
|
seemsLikeNew: boolean;
|
10225
11721
|
from: {
|
10226
11722
|
id: string;
|
@@ -10291,6 +11787,40 @@ export declare const roomContract: {
|
|
10291
11787
|
notificationCount: number | null;
|
10292
11788
|
};
|
10293
11789
|
resolved: boolean;
|
11790
|
+
cxlog: {
|
11791
|
+
id: string;
|
11792
|
+
channel: string | null;
|
11793
|
+
direction: string | null;
|
11794
|
+
createdAt: Date;
|
11795
|
+
updatedAt: Date;
|
11796
|
+
deletedAt: Date | null;
|
11797
|
+
entityId: string;
|
11798
|
+
queueId: string | null;
|
11799
|
+
contactId: string | null;
|
11800
|
+
caseId: number;
|
11801
|
+
entityName: string;
|
11802
|
+
agentId: string | null;
|
11803
|
+
startedDate: Date | null;
|
11804
|
+
handledTime: number | null;
|
11805
|
+
firstResponseTime: number | null;
|
11806
|
+
wrapUpForm: {
|
11807
|
+
id: string;
|
11808
|
+
disposition: string | null;
|
11809
|
+
createdAt: Date;
|
11810
|
+
updatedAt: Date;
|
11811
|
+
deletedAt: Date | null;
|
11812
|
+
tags: {
|
11813
|
+
id: string;
|
11814
|
+
name: string;
|
11815
|
+
createdAt: Date;
|
11816
|
+
updatedAt: Date;
|
11817
|
+
deletedAt: Date | null;
|
11818
|
+
}[];
|
11819
|
+
callFrom: string | null;
|
11820
|
+
callTo: string | null;
|
11821
|
+
note: string | null;
|
11822
|
+
} | null;
|
11823
|
+
};
|
10294
11824
|
assigneeId: string | null;
|
10295
11825
|
subject: string;
|
10296
11826
|
from: {
|
@@ -10345,6 +11875,8 @@ export declare const roomContract: {
|
|
10345
11875
|
emailEngineMessageId: string;
|
10346
11876
|
emailEngineReplyTo: string | null;
|
10347
11877
|
unseen: boolean;
|
11878
|
+
sendAt: Date;
|
11879
|
+
starred: boolean;
|
10348
11880
|
seemsLikeNew: boolean;
|
10349
11881
|
from: {
|
10350
11882
|
id: string;
|
@@ -10420,6 +11952,8 @@ export declare const roomContract: {
|
|
10420
11952
|
emailEngineMessageId: string;
|
10421
11953
|
emailEngineReplyTo: string | null;
|
10422
11954
|
unseen: boolean;
|
11955
|
+
sendAt: Date;
|
11956
|
+
starred: boolean;
|
10423
11957
|
seemsLikeNew: boolean;
|
10424
11958
|
from: {
|
10425
11959
|
id: string;
|
@@ -10495,6 +12029,8 @@ export declare const roomContract: {
|
|
10495
12029
|
emailEngineMessageId: string;
|
10496
12030
|
emailEngineReplyTo: string | null;
|
10497
12031
|
unseen: boolean;
|
12032
|
+
sendAt: Date;
|
12033
|
+
starred: boolean;
|
10498
12034
|
seemsLikeNew: boolean;
|
10499
12035
|
from: {
|
10500
12036
|
id: string;
|
@@ -10605,59 +12141,5 @@ export declare const roomContract: {
|
|
10605
12141
|
};
|
10606
12142
|
path: "mail/room/:id";
|
10607
12143
|
};
|
10608
|
-
markAsRead: {
|
10609
|
-
summary: "Mark all the un read messages as read";
|
10610
|
-
method: "GET";
|
10611
|
-
pathParams: z.ZodObject<{
|
10612
|
-
id: z.ZodString;
|
10613
|
-
}, "strip", z.ZodTypeAny, {
|
10614
|
-
id: string;
|
10615
|
-
}, {
|
10616
|
-
id: string;
|
10617
|
-
}>;
|
10618
|
-
responses: {
|
10619
|
-
401: z.ZodObject<{
|
10620
|
-
message: z.ZodString;
|
10621
|
-
error: z.ZodAny;
|
10622
|
-
}, "strip", z.ZodTypeAny, {
|
10623
|
-
message: string;
|
10624
|
-
error?: any;
|
10625
|
-
}, {
|
10626
|
-
message: string;
|
10627
|
-
error?: any;
|
10628
|
-
}>;
|
10629
|
-
404: z.ZodObject<{
|
10630
|
-
message: z.ZodString;
|
10631
|
-
error: z.ZodAny;
|
10632
|
-
}, "strip", z.ZodTypeAny, {
|
10633
|
-
message: string;
|
10634
|
-
error?: any;
|
10635
|
-
}, {
|
10636
|
-
message: string;
|
10637
|
-
error?: any;
|
10638
|
-
}>;
|
10639
|
-
422: z.ZodObject<{
|
10640
|
-
message: z.ZodString;
|
10641
|
-
error: z.ZodAny;
|
10642
|
-
}, "strip", z.ZodTypeAny, {
|
10643
|
-
message: string;
|
10644
|
-
error?: any;
|
10645
|
-
}, {
|
10646
|
-
message: string;
|
10647
|
-
error?: any;
|
10648
|
-
}>;
|
10649
|
-
200: z.ZodObject<{
|
10650
|
-
requestId: z.ZodString;
|
10651
|
-
message: z.ZodString;
|
10652
|
-
}, "strip", z.ZodTypeAny, {
|
10653
|
-
message: string;
|
10654
|
-
requestId: string;
|
10655
|
-
}, {
|
10656
|
-
message: string;
|
10657
|
-
requestId: string;
|
10658
|
-
}>;
|
10659
|
-
};
|
10660
|
-
path: "mail/room/:id";
|
10661
|
-
};
|
10662
12144
|
};
|
10663
12145
|
//# sourceMappingURL=room-contract.d.ts.map
|