@kl1/contracts 1.1.22 → 1.1.23
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 +579 -211
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +578 -211
- package/dist/index.mjs.map +1 -1
- package/dist/src/business-calendar/index.d.ts +799 -0
- package/dist/src/business-calendar/index.d.ts.map +1 -0
- package/dist/src/business-calendar/schema.d.ts +172 -0
- package/dist/src/business-calendar/schema.d.ts.map +1 -0
- package/dist/src/business-calendar/validation.d.ts +210 -0
- package/dist/src/business-calendar/validation.d.ts.map +1 -0
- 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 +5144 -299
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +807 -47
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +1093 -118
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +26553 -6263
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +376 -31
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +577 -27
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +628 -138
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +623 -133
- 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 +3277 -435
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +58 -1
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +3009 -450
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +731 -6
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +557 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +628 -138
- 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 +592 -102
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +8506 -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/dist/src/workflow-rule/index.d.ts +7295 -0
- package/dist/src/workflow-rule/index.d.ts.map +1 -0
- package/dist/src/workflow-rule/schema.d.ts +27 -0
- package/dist/src/workflow-rule/schema.d.ts.map +1 -0
- package/dist/src/wrap-up-form/index.d.ts +1000 -6
- package/dist/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/schema.d.ts +207 -2
- package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/src/wrap-up-form/validation.d.ts +29 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
- package/package.json +1 -1
@@ -54,19 +54,49 @@ export declare const mailContract: {
|
|
54
54
|
query: import("zod").ZodObject<{
|
55
55
|
page: import("zod").ZodDefault<import("zod").ZodNumber>;
|
56
56
|
pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
57
|
-
keyword: import("zod").ZodOptional<import("zod").
|
57
|
+
keyword: import("zod").ZodOptional<import("zod").ZodObject<{
|
58
|
+
value: import("zod").ZodString;
|
59
|
+
category: import("zod").ZodUnion<[import("zod").ZodLiteral<"contact">, import("zod").ZodLiteral<"message">]>;
|
60
|
+
}, "strip", import("zod").ZodTypeAny, {
|
61
|
+
value: string;
|
62
|
+
category: "message" | "contact";
|
63
|
+
}, {
|
64
|
+
value: string;
|
65
|
+
category: "message" | "contact";
|
66
|
+
}>>;
|
67
|
+
contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
68
|
+
channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
69
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
70
|
+
contacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
71
|
+
assignees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
58
72
|
level1: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"open">, import("zod").ZodLiteral<"close">, import("zod").ZodLiteral<"inbox">, import("zod").ZodLiteral<"sent">, import("zod").ZodLiteral<"scheduled">, import("zod").ZodLiteral<"starred">]>>;
|
59
73
|
level2: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"all">, import("zod").ZodLiteral<"unassign">, import("zod").ZodLiteral<"mine">, import("zod").ZodLiteral<"other">]>>;
|
60
74
|
}, "strip", import("zod").ZodTypeAny, {
|
61
75
|
page: number;
|
62
76
|
pageSize: number;
|
63
|
-
keyword?:
|
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;
|
64
86
|
level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
|
65
87
|
level2?: "all" | "other" | "unassign" | "mine" | undefined;
|
66
88
|
}, {
|
67
89
|
page?: number | undefined;
|
68
90
|
pageSize?: number | undefined;
|
69
|
-
keyword?:
|
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;
|
70
100
|
level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
|
71
101
|
level2?: "all" | "other" | "unassign" | "mine" | undefined;
|
72
102
|
}>;
|
@@ -1827,6 +1857,425 @@ export declare const mailContract: {
|
|
1827
1857
|
};
|
1828
1858
|
}>;
|
1829
1859
|
unReadMessageCount: import("zod").ZodNumber;
|
1860
|
+
cxlog: import("zod").ZodObject<{
|
1861
|
+
id: import("zod").ZodString;
|
1862
|
+
createdAt: import("zod").ZodDate;
|
1863
|
+
updatedAt: import("zod").ZodDate;
|
1864
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
1865
|
+
caseId: import("zod").ZodNumber;
|
1866
|
+
entityId: import("zod").ZodString;
|
1867
|
+
entityName: import("zod").ZodString;
|
1868
|
+
contactId: import("zod").ZodNullable<import("zod").ZodString>;
|
1869
|
+
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
1870
|
+
queueId: import("zod").ZodNullable<import("zod").ZodString>;
|
1871
|
+
agentId: import("zod").ZodNullable<import("zod").ZodString>;
|
1872
|
+
direction: import("zod").ZodNullable<import("zod").ZodString>;
|
1873
|
+
startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
|
1874
|
+
handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
1875
|
+
firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
1876
|
+
wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
|
1877
|
+
id: import("zod").ZodString;
|
1878
|
+
createdAt: import("zod").ZodDate;
|
1879
|
+
updatedAt: import("zod").ZodDate;
|
1880
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
1881
|
+
note: import("zod").ZodNullable<import("zod").ZodString>;
|
1882
|
+
disposition: import("zod").ZodNullable<import("zod").ZodString>;
|
1883
|
+
type: import("zod").ZodString;
|
1884
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
1885
|
+
id: import("zod").ZodString;
|
1886
|
+
createdAt: import("zod").ZodDate;
|
1887
|
+
updatedAt: import("zod").ZodDate;
|
1888
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
1889
|
+
name: import("zod").ZodString;
|
1890
|
+
}, "strip", import("zod").ZodTypeAny, {
|
1891
|
+
id: string;
|
1892
|
+
name: string;
|
1893
|
+
createdAt: Date;
|
1894
|
+
updatedAt: Date;
|
1895
|
+
deletedAt: Date | null;
|
1896
|
+
}, {
|
1897
|
+
id: string;
|
1898
|
+
name: string;
|
1899
|
+
createdAt: Date;
|
1900
|
+
updatedAt: Date;
|
1901
|
+
deletedAt: Date | null;
|
1902
|
+
}>, "many">;
|
1903
|
+
categories: import("zod").ZodArray<import("zod").ZodObject<{
|
1904
|
+
id: import("zod").ZodString;
|
1905
|
+
createdAt: import("zod").ZodDate;
|
1906
|
+
updatedAt: import("zod").ZodDate;
|
1907
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
1908
|
+
value: import("zod").ZodString;
|
1909
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
1910
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
1911
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodObject<{
|
1912
|
+
id: import("zod").ZodString;
|
1913
|
+
value: import("zod").ZodString;
|
1914
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
1915
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
1916
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodObject<{
|
1917
|
+
id: import("zod").ZodString;
|
1918
|
+
value: import("zod").ZodString;
|
1919
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
1920
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
1921
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodAny, "many">;
|
1922
|
+
}, "strip", import("zod").ZodTypeAny, {
|
1923
|
+
id: string;
|
1924
|
+
value: string;
|
1925
|
+
level: 2 | 1 | 3;
|
1926
|
+
parentId: string | null;
|
1927
|
+
childCategoryList: any[];
|
1928
|
+
}, {
|
1929
|
+
id: string;
|
1930
|
+
value: string;
|
1931
|
+
level: 2 | 1 | 3;
|
1932
|
+
parentId: string | null;
|
1933
|
+
childCategoryList: any[];
|
1934
|
+
}>, "many">;
|
1935
|
+
}, "strip", import("zod").ZodTypeAny, {
|
1936
|
+
id: string;
|
1937
|
+
value: string;
|
1938
|
+
level: 2 | 1 | 3;
|
1939
|
+
parentId: string | null;
|
1940
|
+
childCategoryList: {
|
1941
|
+
id: string;
|
1942
|
+
value: string;
|
1943
|
+
level: 2 | 1 | 3;
|
1944
|
+
parentId: string | null;
|
1945
|
+
childCategoryList: any[];
|
1946
|
+
}[];
|
1947
|
+
}, {
|
1948
|
+
id: string;
|
1949
|
+
value: string;
|
1950
|
+
level: 2 | 1 | 3;
|
1951
|
+
parentId: string | null;
|
1952
|
+
childCategoryList: {
|
1953
|
+
id: string;
|
1954
|
+
value: string;
|
1955
|
+
level: 2 | 1 | 3;
|
1956
|
+
parentId: string | null;
|
1957
|
+
childCategoryList: any[];
|
1958
|
+
}[];
|
1959
|
+
}>, "many">;
|
1960
|
+
}, "strip", import("zod").ZodTypeAny, {
|
1961
|
+
id: string;
|
1962
|
+
value: string;
|
1963
|
+
createdAt: Date;
|
1964
|
+
updatedAt: Date;
|
1965
|
+
deletedAt: Date | null;
|
1966
|
+
level: 2 | 1 | 3;
|
1967
|
+
parentId: string | null;
|
1968
|
+
childCategoryList: {
|
1969
|
+
id: string;
|
1970
|
+
value: string;
|
1971
|
+
level: 2 | 1 | 3;
|
1972
|
+
parentId: string | null;
|
1973
|
+
childCategoryList: {
|
1974
|
+
id: string;
|
1975
|
+
value: string;
|
1976
|
+
level: 2 | 1 | 3;
|
1977
|
+
parentId: string | null;
|
1978
|
+
childCategoryList: any[];
|
1979
|
+
}[];
|
1980
|
+
}[];
|
1981
|
+
}, {
|
1982
|
+
id: string;
|
1983
|
+
value: string;
|
1984
|
+
createdAt: Date;
|
1985
|
+
updatedAt: Date;
|
1986
|
+
deletedAt: Date | null;
|
1987
|
+
level: 2 | 1 | 3;
|
1988
|
+
parentId: string | null;
|
1989
|
+
childCategoryList: {
|
1990
|
+
id: string;
|
1991
|
+
value: string;
|
1992
|
+
level: 2 | 1 | 3;
|
1993
|
+
parentId: string | null;
|
1994
|
+
childCategoryList: {
|
1995
|
+
id: string;
|
1996
|
+
value: string;
|
1997
|
+
level: 2 | 1 | 3;
|
1998
|
+
parentId: string | null;
|
1999
|
+
childCategoryList: any[];
|
2000
|
+
}[];
|
2001
|
+
}[];
|
2002
|
+
}>, "many">;
|
2003
|
+
callFrom: import("zod").ZodNullable<import("zod").ZodString>;
|
2004
|
+
callTo: import("zod").ZodNullable<import("zod").ZodString>;
|
2005
|
+
customFields: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
2006
|
+
id: import("zod").ZodString;
|
2007
|
+
createdAt: import("zod").ZodDate;
|
2008
|
+
updatedAt: import("zod").ZodDate;
|
2009
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
2010
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
2011
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
2012
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
2013
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
2014
|
+
entityId: import("zod").ZodString;
|
2015
|
+
attributeId: import("zod").ZodString;
|
2016
|
+
}, "strip", import("zod").ZodTypeAny, {
|
2017
|
+
id: string;
|
2018
|
+
createdAt: Date;
|
2019
|
+
updatedAt: Date;
|
2020
|
+
deletedAt: Date | null;
|
2021
|
+
entityId: string;
|
2022
|
+
attributeId: string;
|
2023
|
+
textValue: string | null;
|
2024
|
+
booleanValue: boolean | null;
|
2025
|
+
numberValue: number | null;
|
2026
|
+
dateValue: Date | null;
|
2027
|
+
}, {
|
2028
|
+
id: string;
|
2029
|
+
createdAt: Date;
|
2030
|
+
updatedAt: Date;
|
2031
|
+
deletedAt: Date | null;
|
2032
|
+
entityId: string;
|
2033
|
+
attributeId: string;
|
2034
|
+
textValue: string | null;
|
2035
|
+
booleanValue: boolean | null;
|
2036
|
+
numberValue: number | null;
|
2037
|
+
dateValue: Date | null;
|
2038
|
+
}>, "many">>>;
|
2039
|
+
}, "strip", import("zod").ZodTypeAny, {
|
2040
|
+
type: string;
|
2041
|
+
id: string;
|
2042
|
+
disposition: string | null;
|
2043
|
+
createdAt: Date;
|
2044
|
+
updatedAt: Date;
|
2045
|
+
deletedAt: Date | null;
|
2046
|
+
categories: {
|
2047
|
+
id: string;
|
2048
|
+
value: string;
|
2049
|
+
createdAt: Date;
|
2050
|
+
updatedAt: Date;
|
2051
|
+
deletedAt: Date | null;
|
2052
|
+
level: 2 | 1 | 3;
|
2053
|
+
parentId: string | null;
|
2054
|
+
childCategoryList: {
|
2055
|
+
id: string;
|
2056
|
+
value: string;
|
2057
|
+
level: 2 | 1 | 3;
|
2058
|
+
parentId: string | null;
|
2059
|
+
childCategoryList: {
|
2060
|
+
id: string;
|
2061
|
+
value: string;
|
2062
|
+
level: 2 | 1 | 3;
|
2063
|
+
parentId: string | null;
|
2064
|
+
childCategoryList: any[];
|
2065
|
+
}[];
|
2066
|
+
}[];
|
2067
|
+
}[];
|
2068
|
+
tags: {
|
2069
|
+
id: string;
|
2070
|
+
name: string;
|
2071
|
+
createdAt: Date;
|
2072
|
+
updatedAt: Date;
|
2073
|
+
deletedAt: Date | null;
|
2074
|
+
}[];
|
2075
|
+
callFrom: string | null;
|
2076
|
+
callTo: string | null;
|
2077
|
+
note: string | null;
|
2078
|
+
customFields?: {
|
2079
|
+
id: string;
|
2080
|
+
createdAt: Date;
|
2081
|
+
updatedAt: Date;
|
2082
|
+
deletedAt: Date | null;
|
2083
|
+
entityId: string;
|
2084
|
+
attributeId: string;
|
2085
|
+
textValue: string | null;
|
2086
|
+
booleanValue: boolean | null;
|
2087
|
+
numberValue: number | null;
|
2088
|
+
dateValue: Date | null;
|
2089
|
+
}[] | null | undefined;
|
2090
|
+
}, {
|
2091
|
+
type: string;
|
2092
|
+
id: string;
|
2093
|
+
disposition: string | null;
|
2094
|
+
createdAt: Date;
|
2095
|
+
updatedAt: Date;
|
2096
|
+
deletedAt: Date | null;
|
2097
|
+
categories: {
|
2098
|
+
id: string;
|
2099
|
+
value: string;
|
2100
|
+
createdAt: Date;
|
2101
|
+
updatedAt: Date;
|
2102
|
+
deletedAt: Date | null;
|
2103
|
+
level: 2 | 1 | 3;
|
2104
|
+
parentId: string | null;
|
2105
|
+
childCategoryList: {
|
2106
|
+
id: string;
|
2107
|
+
value: string;
|
2108
|
+
level: 2 | 1 | 3;
|
2109
|
+
parentId: string | null;
|
2110
|
+
childCategoryList: {
|
2111
|
+
id: string;
|
2112
|
+
value: string;
|
2113
|
+
level: 2 | 1 | 3;
|
2114
|
+
parentId: string | null;
|
2115
|
+
childCategoryList: any[];
|
2116
|
+
}[];
|
2117
|
+
}[];
|
2118
|
+
}[];
|
2119
|
+
tags: {
|
2120
|
+
id: string;
|
2121
|
+
name: string;
|
2122
|
+
createdAt: Date;
|
2123
|
+
updatedAt: Date;
|
2124
|
+
deletedAt: Date | null;
|
2125
|
+
}[];
|
2126
|
+
callFrom: string | null;
|
2127
|
+
callTo: string | null;
|
2128
|
+
note: string | null;
|
2129
|
+
customFields?: {
|
2130
|
+
id: string;
|
2131
|
+
createdAt: Date;
|
2132
|
+
updatedAt: Date;
|
2133
|
+
deletedAt: Date | null;
|
2134
|
+
entityId: string;
|
2135
|
+
attributeId: string;
|
2136
|
+
textValue: string | null;
|
2137
|
+
booleanValue: boolean | null;
|
2138
|
+
numberValue: number | null;
|
2139
|
+
dateValue: Date | null;
|
2140
|
+
}[] | null | undefined;
|
2141
|
+
}>>;
|
2142
|
+
}, "strip", import("zod").ZodTypeAny, {
|
2143
|
+
id: string;
|
2144
|
+
channel: string | null;
|
2145
|
+
direction: string | null;
|
2146
|
+
createdAt: Date;
|
2147
|
+
updatedAt: Date;
|
2148
|
+
deletedAt: Date | null;
|
2149
|
+
entityId: string;
|
2150
|
+
queueId: string | null;
|
2151
|
+
contactId: string | null;
|
2152
|
+
caseId: number;
|
2153
|
+
entityName: string;
|
2154
|
+
agentId: string | null;
|
2155
|
+
startedDate: Date | null;
|
2156
|
+
handledTime: number | null;
|
2157
|
+
firstResponseTime: number | null;
|
2158
|
+
wrapUpForm: {
|
2159
|
+
type: string;
|
2160
|
+
id: string;
|
2161
|
+
disposition: string | null;
|
2162
|
+
createdAt: Date;
|
2163
|
+
updatedAt: Date;
|
2164
|
+
deletedAt: Date | null;
|
2165
|
+
categories: {
|
2166
|
+
id: string;
|
2167
|
+
value: string;
|
2168
|
+
createdAt: Date;
|
2169
|
+
updatedAt: Date;
|
2170
|
+
deletedAt: Date | null;
|
2171
|
+
level: 2 | 1 | 3;
|
2172
|
+
parentId: string | null;
|
2173
|
+
childCategoryList: {
|
2174
|
+
id: string;
|
2175
|
+
value: string;
|
2176
|
+
level: 2 | 1 | 3;
|
2177
|
+
parentId: string | null;
|
2178
|
+
childCategoryList: {
|
2179
|
+
id: string;
|
2180
|
+
value: string;
|
2181
|
+
level: 2 | 1 | 3;
|
2182
|
+
parentId: string | null;
|
2183
|
+
childCategoryList: any[];
|
2184
|
+
}[];
|
2185
|
+
}[];
|
2186
|
+
}[];
|
2187
|
+
tags: {
|
2188
|
+
id: string;
|
2189
|
+
name: string;
|
2190
|
+
createdAt: Date;
|
2191
|
+
updatedAt: Date;
|
2192
|
+
deletedAt: Date | null;
|
2193
|
+
}[];
|
2194
|
+
callFrom: string | null;
|
2195
|
+
callTo: string | null;
|
2196
|
+
note: string | null;
|
2197
|
+
customFields?: {
|
2198
|
+
id: string;
|
2199
|
+
createdAt: Date;
|
2200
|
+
updatedAt: Date;
|
2201
|
+
deletedAt: Date | null;
|
2202
|
+
entityId: string;
|
2203
|
+
attributeId: string;
|
2204
|
+
textValue: string | null;
|
2205
|
+
booleanValue: boolean | null;
|
2206
|
+
numberValue: number | null;
|
2207
|
+
dateValue: Date | null;
|
2208
|
+
}[] | null | undefined;
|
2209
|
+
} | null;
|
2210
|
+
}, {
|
2211
|
+
id: string;
|
2212
|
+
channel: string | null;
|
2213
|
+
direction: string | null;
|
2214
|
+
createdAt: Date;
|
2215
|
+
updatedAt: Date;
|
2216
|
+
deletedAt: Date | null;
|
2217
|
+
entityId: string;
|
2218
|
+
queueId: string | null;
|
2219
|
+
contactId: string | null;
|
2220
|
+
caseId: number;
|
2221
|
+
entityName: string;
|
2222
|
+
agentId: string | null;
|
2223
|
+
startedDate: Date | null;
|
2224
|
+
handledTime: number | null;
|
2225
|
+
firstResponseTime: number | null;
|
2226
|
+
wrapUpForm: {
|
2227
|
+
type: string;
|
2228
|
+
id: string;
|
2229
|
+
disposition: string | null;
|
2230
|
+
createdAt: Date;
|
2231
|
+
updatedAt: Date;
|
2232
|
+
deletedAt: Date | null;
|
2233
|
+
categories: {
|
2234
|
+
id: string;
|
2235
|
+
value: string;
|
2236
|
+
createdAt: Date;
|
2237
|
+
updatedAt: Date;
|
2238
|
+
deletedAt: Date | null;
|
2239
|
+
level: 2 | 1 | 3;
|
2240
|
+
parentId: string | null;
|
2241
|
+
childCategoryList: {
|
2242
|
+
id: string;
|
2243
|
+
value: string;
|
2244
|
+
level: 2 | 1 | 3;
|
2245
|
+
parentId: string | null;
|
2246
|
+
childCategoryList: {
|
2247
|
+
id: string;
|
2248
|
+
value: string;
|
2249
|
+
level: 2 | 1 | 3;
|
2250
|
+
parentId: string | null;
|
2251
|
+
childCategoryList: any[];
|
2252
|
+
}[];
|
2253
|
+
}[];
|
2254
|
+
}[];
|
2255
|
+
tags: {
|
2256
|
+
id: string;
|
2257
|
+
name: string;
|
2258
|
+
createdAt: Date;
|
2259
|
+
updatedAt: Date;
|
2260
|
+
deletedAt: Date | null;
|
2261
|
+
}[];
|
2262
|
+
callFrom: string | null;
|
2263
|
+
callTo: string | null;
|
2264
|
+
note: string | null;
|
2265
|
+
customFields?: {
|
2266
|
+
id: string;
|
2267
|
+
createdAt: Date;
|
2268
|
+
updatedAt: Date;
|
2269
|
+
deletedAt: Date | null;
|
2270
|
+
entityId: string;
|
2271
|
+
attributeId: string;
|
2272
|
+
textValue: string | null;
|
2273
|
+
booleanValue: boolean | null;
|
2274
|
+
numberValue: number | null;
|
2275
|
+
dateValue: Date | null;
|
2276
|
+
}[] | null | undefined;
|
2277
|
+
} | null;
|
2278
|
+
}>;
|
1830
2279
|
}, "strip", import("zod").ZodTypeAny, {
|
1831
2280
|
id: string;
|
1832
2281
|
direction: string;
|
@@ -1929,6 +2378,75 @@ export declare const mailContract: {
|
|
1929
2378
|
notificationCount: number | null;
|
1930
2379
|
};
|
1931
2380
|
resolved: boolean;
|
2381
|
+
cxlog: {
|
2382
|
+
id: string;
|
2383
|
+
channel: string | null;
|
2384
|
+
direction: string | null;
|
2385
|
+
createdAt: Date;
|
2386
|
+
updatedAt: Date;
|
2387
|
+
deletedAt: Date | null;
|
2388
|
+
entityId: string;
|
2389
|
+
queueId: string | null;
|
2390
|
+
contactId: string | null;
|
2391
|
+
caseId: number;
|
2392
|
+
entityName: string;
|
2393
|
+
agentId: string | null;
|
2394
|
+
startedDate: Date | null;
|
2395
|
+
handledTime: number | null;
|
2396
|
+
firstResponseTime: number | null;
|
2397
|
+
wrapUpForm: {
|
2398
|
+
type: string;
|
2399
|
+
id: string;
|
2400
|
+
disposition: string | null;
|
2401
|
+
createdAt: Date;
|
2402
|
+
updatedAt: Date;
|
2403
|
+
deletedAt: Date | null;
|
2404
|
+
categories: {
|
2405
|
+
id: string;
|
2406
|
+
value: string;
|
2407
|
+
createdAt: Date;
|
2408
|
+
updatedAt: Date;
|
2409
|
+
deletedAt: Date | null;
|
2410
|
+
level: 2 | 1 | 3;
|
2411
|
+
parentId: string | null;
|
2412
|
+
childCategoryList: {
|
2413
|
+
id: string;
|
2414
|
+
value: string;
|
2415
|
+
level: 2 | 1 | 3;
|
2416
|
+
parentId: string | null;
|
2417
|
+
childCategoryList: {
|
2418
|
+
id: string;
|
2419
|
+
value: string;
|
2420
|
+
level: 2 | 1 | 3;
|
2421
|
+
parentId: string | null;
|
2422
|
+
childCategoryList: any[];
|
2423
|
+
}[];
|
2424
|
+
}[];
|
2425
|
+
}[];
|
2426
|
+
tags: {
|
2427
|
+
id: string;
|
2428
|
+
name: string;
|
2429
|
+
createdAt: Date;
|
2430
|
+
updatedAt: Date;
|
2431
|
+
deletedAt: Date | null;
|
2432
|
+
}[];
|
2433
|
+
callFrom: string | null;
|
2434
|
+
callTo: string | null;
|
2435
|
+
note: string | null;
|
2436
|
+
customFields?: {
|
2437
|
+
id: string;
|
2438
|
+
createdAt: Date;
|
2439
|
+
updatedAt: Date;
|
2440
|
+
deletedAt: Date | null;
|
2441
|
+
entityId: string;
|
2442
|
+
attributeId: string;
|
2443
|
+
textValue: string | null;
|
2444
|
+
booleanValue: boolean | null;
|
2445
|
+
numberValue: number | null;
|
2446
|
+
dateValue: Date | null;
|
2447
|
+
}[] | null | undefined;
|
2448
|
+
} | null;
|
2449
|
+
};
|
1932
2450
|
assigneeId: string | null;
|
1933
2451
|
subject: string;
|
1934
2452
|
from: {
|
@@ -2339,6 +2857,75 @@ export declare const mailContract: {
|
|
2339
2857
|
notificationCount: number | null;
|
2340
2858
|
};
|
2341
2859
|
resolved: boolean;
|
2860
|
+
cxlog: {
|
2861
|
+
id: string;
|
2862
|
+
channel: string | null;
|
2863
|
+
direction: string | null;
|
2864
|
+
createdAt: Date;
|
2865
|
+
updatedAt: Date;
|
2866
|
+
deletedAt: Date | null;
|
2867
|
+
entityId: string;
|
2868
|
+
queueId: string | null;
|
2869
|
+
contactId: string | null;
|
2870
|
+
caseId: number;
|
2871
|
+
entityName: string;
|
2872
|
+
agentId: string | null;
|
2873
|
+
startedDate: Date | null;
|
2874
|
+
handledTime: number | null;
|
2875
|
+
firstResponseTime: number | null;
|
2876
|
+
wrapUpForm: {
|
2877
|
+
type: string;
|
2878
|
+
id: string;
|
2879
|
+
disposition: string | null;
|
2880
|
+
createdAt: Date;
|
2881
|
+
updatedAt: Date;
|
2882
|
+
deletedAt: Date | null;
|
2883
|
+
categories: {
|
2884
|
+
id: string;
|
2885
|
+
value: string;
|
2886
|
+
createdAt: Date;
|
2887
|
+
updatedAt: Date;
|
2888
|
+
deletedAt: Date | null;
|
2889
|
+
level: 2 | 1 | 3;
|
2890
|
+
parentId: string | null;
|
2891
|
+
childCategoryList: {
|
2892
|
+
id: string;
|
2893
|
+
value: string;
|
2894
|
+
level: 2 | 1 | 3;
|
2895
|
+
parentId: string | null;
|
2896
|
+
childCategoryList: {
|
2897
|
+
id: string;
|
2898
|
+
value: string;
|
2899
|
+
level: 2 | 1 | 3;
|
2900
|
+
parentId: string | null;
|
2901
|
+
childCategoryList: any[];
|
2902
|
+
}[];
|
2903
|
+
}[];
|
2904
|
+
}[];
|
2905
|
+
tags: {
|
2906
|
+
id: string;
|
2907
|
+
name: string;
|
2908
|
+
createdAt: Date;
|
2909
|
+
updatedAt: Date;
|
2910
|
+
deletedAt: Date | null;
|
2911
|
+
}[];
|
2912
|
+
callFrom: string | null;
|
2913
|
+
callTo: string | null;
|
2914
|
+
note: string | null;
|
2915
|
+
customFields?: {
|
2916
|
+
id: string;
|
2917
|
+
createdAt: Date;
|
2918
|
+
updatedAt: Date;
|
2919
|
+
deletedAt: Date | null;
|
2920
|
+
entityId: string;
|
2921
|
+
attributeId: string;
|
2922
|
+
textValue: string | null;
|
2923
|
+
booleanValue: boolean | null;
|
2924
|
+
numberValue: number | null;
|
2925
|
+
dateValue: Date | null;
|
2926
|
+
}[] | null | undefined;
|
2927
|
+
} | null;
|
2928
|
+
};
|
2342
2929
|
assigneeId: string | null;
|
2343
2930
|
subject: string;
|
2344
2931
|
from: {
|
@@ -2754,6 +3341,75 @@ export declare const mailContract: {
|
|
2754
3341
|
notificationCount: number | null;
|
2755
3342
|
};
|
2756
3343
|
resolved: boolean;
|
3344
|
+
cxlog: {
|
3345
|
+
id: string;
|
3346
|
+
channel: string | null;
|
3347
|
+
direction: string | null;
|
3348
|
+
createdAt: Date;
|
3349
|
+
updatedAt: Date;
|
3350
|
+
deletedAt: Date | null;
|
3351
|
+
entityId: string;
|
3352
|
+
queueId: string | null;
|
3353
|
+
contactId: string | null;
|
3354
|
+
caseId: number;
|
3355
|
+
entityName: string;
|
3356
|
+
agentId: string | null;
|
3357
|
+
startedDate: Date | null;
|
3358
|
+
handledTime: number | null;
|
3359
|
+
firstResponseTime: number | null;
|
3360
|
+
wrapUpForm: {
|
3361
|
+
type: string;
|
3362
|
+
id: string;
|
3363
|
+
disposition: string | null;
|
3364
|
+
createdAt: Date;
|
3365
|
+
updatedAt: Date;
|
3366
|
+
deletedAt: Date | null;
|
3367
|
+
categories: {
|
3368
|
+
id: string;
|
3369
|
+
value: string;
|
3370
|
+
createdAt: Date;
|
3371
|
+
updatedAt: Date;
|
3372
|
+
deletedAt: Date | null;
|
3373
|
+
level: 2 | 1 | 3;
|
3374
|
+
parentId: string | null;
|
3375
|
+
childCategoryList: {
|
3376
|
+
id: string;
|
3377
|
+
value: string;
|
3378
|
+
level: 2 | 1 | 3;
|
3379
|
+
parentId: string | null;
|
3380
|
+
childCategoryList: {
|
3381
|
+
id: string;
|
3382
|
+
value: string;
|
3383
|
+
level: 2 | 1 | 3;
|
3384
|
+
parentId: string | null;
|
3385
|
+
childCategoryList: any[];
|
3386
|
+
}[];
|
3387
|
+
}[];
|
3388
|
+
}[];
|
3389
|
+
tags: {
|
3390
|
+
id: string;
|
3391
|
+
name: string;
|
3392
|
+
createdAt: Date;
|
3393
|
+
updatedAt: Date;
|
3394
|
+
deletedAt: Date | null;
|
3395
|
+
}[];
|
3396
|
+
callFrom: string | null;
|
3397
|
+
callTo: string | null;
|
3398
|
+
note: string | null;
|
3399
|
+
customFields?: {
|
3400
|
+
id: string;
|
3401
|
+
createdAt: Date;
|
3402
|
+
updatedAt: Date;
|
3403
|
+
deletedAt: Date | null;
|
3404
|
+
entityId: string;
|
3405
|
+
attributeId: string;
|
3406
|
+
textValue: string | null;
|
3407
|
+
booleanValue: boolean | null;
|
3408
|
+
numberValue: number | null;
|
3409
|
+
dateValue: Date | null;
|
3410
|
+
}[] | null | undefined;
|
3411
|
+
} | null;
|
3412
|
+
};
|
2757
3413
|
assigneeId: string | null;
|
2758
3414
|
subject: string;
|
2759
3415
|
from: {
|
@@ -3170,6 +3826,75 @@ export declare const mailContract: {
|
|
3170
3826
|
notificationCount: number | null;
|
3171
3827
|
};
|
3172
3828
|
resolved: boolean;
|
3829
|
+
cxlog: {
|
3830
|
+
id: string;
|
3831
|
+
channel: string | null;
|
3832
|
+
direction: string | null;
|
3833
|
+
createdAt: Date;
|
3834
|
+
updatedAt: Date;
|
3835
|
+
deletedAt: Date | null;
|
3836
|
+
entityId: string;
|
3837
|
+
queueId: string | null;
|
3838
|
+
contactId: string | null;
|
3839
|
+
caseId: number;
|
3840
|
+
entityName: string;
|
3841
|
+
agentId: string | null;
|
3842
|
+
startedDate: Date | null;
|
3843
|
+
handledTime: number | null;
|
3844
|
+
firstResponseTime: number | null;
|
3845
|
+
wrapUpForm: {
|
3846
|
+
type: string;
|
3847
|
+
id: string;
|
3848
|
+
disposition: string | null;
|
3849
|
+
createdAt: Date;
|
3850
|
+
updatedAt: Date;
|
3851
|
+
deletedAt: Date | null;
|
3852
|
+
categories: {
|
3853
|
+
id: string;
|
3854
|
+
value: string;
|
3855
|
+
createdAt: Date;
|
3856
|
+
updatedAt: Date;
|
3857
|
+
deletedAt: Date | null;
|
3858
|
+
level: 2 | 1 | 3;
|
3859
|
+
parentId: string | null;
|
3860
|
+
childCategoryList: {
|
3861
|
+
id: string;
|
3862
|
+
value: string;
|
3863
|
+
level: 2 | 1 | 3;
|
3864
|
+
parentId: string | null;
|
3865
|
+
childCategoryList: {
|
3866
|
+
id: string;
|
3867
|
+
value: string;
|
3868
|
+
level: 2 | 1 | 3;
|
3869
|
+
parentId: string | null;
|
3870
|
+
childCategoryList: any[];
|
3871
|
+
}[];
|
3872
|
+
}[];
|
3873
|
+
}[];
|
3874
|
+
tags: {
|
3875
|
+
id: string;
|
3876
|
+
name: string;
|
3877
|
+
createdAt: Date;
|
3878
|
+
updatedAt: Date;
|
3879
|
+
deletedAt: Date | null;
|
3880
|
+
}[];
|
3881
|
+
callFrom: string | null;
|
3882
|
+
callTo: string | null;
|
3883
|
+
note: string | null;
|
3884
|
+
customFields?: {
|
3885
|
+
id: string;
|
3886
|
+
createdAt: Date;
|
3887
|
+
updatedAt: Date;
|
3888
|
+
deletedAt: Date | null;
|
3889
|
+
entityId: string;
|
3890
|
+
attributeId: string;
|
3891
|
+
textValue: string | null;
|
3892
|
+
booleanValue: boolean | null;
|
3893
|
+
numberValue: number | null;
|
3894
|
+
dateValue: Date | null;
|
3895
|
+
}[] | null | undefined;
|
3896
|
+
} | null;
|
3897
|
+
};
|
3173
3898
|
assigneeId: string | null;
|
3174
3899
|
subject: string;
|
3175
3900
|
from: {
|
@@ -3487,16 +4212,9 @@ export declare const mailContract: {
|
|
3487
4212
|
};
|
3488
4213
|
path: "mail/room";
|
3489
4214
|
};
|
3490
|
-
|
3491
|
-
summary: "Get
|
4215
|
+
getRoomCounts: {
|
4216
|
+
summary: "Get unread message counts for filter like \"open\", \"close\", \"inbox\" and etc...";
|
3492
4217
|
method: "GET";
|
3493
|
-
pathParams: import("zod").ZodObject<{
|
3494
|
-
id: import("zod").ZodString;
|
3495
|
-
}, "strip", import("zod").ZodTypeAny, {
|
3496
|
-
id: string;
|
3497
|
-
}, {
|
3498
|
-
id: string;
|
3499
|
-
}>;
|
3500
4218
|
responses: {
|
3501
4219
|
401: import("zod").ZodObject<{
|
3502
4220
|
message: import("zod").ZodString;
|
@@ -3531,43 +4249,776 @@ export declare const mailContract: {
|
|
3531
4249
|
200: import("zod").ZodObject<{
|
3532
4250
|
requestId: import("zod").ZodString;
|
3533
4251
|
data: import("zod").ZodObject<{
|
3534
|
-
|
3535
|
-
createdAt: import("zod").ZodDate;
|
3536
|
-
updatedAt: import("zod").ZodDate;
|
3537
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
3538
|
-
subject: import("zod").ZodString;
|
3539
|
-
resolved: import("zod").ZodBoolean;
|
3540
|
-
assigneeId: import("zod").ZodNullable<import("zod").ZodString>;
|
3541
|
-
note: import("zod").ZodString;
|
3542
|
-
mailId: import("zod").ZodString;
|
3543
|
-
direction: import("zod").ZodString;
|
3544
|
-
lastMessageId: import("zod").ZodString;
|
3545
|
-
firstMessageId: import("zod").ZodString;
|
3546
|
-
from: import("zod").ZodArray<import("zod").ZodObject<{
|
3547
|
-
id: import("zod").ZodString;
|
3548
|
-
createdAt: import("zod").ZodDate;
|
3549
|
-
updatedAt: import("zod").ZodDate;
|
3550
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
4252
|
+
general: import("zod").ZodArray<import("zod").ZodObject<{
|
3551
4253
|
name: import("zod").ZodString;
|
3552
|
-
|
4254
|
+
count: import("zod").ZodNumber;
|
4255
|
+
unReadMessagesCount: import("zod").ZodNumber;
|
3553
4256
|
}, "strip", import("zod").ZodTypeAny, {
|
3554
|
-
id: string;
|
3555
|
-
address: string;
|
3556
4257
|
name: string;
|
3557
|
-
|
3558
|
-
|
3559
|
-
deletedAt: Date | null;
|
4258
|
+
count: number;
|
4259
|
+
unReadMessagesCount: number;
|
3560
4260
|
}, {
|
3561
|
-
id: string;
|
3562
|
-
address: string;
|
3563
4261
|
name: string;
|
3564
|
-
|
3565
|
-
|
3566
|
-
deletedAt: Date | null;
|
4262
|
+
count: number;
|
4263
|
+
unReadMessagesCount: number;
|
3567
4264
|
}>, "many">;
|
3568
|
-
|
3569
|
-
|
3570
|
-
|
4265
|
+
channels: import("zod").ZodArray<import("zod").ZodObject<{
|
4266
|
+
channel: import("zod").ZodObject<{
|
4267
|
+
id: import("zod").ZodString;
|
4268
|
+
createdAt: import("zod").ZodDate;
|
4269
|
+
updatedAt: import("zod").ZodDate;
|
4270
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
4271
|
+
name: import("zod").ZodString;
|
4272
|
+
address: import("zod").ZodString;
|
4273
|
+
accountId: import("zod").ZodString;
|
4274
|
+
mailServerId: import("zod").ZodString;
|
4275
|
+
mailServer: import("zod").ZodObject<{
|
4276
|
+
id: import("zod").ZodString;
|
4277
|
+
createdAt: import("zod").ZodDate;
|
4278
|
+
updatedAt: import("zod").ZodDate;
|
4279
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
4280
|
+
name: import("zod").ZodString;
|
4281
|
+
smtpHost: import("zod").ZodString;
|
4282
|
+
smtpPort: import("zod").ZodNumber;
|
4283
|
+
smtpTlsPort: import("zod").ZodNumber;
|
4284
|
+
useTlsForSmtp: import("zod").ZodBoolean;
|
4285
|
+
imapHost: import("zod").ZodString;
|
4286
|
+
imapPort: import("zod").ZodNumber;
|
4287
|
+
imapTlsPort: import("zod").ZodNumber;
|
4288
|
+
useTlsForImap: import("zod").ZodBoolean;
|
4289
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4290
|
+
id: string;
|
4291
|
+
name: string;
|
4292
|
+
createdAt: Date;
|
4293
|
+
updatedAt: Date;
|
4294
|
+
deletedAt: Date | null;
|
4295
|
+
smtpHost: string;
|
4296
|
+
smtpPort: number;
|
4297
|
+
smtpTlsPort: number;
|
4298
|
+
useTlsForSmtp: boolean;
|
4299
|
+
imapHost: string;
|
4300
|
+
imapPort: number;
|
4301
|
+
imapTlsPort: number;
|
4302
|
+
useTlsForImap: boolean;
|
4303
|
+
}, {
|
4304
|
+
id: string;
|
4305
|
+
name: string;
|
4306
|
+
createdAt: Date;
|
4307
|
+
updatedAt: Date;
|
4308
|
+
deletedAt: Date | null;
|
4309
|
+
smtpHost: string;
|
4310
|
+
smtpPort: number;
|
4311
|
+
smtpTlsPort: number;
|
4312
|
+
useTlsForSmtp: boolean;
|
4313
|
+
imapHost: string;
|
4314
|
+
imapPort: number;
|
4315
|
+
imapTlsPort: number;
|
4316
|
+
useTlsForImap: boolean;
|
4317
|
+
}>;
|
4318
|
+
state: import("zod").ZodUnion<[import("zod").ZodLiteral<"init">, import("zod").ZodLiteral<"syncing">, import("zod").ZodLiteral<"connecting">, import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">, import("zod").ZodLiteral<"authenticationError">, import("zod").ZodLiteral<"connectError">, import("zod").ZodLiteral<"unset">]>;
|
4319
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4320
|
+
id: string;
|
4321
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4322
|
+
address: string;
|
4323
|
+
name: string;
|
4324
|
+
createdAt: Date;
|
4325
|
+
updatedAt: Date;
|
4326
|
+
deletedAt: Date | null;
|
4327
|
+
accountId: string;
|
4328
|
+
mailServerId: string;
|
4329
|
+
mailServer: {
|
4330
|
+
id: string;
|
4331
|
+
name: string;
|
4332
|
+
createdAt: Date;
|
4333
|
+
updatedAt: Date;
|
4334
|
+
deletedAt: Date | null;
|
4335
|
+
smtpHost: string;
|
4336
|
+
smtpPort: number;
|
4337
|
+
smtpTlsPort: number;
|
4338
|
+
useTlsForSmtp: boolean;
|
4339
|
+
imapHost: string;
|
4340
|
+
imapPort: number;
|
4341
|
+
imapTlsPort: number;
|
4342
|
+
useTlsForImap: boolean;
|
4343
|
+
};
|
4344
|
+
}, {
|
4345
|
+
id: string;
|
4346
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4347
|
+
address: string;
|
4348
|
+
name: string;
|
4349
|
+
createdAt: Date;
|
4350
|
+
updatedAt: Date;
|
4351
|
+
deletedAt: Date | null;
|
4352
|
+
accountId: string;
|
4353
|
+
mailServerId: string;
|
4354
|
+
mailServer: {
|
4355
|
+
id: string;
|
4356
|
+
name: string;
|
4357
|
+
createdAt: Date;
|
4358
|
+
updatedAt: Date;
|
4359
|
+
deletedAt: Date | null;
|
4360
|
+
smtpHost: string;
|
4361
|
+
smtpPort: number;
|
4362
|
+
smtpTlsPort: number;
|
4363
|
+
useTlsForSmtp: boolean;
|
4364
|
+
imapHost: string;
|
4365
|
+
imapPort: number;
|
4366
|
+
imapTlsPort: number;
|
4367
|
+
useTlsForImap: boolean;
|
4368
|
+
};
|
4369
|
+
}>;
|
4370
|
+
count: import("zod").ZodNumber;
|
4371
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4372
|
+
channel: {
|
4373
|
+
id: string;
|
4374
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4375
|
+
address: string;
|
4376
|
+
name: string;
|
4377
|
+
createdAt: Date;
|
4378
|
+
updatedAt: Date;
|
4379
|
+
deletedAt: Date | null;
|
4380
|
+
accountId: string;
|
4381
|
+
mailServerId: string;
|
4382
|
+
mailServer: {
|
4383
|
+
id: string;
|
4384
|
+
name: string;
|
4385
|
+
createdAt: Date;
|
4386
|
+
updatedAt: Date;
|
4387
|
+
deletedAt: Date | null;
|
4388
|
+
smtpHost: string;
|
4389
|
+
smtpPort: number;
|
4390
|
+
smtpTlsPort: number;
|
4391
|
+
useTlsForSmtp: boolean;
|
4392
|
+
imapHost: string;
|
4393
|
+
imapPort: number;
|
4394
|
+
imapTlsPort: number;
|
4395
|
+
useTlsForImap: boolean;
|
4396
|
+
};
|
4397
|
+
};
|
4398
|
+
count: number;
|
4399
|
+
}, {
|
4400
|
+
channel: {
|
4401
|
+
id: string;
|
4402
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4403
|
+
address: string;
|
4404
|
+
name: string;
|
4405
|
+
createdAt: Date;
|
4406
|
+
updatedAt: Date;
|
4407
|
+
deletedAt: Date | null;
|
4408
|
+
accountId: string;
|
4409
|
+
mailServerId: string;
|
4410
|
+
mailServer: {
|
4411
|
+
id: string;
|
4412
|
+
name: string;
|
4413
|
+
createdAt: Date;
|
4414
|
+
updatedAt: Date;
|
4415
|
+
deletedAt: Date | null;
|
4416
|
+
smtpHost: string;
|
4417
|
+
smtpPort: number;
|
4418
|
+
smtpTlsPort: number;
|
4419
|
+
useTlsForSmtp: boolean;
|
4420
|
+
imapHost: string;
|
4421
|
+
imapPort: number;
|
4422
|
+
imapTlsPort: number;
|
4423
|
+
useTlsForImap: boolean;
|
4424
|
+
};
|
4425
|
+
};
|
4426
|
+
count: number;
|
4427
|
+
}>, "many">;
|
4428
|
+
contactLabels: import("zod").ZodArray<import("zod").ZodObject<{
|
4429
|
+
label: import("zod").ZodObject<{
|
4430
|
+
id: import("zod").ZodString;
|
4431
|
+
createdAt: import("zod").ZodDate;
|
4432
|
+
updatedAt: import("zod").ZodDate;
|
4433
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
4434
|
+
name: import("zod").ZodString;
|
4435
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4436
|
+
id: string;
|
4437
|
+
name: string;
|
4438
|
+
createdAt: Date;
|
4439
|
+
updatedAt: Date;
|
4440
|
+
deletedAt: Date | null;
|
4441
|
+
}, {
|
4442
|
+
id: string;
|
4443
|
+
name: string;
|
4444
|
+
createdAt: Date;
|
4445
|
+
updatedAt: Date;
|
4446
|
+
deletedAt: Date | null;
|
4447
|
+
}>;
|
4448
|
+
count: import("zod").ZodNumber;
|
4449
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4450
|
+
label: {
|
4451
|
+
id: string;
|
4452
|
+
name: string;
|
4453
|
+
createdAt: Date;
|
4454
|
+
updatedAt: Date;
|
4455
|
+
deletedAt: Date | null;
|
4456
|
+
};
|
4457
|
+
count: number;
|
4458
|
+
}, {
|
4459
|
+
label: {
|
4460
|
+
id: string;
|
4461
|
+
name: string;
|
4462
|
+
createdAt: Date;
|
4463
|
+
updatedAt: Date;
|
4464
|
+
deletedAt: Date | null;
|
4465
|
+
};
|
4466
|
+
count: number;
|
4467
|
+
}>, "many">;
|
4468
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4469
|
+
general: {
|
4470
|
+
name: string;
|
4471
|
+
count: number;
|
4472
|
+
unReadMessagesCount: number;
|
4473
|
+
}[];
|
4474
|
+
channels: {
|
4475
|
+
channel: {
|
4476
|
+
id: string;
|
4477
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4478
|
+
address: string;
|
4479
|
+
name: string;
|
4480
|
+
createdAt: Date;
|
4481
|
+
updatedAt: Date;
|
4482
|
+
deletedAt: Date | null;
|
4483
|
+
accountId: string;
|
4484
|
+
mailServerId: string;
|
4485
|
+
mailServer: {
|
4486
|
+
id: string;
|
4487
|
+
name: string;
|
4488
|
+
createdAt: Date;
|
4489
|
+
updatedAt: Date;
|
4490
|
+
deletedAt: Date | null;
|
4491
|
+
smtpHost: string;
|
4492
|
+
smtpPort: number;
|
4493
|
+
smtpTlsPort: number;
|
4494
|
+
useTlsForSmtp: boolean;
|
4495
|
+
imapHost: string;
|
4496
|
+
imapPort: number;
|
4497
|
+
imapTlsPort: number;
|
4498
|
+
useTlsForImap: boolean;
|
4499
|
+
};
|
4500
|
+
};
|
4501
|
+
count: number;
|
4502
|
+
}[];
|
4503
|
+
contactLabels: {
|
4504
|
+
label: {
|
4505
|
+
id: string;
|
4506
|
+
name: string;
|
4507
|
+
createdAt: Date;
|
4508
|
+
updatedAt: Date;
|
4509
|
+
deletedAt: Date | null;
|
4510
|
+
};
|
4511
|
+
count: number;
|
4512
|
+
}[];
|
4513
|
+
}, {
|
4514
|
+
general: {
|
4515
|
+
name: string;
|
4516
|
+
count: number;
|
4517
|
+
unReadMessagesCount: number;
|
4518
|
+
}[];
|
4519
|
+
channels: {
|
4520
|
+
channel: {
|
4521
|
+
id: string;
|
4522
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4523
|
+
address: string;
|
4524
|
+
name: string;
|
4525
|
+
createdAt: Date;
|
4526
|
+
updatedAt: Date;
|
4527
|
+
deletedAt: Date | null;
|
4528
|
+
accountId: string;
|
4529
|
+
mailServerId: string;
|
4530
|
+
mailServer: {
|
4531
|
+
id: string;
|
4532
|
+
name: string;
|
4533
|
+
createdAt: Date;
|
4534
|
+
updatedAt: Date;
|
4535
|
+
deletedAt: Date | null;
|
4536
|
+
smtpHost: string;
|
4537
|
+
smtpPort: number;
|
4538
|
+
smtpTlsPort: number;
|
4539
|
+
useTlsForSmtp: boolean;
|
4540
|
+
imapHost: string;
|
4541
|
+
imapPort: number;
|
4542
|
+
imapTlsPort: number;
|
4543
|
+
useTlsForImap: boolean;
|
4544
|
+
};
|
4545
|
+
};
|
4546
|
+
count: number;
|
4547
|
+
}[];
|
4548
|
+
contactLabels: {
|
4549
|
+
label: {
|
4550
|
+
id: string;
|
4551
|
+
name: string;
|
4552
|
+
createdAt: Date;
|
4553
|
+
updatedAt: Date;
|
4554
|
+
deletedAt: Date | null;
|
4555
|
+
};
|
4556
|
+
count: number;
|
4557
|
+
}[];
|
4558
|
+
}>;
|
4559
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4560
|
+
data: {
|
4561
|
+
general: {
|
4562
|
+
name: string;
|
4563
|
+
count: number;
|
4564
|
+
unReadMessagesCount: number;
|
4565
|
+
}[];
|
4566
|
+
channels: {
|
4567
|
+
channel: {
|
4568
|
+
id: string;
|
4569
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4570
|
+
address: string;
|
4571
|
+
name: string;
|
4572
|
+
createdAt: Date;
|
4573
|
+
updatedAt: Date;
|
4574
|
+
deletedAt: Date | null;
|
4575
|
+
accountId: string;
|
4576
|
+
mailServerId: string;
|
4577
|
+
mailServer: {
|
4578
|
+
id: string;
|
4579
|
+
name: string;
|
4580
|
+
createdAt: Date;
|
4581
|
+
updatedAt: Date;
|
4582
|
+
deletedAt: Date | null;
|
4583
|
+
smtpHost: string;
|
4584
|
+
smtpPort: number;
|
4585
|
+
smtpTlsPort: number;
|
4586
|
+
useTlsForSmtp: boolean;
|
4587
|
+
imapHost: string;
|
4588
|
+
imapPort: number;
|
4589
|
+
imapTlsPort: number;
|
4590
|
+
useTlsForImap: boolean;
|
4591
|
+
};
|
4592
|
+
};
|
4593
|
+
count: number;
|
4594
|
+
}[];
|
4595
|
+
contactLabels: {
|
4596
|
+
label: {
|
4597
|
+
id: string;
|
4598
|
+
name: string;
|
4599
|
+
createdAt: Date;
|
4600
|
+
updatedAt: Date;
|
4601
|
+
deletedAt: Date | null;
|
4602
|
+
};
|
4603
|
+
count: number;
|
4604
|
+
}[];
|
4605
|
+
};
|
4606
|
+
requestId: string;
|
4607
|
+
}, {
|
4608
|
+
data: {
|
4609
|
+
general: {
|
4610
|
+
name: string;
|
4611
|
+
count: number;
|
4612
|
+
unReadMessagesCount: number;
|
4613
|
+
}[];
|
4614
|
+
channels: {
|
4615
|
+
channel: {
|
4616
|
+
id: string;
|
4617
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
4618
|
+
address: string;
|
4619
|
+
name: string;
|
4620
|
+
createdAt: Date;
|
4621
|
+
updatedAt: Date;
|
4622
|
+
deletedAt: Date | null;
|
4623
|
+
accountId: string;
|
4624
|
+
mailServerId: string;
|
4625
|
+
mailServer: {
|
4626
|
+
id: string;
|
4627
|
+
name: string;
|
4628
|
+
createdAt: Date;
|
4629
|
+
updatedAt: Date;
|
4630
|
+
deletedAt: Date | null;
|
4631
|
+
smtpHost: string;
|
4632
|
+
smtpPort: number;
|
4633
|
+
smtpTlsPort: number;
|
4634
|
+
useTlsForSmtp: boolean;
|
4635
|
+
imapHost: string;
|
4636
|
+
imapPort: number;
|
4637
|
+
imapTlsPort: number;
|
4638
|
+
useTlsForImap: boolean;
|
4639
|
+
};
|
4640
|
+
};
|
4641
|
+
count: number;
|
4642
|
+
}[];
|
4643
|
+
contactLabels: {
|
4644
|
+
label: {
|
4645
|
+
id: string;
|
4646
|
+
name: string;
|
4647
|
+
createdAt: Date;
|
4648
|
+
updatedAt: Date;
|
4649
|
+
deletedAt: Date | null;
|
4650
|
+
};
|
4651
|
+
count: number;
|
4652
|
+
}[];
|
4653
|
+
};
|
4654
|
+
requestId: string;
|
4655
|
+
}>;
|
4656
|
+
};
|
4657
|
+
path: "mail/room/count_rooms/all";
|
4658
|
+
};
|
4659
|
+
getAttachments: {
|
4660
|
+
summary: "Get all the attachments of a room";
|
4661
|
+
method: "GET";
|
4662
|
+
pathParams: import("zod").ZodObject<{
|
4663
|
+
id: import("zod").ZodString;
|
4664
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4665
|
+
id: string;
|
4666
|
+
}, {
|
4667
|
+
id: string;
|
4668
|
+
}>;
|
4669
|
+
responses: {
|
4670
|
+
401: import("zod").ZodObject<{
|
4671
|
+
message: import("zod").ZodString;
|
4672
|
+
error: import("zod").ZodAny;
|
4673
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4674
|
+
message: string;
|
4675
|
+
error?: any;
|
4676
|
+
}, {
|
4677
|
+
message: string;
|
4678
|
+
error?: any;
|
4679
|
+
}>;
|
4680
|
+
404: import("zod").ZodObject<{
|
4681
|
+
message: import("zod").ZodString;
|
4682
|
+
error: import("zod").ZodAny;
|
4683
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4684
|
+
message: string;
|
4685
|
+
error?: any;
|
4686
|
+
}, {
|
4687
|
+
message: string;
|
4688
|
+
error?: any;
|
4689
|
+
}>;
|
4690
|
+
422: import("zod").ZodObject<{
|
4691
|
+
message: import("zod").ZodString;
|
4692
|
+
error: import("zod").ZodAny;
|
4693
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4694
|
+
message: string;
|
4695
|
+
error?: any;
|
4696
|
+
}, {
|
4697
|
+
message: string;
|
4698
|
+
error?: any;
|
4699
|
+
}>;
|
4700
|
+
200: import("zod").ZodObject<{
|
4701
|
+
requestId: import("zod").ZodString;
|
4702
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
4703
|
+
fileName: import("zod").ZodString;
|
4704
|
+
fileType: import("zod").ZodString;
|
4705
|
+
emailEngineAttachmentId: import("zod").ZodString;
|
4706
|
+
uploadId: import("zod").ZodString;
|
4707
|
+
messageId: import("zod").ZodString;
|
4708
|
+
roomId: import("zod").ZodString;
|
4709
|
+
upload: import("zod").ZodObject<{
|
4710
|
+
id: import("zod").ZodString;
|
4711
|
+
createdAt: import("zod").ZodDate;
|
4712
|
+
updatedAt: import("zod").ZodDate;
|
4713
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
4714
|
+
bucketName: import("zod").ZodString;
|
4715
|
+
fileName: import("zod").ZodString;
|
4716
|
+
fileSize: import("zod").ZodNumber;
|
4717
|
+
fileKey: import("zod").ZodString;
|
4718
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
4719
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
4720
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4721
|
+
id: string;
|
4722
|
+
createdAt: Date;
|
4723
|
+
updatedAt: Date;
|
4724
|
+
deletedAt: Date | null;
|
4725
|
+
fileName: string;
|
4726
|
+
fileKey: string;
|
4727
|
+
bucketName: string;
|
4728
|
+
fileSize: number;
|
4729
|
+
fileUrl: string | null;
|
4730
|
+
status?: string | undefined;
|
4731
|
+
}, {
|
4732
|
+
id: string;
|
4733
|
+
createdAt: Date;
|
4734
|
+
updatedAt: Date;
|
4735
|
+
deletedAt: Date | null;
|
4736
|
+
fileName: string;
|
4737
|
+
fileKey: string;
|
4738
|
+
bucketName: string;
|
4739
|
+
fileSize: number;
|
4740
|
+
fileUrl: string | null;
|
4741
|
+
status?: string | undefined;
|
4742
|
+
}>;
|
4743
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4744
|
+
fileName: string;
|
4745
|
+
fileType: string;
|
4746
|
+
uploadId: string;
|
4747
|
+
upload: {
|
4748
|
+
id: string;
|
4749
|
+
createdAt: Date;
|
4750
|
+
updatedAt: Date;
|
4751
|
+
deletedAt: Date | null;
|
4752
|
+
fileName: string;
|
4753
|
+
fileKey: string;
|
4754
|
+
bucketName: string;
|
4755
|
+
fileSize: number;
|
4756
|
+
fileUrl: string | null;
|
4757
|
+
status?: string | undefined;
|
4758
|
+
};
|
4759
|
+
roomId: string;
|
4760
|
+
messageId: string;
|
4761
|
+
emailEngineAttachmentId: string;
|
4762
|
+
}, {
|
4763
|
+
fileName: string;
|
4764
|
+
fileType: string;
|
4765
|
+
uploadId: string;
|
4766
|
+
upload: {
|
4767
|
+
id: string;
|
4768
|
+
createdAt: Date;
|
4769
|
+
updatedAt: Date;
|
4770
|
+
deletedAt: Date | null;
|
4771
|
+
fileName: string;
|
4772
|
+
fileKey: string;
|
4773
|
+
bucketName: string;
|
4774
|
+
fileSize: number;
|
4775
|
+
fileUrl: string | null;
|
4776
|
+
status?: string | undefined;
|
4777
|
+
};
|
4778
|
+
roomId: string;
|
4779
|
+
messageId: string;
|
4780
|
+
emailEngineAttachmentId: string;
|
4781
|
+
}>, "many">;
|
4782
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4783
|
+
data: {
|
4784
|
+
fileName: string;
|
4785
|
+
fileType: string;
|
4786
|
+
uploadId: string;
|
4787
|
+
upload: {
|
4788
|
+
id: string;
|
4789
|
+
createdAt: Date;
|
4790
|
+
updatedAt: Date;
|
4791
|
+
deletedAt: Date | null;
|
4792
|
+
fileName: string;
|
4793
|
+
fileKey: string;
|
4794
|
+
bucketName: string;
|
4795
|
+
fileSize: number;
|
4796
|
+
fileUrl: string | null;
|
4797
|
+
status?: string | undefined;
|
4798
|
+
};
|
4799
|
+
roomId: string;
|
4800
|
+
messageId: string;
|
4801
|
+
emailEngineAttachmentId: string;
|
4802
|
+
}[];
|
4803
|
+
requestId: string;
|
4804
|
+
}, {
|
4805
|
+
data: {
|
4806
|
+
fileName: string;
|
4807
|
+
fileType: string;
|
4808
|
+
uploadId: string;
|
4809
|
+
upload: {
|
4810
|
+
id: string;
|
4811
|
+
createdAt: Date;
|
4812
|
+
updatedAt: Date;
|
4813
|
+
deletedAt: Date | null;
|
4814
|
+
fileName: string;
|
4815
|
+
fileKey: string;
|
4816
|
+
bucketName: string;
|
4817
|
+
fileSize: number;
|
4818
|
+
fileUrl: string | null;
|
4819
|
+
status?: string | undefined;
|
4820
|
+
};
|
4821
|
+
roomId: string;
|
4822
|
+
messageId: string;
|
4823
|
+
emailEngineAttachmentId: string;
|
4824
|
+
}[];
|
4825
|
+
requestId: string;
|
4826
|
+
}>;
|
4827
|
+
};
|
4828
|
+
path: "mail/room/:id/attachments";
|
4829
|
+
};
|
4830
|
+
getParticipants: {
|
4831
|
+
summary: "Get all the attachments of a room";
|
4832
|
+
method: "GET";
|
4833
|
+
pathParams: import("zod").ZodObject<{
|
4834
|
+
id: import("zod").ZodString;
|
4835
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4836
|
+
id: string;
|
4837
|
+
}, {
|
4838
|
+
id: string;
|
4839
|
+
}>;
|
4840
|
+
responses: {
|
4841
|
+
401: import("zod").ZodObject<{
|
4842
|
+
message: import("zod").ZodString;
|
4843
|
+
error: import("zod").ZodAny;
|
4844
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4845
|
+
message: string;
|
4846
|
+
error?: any;
|
4847
|
+
}, {
|
4848
|
+
message: string;
|
4849
|
+
error?: any;
|
4850
|
+
}>;
|
4851
|
+
404: import("zod").ZodObject<{
|
4852
|
+
message: import("zod").ZodString;
|
4853
|
+
error: import("zod").ZodAny;
|
4854
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4855
|
+
message: string;
|
4856
|
+
error?: any;
|
4857
|
+
}, {
|
4858
|
+
message: string;
|
4859
|
+
error?: any;
|
4860
|
+
}>;
|
4861
|
+
422: import("zod").ZodObject<{
|
4862
|
+
message: import("zod").ZodString;
|
4863
|
+
error: import("zod").ZodAny;
|
4864
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4865
|
+
message: string;
|
4866
|
+
error?: any;
|
4867
|
+
}, {
|
4868
|
+
message: string;
|
4869
|
+
error?: any;
|
4870
|
+
}>;
|
4871
|
+
200: import("zod").ZodObject<{
|
4872
|
+
requestId: import("zod").ZodString;
|
4873
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
4874
|
+
id: import("zod").ZodString;
|
4875
|
+
createdAt: import("zod").ZodDate;
|
4876
|
+
updatedAt: import("zod").ZodDate;
|
4877
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
4878
|
+
name: import("zod").ZodString;
|
4879
|
+
address: import("zod").ZodString;
|
4880
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4881
|
+
id: string;
|
4882
|
+
address: string;
|
4883
|
+
name: string;
|
4884
|
+
createdAt: Date;
|
4885
|
+
updatedAt: Date;
|
4886
|
+
deletedAt: Date | null;
|
4887
|
+
}, {
|
4888
|
+
id: string;
|
4889
|
+
address: string;
|
4890
|
+
name: string;
|
4891
|
+
createdAt: Date;
|
4892
|
+
updatedAt: Date;
|
4893
|
+
deletedAt: Date | null;
|
4894
|
+
}>, "many">;
|
4895
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4896
|
+
data: {
|
4897
|
+
id: string;
|
4898
|
+
address: string;
|
4899
|
+
name: string;
|
4900
|
+
createdAt: Date;
|
4901
|
+
updatedAt: Date;
|
4902
|
+
deletedAt: Date | null;
|
4903
|
+
}[];
|
4904
|
+
requestId: string;
|
4905
|
+
}, {
|
4906
|
+
data: {
|
4907
|
+
id: string;
|
4908
|
+
address: string;
|
4909
|
+
name: string;
|
4910
|
+
createdAt: Date;
|
4911
|
+
updatedAt: Date;
|
4912
|
+
deletedAt: Date | null;
|
4913
|
+
}[];
|
4914
|
+
requestId: string;
|
4915
|
+
}>;
|
4916
|
+
};
|
4917
|
+
path: "mail/room/:id/participants";
|
4918
|
+
};
|
4919
|
+
update: {
|
4920
|
+
body: import("zod").ZodObject<{
|
4921
|
+
disposition: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"resolved">, import("zod").ZodLiteral<"follow up">, import("zod").ZodLiteral<"escalated">, import("zod").ZodLiteral<"dropped">, import("zod").ZodLiteral<"prank">, import("zod").ZodLiteral<"blank">]>>>;
|
4922
|
+
assigneeId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
4923
|
+
note: import("zod").ZodOptional<import("zod").ZodString>;
|
4924
|
+
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
4925
|
+
handover: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
4926
|
+
selfAssign: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
4927
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4928
|
+
disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
|
4929
|
+
assigneeId?: string | null | undefined;
|
4930
|
+
note?: string | undefined;
|
4931
|
+
tags?: string[] | undefined;
|
4932
|
+
handover?: boolean | null | undefined;
|
4933
|
+
selfAssign?: boolean | null | undefined;
|
4934
|
+
}, {
|
4935
|
+
disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
|
4936
|
+
assigneeId?: string | null | undefined;
|
4937
|
+
note?: string | undefined;
|
4938
|
+
tags?: string[] | undefined;
|
4939
|
+
handover?: boolean | "false" | "true" | null | undefined;
|
4940
|
+
selfAssign?: boolean | "false" | "true" | null | undefined;
|
4941
|
+
}>;
|
4942
|
+
summary: "Update a mail room by id";
|
4943
|
+
method: "PATCH";
|
4944
|
+
pathParams: import("zod").ZodObject<{
|
4945
|
+
id: import("zod").ZodString;
|
4946
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4947
|
+
id: string;
|
4948
|
+
}, {
|
4949
|
+
id: string;
|
4950
|
+
}>;
|
4951
|
+
responses: {
|
4952
|
+
401: import("zod").ZodObject<{
|
4953
|
+
message: import("zod").ZodString;
|
4954
|
+
error: import("zod").ZodAny;
|
4955
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4956
|
+
message: string;
|
4957
|
+
error?: any;
|
4958
|
+
}, {
|
4959
|
+
message: string;
|
4960
|
+
error?: any;
|
4961
|
+
}>;
|
4962
|
+
404: import("zod").ZodObject<{
|
4963
|
+
message: import("zod").ZodString;
|
4964
|
+
error: import("zod").ZodAny;
|
4965
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4966
|
+
message: string;
|
4967
|
+
error?: any;
|
4968
|
+
}, {
|
4969
|
+
message: string;
|
4970
|
+
error?: any;
|
4971
|
+
}>;
|
4972
|
+
422: import("zod").ZodObject<{
|
4973
|
+
message: import("zod").ZodString;
|
4974
|
+
error: import("zod").ZodAny;
|
4975
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4976
|
+
message: string;
|
4977
|
+
error?: any;
|
4978
|
+
}, {
|
4979
|
+
message: string;
|
4980
|
+
error?: any;
|
4981
|
+
}>;
|
4982
|
+
200: import("zod").ZodObject<{
|
4983
|
+
requestId: import("zod").ZodString;
|
4984
|
+
data: import("zod").ZodObject<{
|
4985
|
+
id: import("zod").ZodString;
|
4986
|
+
createdAt: import("zod").ZodDate;
|
4987
|
+
updatedAt: import("zod").ZodDate;
|
4988
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
4989
|
+
subject: import("zod").ZodString;
|
4990
|
+
resolved: import("zod").ZodBoolean;
|
4991
|
+
assigneeId: import("zod").ZodNullable<import("zod").ZodString>;
|
4992
|
+
note: import("zod").ZodString;
|
4993
|
+
mailId: import("zod").ZodString;
|
4994
|
+
direction: import("zod").ZodString;
|
4995
|
+
lastMessageId: import("zod").ZodString;
|
4996
|
+
firstMessageId: import("zod").ZodString;
|
4997
|
+
from: import("zod").ZodArray<import("zod").ZodObject<{
|
4998
|
+
id: import("zod").ZodString;
|
4999
|
+
createdAt: import("zod").ZodDate;
|
5000
|
+
updatedAt: import("zod").ZodDate;
|
5001
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
5002
|
+
name: import("zod").ZodString;
|
5003
|
+
address: import("zod").ZodString;
|
5004
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5005
|
+
id: string;
|
5006
|
+
address: string;
|
5007
|
+
name: string;
|
5008
|
+
createdAt: Date;
|
5009
|
+
updatedAt: Date;
|
5010
|
+
deletedAt: Date | null;
|
5011
|
+
}, {
|
5012
|
+
id: string;
|
5013
|
+
address: string;
|
5014
|
+
name: string;
|
5015
|
+
createdAt: Date;
|
5016
|
+
updatedAt: Date;
|
5017
|
+
deletedAt: Date | null;
|
5018
|
+
}>, "many">;
|
5019
|
+
to: import("zod").ZodArray<import("zod").ZodObject<{
|
5020
|
+
id: import("zod").ZodString;
|
5021
|
+
createdAt: import("zod").ZodDate;
|
3571
5022
|
updatedAt: import("zod").ZodDate;
|
3572
5023
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
3573
5024
|
name: import("zod").ZodString;
|
@@ -5254,6 +6705,425 @@ export declare const mailContract: {
|
|
5254
6705
|
};
|
5255
6706
|
}>;
|
5256
6707
|
unReadMessageCount: import("zod").ZodNumber;
|
6708
|
+
cxlog: import("zod").ZodObject<{
|
6709
|
+
id: import("zod").ZodString;
|
6710
|
+
createdAt: import("zod").ZodDate;
|
6711
|
+
updatedAt: import("zod").ZodDate;
|
6712
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
6713
|
+
caseId: import("zod").ZodNumber;
|
6714
|
+
entityId: import("zod").ZodString;
|
6715
|
+
entityName: import("zod").ZodString;
|
6716
|
+
contactId: import("zod").ZodNullable<import("zod").ZodString>;
|
6717
|
+
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
6718
|
+
queueId: import("zod").ZodNullable<import("zod").ZodString>;
|
6719
|
+
agentId: import("zod").ZodNullable<import("zod").ZodString>;
|
6720
|
+
direction: import("zod").ZodNullable<import("zod").ZodString>;
|
6721
|
+
startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
|
6722
|
+
handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
6723
|
+
firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
6724
|
+
wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
|
6725
|
+
id: import("zod").ZodString;
|
6726
|
+
createdAt: import("zod").ZodDate;
|
6727
|
+
updatedAt: import("zod").ZodDate;
|
6728
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
6729
|
+
note: import("zod").ZodNullable<import("zod").ZodString>;
|
6730
|
+
disposition: import("zod").ZodNullable<import("zod").ZodString>;
|
6731
|
+
type: import("zod").ZodString;
|
6732
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
6733
|
+
id: import("zod").ZodString;
|
6734
|
+
createdAt: import("zod").ZodDate;
|
6735
|
+
updatedAt: import("zod").ZodDate;
|
6736
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
6737
|
+
name: import("zod").ZodString;
|
6738
|
+
}, "strip", import("zod").ZodTypeAny, {
|
6739
|
+
id: string;
|
6740
|
+
name: string;
|
6741
|
+
createdAt: Date;
|
6742
|
+
updatedAt: Date;
|
6743
|
+
deletedAt: Date | null;
|
6744
|
+
}, {
|
6745
|
+
id: string;
|
6746
|
+
name: string;
|
6747
|
+
createdAt: Date;
|
6748
|
+
updatedAt: Date;
|
6749
|
+
deletedAt: Date | null;
|
6750
|
+
}>, "many">;
|
6751
|
+
categories: import("zod").ZodArray<import("zod").ZodObject<{
|
6752
|
+
id: import("zod").ZodString;
|
6753
|
+
createdAt: import("zod").ZodDate;
|
6754
|
+
updatedAt: import("zod").ZodDate;
|
6755
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
6756
|
+
value: import("zod").ZodString;
|
6757
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
6758
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
6759
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodObject<{
|
6760
|
+
id: import("zod").ZodString;
|
6761
|
+
value: import("zod").ZodString;
|
6762
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
6763
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
6764
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodObject<{
|
6765
|
+
id: import("zod").ZodString;
|
6766
|
+
value: import("zod").ZodString;
|
6767
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
6768
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
6769
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodAny, "many">;
|
6770
|
+
}, "strip", import("zod").ZodTypeAny, {
|
6771
|
+
id: string;
|
6772
|
+
value: string;
|
6773
|
+
level: 2 | 1 | 3;
|
6774
|
+
parentId: string | null;
|
6775
|
+
childCategoryList: any[];
|
6776
|
+
}, {
|
6777
|
+
id: string;
|
6778
|
+
value: string;
|
6779
|
+
level: 2 | 1 | 3;
|
6780
|
+
parentId: string | null;
|
6781
|
+
childCategoryList: any[];
|
6782
|
+
}>, "many">;
|
6783
|
+
}, "strip", import("zod").ZodTypeAny, {
|
6784
|
+
id: string;
|
6785
|
+
value: string;
|
6786
|
+
level: 2 | 1 | 3;
|
6787
|
+
parentId: string | null;
|
6788
|
+
childCategoryList: {
|
6789
|
+
id: string;
|
6790
|
+
value: string;
|
6791
|
+
level: 2 | 1 | 3;
|
6792
|
+
parentId: string | null;
|
6793
|
+
childCategoryList: any[];
|
6794
|
+
}[];
|
6795
|
+
}, {
|
6796
|
+
id: string;
|
6797
|
+
value: string;
|
6798
|
+
level: 2 | 1 | 3;
|
6799
|
+
parentId: string | null;
|
6800
|
+
childCategoryList: {
|
6801
|
+
id: string;
|
6802
|
+
value: string;
|
6803
|
+
level: 2 | 1 | 3;
|
6804
|
+
parentId: string | null;
|
6805
|
+
childCategoryList: any[];
|
6806
|
+
}[];
|
6807
|
+
}>, "many">;
|
6808
|
+
}, "strip", import("zod").ZodTypeAny, {
|
6809
|
+
id: string;
|
6810
|
+
value: string;
|
6811
|
+
createdAt: Date;
|
6812
|
+
updatedAt: Date;
|
6813
|
+
deletedAt: Date | null;
|
6814
|
+
level: 2 | 1 | 3;
|
6815
|
+
parentId: string | null;
|
6816
|
+
childCategoryList: {
|
6817
|
+
id: string;
|
6818
|
+
value: string;
|
6819
|
+
level: 2 | 1 | 3;
|
6820
|
+
parentId: string | null;
|
6821
|
+
childCategoryList: {
|
6822
|
+
id: string;
|
6823
|
+
value: string;
|
6824
|
+
level: 2 | 1 | 3;
|
6825
|
+
parentId: string | null;
|
6826
|
+
childCategoryList: any[];
|
6827
|
+
}[];
|
6828
|
+
}[];
|
6829
|
+
}, {
|
6830
|
+
id: string;
|
6831
|
+
value: string;
|
6832
|
+
createdAt: Date;
|
6833
|
+
updatedAt: Date;
|
6834
|
+
deletedAt: Date | null;
|
6835
|
+
level: 2 | 1 | 3;
|
6836
|
+
parentId: string | null;
|
6837
|
+
childCategoryList: {
|
6838
|
+
id: string;
|
6839
|
+
value: string;
|
6840
|
+
level: 2 | 1 | 3;
|
6841
|
+
parentId: string | null;
|
6842
|
+
childCategoryList: {
|
6843
|
+
id: string;
|
6844
|
+
value: string;
|
6845
|
+
level: 2 | 1 | 3;
|
6846
|
+
parentId: string | null;
|
6847
|
+
childCategoryList: any[];
|
6848
|
+
}[];
|
6849
|
+
}[];
|
6850
|
+
}>, "many">;
|
6851
|
+
callFrom: import("zod").ZodNullable<import("zod").ZodString>;
|
6852
|
+
callTo: import("zod").ZodNullable<import("zod").ZodString>;
|
6853
|
+
customFields: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
6854
|
+
id: import("zod").ZodString;
|
6855
|
+
createdAt: import("zod").ZodDate;
|
6856
|
+
updatedAt: import("zod").ZodDate;
|
6857
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
6858
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
6859
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
6860
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
6861
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
6862
|
+
entityId: import("zod").ZodString;
|
6863
|
+
attributeId: import("zod").ZodString;
|
6864
|
+
}, "strip", import("zod").ZodTypeAny, {
|
6865
|
+
id: string;
|
6866
|
+
createdAt: Date;
|
6867
|
+
updatedAt: Date;
|
6868
|
+
deletedAt: Date | null;
|
6869
|
+
entityId: string;
|
6870
|
+
attributeId: string;
|
6871
|
+
textValue: string | null;
|
6872
|
+
booleanValue: boolean | null;
|
6873
|
+
numberValue: number | null;
|
6874
|
+
dateValue: Date | null;
|
6875
|
+
}, {
|
6876
|
+
id: string;
|
6877
|
+
createdAt: Date;
|
6878
|
+
updatedAt: Date;
|
6879
|
+
deletedAt: Date | null;
|
6880
|
+
entityId: string;
|
6881
|
+
attributeId: string;
|
6882
|
+
textValue: string | null;
|
6883
|
+
booleanValue: boolean | null;
|
6884
|
+
numberValue: number | null;
|
6885
|
+
dateValue: Date | null;
|
6886
|
+
}>, "many">>>;
|
6887
|
+
}, "strip", import("zod").ZodTypeAny, {
|
6888
|
+
type: string;
|
6889
|
+
id: string;
|
6890
|
+
disposition: string | null;
|
6891
|
+
createdAt: Date;
|
6892
|
+
updatedAt: Date;
|
6893
|
+
deletedAt: Date | null;
|
6894
|
+
categories: {
|
6895
|
+
id: string;
|
6896
|
+
value: string;
|
6897
|
+
createdAt: Date;
|
6898
|
+
updatedAt: Date;
|
6899
|
+
deletedAt: Date | null;
|
6900
|
+
level: 2 | 1 | 3;
|
6901
|
+
parentId: string | null;
|
6902
|
+
childCategoryList: {
|
6903
|
+
id: string;
|
6904
|
+
value: string;
|
6905
|
+
level: 2 | 1 | 3;
|
6906
|
+
parentId: string | null;
|
6907
|
+
childCategoryList: {
|
6908
|
+
id: string;
|
6909
|
+
value: string;
|
6910
|
+
level: 2 | 1 | 3;
|
6911
|
+
parentId: string | null;
|
6912
|
+
childCategoryList: any[];
|
6913
|
+
}[];
|
6914
|
+
}[];
|
6915
|
+
}[];
|
6916
|
+
tags: {
|
6917
|
+
id: string;
|
6918
|
+
name: string;
|
6919
|
+
createdAt: Date;
|
6920
|
+
updatedAt: Date;
|
6921
|
+
deletedAt: Date | null;
|
6922
|
+
}[];
|
6923
|
+
callFrom: string | null;
|
6924
|
+
callTo: string | null;
|
6925
|
+
note: string | null;
|
6926
|
+
customFields?: {
|
6927
|
+
id: string;
|
6928
|
+
createdAt: Date;
|
6929
|
+
updatedAt: Date;
|
6930
|
+
deletedAt: Date | null;
|
6931
|
+
entityId: string;
|
6932
|
+
attributeId: string;
|
6933
|
+
textValue: string | null;
|
6934
|
+
booleanValue: boolean | null;
|
6935
|
+
numberValue: number | null;
|
6936
|
+
dateValue: Date | null;
|
6937
|
+
}[] | null | undefined;
|
6938
|
+
}, {
|
6939
|
+
type: string;
|
6940
|
+
id: string;
|
6941
|
+
disposition: string | null;
|
6942
|
+
createdAt: Date;
|
6943
|
+
updatedAt: Date;
|
6944
|
+
deletedAt: Date | null;
|
6945
|
+
categories: {
|
6946
|
+
id: string;
|
6947
|
+
value: string;
|
6948
|
+
createdAt: Date;
|
6949
|
+
updatedAt: Date;
|
6950
|
+
deletedAt: Date | null;
|
6951
|
+
level: 2 | 1 | 3;
|
6952
|
+
parentId: string | null;
|
6953
|
+
childCategoryList: {
|
6954
|
+
id: string;
|
6955
|
+
value: string;
|
6956
|
+
level: 2 | 1 | 3;
|
6957
|
+
parentId: string | null;
|
6958
|
+
childCategoryList: {
|
6959
|
+
id: string;
|
6960
|
+
value: string;
|
6961
|
+
level: 2 | 1 | 3;
|
6962
|
+
parentId: string | null;
|
6963
|
+
childCategoryList: any[];
|
6964
|
+
}[];
|
6965
|
+
}[];
|
6966
|
+
}[];
|
6967
|
+
tags: {
|
6968
|
+
id: string;
|
6969
|
+
name: string;
|
6970
|
+
createdAt: Date;
|
6971
|
+
updatedAt: Date;
|
6972
|
+
deletedAt: Date | null;
|
6973
|
+
}[];
|
6974
|
+
callFrom: string | null;
|
6975
|
+
callTo: string | null;
|
6976
|
+
note: string | null;
|
6977
|
+
customFields?: {
|
6978
|
+
id: string;
|
6979
|
+
createdAt: Date;
|
6980
|
+
updatedAt: Date;
|
6981
|
+
deletedAt: Date | null;
|
6982
|
+
entityId: string;
|
6983
|
+
attributeId: string;
|
6984
|
+
textValue: string | null;
|
6985
|
+
booleanValue: boolean | null;
|
6986
|
+
numberValue: number | null;
|
6987
|
+
dateValue: Date | null;
|
6988
|
+
}[] | null | undefined;
|
6989
|
+
}>>;
|
6990
|
+
}, "strip", import("zod").ZodTypeAny, {
|
6991
|
+
id: string;
|
6992
|
+
channel: string | null;
|
6993
|
+
direction: string | null;
|
6994
|
+
createdAt: Date;
|
6995
|
+
updatedAt: Date;
|
6996
|
+
deletedAt: Date | null;
|
6997
|
+
entityId: string;
|
6998
|
+
queueId: string | null;
|
6999
|
+
contactId: string | null;
|
7000
|
+
caseId: number;
|
7001
|
+
entityName: string;
|
7002
|
+
agentId: string | null;
|
7003
|
+
startedDate: Date | null;
|
7004
|
+
handledTime: number | null;
|
7005
|
+
firstResponseTime: number | null;
|
7006
|
+
wrapUpForm: {
|
7007
|
+
type: string;
|
7008
|
+
id: string;
|
7009
|
+
disposition: string | null;
|
7010
|
+
createdAt: Date;
|
7011
|
+
updatedAt: Date;
|
7012
|
+
deletedAt: Date | null;
|
7013
|
+
categories: {
|
7014
|
+
id: string;
|
7015
|
+
value: string;
|
7016
|
+
createdAt: Date;
|
7017
|
+
updatedAt: Date;
|
7018
|
+
deletedAt: Date | null;
|
7019
|
+
level: 2 | 1 | 3;
|
7020
|
+
parentId: string | null;
|
7021
|
+
childCategoryList: {
|
7022
|
+
id: string;
|
7023
|
+
value: string;
|
7024
|
+
level: 2 | 1 | 3;
|
7025
|
+
parentId: string | null;
|
7026
|
+
childCategoryList: {
|
7027
|
+
id: string;
|
7028
|
+
value: string;
|
7029
|
+
level: 2 | 1 | 3;
|
7030
|
+
parentId: string | null;
|
7031
|
+
childCategoryList: any[];
|
7032
|
+
}[];
|
7033
|
+
}[];
|
7034
|
+
}[];
|
7035
|
+
tags: {
|
7036
|
+
id: string;
|
7037
|
+
name: string;
|
7038
|
+
createdAt: Date;
|
7039
|
+
updatedAt: Date;
|
7040
|
+
deletedAt: Date | null;
|
7041
|
+
}[];
|
7042
|
+
callFrom: string | null;
|
7043
|
+
callTo: string | null;
|
7044
|
+
note: string | null;
|
7045
|
+
customFields?: {
|
7046
|
+
id: string;
|
7047
|
+
createdAt: Date;
|
7048
|
+
updatedAt: Date;
|
7049
|
+
deletedAt: Date | null;
|
7050
|
+
entityId: string;
|
7051
|
+
attributeId: string;
|
7052
|
+
textValue: string | null;
|
7053
|
+
booleanValue: boolean | null;
|
7054
|
+
numberValue: number | null;
|
7055
|
+
dateValue: Date | null;
|
7056
|
+
}[] | null | undefined;
|
7057
|
+
} | null;
|
7058
|
+
}, {
|
7059
|
+
id: string;
|
7060
|
+
channel: string | null;
|
7061
|
+
direction: string | null;
|
7062
|
+
createdAt: Date;
|
7063
|
+
updatedAt: Date;
|
7064
|
+
deletedAt: Date | null;
|
7065
|
+
entityId: string;
|
7066
|
+
queueId: string | null;
|
7067
|
+
contactId: string | null;
|
7068
|
+
caseId: number;
|
7069
|
+
entityName: string;
|
7070
|
+
agentId: string | null;
|
7071
|
+
startedDate: Date | null;
|
7072
|
+
handledTime: number | null;
|
7073
|
+
firstResponseTime: number | null;
|
7074
|
+
wrapUpForm: {
|
7075
|
+
type: string;
|
7076
|
+
id: string;
|
7077
|
+
disposition: string | null;
|
7078
|
+
createdAt: Date;
|
7079
|
+
updatedAt: Date;
|
7080
|
+
deletedAt: Date | null;
|
7081
|
+
categories: {
|
7082
|
+
id: string;
|
7083
|
+
value: string;
|
7084
|
+
createdAt: Date;
|
7085
|
+
updatedAt: Date;
|
7086
|
+
deletedAt: Date | null;
|
7087
|
+
level: 2 | 1 | 3;
|
7088
|
+
parentId: string | null;
|
7089
|
+
childCategoryList: {
|
7090
|
+
id: string;
|
7091
|
+
value: string;
|
7092
|
+
level: 2 | 1 | 3;
|
7093
|
+
parentId: string | null;
|
7094
|
+
childCategoryList: {
|
7095
|
+
id: string;
|
7096
|
+
value: string;
|
7097
|
+
level: 2 | 1 | 3;
|
7098
|
+
parentId: string | null;
|
7099
|
+
childCategoryList: any[];
|
7100
|
+
}[];
|
7101
|
+
}[];
|
7102
|
+
}[];
|
7103
|
+
tags: {
|
7104
|
+
id: string;
|
7105
|
+
name: string;
|
7106
|
+
createdAt: Date;
|
7107
|
+
updatedAt: Date;
|
7108
|
+
deletedAt: Date | null;
|
7109
|
+
}[];
|
7110
|
+
callFrom: string | null;
|
7111
|
+
callTo: string | null;
|
7112
|
+
note: string | null;
|
7113
|
+
customFields?: {
|
7114
|
+
id: string;
|
7115
|
+
createdAt: Date;
|
7116
|
+
updatedAt: Date;
|
7117
|
+
deletedAt: Date | null;
|
7118
|
+
entityId: string;
|
7119
|
+
attributeId: string;
|
7120
|
+
textValue: string | null;
|
7121
|
+
booleanValue: boolean | null;
|
7122
|
+
numberValue: number | null;
|
7123
|
+
dateValue: Date | null;
|
7124
|
+
}[] | null | undefined;
|
7125
|
+
} | null;
|
7126
|
+
}>;
|
5257
7127
|
}, "strip", import("zod").ZodTypeAny, {
|
5258
7128
|
id: string;
|
5259
7129
|
direction: string;
|
@@ -5356,6 +7226,75 @@ export declare const mailContract: {
|
|
5356
7226
|
notificationCount: number | null;
|
5357
7227
|
};
|
5358
7228
|
resolved: boolean;
|
7229
|
+
cxlog: {
|
7230
|
+
id: string;
|
7231
|
+
channel: string | null;
|
7232
|
+
direction: string | null;
|
7233
|
+
createdAt: Date;
|
7234
|
+
updatedAt: Date;
|
7235
|
+
deletedAt: Date | null;
|
7236
|
+
entityId: string;
|
7237
|
+
queueId: string | null;
|
7238
|
+
contactId: string | null;
|
7239
|
+
caseId: number;
|
7240
|
+
entityName: string;
|
7241
|
+
agentId: string | null;
|
7242
|
+
startedDate: Date | null;
|
7243
|
+
handledTime: number | null;
|
7244
|
+
firstResponseTime: number | null;
|
7245
|
+
wrapUpForm: {
|
7246
|
+
type: string;
|
7247
|
+
id: string;
|
7248
|
+
disposition: string | null;
|
7249
|
+
createdAt: Date;
|
7250
|
+
updatedAt: Date;
|
7251
|
+
deletedAt: Date | null;
|
7252
|
+
categories: {
|
7253
|
+
id: string;
|
7254
|
+
value: string;
|
7255
|
+
createdAt: Date;
|
7256
|
+
updatedAt: Date;
|
7257
|
+
deletedAt: Date | null;
|
7258
|
+
level: 2 | 1 | 3;
|
7259
|
+
parentId: string | null;
|
7260
|
+
childCategoryList: {
|
7261
|
+
id: string;
|
7262
|
+
value: string;
|
7263
|
+
level: 2 | 1 | 3;
|
7264
|
+
parentId: string | null;
|
7265
|
+
childCategoryList: {
|
7266
|
+
id: string;
|
7267
|
+
value: string;
|
7268
|
+
level: 2 | 1 | 3;
|
7269
|
+
parentId: string | null;
|
7270
|
+
childCategoryList: any[];
|
7271
|
+
}[];
|
7272
|
+
}[];
|
7273
|
+
}[];
|
7274
|
+
tags: {
|
7275
|
+
id: string;
|
7276
|
+
name: string;
|
7277
|
+
createdAt: Date;
|
7278
|
+
updatedAt: Date;
|
7279
|
+
deletedAt: Date | null;
|
7280
|
+
}[];
|
7281
|
+
callFrom: string | null;
|
7282
|
+
callTo: string | null;
|
7283
|
+
note: string | null;
|
7284
|
+
customFields?: {
|
7285
|
+
id: string;
|
7286
|
+
createdAt: Date;
|
7287
|
+
updatedAt: Date;
|
7288
|
+
deletedAt: Date | null;
|
7289
|
+
entityId: string;
|
7290
|
+
attributeId: string;
|
7291
|
+
textValue: string | null;
|
7292
|
+
booleanValue: boolean | null;
|
7293
|
+
numberValue: number | null;
|
7294
|
+
dateValue: Date | null;
|
7295
|
+
}[] | null | undefined;
|
7296
|
+
} | null;
|
7297
|
+
};
|
5359
7298
|
assigneeId: string | null;
|
5360
7299
|
subject: string;
|
5361
7300
|
from: {
|
@@ -5765,7 +7704,76 @@ export declare const mailContract: {
|
|
5765
7704
|
phone: string | null;
|
5766
7705
|
notificationCount: number | null;
|
5767
7706
|
};
|
5768
|
-
resolved: boolean;
|
7707
|
+
resolved: boolean;
|
7708
|
+
cxlog: {
|
7709
|
+
id: string;
|
7710
|
+
channel: string | null;
|
7711
|
+
direction: string | null;
|
7712
|
+
createdAt: Date;
|
7713
|
+
updatedAt: Date;
|
7714
|
+
deletedAt: Date | null;
|
7715
|
+
entityId: string;
|
7716
|
+
queueId: string | null;
|
7717
|
+
contactId: string | null;
|
7718
|
+
caseId: number;
|
7719
|
+
entityName: string;
|
7720
|
+
agentId: string | null;
|
7721
|
+
startedDate: Date | null;
|
7722
|
+
handledTime: number | null;
|
7723
|
+
firstResponseTime: number | null;
|
7724
|
+
wrapUpForm: {
|
7725
|
+
type: string;
|
7726
|
+
id: string;
|
7727
|
+
disposition: string | null;
|
7728
|
+
createdAt: Date;
|
7729
|
+
updatedAt: Date;
|
7730
|
+
deletedAt: Date | null;
|
7731
|
+
categories: {
|
7732
|
+
id: string;
|
7733
|
+
value: string;
|
7734
|
+
createdAt: Date;
|
7735
|
+
updatedAt: Date;
|
7736
|
+
deletedAt: Date | null;
|
7737
|
+
level: 2 | 1 | 3;
|
7738
|
+
parentId: string | null;
|
7739
|
+
childCategoryList: {
|
7740
|
+
id: string;
|
7741
|
+
value: string;
|
7742
|
+
level: 2 | 1 | 3;
|
7743
|
+
parentId: string | null;
|
7744
|
+
childCategoryList: {
|
7745
|
+
id: string;
|
7746
|
+
value: string;
|
7747
|
+
level: 2 | 1 | 3;
|
7748
|
+
parentId: string | null;
|
7749
|
+
childCategoryList: any[];
|
7750
|
+
}[];
|
7751
|
+
}[];
|
7752
|
+
}[];
|
7753
|
+
tags: {
|
7754
|
+
id: string;
|
7755
|
+
name: string;
|
7756
|
+
createdAt: Date;
|
7757
|
+
updatedAt: Date;
|
7758
|
+
deletedAt: Date | null;
|
7759
|
+
}[];
|
7760
|
+
callFrom: string | null;
|
7761
|
+
callTo: string | null;
|
7762
|
+
note: string | null;
|
7763
|
+
customFields?: {
|
7764
|
+
id: string;
|
7765
|
+
createdAt: Date;
|
7766
|
+
updatedAt: Date;
|
7767
|
+
deletedAt: Date | null;
|
7768
|
+
entityId: string;
|
7769
|
+
attributeId: string;
|
7770
|
+
textValue: string | null;
|
7771
|
+
booleanValue: boolean | null;
|
7772
|
+
numberValue: number | null;
|
7773
|
+
dateValue: Date | null;
|
7774
|
+
}[] | null | undefined;
|
7775
|
+
} | null;
|
7776
|
+
};
|
5769
7777
|
assigneeId: string | null;
|
5770
7778
|
subject: string;
|
5771
7779
|
from: {
|
@@ -6178,6 +8186,75 @@ export declare const mailContract: {
|
|
6178
8186
|
notificationCount: number | null;
|
6179
8187
|
};
|
6180
8188
|
resolved: boolean;
|
8189
|
+
cxlog: {
|
8190
|
+
id: string;
|
8191
|
+
channel: string | null;
|
8192
|
+
direction: string | null;
|
8193
|
+
createdAt: Date;
|
8194
|
+
updatedAt: Date;
|
8195
|
+
deletedAt: Date | null;
|
8196
|
+
entityId: string;
|
8197
|
+
queueId: string | null;
|
8198
|
+
contactId: string | null;
|
8199
|
+
caseId: number;
|
8200
|
+
entityName: string;
|
8201
|
+
agentId: string | null;
|
8202
|
+
startedDate: Date | null;
|
8203
|
+
handledTime: number | null;
|
8204
|
+
firstResponseTime: number | null;
|
8205
|
+
wrapUpForm: {
|
8206
|
+
type: string;
|
8207
|
+
id: string;
|
8208
|
+
disposition: string | null;
|
8209
|
+
createdAt: Date;
|
8210
|
+
updatedAt: Date;
|
8211
|
+
deletedAt: Date | null;
|
8212
|
+
categories: {
|
8213
|
+
id: string;
|
8214
|
+
value: string;
|
8215
|
+
createdAt: Date;
|
8216
|
+
updatedAt: Date;
|
8217
|
+
deletedAt: Date | null;
|
8218
|
+
level: 2 | 1 | 3;
|
8219
|
+
parentId: string | null;
|
8220
|
+
childCategoryList: {
|
8221
|
+
id: string;
|
8222
|
+
value: string;
|
8223
|
+
level: 2 | 1 | 3;
|
8224
|
+
parentId: string | null;
|
8225
|
+
childCategoryList: {
|
8226
|
+
id: string;
|
8227
|
+
value: string;
|
8228
|
+
level: 2 | 1 | 3;
|
8229
|
+
parentId: string | null;
|
8230
|
+
childCategoryList: any[];
|
8231
|
+
}[];
|
8232
|
+
}[];
|
8233
|
+
}[];
|
8234
|
+
tags: {
|
8235
|
+
id: string;
|
8236
|
+
name: string;
|
8237
|
+
createdAt: Date;
|
8238
|
+
updatedAt: Date;
|
8239
|
+
deletedAt: Date | null;
|
8240
|
+
}[];
|
8241
|
+
callFrom: string | null;
|
8242
|
+
callTo: string | null;
|
8243
|
+
note: string | null;
|
8244
|
+
customFields?: {
|
8245
|
+
id: string;
|
8246
|
+
createdAt: Date;
|
8247
|
+
updatedAt: Date;
|
8248
|
+
deletedAt: Date | null;
|
8249
|
+
entityId: string;
|
8250
|
+
attributeId: string;
|
8251
|
+
textValue: string | null;
|
8252
|
+
booleanValue: boolean | null;
|
8253
|
+
numberValue: number | null;
|
8254
|
+
dateValue: Date | null;
|
8255
|
+
}[] | null | undefined;
|
8256
|
+
} | null;
|
8257
|
+
};
|
6181
8258
|
assigneeId: string | null;
|
6182
8259
|
subject: string;
|
6183
8260
|
from: {
|
@@ -6591,6 +8668,75 @@ export declare const mailContract: {
|
|
6591
8668
|
notificationCount: number | null;
|
6592
8669
|
};
|
6593
8670
|
resolved: boolean;
|
8671
|
+
cxlog: {
|
8672
|
+
id: string;
|
8673
|
+
channel: string | null;
|
8674
|
+
direction: string | null;
|
8675
|
+
createdAt: Date;
|
8676
|
+
updatedAt: Date;
|
8677
|
+
deletedAt: Date | null;
|
8678
|
+
entityId: string;
|
8679
|
+
queueId: string | null;
|
8680
|
+
contactId: string | null;
|
8681
|
+
caseId: number;
|
8682
|
+
entityName: string;
|
8683
|
+
agentId: string | null;
|
8684
|
+
startedDate: Date | null;
|
8685
|
+
handledTime: number | null;
|
8686
|
+
firstResponseTime: number | null;
|
8687
|
+
wrapUpForm: {
|
8688
|
+
type: string;
|
8689
|
+
id: string;
|
8690
|
+
disposition: string | null;
|
8691
|
+
createdAt: Date;
|
8692
|
+
updatedAt: Date;
|
8693
|
+
deletedAt: Date | null;
|
8694
|
+
categories: {
|
8695
|
+
id: string;
|
8696
|
+
value: string;
|
8697
|
+
createdAt: Date;
|
8698
|
+
updatedAt: Date;
|
8699
|
+
deletedAt: Date | null;
|
8700
|
+
level: 2 | 1 | 3;
|
8701
|
+
parentId: string | null;
|
8702
|
+
childCategoryList: {
|
8703
|
+
id: string;
|
8704
|
+
value: string;
|
8705
|
+
level: 2 | 1 | 3;
|
8706
|
+
parentId: string | null;
|
8707
|
+
childCategoryList: {
|
8708
|
+
id: string;
|
8709
|
+
value: string;
|
8710
|
+
level: 2 | 1 | 3;
|
8711
|
+
parentId: string | null;
|
8712
|
+
childCategoryList: any[];
|
8713
|
+
}[];
|
8714
|
+
}[];
|
8715
|
+
}[];
|
8716
|
+
tags: {
|
8717
|
+
id: string;
|
8718
|
+
name: string;
|
8719
|
+
createdAt: Date;
|
8720
|
+
updatedAt: Date;
|
8721
|
+
deletedAt: Date | null;
|
8722
|
+
}[];
|
8723
|
+
callFrom: string | null;
|
8724
|
+
callTo: string | null;
|
8725
|
+
note: string | null;
|
8726
|
+
customFields?: {
|
8727
|
+
id: string;
|
8728
|
+
createdAt: Date;
|
8729
|
+
updatedAt: Date;
|
8730
|
+
deletedAt: Date | null;
|
8731
|
+
entityId: string;
|
8732
|
+
attributeId: string;
|
8733
|
+
textValue: string | null;
|
8734
|
+
booleanValue: boolean | null;
|
8735
|
+
numberValue: number | null;
|
8736
|
+
dateValue: Date | null;
|
8737
|
+
}[] | null | undefined;
|
8738
|
+
} | null;
|
8739
|
+
};
|
6594
8740
|
assigneeId: string | null;
|
6595
8741
|
subject: string;
|
6596
8742
|
from: {
|
@@ -6859,233 +9005,62 @@ export declare const mailContract: {
|
|
6859
9005
|
updatedAt: Date;
|
6860
9006
|
deletedAt: string | null;
|
6861
9007
|
actor: {
|
6862
|
-
id: string;
|
6863
|
-
address: string | null;
|
6864
|
-
name: string;
|
6865
|
-
email: string;
|
6866
|
-
createdAt: Date;
|
6867
|
-
updatedAt: Date;
|
6868
|
-
deletedAt: Date | null;
|
6869
|
-
phone: string | null;
|
6870
|
-
notificationCount: number | null;
|
6871
|
-
};
|
6872
|
-
roomId: string;
|
6873
|
-
actorId: string;
|
6874
|
-
})[];
|
6875
|
-
mail: {
|
6876
|
-
id: string;
|
6877
|
-
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
6878
|
-
address: string;
|
6879
|
-
name: string;
|
6880
|
-
createdAt: Date;
|
6881
|
-
updatedAt: Date;
|
6882
|
-
deletedAt: Date | null;
|
6883
|
-
accountId: string;
|
6884
|
-
mailServerId: string;
|
6885
|
-
mailServer: {
|
6886
|
-
id: string;
|
6887
|
-
name: string;
|
6888
|
-
createdAt: Date;
|
6889
|
-
updatedAt: Date;
|
6890
|
-
deletedAt: Date | null;
|
6891
|
-
smtpHost: string;
|
6892
|
-
smtpPort: number;
|
6893
|
-
smtpTlsPort: number;
|
6894
|
-
useTlsForSmtp: boolean;
|
6895
|
-
imapHost: string;
|
6896
|
-
imapPort: number;
|
6897
|
-
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: import("zod").ZodObject<{
|
6912
|
-
id: import("zod").ZodString;
|
6913
|
-
}, "strip", import("zod").ZodTypeAny, {
|
6914
|
-
id: string;
|
6915
|
-
}, {
|
6916
|
-
id: string;
|
6917
|
-
}>;
|
6918
|
-
responses: {
|
6919
|
-
401: import("zod").ZodObject<{
|
6920
|
-
message: import("zod").ZodString;
|
6921
|
-
error: import("zod").ZodAny;
|
6922
|
-
}, "strip", import("zod").ZodTypeAny, {
|
6923
|
-
message: string;
|
6924
|
-
error?: any;
|
6925
|
-
}, {
|
6926
|
-
message: string;
|
6927
|
-
error?: any;
|
6928
|
-
}>;
|
6929
|
-
404: import("zod").ZodObject<{
|
6930
|
-
message: import("zod").ZodString;
|
6931
|
-
error: import("zod").ZodAny;
|
6932
|
-
}, "strip", import("zod").ZodTypeAny, {
|
6933
|
-
message: string;
|
6934
|
-
error?: any;
|
6935
|
-
}, {
|
6936
|
-
message: string;
|
6937
|
-
error?: any;
|
6938
|
-
}>;
|
6939
|
-
422: import("zod").ZodObject<{
|
6940
|
-
message: import("zod").ZodString;
|
6941
|
-
error: import("zod").ZodAny;
|
6942
|
-
}, "strip", import("zod").ZodTypeAny, {
|
6943
|
-
message: string;
|
6944
|
-
error?: any;
|
6945
|
-
}, {
|
6946
|
-
message: string;
|
6947
|
-
error?: any;
|
6948
|
-
}>;
|
6949
|
-
200: import("zod").ZodObject<{
|
6950
|
-
requestId: import("zod").ZodString;
|
6951
|
-
data: import("zod").ZodArray<import("zod").ZodObject<{
|
6952
|
-
fileName: import("zod").ZodString;
|
6953
|
-
fileType: import("zod").ZodString;
|
6954
|
-
emailEngineAttachmentId: import("zod").ZodString;
|
6955
|
-
uploadId: import("zod").ZodString;
|
6956
|
-
messageId: import("zod").ZodString;
|
6957
|
-
roomId: import("zod").ZodString;
|
6958
|
-
upload: import("zod").ZodObject<{
|
6959
|
-
id: import("zod").ZodString;
|
6960
|
-
createdAt: import("zod").ZodDate;
|
6961
|
-
updatedAt: import("zod").ZodDate;
|
6962
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
6963
|
-
bucketName: import("zod").ZodString;
|
6964
|
-
fileName: import("zod").ZodString;
|
6965
|
-
fileSize: import("zod").ZodNumber;
|
6966
|
-
fileKey: import("zod").ZodString;
|
6967
|
-
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
6968
|
-
status: import("zod").ZodOptional<import("zod").ZodString>;
|
6969
|
-
}, "strip", import("zod").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", import("zod").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", import("zod").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: {
|
9008
|
+
id: string;
|
9009
|
+
address: string | null;
|
9010
|
+
name: string;
|
9011
|
+
email: string;
|
9012
|
+
createdAt: Date;
|
9013
|
+
updatedAt: Date;
|
9014
|
+
deletedAt: Date | null;
|
9015
|
+
phone: string | null;
|
9016
|
+
notificationCount: number | null;
|
9017
|
+
};
|
9018
|
+
roomId: string;
|
9019
|
+
actorId: string;
|
9020
|
+
})[];
|
9021
|
+
mail: {
|
7059
9022
|
id: string;
|
9023
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
9024
|
+
address: string;
|
9025
|
+
name: string;
|
7060
9026
|
createdAt: Date;
|
7061
9027
|
updatedAt: Date;
|
7062
9028
|
deletedAt: Date | null;
|
7063
|
-
|
7064
|
-
|
7065
|
-
|
7066
|
-
|
7067
|
-
|
7068
|
-
|
9029
|
+
accountId: string;
|
9030
|
+
mailServerId: string;
|
9031
|
+
mailServer: {
|
9032
|
+
id: string;
|
9033
|
+
name: string;
|
9034
|
+
createdAt: Date;
|
9035
|
+
updatedAt: Date;
|
9036
|
+
deletedAt: Date | null;
|
9037
|
+
smtpHost: string;
|
9038
|
+
smtpPort: number;
|
9039
|
+
smtpTlsPort: number;
|
9040
|
+
useTlsForSmtp: boolean;
|
9041
|
+
imapHost: string;
|
9042
|
+
imapPort: number;
|
9043
|
+
imapTlsPort: number;
|
9044
|
+
useTlsForImap: boolean;
|
9045
|
+
};
|
7069
9046
|
};
|
7070
|
-
|
7071
|
-
|
7072
|
-
emailEngineAttachmentId: string;
|
7073
|
-
}[];
|
9047
|
+
unReadMessageCount: number;
|
9048
|
+
};
|
7074
9049
|
requestId: string;
|
7075
9050
|
}>;
|
7076
9051
|
};
|
7077
|
-
path: "mail/room/:id
|
9052
|
+
path: "mail/room/:id";
|
7078
9053
|
};
|
7079
|
-
|
7080
|
-
|
7081
|
-
method: "GET";
|
7082
|
-
pathParams: import("zod").ZodObject<{
|
9054
|
+
markAsRead: {
|
9055
|
+
body: import("zod").ZodObject<{
|
7083
9056
|
id: import("zod").ZodString;
|
7084
9057
|
}, "strip", import("zod").ZodTypeAny, {
|
7085
9058
|
id: string;
|
7086
9059
|
}, {
|
7087
9060
|
id: string;
|
7088
9061
|
}>;
|
9062
|
+
summary: "Mark all the unread messages of a room as read";
|
9063
|
+
method: "POST";
|
7089
9064
|
responses: {
|
7090
9065
|
401: import("zod").ZodObject<{
|
7091
9066
|
message: import("zod").ZodString;
|
@@ -7119,77 +9094,20 @@ export declare const mailContract: {
|
|
7119
9094
|
}>;
|
7120
9095
|
200: import("zod").ZodObject<{
|
7121
9096
|
requestId: import("zod").ZodString;
|
7122
|
-
|
7123
|
-
id: import("zod").ZodString;
|
7124
|
-
createdAt: import("zod").ZodDate;
|
7125
|
-
updatedAt: import("zod").ZodDate;
|
7126
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
7127
|
-
name: import("zod").ZodString;
|
7128
|
-
address: import("zod").ZodString;
|
7129
|
-
}, "strip", import("zod").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">;
|
9097
|
+
message: import("zod").ZodString;
|
7144
9098
|
}, "strip", import("zod").ZodTypeAny, {
|
7145
|
-
|
7146
|
-
id: string;
|
7147
|
-
address: string;
|
7148
|
-
name: string;
|
7149
|
-
createdAt: Date;
|
7150
|
-
updatedAt: Date;
|
7151
|
-
deletedAt: Date | null;
|
7152
|
-
}[];
|
9099
|
+
message: string;
|
7153
9100
|
requestId: string;
|
7154
9101
|
}, {
|
7155
|
-
|
7156
|
-
id: string;
|
7157
|
-
address: string;
|
7158
|
-
name: string;
|
7159
|
-
createdAt: Date;
|
7160
|
-
updatedAt: Date;
|
7161
|
-
deletedAt: Date | null;
|
7162
|
-
}[];
|
9102
|
+
message: string;
|
7163
9103
|
requestId: string;
|
7164
9104
|
}>;
|
7165
9105
|
};
|
7166
|
-
path: "mail/room
|
9106
|
+
path: "mail/room/mark_as_read";
|
7167
9107
|
};
|
7168
|
-
|
7169
|
-
|
7170
|
-
|
7171
|
-
assigneeId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
7172
|
-
note: import("zod").ZodOptional<import("zod").ZodString>;
|
7173
|
-
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
7174
|
-
handover: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
7175
|
-
selfAssign: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
7176
|
-
}, "strip", import("zod").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";
|
9108
|
+
getById: {
|
9109
|
+
summary: "Get a mail room by id";
|
9110
|
+
method: "GET";
|
7193
9111
|
pathParams: import("zod").ZodObject<{
|
7194
9112
|
id: import("zod").ZodString;
|
7195
9113
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -8904,56 +10822,475 @@ export declare const mailContract: {
|
|
8904
10822
|
state: import("zod").ZodUnion<[import("zod").ZodLiteral<"init">, import("zod").ZodLiteral<"syncing">, import("zod").ZodLiteral<"connecting">, import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">, import("zod").ZodLiteral<"authenticationError">, import("zod").ZodLiteral<"connectError">, import("zod").ZodLiteral<"unset">]>;
|
8905
10823
|
}, "strip", import("zod").ZodTypeAny, {
|
8906
10824
|
id: string;
|
8907
|
-
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
8908
|
-
address: string;
|
8909
|
-
name: string;
|
10825
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
10826
|
+
address: string;
|
10827
|
+
name: string;
|
10828
|
+
createdAt: Date;
|
10829
|
+
updatedAt: Date;
|
10830
|
+
deletedAt: Date | null;
|
10831
|
+
accountId: string;
|
10832
|
+
mailServerId: string;
|
10833
|
+
mailServer: {
|
10834
|
+
id: string;
|
10835
|
+
name: string;
|
10836
|
+
createdAt: Date;
|
10837
|
+
updatedAt: Date;
|
10838
|
+
deletedAt: Date | null;
|
10839
|
+
smtpHost: string;
|
10840
|
+
smtpPort: number;
|
10841
|
+
smtpTlsPort: number;
|
10842
|
+
useTlsForSmtp: boolean;
|
10843
|
+
imapHost: string;
|
10844
|
+
imapPort: number;
|
10845
|
+
imapTlsPort: number;
|
10846
|
+
useTlsForImap: boolean;
|
10847
|
+
};
|
10848
|
+
}, {
|
10849
|
+
id: string;
|
10850
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
10851
|
+
address: string;
|
10852
|
+
name: string;
|
10853
|
+
createdAt: Date;
|
10854
|
+
updatedAt: Date;
|
10855
|
+
deletedAt: Date | null;
|
10856
|
+
accountId: string;
|
10857
|
+
mailServerId: string;
|
10858
|
+
mailServer: {
|
10859
|
+
id: string;
|
10860
|
+
name: string;
|
10861
|
+
createdAt: Date;
|
10862
|
+
updatedAt: Date;
|
10863
|
+
deletedAt: Date | null;
|
10864
|
+
smtpHost: string;
|
10865
|
+
smtpPort: number;
|
10866
|
+
smtpTlsPort: number;
|
10867
|
+
useTlsForSmtp: boolean;
|
10868
|
+
imapHost: string;
|
10869
|
+
imapPort: number;
|
10870
|
+
imapTlsPort: number;
|
10871
|
+
useTlsForImap: boolean;
|
10872
|
+
};
|
10873
|
+
}>;
|
10874
|
+
unReadMessageCount: import("zod").ZodNumber;
|
10875
|
+
cxlog: import("zod").ZodObject<{
|
10876
|
+
id: import("zod").ZodString;
|
10877
|
+
createdAt: import("zod").ZodDate;
|
10878
|
+
updatedAt: import("zod").ZodDate;
|
10879
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
10880
|
+
caseId: import("zod").ZodNumber;
|
10881
|
+
entityId: import("zod").ZodString;
|
10882
|
+
entityName: import("zod").ZodString;
|
10883
|
+
contactId: import("zod").ZodNullable<import("zod").ZodString>;
|
10884
|
+
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
10885
|
+
queueId: import("zod").ZodNullable<import("zod").ZodString>;
|
10886
|
+
agentId: import("zod").ZodNullable<import("zod").ZodString>;
|
10887
|
+
direction: import("zod").ZodNullable<import("zod").ZodString>;
|
10888
|
+
startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
|
10889
|
+
handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
10890
|
+
firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
10891
|
+
wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
|
10892
|
+
id: import("zod").ZodString;
|
10893
|
+
createdAt: import("zod").ZodDate;
|
10894
|
+
updatedAt: import("zod").ZodDate;
|
10895
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
10896
|
+
note: import("zod").ZodNullable<import("zod").ZodString>;
|
10897
|
+
disposition: import("zod").ZodNullable<import("zod").ZodString>;
|
10898
|
+
type: import("zod").ZodString;
|
10899
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
10900
|
+
id: import("zod").ZodString;
|
10901
|
+
createdAt: import("zod").ZodDate;
|
10902
|
+
updatedAt: import("zod").ZodDate;
|
10903
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
10904
|
+
name: import("zod").ZodString;
|
10905
|
+
}, "strip", import("zod").ZodTypeAny, {
|
10906
|
+
id: string;
|
10907
|
+
name: string;
|
10908
|
+
createdAt: Date;
|
10909
|
+
updatedAt: Date;
|
10910
|
+
deletedAt: Date | null;
|
10911
|
+
}, {
|
10912
|
+
id: string;
|
10913
|
+
name: string;
|
10914
|
+
createdAt: Date;
|
10915
|
+
updatedAt: Date;
|
10916
|
+
deletedAt: Date | null;
|
10917
|
+
}>, "many">;
|
10918
|
+
categories: import("zod").ZodArray<import("zod").ZodObject<{
|
10919
|
+
id: import("zod").ZodString;
|
10920
|
+
createdAt: import("zod").ZodDate;
|
10921
|
+
updatedAt: import("zod").ZodDate;
|
10922
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
10923
|
+
value: import("zod").ZodString;
|
10924
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
10925
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
10926
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodObject<{
|
10927
|
+
id: import("zod").ZodString;
|
10928
|
+
value: import("zod").ZodString;
|
10929
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
10930
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
10931
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodObject<{
|
10932
|
+
id: import("zod").ZodString;
|
10933
|
+
value: import("zod").ZodString;
|
10934
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
10935
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
10936
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodAny, "many">;
|
10937
|
+
}, "strip", import("zod").ZodTypeAny, {
|
10938
|
+
id: string;
|
10939
|
+
value: string;
|
10940
|
+
level: 2 | 1 | 3;
|
10941
|
+
parentId: string | null;
|
10942
|
+
childCategoryList: any[];
|
10943
|
+
}, {
|
10944
|
+
id: string;
|
10945
|
+
value: string;
|
10946
|
+
level: 2 | 1 | 3;
|
10947
|
+
parentId: string | null;
|
10948
|
+
childCategoryList: any[];
|
10949
|
+
}>, "many">;
|
10950
|
+
}, "strip", import("zod").ZodTypeAny, {
|
10951
|
+
id: string;
|
10952
|
+
value: string;
|
10953
|
+
level: 2 | 1 | 3;
|
10954
|
+
parentId: string | null;
|
10955
|
+
childCategoryList: {
|
10956
|
+
id: string;
|
10957
|
+
value: string;
|
10958
|
+
level: 2 | 1 | 3;
|
10959
|
+
parentId: string | null;
|
10960
|
+
childCategoryList: any[];
|
10961
|
+
}[];
|
10962
|
+
}, {
|
10963
|
+
id: string;
|
10964
|
+
value: string;
|
10965
|
+
level: 2 | 1 | 3;
|
10966
|
+
parentId: string | null;
|
10967
|
+
childCategoryList: {
|
10968
|
+
id: string;
|
10969
|
+
value: string;
|
10970
|
+
level: 2 | 1 | 3;
|
10971
|
+
parentId: string | null;
|
10972
|
+
childCategoryList: any[];
|
10973
|
+
}[];
|
10974
|
+
}>, "many">;
|
10975
|
+
}, "strip", import("zod").ZodTypeAny, {
|
10976
|
+
id: string;
|
10977
|
+
value: string;
|
10978
|
+
createdAt: Date;
|
10979
|
+
updatedAt: Date;
|
10980
|
+
deletedAt: Date | null;
|
10981
|
+
level: 2 | 1 | 3;
|
10982
|
+
parentId: string | null;
|
10983
|
+
childCategoryList: {
|
10984
|
+
id: string;
|
10985
|
+
value: string;
|
10986
|
+
level: 2 | 1 | 3;
|
10987
|
+
parentId: string | null;
|
10988
|
+
childCategoryList: {
|
10989
|
+
id: string;
|
10990
|
+
value: string;
|
10991
|
+
level: 2 | 1 | 3;
|
10992
|
+
parentId: string | null;
|
10993
|
+
childCategoryList: any[];
|
10994
|
+
}[];
|
10995
|
+
}[];
|
10996
|
+
}, {
|
10997
|
+
id: string;
|
10998
|
+
value: string;
|
10999
|
+
createdAt: Date;
|
11000
|
+
updatedAt: Date;
|
11001
|
+
deletedAt: Date | null;
|
11002
|
+
level: 2 | 1 | 3;
|
11003
|
+
parentId: string | null;
|
11004
|
+
childCategoryList: {
|
11005
|
+
id: string;
|
11006
|
+
value: string;
|
11007
|
+
level: 2 | 1 | 3;
|
11008
|
+
parentId: string | null;
|
11009
|
+
childCategoryList: {
|
11010
|
+
id: string;
|
11011
|
+
value: string;
|
11012
|
+
level: 2 | 1 | 3;
|
11013
|
+
parentId: string | null;
|
11014
|
+
childCategoryList: any[];
|
11015
|
+
}[];
|
11016
|
+
}[];
|
11017
|
+
}>, "many">;
|
11018
|
+
callFrom: import("zod").ZodNullable<import("zod").ZodString>;
|
11019
|
+
callTo: import("zod").ZodNullable<import("zod").ZodString>;
|
11020
|
+
customFields: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
11021
|
+
id: import("zod").ZodString;
|
11022
|
+
createdAt: import("zod").ZodDate;
|
11023
|
+
updatedAt: import("zod").ZodDate;
|
11024
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
11025
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
11026
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
11027
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
11028
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
11029
|
+
entityId: import("zod").ZodString;
|
11030
|
+
attributeId: import("zod").ZodString;
|
11031
|
+
}, "strip", import("zod").ZodTypeAny, {
|
11032
|
+
id: string;
|
11033
|
+
createdAt: Date;
|
11034
|
+
updatedAt: Date;
|
11035
|
+
deletedAt: Date | null;
|
11036
|
+
entityId: string;
|
11037
|
+
attributeId: string;
|
11038
|
+
textValue: string | null;
|
11039
|
+
booleanValue: boolean | null;
|
11040
|
+
numberValue: number | null;
|
11041
|
+
dateValue: Date | null;
|
11042
|
+
}, {
|
11043
|
+
id: string;
|
11044
|
+
createdAt: Date;
|
11045
|
+
updatedAt: Date;
|
11046
|
+
deletedAt: Date | null;
|
11047
|
+
entityId: string;
|
11048
|
+
attributeId: string;
|
11049
|
+
textValue: string | null;
|
11050
|
+
booleanValue: boolean | null;
|
11051
|
+
numberValue: number | null;
|
11052
|
+
dateValue: Date | null;
|
11053
|
+
}>, "many">>>;
|
11054
|
+
}, "strip", import("zod").ZodTypeAny, {
|
11055
|
+
type: string;
|
11056
|
+
id: string;
|
11057
|
+
disposition: string | null;
|
11058
|
+
createdAt: Date;
|
11059
|
+
updatedAt: Date;
|
11060
|
+
deletedAt: Date | null;
|
11061
|
+
categories: {
|
11062
|
+
id: string;
|
11063
|
+
value: string;
|
11064
|
+
createdAt: Date;
|
11065
|
+
updatedAt: Date;
|
11066
|
+
deletedAt: Date | null;
|
11067
|
+
level: 2 | 1 | 3;
|
11068
|
+
parentId: string | null;
|
11069
|
+
childCategoryList: {
|
11070
|
+
id: string;
|
11071
|
+
value: string;
|
11072
|
+
level: 2 | 1 | 3;
|
11073
|
+
parentId: string | null;
|
11074
|
+
childCategoryList: {
|
11075
|
+
id: string;
|
11076
|
+
value: string;
|
11077
|
+
level: 2 | 1 | 3;
|
11078
|
+
parentId: string | null;
|
11079
|
+
childCategoryList: any[];
|
11080
|
+
}[];
|
11081
|
+
}[];
|
11082
|
+
}[];
|
11083
|
+
tags: {
|
11084
|
+
id: string;
|
11085
|
+
name: string;
|
11086
|
+
createdAt: Date;
|
11087
|
+
updatedAt: Date;
|
11088
|
+
deletedAt: Date | null;
|
11089
|
+
}[];
|
11090
|
+
callFrom: string | null;
|
11091
|
+
callTo: string | null;
|
11092
|
+
note: string | null;
|
11093
|
+
customFields?: {
|
11094
|
+
id: string;
|
11095
|
+
createdAt: Date;
|
11096
|
+
updatedAt: Date;
|
11097
|
+
deletedAt: Date | null;
|
11098
|
+
entityId: string;
|
11099
|
+
attributeId: string;
|
11100
|
+
textValue: string | null;
|
11101
|
+
booleanValue: boolean | null;
|
11102
|
+
numberValue: number | null;
|
11103
|
+
dateValue: Date | null;
|
11104
|
+
}[] | null | undefined;
|
11105
|
+
}, {
|
11106
|
+
type: string;
|
11107
|
+
id: string;
|
11108
|
+
disposition: string | null;
|
11109
|
+
createdAt: Date;
|
11110
|
+
updatedAt: Date;
|
11111
|
+
deletedAt: Date | null;
|
11112
|
+
categories: {
|
11113
|
+
id: string;
|
11114
|
+
value: string;
|
11115
|
+
createdAt: Date;
|
11116
|
+
updatedAt: Date;
|
11117
|
+
deletedAt: Date | null;
|
11118
|
+
level: 2 | 1 | 3;
|
11119
|
+
parentId: string | null;
|
11120
|
+
childCategoryList: {
|
11121
|
+
id: string;
|
11122
|
+
value: string;
|
11123
|
+
level: 2 | 1 | 3;
|
11124
|
+
parentId: string | null;
|
11125
|
+
childCategoryList: {
|
11126
|
+
id: string;
|
11127
|
+
value: string;
|
11128
|
+
level: 2 | 1 | 3;
|
11129
|
+
parentId: string | null;
|
11130
|
+
childCategoryList: any[];
|
11131
|
+
}[];
|
11132
|
+
}[];
|
11133
|
+
}[];
|
11134
|
+
tags: {
|
11135
|
+
id: string;
|
11136
|
+
name: string;
|
11137
|
+
createdAt: Date;
|
11138
|
+
updatedAt: Date;
|
11139
|
+
deletedAt: Date | null;
|
11140
|
+
}[];
|
11141
|
+
callFrom: string | null;
|
11142
|
+
callTo: string | null;
|
11143
|
+
note: string | null;
|
11144
|
+
customFields?: {
|
11145
|
+
id: string;
|
11146
|
+
createdAt: Date;
|
11147
|
+
updatedAt: Date;
|
11148
|
+
deletedAt: Date | null;
|
11149
|
+
entityId: string;
|
11150
|
+
attributeId: string;
|
11151
|
+
textValue: string | null;
|
11152
|
+
booleanValue: boolean | null;
|
11153
|
+
numberValue: number | null;
|
11154
|
+
dateValue: Date | null;
|
11155
|
+
}[] | null | undefined;
|
11156
|
+
}>>;
|
11157
|
+
}, "strip", import("zod").ZodTypeAny, {
|
11158
|
+
id: string;
|
11159
|
+
channel: string | null;
|
11160
|
+
direction: string | null;
|
8910
11161
|
createdAt: Date;
|
8911
11162
|
updatedAt: Date;
|
8912
11163
|
deletedAt: Date | null;
|
8913
|
-
|
8914
|
-
|
8915
|
-
|
11164
|
+
entityId: string;
|
11165
|
+
queueId: string | null;
|
11166
|
+
contactId: string | null;
|
11167
|
+
caseId: number;
|
11168
|
+
entityName: string;
|
11169
|
+
agentId: string | null;
|
11170
|
+
startedDate: Date | null;
|
11171
|
+
handledTime: number | null;
|
11172
|
+
firstResponseTime: number | null;
|
11173
|
+
wrapUpForm: {
|
11174
|
+
type: string;
|
8916
11175
|
id: string;
|
8917
|
-
|
11176
|
+
disposition: string | null;
|
8918
11177
|
createdAt: Date;
|
8919
11178
|
updatedAt: Date;
|
8920
11179
|
deletedAt: Date | null;
|
8921
|
-
|
8922
|
-
|
8923
|
-
|
8924
|
-
|
8925
|
-
|
8926
|
-
|
8927
|
-
|
8928
|
-
|
8929
|
-
|
11180
|
+
categories: {
|
11181
|
+
id: string;
|
11182
|
+
value: string;
|
11183
|
+
createdAt: Date;
|
11184
|
+
updatedAt: Date;
|
11185
|
+
deletedAt: Date | null;
|
11186
|
+
level: 2 | 1 | 3;
|
11187
|
+
parentId: string | null;
|
11188
|
+
childCategoryList: {
|
11189
|
+
id: string;
|
11190
|
+
value: string;
|
11191
|
+
level: 2 | 1 | 3;
|
11192
|
+
parentId: string | null;
|
11193
|
+
childCategoryList: {
|
11194
|
+
id: string;
|
11195
|
+
value: string;
|
11196
|
+
level: 2 | 1 | 3;
|
11197
|
+
parentId: string | null;
|
11198
|
+
childCategoryList: any[];
|
11199
|
+
}[];
|
11200
|
+
}[];
|
11201
|
+
}[];
|
11202
|
+
tags: {
|
11203
|
+
id: string;
|
11204
|
+
name: string;
|
11205
|
+
createdAt: Date;
|
11206
|
+
updatedAt: Date;
|
11207
|
+
deletedAt: Date | null;
|
11208
|
+
}[];
|
11209
|
+
callFrom: string | null;
|
11210
|
+
callTo: string | null;
|
11211
|
+
note: string | null;
|
11212
|
+
customFields?: {
|
11213
|
+
id: string;
|
11214
|
+
createdAt: Date;
|
11215
|
+
updatedAt: Date;
|
11216
|
+
deletedAt: Date | null;
|
11217
|
+
entityId: string;
|
11218
|
+
attributeId: string;
|
11219
|
+
textValue: string | null;
|
11220
|
+
booleanValue: boolean | null;
|
11221
|
+
numberValue: number | null;
|
11222
|
+
dateValue: Date | null;
|
11223
|
+
}[] | null | undefined;
|
11224
|
+
} | null;
|
8930
11225
|
}, {
|
8931
11226
|
id: string;
|
8932
|
-
|
8933
|
-
|
8934
|
-
name: string;
|
11227
|
+
channel: string | null;
|
11228
|
+
direction: string | null;
|
8935
11229
|
createdAt: Date;
|
8936
11230
|
updatedAt: Date;
|
8937
11231
|
deletedAt: Date | null;
|
8938
|
-
|
8939
|
-
|
8940
|
-
|
11232
|
+
entityId: string;
|
11233
|
+
queueId: string | null;
|
11234
|
+
contactId: string | null;
|
11235
|
+
caseId: number;
|
11236
|
+
entityName: string;
|
11237
|
+
agentId: string | null;
|
11238
|
+
startedDate: Date | null;
|
11239
|
+
handledTime: number | null;
|
11240
|
+
firstResponseTime: number | null;
|
11241
|
+
wrapUpForm: {
|
11242
|
+
type: string;
|
8941
11243
|
id: string;
|
8942
|
-
|
11244
|
+
disposition: string | null;
|
8943
11245
|
createdAt: Date;
|
8944
11246
|
updatedAt: Date;
|
8945
11247
|
deletedAt: Date | null;
|
8946
|
-
|
8947
|
-
|
8948
|
-
|
8949
|
-
|
8950
|
-
|
8951
|
-
|
8952
|
-
|
8953
|
-
|
8954
|
-
|
11248
|
+
categories: {
|
11249
|
+
id: string;
|
11250
|
+
value: string;
|
11251
|
+
createdAt: Date;
|
11252
|
+
updatedAt: Date;
|
11253
|
+
deletedAt: Date | null;
|
11254
|
+
level: 2 | 1 | 3;
|
11255
|
+
parentId: string | null;
|
11256
|
+
childCategoryList: {
|
11257
|
+
id: string;
|
11258
|
+
value: string;
|
11259
|
+
level: 2 | 1 | 3;
|
11260
|
+
parentId: string | null;
|
11261
|
+
childCategoryList: {
|
11262
|
+
id: string;
|
11263
|
+
value: string;
|
11264
|
+
level: 2 | 1 | 3;
|
11265
|
+
parentId: string | null;
|
11266
|
+
childCategoryList: any[];
|
11267
|
+
}[];
|
11268
|
+
}[];
|
11269
|
+
}[];
|
11270
|
+
tags: {
|
11271
|
+
id: string;
|
11272
|
+
name: string;
|
11273
|
+
createdAt: Date;
|
11274
|
+
updatedAt: Date;
|
11275
|
+
deletedAt: Date | null;
|
11276
|
+
}[];
|
11277
|
+
callFrom: string | null;
|
11278
|
+
callTo: string | null;
|
11279
|
+
note: string | null;
|
11280
|
+
customFields?: {
|
11281
|
+
id: string;
|
11282
|
+
createdAt: Date;
|
11283
|
+
updatedAt: Date;
|
11284
|
+
deletedAt: Date | null;
|
11285
|
+
entityId: string;
|
11286
|
+
attributeId: string;
|
11287
|
+
textValue: string | null;
|
11288
|
+
booleanValue: boolean | null;
|
11289
|
+
numberValue: number | null;
|
11290
|
+
dateValue: Date | null;
|
11291
|
+
}[] | null | undefined;
|
11292
|
+
} | null;
|
8955
11293
|
}>;
|
8956
|
-
unReadMessageCount: import("zod").ZodNumber;
|
8957
11294
|
}, "strip", import("zod").ZodTypeAny, {
|
8958
11295
|
id: string;
|
8959
11296
|
direction: string;
|
@@ -9056,6 +11393,75 @@ export declare const mailContract: {
|
|
9056
11393
|
notificationCount: number | null;
|
9057
11394
|
};
|
9058
11395
|
resolved: boolean;
|
11396
|
+
cxlog: {
|
11397
|
+
id: string;
|
11398
|
+
channel: string | null;
|
11399
|
+
direction: string | null;
|
11400
|
+
createdAt: Date;
|
11401
|
+
updatedAt: Date;
|
11402
|
+
deletedAt: Date | null;
|
11403
|
+
entityId: string;
|
11404
|
+
queueId: string | null;
|
11405
|
+
contactId: string | null;
|
11406
|
+
caseId: number;
|
11407
|
+
entityName: string;
|
11408
|
+
agentId: string | null;
|
11409
|
+
startedDate: Date | null;
|
11410
|
+
handledTime: number | null;
|
11411
|
+
firstResponseTime: number | null;
|
11412
|
+
wrapUpForm: {
|
11413
|
+
type: string;
|
11414
|
+
id: string;
|
11415
|
+
disposition: string | null;
|
11416
|
+
createdAt: Date;
|
11417
|
+
updatedAt: Date;
|
11418
|
+
deletedAt: Date | null;
|
11419
|
+
categories: {
|
11420
|
+
id: string;
|
11421
|
+
value: string;
|
11422
|
+
createdAt: Date;
|
11423
|
+
updatedAt: Date;
|
11424
|
+
deletedAt: Date | null;
|
11425
|
+
level: 2 | 1 | 3;
|
11426
|
+
parentId: string | null;
|
11427
|
+
childCategoryList: {
|
11428
|
+
id: string;
|
11429
|
+
value: string;
|
11430
|
+
level: 2 | 1 | 3;
|
11431
|
+
parentId: string | null;
|
11432
|
+
childCategoryList: {
|
11433
|
+
id: string;
|
11434
|
+
value: string;
|
11435
|
+
level: 2 | 1 | 3;
|
11436
|
+
parentId: string | null;
|
11437
|
+
childCategoryList: any[];
|
11438
|
+
}[];
|
11439
|
+
}[];
|
11440
|
+
}[];
|
11441
|
+
tags: {
|
11442
|
+
id: string;
|
11443
|
+
name: string;
|
11444
|
+
createdAt: Date;
|
11445
|
+
updatedAt: Date;
|
11446
|
+
deletedAt: Date | null;
|
11447
|
+
}[];
|
11448
|
+
callFrom: string | null;
|
11449
|
+
callTo: string | null;
|
11450
|
+
note: string | null;
|
11451
|
+
customFields?: {
|
11452
|
+
id: string;
|
11453
|
+
createdAt: Date;
|
11454
|
+
updatedAt: Date;
|
11455
|
+
deletedAt: Date | null;
|
11456
|
+
entityId: string;
|
11457
|
+
attributeId: string;
|
11458
|
+
textValue: string | null;
|
11459
|
+
booleanValue: boolean | null;
|
11460
|
+
numberValue: number | null;
|
11461
|
+
dateValue: Date | null;
|
11462
|
+
}[] | null | undefined;
|
11463
|
+
} | null;
|
11464
|
+
};
|
9059
11465
|
assigneeId: string | null;
|
9060
11466
|
subject: string;
|
9061
11467
|
from: {
|
@@ -9466,6 +11872,75 @@ export declare const mailContract: {
|
|
9466
11872
|
notificationCount: number | null;
|
9467
11873
|
};
|
9468
11874
|
resolved: boolean;
|
11875
|
+
cxlog: {
|
11876
|
+
id: string;
|
11877
|
+
channel: string | null;
|
11878
|
+
direction: string | null;
|
11879
|
+
createdAt: Date;
|
11880
|
+
updatedAt: Date;
|
11881
|
+
deletedAt: Date | null;
|
11882
|
+
entityId: string;
|
11883
|
+
queueId: string | null;
|
11884
|
+
contactId: string | null;
|
11885
|
+
caseId: number;
|
11886
|
+
entityName: string;
|
11887
|
+
agentId: string | null;
|
11888
|
+
startedDate: Date | null;
|
11889
|
+
handledTime: number | null;
|
11890
|
+
firstResponseTime: number | null;
|
11891
|
+
wrapUpForm: {
|
11892
|
+
type: string;
|
11893
|
+
id: string;
|
11894
|
+
disposition: string | null;
|
11895
|
+
createdAt: Date;
|
11896
|
+
updatedAt: Date;
|
11897
|
+
deletedAt: Date | null;
|
11898
|
+
categories: {
|
11899
|
+
id: string;
|
11900
|
+
value: string;
|
11901
|
+
createdAt: Date;
|
11902
|
+
updatedAt: Date;
|
11903
|
+
deletedAt: Date | null;
|
11904
|
+
level: 2 | 1 | 3;
|
11905
|
+
parentId: string | null;
|
11906
|
+
childCategoryList: {
|
11907
|
+
id: string;
|
11908
|
+
value: string;
|
11909
|
+
level: 2 | 1 | 3;
|
11910
|
+
parentId: string | null;
|
11911
|
+
childCategoryList: {
|
11912
|
+
id: string;
|
11913
|
+
value: string;
|
11914
|
+
level: 2 | 1 | 3;
|
11915
|
+
parentId: string | null;
|
11916
|
+
childCategoryList: any[];
|
11917
|
+
}[];
|
11918
|
+
}[];
|
11919
|
+
}[];
|
11920
|
+
tags: {
|
11921
|
+
id: string;
|
11922
|
+
name: string;
|
11923
|
+
createdAt: Date;
|
11924
|
+
updatedAt: Date;
|
11925
|
+
deletedAt: Date | null;
|
11926
|
+
}[];
|
11927
|
+
callFrom: string | null;
|
11928
|
+
callTo: string | null;
|
11929
|
+
note: string | null;
|
11930
|
+
customFields?: {
|
11931
|
+
id: string;
|
11932
|
+
createdAt: Date;
|
11933
|
+
updatedAt: Date;
|
11934
|
+
deletedAt: Date | null;
|
11935
|
+
entityId: string;
|
11936
|
+
attributeId: string;
|
11937
|
+
textValue: string | null;
|
11938
|
+
booleanValue: boolean | null;
|
11939
|
+
numberValue: number | null;
|
11940
|
+
dateValue: Date | null;
|
11941
|
+
}[] | null | undefined;
|
11942
|
+
} | null;
|
11943
|
+
};
|
9469
11944
|
assigneeId: string | null;
|
9470
11945
|
subject: string;
|
9471
11946
|
from: {
|
@@ -9878,6 +12353,75 @@ export declare const mailContract: {
|
|
9878
12353
|
notificationCount: number | null;
|
9879
12354
|
};
|
9880
12355
|
resolved: boolean;
|
12356
|
+
cxlog: {
|
12357
|
+
id: string;
|
12358
|
+
channel: string | null;
|
12359
|
+
direction: string | null;
|
12360
|
+
createdAt: Date;
|
12361
|
+
updatedAt: Date;
|
12362
|
+
deletedAt: Date | null;
|
12363
|
+
entityId: string;
|
12364
|
+
queueId: string | null;
|
12365
|
+
contactId: string | null;
|
12366
|
+
caseId: number;
|
12367
|
+
entityName: string;
|
12368
|
+
agentId: string | null;
|
12369
|
+
startedDate: Date | null;
|
12370
|
+
handledTime: number | null;
|
12371
|
+
firstResponseTime: number | null;
|
12372
|
+
wrapUpForm: {
|
12373
|
+
type: string;
|
12374
|
+
id: string;
|
12375
|
+
disposition: string | null;
|
12376
|
+
createdAt: Date;
|
12377
|
+
updatedAt: Date;
|
12378
|
+
deletedAt: Date | null;
|
12379
|
+
categories: {
|
12380
|
+
id: string;
|
12381
|
+
value: string;
|
12382
|
+
createdAt: Date;
|
12383
|
+
updatedAt: Date;
|
12384
|
+
deletedAt: Date | null;
|
12385
|
+
level: 2 | 1 | 3;
|
12386
|
+
parentId: string | null;
|
12387
|
+
childCategoryList: {
|
12388
|
+
id: string;
|
12389
|
+
value: string;
|
12390
|
+
level: 2 | 1 | 3;
|
12391
|
+
parentId: string | null;
|
12392
|
+
childCategoryList: {
|
12393
|
+
id: string;
|
12394
|
+
value: string;
|
12395
|
+
level: 2 | 1 | 3;
|
12396
|
+
parentId: string | null;
|
12397
|
+
childCategoryList: any[];
|
12398
|
+
}[];
|
12399
|
+
}[];
|
12400
|
+
}[];
|
12401
|
+
tags: {
|
12402
|
+
id: string;
|
12403
|
+
name: string;
|
12404
|
+
createdAt: Date;
|
12405
|
+
updatedAt: Date;
|
12406
|
+
deletedAt: Date | null;
|
12407
|
+
}[];
|
12408
|
+
callFrom: string | null;
|
12409
|
+
callTo: string | null;
|
12410
|
+
note: string | null;
|
12411
|
+
customFields?: {
|
12412
|
+
id: string;
|
12413
|
+
createdAt: Date;
|
12414
|
+
updatedAt: Date;
|
12415
|
+
deletedAt: Date | null;
|
12416
|
+
entityId: string;
|
12417
|
+
attributeId: string;
|
12418
|
+
textValue: string | null;
|
12419
|
+
booleanValue: boolean | null;
|
12420
|
+
numberValue: number | null;
|
12421
|
+
dateValue: Date | null;
|
12422
|
+
}[] | null | undefined;
|
12423
|
+
} | null;
|
12424
|
+
};
|
9881
12425
|
assigneeId: string | null;
|
9882
12426
|
subject: string;
|
9883
12427
|
from: {
|
@@ -10291,6 +12835,75 @@ export declare const mailContract: {
|
|
10291
12835
|
notificationCount: number | null;
|
10292
12836
|
};
|
10293
12837
|
resolved: boolean;
|
12838
|
+
cxlog: {
|
12839
|
+
id: string;
|
12840
|
+
channel: string | null;
|
12841
|
+
direction: string | null;
|
12842
|
+
createdAt: Date;
|
12843
|
+
updatedAt: Date;
|
12844
|
+
deletedAt: Date | null;
|
12845
|
+
entityId: string;
|
12846
|
+
queueId: string | null;
|
12847
|
+
contactId: string | null;
|
12848
|
+
caseId: number;
|
12849
|
+
entityName: string;
|
12850
|
+
agentId: string | null;
|
12851
|
+
startedDate: Date | null;
|
12852
|
+
handledTime: number | null;
|
12853
|
+
firstResponseTime: number | null;
|
12854
|
+
wrapUpForm: {
|
12855
|
+
type: string;
|
12856
|
+
id: string;
|
12857
|
+
disposition: string | null;
|
12858
|
+
createdAt: Date;
|
12859
|
+
updatedAt: Date;
|
12860
|
+
deletedAt: Date | null;
|
12861
|
+
categories: {
|
12862
|
+
id: string;
|
12863
|
+
value: string;
|
12864
|
+
createdAt: Date;
|
12865
|
+
updatedAt: Date;
|
12866
|
+
deletedAt: Date | null;
|
12867
|
+
level: 2 | 1 | 3;
|
12868
|
+
parentId: string | null;
|
12869
|
+
childCategoryList: {
|
12870
|
+
id: string;
|
12871
|
+
value: string;
|
12872
|
+
level: 2 | 1 | 3;
|
12873
|
+
parentId: string | null;
|
12874
|
+
childCategoryList: {
|
12875
|
+
id: string;
|
12876
|
+
value: string;
|
12877
|
+
level: 2 | 1 | 3;
|
12878
|
+
parentId: string | null;
|
12879
|
+
childCategoryList: any[];
|
12880
|
+
}[];
|
12881
|
+
}[];
|
12882
|
+
}[];
|
12883
|
+
tags: {
|
12884
|
+
id: string;
|
12885
|
+
name: string;
|
12886
|
+
createdAt: Date;
|
12887
|
+
updatedAt: Date;
|
12888
|
+
deletedAt: Date | null;
|
12889
|
+
}[];
|
12890
|
+
callFrom: string | null;
|
12891
|
+
callTo: string | null;
|
12892
|
+
note: string | null;
|
12893
|
+
customFields?: {
|
12894
|
+
id: string;
|
12895
|
+
createdAt: Date;
|
12896
|
+
updatedAt: Date;
|
12897
|
+
deletedAt: Date | null;
|
12898
|
+
entityId: string;
|
12899
|
+
attributeId: string;
|
12900
|
+
textValue: string | null;
|
12901
|
+
booleanValue: boolean | null;
|
12902
|
+
numberValue: number | null;
|
12903
|
+
dateValue: Date | null;
|
12904
|
+
}[] | null | undefined;
|
12905
|
+
} | null;
|
12906
|
+
};
|
10294
12907
|
assigneeId: string | null;
|
10295
12908
|
subject: string;
|
10296
12909
|
from: {
|
@@ -10605,60 +13218,6 @@ export declare const mailContract: {
|
|
10605
13218
|
};
|
10606
13219
|
path: "mail/room/:id";
|
10607
13220
|
};
|
10608
|
-
markAsRead: {
|
10609
|
-
summary: "Mark all the un read messages as read";
|
10610
|
-
method: "GET";
|
10611
|
-
pathParams: import("zod").ZodObject<{
|
10612
|
-
id: import("zod").ZodString;
|
10613
|
-
}, "strip", import("zod").ZodTypeAny, {
|
10614
|
-
id: string;
|
10615
|
-
}, {
|
10616
|
-
id: string;
|
10617
|
-
}>;
|
10618
|
-
responses: {
|
10619
|
-
401: import("zod").ZodObject<{
|
10620
|
-
message: import("zod").ZodString;
|
10621
|
-
error: import("zod").ZodAny;
|
10622
|
-
}, "strip", import("zod").ZodTypeAny, {
|
10623
|
-
message: string;
|
10624
|
-
error?: any;
|
10625
|
-
}, {
|
10626
|
-
message: string;
|
10627
|
-
error?: any;
|
10628
|
-
}>;
|
10629
|
-
404: import("zod").ZodObject<{
|
10630
|
-
message: import("zod").ZodString;
|
10631
|
-
error: import("zod").ZodAny;
|
10632
|
-
}, "strip", import("zod").ZodTypeAny, {
|
10633
|
-
message: string;
|
10634
|
-
error?: any;
|
10635
|
-
}, {
|
10636
|
-
message: string;
|
10637
|
-
error?: any;
|
10638
|
-
}>;
|
10639
|
-
422: import("zod").ZodObject<{
|
10640
|
-
message: import("zod").ZodString;
|
10641
|
-
error: import("zod").ZodAny;
|
10642
|
-
}, "strip", import("zod").ZodTypeAny, {
|
10643
|
-
message: string;
|
10644
|
-
error?: any;
|
10645
|
-
}, {
|
10646
|
-
message: string;
|
10647
|
-
error?: any;
|
10648
|
-
}>;
|
10649
|
-
200: import("zod").ZodObject<{
|
10650
|
-
requestId: import("zod").ZodString;
|
10651
|
-
message: import("zod").ZodString;
|
10652
|
-
}, "strip", import("zod").ZodTypeAny, {
|
10653
|
-
message: string;
|
10654
|
-
requestId: string;
|
10655
|
-
}, {
|
10656
|
-
message: string;
|
10657
|
-
requestId: string;
|
10658
|
-
}>;
|
10659
|
-
};
|
10660
|
-
path: "mail/room/:id";
|
10661
|
-
};
|
10662
13221
|
};
|
10663
13222
|
message: {
|
10664
13223
|
submit: {
|
@@ -10803,7 +13362,7 @@ export declare const mailContract: {
|
|
10803
13362
|
presignedUrl: string;
|
10804
13363
|
}[] | undefined;
|
10805
13364
|
}>;
|
10806
|
-
summary: "Submit a message such compose, reply or forward";
|
13365
|
+
summary: "Submit a message such as compose, reply or forward";
|
10807
13366
|
method: "POST";
|
10808
13367
|
responses: {
|
10809
13368
|
500: import("zod").ZodObject<{
|
@@ -10813,9 +13372,81 @@ export declare const mailContract: {
|
|
10813
13372
|
message: string;
|
10814
13373
|
error?: any;
|
10815
13374
|
}, {
|
10816
|
-
message: string;
|
10817
|
-
error?: any;
|
13375
|
+
message: string;
|
13376
|
+
error?: any;
|
13377
|
+
}>;
|
13378
|
+
401: import("zod").ZodObject<{
|
13379
|
+
message: import("zod").ZodString;
|
13380
|
+
error: import("zod").ZodAny;
|
13381
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13382
|
+
message: string;
|
13383
|
+
error?: any;
|
13384
|
+
}, {
|
13385
|
+
message: string;
|
13386
|
+
error?: any;
|
13387
|
+
}>;
|
13388
|
+
404: import("zod").ZodObject<{
|
13389
|
+
message: import("zod").ZodString;
|
13390
|
+
error: import("zod").ZodAny;
|
13391
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13392
|
+
message: string;
|
13393
|
+
error?: any;
|
13394
|
+
}, {
|
13395
|
+
message: string;
|
13396
|
+
error?: any;
|
13397
|
+
}>;
|
13398
|
+
422: import("zod").ZodObject<{
|
13399
|
+
message: import("zod").ZodString;
|
13400
|
+
error: import("zod").ZodAny;
|
13401
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13402
|
+
message: string;
|
13403
|
+
error?: any;
|
13404
|
+
}, {
|
13405
|
+
message: string;
|
13406
|
+
error?: any;
|
13407
|
+
}>;
|
13408
|
+
200: import("zod").ZodObject<{
|
13409
|
+
requestId: import("zod").ZodString;
|
13410
|
+
data: import("zod").ZodObject<{
|
13411
|
+
response: import("zod").ZodString;
|
13412
|
+
messageId: import("zod").ZodString;
|
13413
|
+
sendAt: import("zod").ZodString;
|
13414
|
+
queueId: import("zod").ZodString;
|
13415
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13416
|
+
response: string;
|
13417
|
+
queueId: string;
|
13418
|
+
messageId: string;
|
13419
|
+
sendAt: string;
|
13420
|
+
}, {
|
13421
|
+
response: string;
|
13422
|
+
queueId: string;
|
13423
|
+
messageId: string;
|
13424
|
+
sendAt: string;
|
13425
|
+
}>;
|
13426
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13427
|
+
data: {
|
13428
|
+
response: string;
|
13429
|
+
queueId: string;
|
13430
|
+
messageId: string;
|
13431
|
+
sendAt: string;
|
13432
|
+
};
|
13433
|
+
requestId: string;
|
13434
|
+
}, {
|
13435
|
+
data: {
|
13436
|
+
response: string;
|
13437
|
+
queueId: string;
|
13438
|
+
messageId: string;
|
13439
|
+
sendAt: string;
|
13440
|
+
};
|
13441
|
+
requestId: string;
|
10818
13442
|
}>;
|
13443
|
+
};
|
13444
|
+
path: "mail/message/submit";
|
13445
|
+
};
|
13446
|
+
getTotalUnreadMessageCount: {
|
13447
|
+
summary: "Get total unread messages counts";
|
13448
|
+
method: "GET";
|
13449
|
+
responses: {
|
10819
13450
|
401: import("zod").ZodObject<{
|
10820
13451
|
message: import("zod").ZodString;
|
10821
13452
|
error: import("zod").ZodAny;
|
@@ -10849,40 +13480,25 @@ export declare const mailContract: {
|
|
10849
13480
|
200: import("zod").ZodObject<{
|
10850
13481
|
requestId: import("zod").ZodString;
|
10851
13482
|
data: import("zod").ZodObject<{
|
10852
|
-
|
10853
|
-
messageId: import("zod").ZodString;
|
10854
|
-
sendAt: import("zod").ZodString;
|
10855
|
-
queueId: import("zod").ZodString;
|
13483
|
+
count: import("zod").ZodNumber;
|
10856
13484
|
}, "strip", import("zod").ZodTypeAny, {
|
10857
|
-
|
10858
|
-
queueId: string;
|
10859
|
-
messageId: string;
|
10860
|
-
sendAt: string;
|
13485
|
+
count: number;
|
10861
13486
|
}, {
|
10862
|
-
|
10863
|
-
queueId: string;
|
10864
|
-
messageId: string;
|
10865
|
-
sendAt: string;
|
13487
|
+
count: number;
|
10866
13488
|
}>;
|
10867
13489
|
}, "strip", import("zod").ZodTypeAny, {
|
10868
13490
|
data: {
|
10869
|
-
|
10870
|
-
queueId: string;
|
10871
|
-
messageId: string;
|
10872
|
-
sendAt: string;
|
13491
|
+
count: number;
|
10873
13492
|
};
|
10874
13493
|
requestId: string;
|
10875
13494
|
}, {
|
10876
13495
|
data: {
|
10877
|
-
|
10878
|
-
queueId: string;
|
10879
|
-
messageId: string;
|
10880
|
-
sendAt: string;
|
13496
|
+
count: number;
|
10881
13497
|
};
|
10882
13498
|
requestId: string;
|
10883
13499
|
}>;
|
10884
13500
|
};
|
10885
|
-
path: "mail/message/
|
13501
|
+
path: "mail/message/new_message_count";
|
10886
13502
|
};
|
10887
13503
|
getById: {
|
10888
13504
|
summary: "Get a message by id";
|
@@ -11486,12 +14102,165 @@ export declare const mailContract: {
|
|
11486
14102
|
}>;
|
11487
14103
|
201: import("zod").ZodObject<{
|
11488
14104
|
requestId: import("zod").ZodString;
|
11489
|
-
|
14105
|
+
data: import("zod").ZodObject<{
|
14106
|
+
id: import("zod").ZodString;
|
14107
|
+
createdAt: import("zod").ZodDate;
|
14108
|
+
updatedAt: import("zod").ZodDate;
|
14109
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
14110
|
+
name: import("zod").ZodString;
|
14111
|
+
address: import("zod").ZodString;
|
14112
|
+
accountId: import("zod").ZodString;
|
14113
|
+
mailServerId: import("zod").ZodString;
|
14114
|
+
mailServer: import("zod").ZodObject<{
|
14115
|
+
id: import("zod").ZodString;
|
14116
|
+
createdAt: import("zod").ZodDate;
|
14117
|
+
updatedAt: import("zod").ZodDate;
|
14118
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
14119
|
+
name: import("zod").ZodString;
|
14120
|
+
smtpHost: import("zod").ZodString;
|
14121
|
+
smtpPort: import("zod").ZodNumber;
|
14122
|
+
smtpTlsPort: import("zod").ZodNumber;
|
14123
|
+
useTlsForSmtp: import("zod").ZodBoolean;
|
14124
|
+
imapHost: import("zod").ZodString;
|
14125
|
+
imapPort: import("zod").ZodNumber;
|
14126
|
+
imapTlsPort: import("zod").ZodNumber;
|
14127
|
+
useTlsForImap: import("zod").ZodBoolean;
|
14128
|
+
}, "strip", import("zod").ZodTypeAny, {
|
14129
|
+
id: string;
|
14130
|
+
name: string;
|
14131
|
+
createdAt: Date;
|
14132
|
+
updatedAt: Date;
|
14133
|
+
deletedAt: Date | null;
|
14134
|
+
smtpHost: string;
|
14135
|
+
smtpPort: number;
|
14136
|
+
smtpTlsPort: number;
|
14137
|
+
useTlsForSmtp: boolean;
|
14138
|
+
imapHost: string;
|
14139
|
+
imapPort: number;
|
14140
|
+
imapTlsPort: number;
|
14141
|
+
useTlsForImap: boolean;
|
14142
|
+
}, {
|
14143
|
+
id: string;
|
14144
|
+
name: string;
|
14145
|
+
createdAt: Date;
|
14146
|
+
updatedAt: Date;
|
14147
|
+
deletedAt: Date | null;
|
14148
|
+
smtpHost: string;
|
14149
|
+
smtpPort: number;
|
14150
|
+
smtpTlsPort: number;
|
14151
|
+
useTlsForSmtp: boolean;
|
14152
|
+
imapHost: string;
|
14153
|
+
imapPort: number;
|
14154
|
+
imapTlsPort: number;
|
14155
|
+
useTlsForImap: boolean;
|
14156
|
+
}>;
|
14157
|
+
state: import("zod").ZodUnion<[import("zod").ZodLiteral<"init">, import("zod").ZodLiteral<"syncing">, import("zod").ZodLiteral<"connecting">, import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">, import("zod").ZodLiteral<"authenticationError">, import("zod").ZodLiteral<"connectError">, import("zod").ZodLiteral<"unset">]>;
|
14158
|
+
}, "strip", import("zod").ZodTypeAny, {
|
14159
|
+
id: string;
|
14160
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
14161
|
+
address: string;
|
14162
|
+
name: string;
|
14163
|
+
createdAt: Date;
|
14164
|
+
updatedAt: Date;
|
14165
|
+
deletedAt: Date | null;
|
14166
|
+
accountId: string;
|
14167
|
+
mailServerId: string;
|
14168
|
+
mailServer: {
|
14169
|
+
id: string;
|
14170
|
+
name: string;
|
14171
|
+
createdAt: Date;
|
14172
|
+
updatedAt: Date;
|
14173
|
+
deletedAt: Date | null;
|
14174
|
+
smtpHost: string;
|
14175
|
+
smtpPort: number;
|
14176
|
+
smtpTlsPort: number;
|
14177
|
+
useTlsForSmtp: boolean;
|
14178
|
+
imapHost: string;
|
14179
|
+
imapPort: number;
|
14180
|
+
imapTlsPort: number;
|
14181
|
+
useTlsForImap: boolean;
|
14182
|
+
};
|
14183
|
+
}, {
|
14184
|
+
id: string;
|
14185
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
14186
|
+
address: string;
|
14187
|
+
name: string;
|
14188
|
+
createdAt: Date;
|
14189
|
+
updatedAt: Date;
|
14190
|
+
deletedAt: Date | null;
|
14191
|
+
accountId: string;
|
14192
|
+
mailServerId: string;
|
14193
|
+
mailServer: {
|
14194
|
+
id: string;
|
14195
|
+
name: string;
|
14196
|
+
createdAt: Date;
|
14197
|
+
updatedAt: Date;
|
14198
|
+
deletedAt: Date | null;
|
14199
|
+
smtpHost: string;
|
14200
|
+
smtpPort: number;
|
14201
|
+
smtpTlsPort: number;
|
14202
|
+
useTlsForSmtp: boolean;
|
14203
|
+
imapHost: string;
|
14204
|
+
imapPort: number;
|
14205
|
+
imapTlsPort: number;
|
14206
|
+
useTlsForImap: boolean;
|
14207
|
+
};
|
14208
|
+
}>;
|
11490
14209
|
}, "strip", import("zod").ZodTypeAny, {
|
11491
|
-
|
14210
|
+
data: {
|
14211
|
+
id: string;
|
14212
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
14213
|
+
address: string;
|
14214
|
+
name: string;
|
14215
|
+
createdAt: Date;
|
14216
|
+
updatedAt: Date;
|
14217
|
+
deletedAt: Date | null;
|
14218
|
+
accountId: string;
|
14219
|
+
mailServerId: string;
|
14220
|
+
mailServer: {
|
14221
|
+
id: string;
|
14222
|
+
name: string;
|
14223
|
+
createdAt: Date;
|
14224
|
+
updatedAt: Date;
|
14225
|
+
deletedAt: Date | null;
|
14226
|
+
smtpHost: string;
|
14227
|
+
smtpPort: number;
|
14228
|
+
smtpTlsPort: number;
|
14229
|
+
useTlsForSmtp: boolean;
|
14230
|
+
imapHost: string;
|
14231
|
+
imapPort: number;
|
14232
|
+
imapTlsPort: number;
|
14233
|
+
useTlsForImap: boolean;
|
14234
|
+
};
|
14235
|
+
};
|
11492
14236
|
requestId: string;
|
11493
14237
|
}, {
|
11494
|
-
|
14238
|
+
data: {
|
14239
|
+
id: string;
|
14240
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
14241
|
+
address: string;
|
14242
|
+
name: string;
|
14243
|
+
createdAt: Date;
|
14244
|
+
updatedAt: Date;
|
14245
|
+
deletedAt: Date | null;
|
14246
|
+
accountId: string;
|
14247
|
+
mailServerId: string;
|
14248
|
+
mailServer: {
|
14249
|
+
id: string;
|
14250
|
+
name: string;
|
14251
|
+
createdAt: Date;
|
14252
|
+
updatedAt: Date;
|
14253
|
+
deletedAt: Date | null;
|
14254
|
+
smtpHost: string;
|
14255
|
+
smtpPort: number;
|
14256
|
+
smtpTlsPort: number;
|
14257
|
+
useTlsForSmtp: boolean;
|
14258
|
+
imapHost: string;
|
14259
|
+
imapPort: number;
|
14260
|
+
imapTlsPort: number;
|
14261
|
+
useTlsForImap: boolean;
|
14262
|
+
};
|
14263
|
+
};
|
11495
14264
|
requestId: string;
|
11496
14265
|
}>;
|
11497
14266
|
400: import("zod").ZodObject<{
|
@@ -11534,8 +14303,71 @@ export declare const mailContract: {
|
|
11534
14303
|
'x-client-timezone'?: string | undefined;
|
11535
14304
|
}>>>;
|
11536
14305
|
};
|
14306
|
+
sync: {
|
14307
|
+
summary: "Sync all accounts state from email engine to system";
|
14308
|
+
method: "GET";
|
14309
|
+
responses: {
|
14310
|
+
401: import("zod").ZodObject<{
|
14311
|
+
message: import("zod").ZodString;
|
14312
|
+
error: import("zod").ZodAny;
|
14313
|
+
}, "strip", import("zod").ZodTypeAny, {
|
14314
|
+
message: string;
|
14315
|
+
error?: any;
|
14316
|
+
}, {
|
14317
|
+
message: string;
|
14318
|
+
error?: any;
|
14319
|
+
}>;
|
14320
|
+
404: import("zod").ZodObject<{
|
14321
|
+
message: import("zod").ZodString;
|
14322
|
+
error: import("zod").ZodAny;
|
14323
|
+
}, "strip", import("zod").ZodTypeAny, {
|
14324
|
+
message: string;
|
14325
|
+
error?: any;
|
14326
|
+
}, {
|
14327
|
+
message: string;
|
14328
|
+
error?: any;
|
14329
|
+
}>;
|
14330
|
+
422: import("zod").ZodObject<{
|
14331
|
+
message: import("zod").ZodString;
|
14332
|
+
error: import("zod").ZodAny;
|
14333
|
+
}, "strip", import("zod").ZodTypeAny, {
|
14334
|
+
message: string;
|
14335
|
+
error?: any;
|
14336
|
+
}, {
|
14337
|
+
message: string;
|
14338
|
+
error?: any;
|
14339
|
+
}>;
|
14340
|
+
200: import("zod").ZodObject<{
|
14341
|
+
requestId: import("zod").ZodString;
|
14342
|
+
message: import("zod").ZodString;
|
14343
|
+
}, "strip", import("zod").ZodTypeAny, {
|
14344
|
+
message: string;
|
14345
|
+
requestId: string;
|
14346
|
+
}, {
|
14347
|
+
message: string;
|
14348
|
+
requestId: string;
|
14349
|
+
}>;
|
14350
|
+
};
|
14351
|
+
path: "mail/account/sync";
|
14352
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
14353
|
+
'x-tenant': import("zod").ZodString;
|
14354
|
+
authorization: import("zod").ZodString;
|
14355
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
14356
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
14357
|
+
}, "strip", import("zod").ZodTypeAny, {
|
14358
|
+
'x-tenant': string;
|
14359
|
+
authorization: string;
|
14360
|
+
'x-client-timezone': string;
|
14361
|
+
'x-code'?: string | undefined;
|
14362
|
+
}, {
|
14363
|
+
'x-tenant': string;
|
14364
|
+
authorization: string;
|
14365
|
+
'x-code'?: string | undefined;
|
14366
|
+
'x-client-timezone'?: string | undefined;
|
14367
|
+
}>>>;
|
14368
|
+
};
|
11537
14369
|
getById: {
|
11538
|
-
summary: "Get
|
14370
|
+
summary: "Get an account by id";
|
11539
14371
|
method: "GET";
|
11540
14372
|
pathParams: import("zod").ZodObject<{
|
11541
14373
|
id: import("zod").ZodString;
|
@@ -11760,6 +14592,16 @@ export declare const mailContract: {
|
|
11760
14592
|
getAll: {
|
11761
14593
|
summary: "Get all accounts";
|
11762
14594
|
method: "GET";
|
14595
|
+
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
14596
|
+
state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">]>>;
|
14597
|
+
withDeleted: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
14598
|
+
}, "strip", import("zod").ZodTypeAny, {
|
14599
|
+
withDeleted: boolean;
|
14600
|
+
state?: "connected" | "disconnected" | undefined;
|
14601
|
+
}, {
|
14602
|
+
state?: "connected" | "disconnected" | undefined;
|
14603
|
+
withDeleted?: boolean | undefined;
|
14604
|
+
}>>;
|
11763
14605
|
responses: {
|
11764
14606
|
401: import("zod").ZodObject<{
|
11765
14607
|
message: import("zod").ZodString;
|