@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.
Files changed (76) hide show
  1. package/dist/index.js +579 -211
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +578 -211
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/business-calendar/index.d.ts +799 -0
  6. package/dist/src/business-calendar/index.d.ts.map +1 -0
  7. package/dist/src/business-calendar/schema.d.ts +172 -0
  8. package/dist/src/business-calendar/schema.d.ts.map +1 -0
  9. package/dist/src/business-calendar/validation.d.ts +210 -0
  10. package/dist/src/business-calendar/validation.d.ts.map +1 -0
  11. package/dist/src/channel/index.d.ts +725 -611
  12. package/dist/src/channel/index.d.ts.map +1 -1
  13. package/dist/src/channel/schema.d.ts +12 -12
  14. package/dist/src/channel/schema.d.ts.map +1 -1
  15. package/dist/src/channel/validation.d.ts +71 -8
  16. package/dist/src/channel/validation.d.ts.map +1 -1
  17. package/dist/src/chat/index.d.ts +5144 -299
  18. package/dist/src/chat/index.d.ts.map +1 -1
  19. package/dist/src/chat/schema.d.ts +807 -47
  20. package/dist/src/chat/schema.d.ts.map +1 -1
  21. package/dist/src/chat/validation.d.ts +1093 -118
  22. package/dist/src/chat/validation.d.ts.map +1 -1
  23. package/dist/src/contract.d.ts +26553 -6263
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/cx-log/index.d.ts +376 -31
  26. package/dist/src/cx-log/index.d.ts.map +1 -1
  27. package/dist/src/cx-log/schema.d.ts +577 -27
  28. package/dist/src/cx-log/schema.d.ts.map +1 -1
  29. package/dist/src/index.d.ts +1 -0
  30. package/dist/src/index.d.ts.map +1 -1
  31. package/dist/src/instagram/index.d.ts +628 -138
  32. package/dist/src/instagram/index.d.ts.map +1 -1
  33. package/dist/src/line/index.d.ts +623 -133
  34. package/dist/src/line/index.d.ts.map +1 -1
  35. package/dist/src/line/schema.d.ts.map +1 -1
  36. package/dist/src/line/validation.d.ts +23 -23
  37. package/dist/src/line/validation.d.ts.map +1 -1
  38. package/dist/src/mail/account-contract.d.ts +230 -4
  39. package/dist/src/mail/account-contract.d.ts.map +1 -1
  40. package/dist/src/mail/mail-contract.d.ts +3277 -435
  41. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  42. package/dist/src/mail/message-contract.d.ts +58 -1
  43. package/dist/src/mail/message-contract.d.ts.map +1 -1
  44. package/dist/src/mail/room-contract.d.ts +3009 -450
  45. package/dist/src/mail/room-contract.d.ts.map +1 -1
  46. package/dist/src/mail/schemas/room-validation.schema.d.ts +731 -6
  47. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  48. package/dist/src/mail/schemas/room.schema.d.ts +557 -0
  49. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  50. package/dist/src/messenger/index.d.ts +628 -138
  51. package/dist/src/messenger/index.d.ts.map +1 -1
  52. package/dist/src/messenger/validation.d.ts +13 -13
  53. package/dist/src/snippet/index.d.ts +545 -97
  54. package/dist/src/snippet/index.d.ts.map +1 -1
  55. package/dist/src/snippet/schema.d.ts +220 -19
  56. package/dist/src/snippet/schema.d.ts.map +1 -1
  57. package/dist/src/snippet/validation.d.ts +5 -5
  58. package/dist/src/viber/index.d.ts +592 -102
  59. package/dist/src/viber/index.d.ts.map +1 -1
  60. package/dist/src/webchat/index.d.ts +8506 -0
  61. package/dist/src/webchat/index.d.ts.map +1 -0
  62. package/dist/src/webchat/schema.d.ts +95 -0
  63. package/dist/src/webchat/schema.d.ts.map +1 -0
  64. package/dist/src/webchat/validation.d.ts +36 -0
  65. package/dist/src/webchat/validation.d.ts.map +1 -0
  66. package/dist/src/workflow-rule/index.d.ts +7295 -0
  67. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  68. package/dist/src/workflow-rule/schema.d.ts +27 -0
  69. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  70. package/dist/src/wrap-up-form/index.d.ts +1000 -6
  71. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  72. package/dist/src/wrap-up-form/schema.d.ts +207 -2
  73. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  74. package/dist/src/wrap-up-form/validation.d.ts +29 -0
  75. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  76. package/package.json +1 -1
@@ -4,19 +4,49 @@ export declare const RoomContractsValidationSchema: {
4
4
  input: z.ZodObject<{
5
5
  page: z.ZodDefault<z.ZodNumber>;
6
6
  pageSize: z.ZodDefault<z.ZodNumber>;
7
- keyword: z.ZodOptional<z.ZodString>;
7
+ keyword: z.ZodOptional<z.ZodObject<{
8
+ value: z.ZodString;
9
+ category: z.ZodUnion<[z.ZodLiteral<"contact">, z.ZodLiteral<"message">]>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ value: string;
12
+ category: "message" | "contact";
13
+ }, {
14
+ value: string;
15
+ category: "message" | "contact";
16
+ }>>;
17
+ contactLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
+ channels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
+ date: z.ZodOptional<z.ZodString>;
20
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
22
  level1: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"close">, z.ZodLiteral<"inbox">, z.ZodLiteral<"sent">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"starred">]>>;
9
23
  level2: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"unassign">, z.ZodLiteral<"mine">, z.ZodLiteral<"other">]>>;
10
24
  }, "strip", z.ZodTypeAny, {
11
25
  page: number;
12
26
  pageSize: number;
13
- keyword?: string | undefined;
27
+ keyword?: {
28
+ value: string;
29
+ category: "message" | "contact";
30
+ } | undefined;
31
+ contactLabels?: string[] | undefined;
32
+ channels?: string[] | undefined;
33
+ date?: string | undefined;
34
+ contacts?: string[] | undefined;
35
+ assignees?: string[] | undefined;
14
36
  level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
15
37
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
16
38
  }, {
17
39
  page?: number | undefined;
18
40
  pageSize?: number | undefined;
19
- keyword?: string | undefined;
41
+ keyword?: {
42
+ value: string;
43
+ category: "message" | "contact";
44
+ } | undefined;
45
+ contactLabels?: string[] | undefined;
46
+ channels?: string[] | undefined;
47
+ date?: string | undefined;
48
+ contacts?: string[] | undefined;
49
+ assignees?: string[] | undefined;
20
50
  level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
21
51
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
22
52
  }>;
@@ -1745,6 +1775,425 @@ export declare const RoomContractsValidationSchema: {
1745
1775
  };
1746
1776
  }>;
1747
1777
  unReadMessageCount: z.ZodNumber;
1778
+ cxlog: z.ZodObject<{
1779
+ id: z.ZodString;
1780
+ createdAt: z.ZodDate;
1781
+ updatedAt: z.ZodDate;
1782
+ deletedAt: z.ZodNullable<z.ZodDate>;
1783
+ caseId: z.ZodNumber;
1784
+ entityId: z.ZodString;
1785
+ entityName: z.ZodString;
1786
+ contactId: z.ZodNullable<z.ZodString>;
1787
+ channel: z.ZodNullable<z.ZodString>;
1788
+ queueId: z.ZodNullable<z.ZodString>;
1789
+ agentId: z.ZodNullable<z.ZodString>;
1790
+ direction: z.ZodNullable<z.ZodString>;
1791
+ startedDate: z.ZodNullable<z.ZodDate>;
1792
+ handledTime: z.ZodNullable<z.ZodNumber>;
1793
+ firstResponseTime: z.ZodNullable<z.ZodNumber>;
1794
+ wrapUpForm: z.ZodNullable<z.ZodObject<{
1795
+ id: z.ZodString;
1796
+ createdAt: z.ZodDate;
1797
+ updatedAt: z.ZodDate;
1798
+ deletedAt: z.ZodNullable<z.ZodDate>;
1799
+ note: z.ZodNullable<z.ZodString>;
1800
+ disposition: z.ZodNullable<z.ZodString>;
1801
+ type: z.ZodString;
1802
+ tags: z.ZodArray<z.ZodObject<{
1803
+ id: z.ZodString;
1804
+ createdAt: z.ZodDate;
1805
+ updatedAt: z.ZodDate;
1806
+ deletedAt: z.ZodNullable<z.ZodDate>;
1807
+ name: z.ZodString;
1808
+ }, "strip", z.ZodTypeAny, {
1809
+ id: string;
1810
+ name: string;
1811
+ createdAt: Date;
1812
+ updatedAt: Date;
1813
+ deletedAt: Date | null;
1814
+ }, {
1815
+ id: string;
1816
+ name: string;
1817
+ createdAt: Date;
1818
+ updatedAt: Date;
1819
+ deletedAt: Date | null;
1820
+ }>, "many">;
1821
+ categories: z.ZodArray<z.ZodObject<{
1822
+ id: z.ZodString;
1823
+ createdAt: z.ZodDate;
1824
+ updatedAt: z.ZodDate;
1825
+ deletedAt: z.ZodNullable<z.ZodDate>;
1826
+ value: z.ZodString;
1827
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1828
+ parentId: z.ZodNullable<z.ZodString>;
1829
+ childCategoryList: z.ZodArray<z.ZodObject<{
1830
+ id: z.ZodString;
1831
+ value: z.ZodString;
1832
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1833
+ parentId: z.ZodNullable<z.ZodString>;
1834
+ childCategoryList: z.ZodArray<z.ZodObject<{
1835
+ id: z.ZodString;
1836
+ value: z.ZodString;
1837
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1838
+ parentId: z.ZodNullable<z.ZodString>;
1839
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
1840
+ }, "strip", z.ZodTypeAny, {
1841
+ id: string;
1842
+ value: string;
1843
+ level: 2 | 1 | 3;
1844
+ parentId: string | null;
1845
+ childCategoryList: any[];
1846
+ }, {
1847
+ id: string;
1848
+ value: string;
1849
+ level: 2 | 1 | 3;
1850
+ parentId: string | null;
1851
+ childCategoryList: any[];
1852
+ }>, "many">;
1853
+ }, "strip", z.ZodTypeAny, {
1854
+ id: string;
1855
+ value: string;
1856
+ level: 2 | 1 | 3;
1857
+ parentId: string | null;
1858
+ childCategoryList: {
1859
+ id: string;
1860
+ value: string;
1861
+ level: 2 | 1 | 3;
1862
+ parentId: string | null;
1863
+ childCategoryList: any[];
1864
+ }[];
1865
+ }, {
1866
+ id: string;
1867
+ value: string;
1868
+ level: 2 | 1 | 3;
1869
+ parentId: string | null;
1870
+ childCategoryList: {
1871
+ id: string;
1872
+ value: string;
1873
+ level: 2 | 1 | 3;
1874
+ parentId: string | null;
1875
+ childCategoryList: any[];
1876
+ }[];
1877
+ }>, "many">;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ id: string;
1880
+ value: string;
1881
+ createdAt: Date;
1882
+ updatedAt: Date;
1883
+ deletedAt: Date | null;
1884
+ level: 2 | 1 | 3;
1885
+ parentId: string | null;
1886
+ childCategoryList: {
1887
+ id: string;
1888
+ value: string;
1889
+ level: 2 | 1 | 3;
1890
+ parentId: string | null;
1891
+ childCategoryList: {
1892
+ id: string;
1893
+ value: string;
1894
+ level: 2 | 1 | 3;
1895
+ parentId: string | null;
1896
+ childCategoryList: any[];
1897
+ }[];
1898
+ }[];
1899
+ }, {
1900
+ id: string;
1901
+ value: string;
1902
+ createdAt: Date;
1903
+ updatedAt: Date;
1904
+ deletedAt: Date | null;
1905
+ level: 2 | 1 | 3;
1906
+ parentId: string | null;
1907
+ childCategoryList: {
1908
+ id: string;
1909
+ value: string;
1910
+ level: 2 | 1 | 3;
1911
+ parentId: string | null;
1912
+ childCategoryList: {
1913
+ id: string;
1914
+ value: string;
1915
+ level: 2 | 1 | 3;
1916
+ parentId: string | null;
1917
+ childCategoryList: any[];
1918
+ }[];
1919
+ }[];
1920
+ }>, "many">;
1921
+ callFrom: z.ZodNullable<z.ZodString>;
1922
+ callTo: z.ZodNullable<z.ZodString>;
1923
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1924
+ id: z.ZodString;
1925
+ createdAt: z.ZodDate;
1926
+ updatedAt: z.ZodDate;
1927
+ deletedAt: z.ZodNullable<z.ZodDate>;
1928
+ textValue: z.ZodNullable<z.ZodString>;
1929
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
1930
+ numberValue: z.ZodNullable<z.ZodNumber>;
1931
+ dateValue: z.ZodNullable<z.ZodDate>;
1932
+ entityId: z.ZodString;
1933
+ attributeId: z.ZodString;
1934
+ }, "strip", z.ZodTypeAny, {
1935
+ id: string;
1936
+ createdAt: Date;
1937
+ updatedAt: Date;
1938
+ deletedAt: Date | null;
1939
+ entityId: string;
1940
+ attributeId: string;
1941
+ textValue: string | null;
1942
+ booleanValue: boolean | null;
1943
+ numberValue: number | null;
1944
+ dateValue: Date | null;
1945
+ }, {
1946
+ id: string;
1947
+ createdAt: Date;
1948
+ updatedAt: Date;
1949
+ deletedAt: Date | null;
1950
+ entityId: string;
1951
+ attributeId: string;
1952
+ textValue: string | null;
1953
+ booleanValue: boolean | null;
1954
+ numberValue: number | null;
1955
+ dateValue: Date | null;
1956
+ }>, "many">>>;
1957
+ }, "strip", z.ZodTypeAny, {
1958
+ type: string;
1959
+ id: string;
1960
+ disposition: string | null;
1961
+ createdAt: Date;
1962
+ updatedAt: Date;
1963
+ deletedAt: Date | null;
1964
+ categories: {
1965
+ id: string;
1966
+ value: string;
1967
+ createdAt: Date;
1968
+ updatedAt: Date;
1969
+ deletedAt: Date | null;
1970
+ level: 2 | 1 | 3;
1971
+ parentId: string | null;
1972
+ childCategoryList: {
1973
+ id: string;
1974
+ value: string;
1975
+ level: 2 | 1 | 3;
1976
+ parentId: string | null;
1977
+ childCategoryList: {
1978
+ id: string;
1979
+ value: string;
1980
+ level: 2 | 1 | 3;
1981
+ parentId: string | null;
1982
+ childCategoryList: any[];
1983
+ }[];
1984
+ }[];
1985
+ }[];
1986
+ tags: {
1987
+ id: string;
1988
+ name: string;
1989
+ createdAt: Date;
1990
+ updatedAt: Date;
1991
+ deletedAt: Date | null;
1992
+ }[];
1993
+ callFrom: string | null;
1994
+ callTo: string | null;
1995
+ note: string | null;
1996
+ customFields?: {
1997
+ id: string;
1998
+ createdAt: Date;
1999
+ updatedAt: Date;
2000
+ deletedAt: Date | null;
2001
+ entityId: string;
2002
+ attributeId: string;
2003
+ textValue: string | null;
2004
+ booleanValue: boolean | null;
2005
+ numberValue: number | null;
2006
+ dateValue: Date | null;
2007
+ }[] | null | undefined;
2008
+ }, {
2009
+ type: string;
2010
+ id: string;
2011
+ disposition: string | null;
2012
+ createdAt: Date;
2013
+ updatedAt: Date;
2014
+ deletedAt: Date | null;
2015
+ categories: {
2016
+ id: string;
2017
+ value: string;
2018
+ createdAt: Date;
2019
+ updatedAt: Date;
2020
+ deletedAt: Date | null;
2021
+ level: 2 | 1 | 3;
2022
+ parentId: string | null;
2023
+ childCategoryList: {
2024
+ id: string;
2025
+ value: string;
2026
+ level: 2 | 1 | 3;
2027
+ parentId: string | null;
2028
+ childCategoryList: {
2029
+ id: string;
2030
+ value: string;
2031
+ level: 2 | 1 | 3;
2032
+ parentId: string | null;
2033
+ childCategoryList: any[];
2034
+ }[];
2035
+ }[];
2036
+ }[];
2037
+ tags: {
2038
+ id: string;
2039
+ name: string;
2040
+ createdAt: Date;
2041
+ updatedAt: Date;
2042
+ deletedAt: Date | null;
2043
+ }[];
2044
+ callFrom: string | null;
2045
+ callTo: string | null;
2046
+ note: string | null;
2047
+ customFields?: {
2048
+ id: string;
2049
+ createdAt: Date;
2050
+ updatedAt: Date;
2051
+ deletedAt: Date | null;
2052
+ entityId: string;
2053
+ attributeId: string;
2054
+ textValue: string | null;
2055
+ booleanValue: boolean | null;
2056
+ numberValue: number | null;
2057
+ dateValue: Date | null;
2058
+ }[] | null | undefined;
2059
+ }>>;
2060
+ }, "strip", z.ZodTypeAny, {
2061
+ id: string;
2062
+ channel: string | null;
2063
+ direction: string | null;
2064
+ createdAt: Date;
2065
+ updatedAt: Date;
2066
+ deletedAt: Date | null;
2067
+ entityId: string;
2068
+ queueId: string | null;
2069
+ contactId: string | null;
2070
+ caseId: number;
2071
+ entityName: string;
2072
+ agentId: string | null;
2073
+ startedDate: Date | null;
2074
+ handledTime: number | null;
2075
+ firstResponseTime: number | null;
2076
+ wrapUpForm: {
2077
+ type: string;
2078
+ id: string;
2079
+ disposition: string | null;
2080
+ createdAt: Date;
2081
+ updatedAt: Date;
2082
+ deletedAt: Date | null;
2083
+ categories: {
2084
+ id: string;
2085
+ value: string;
2086
+ createdAt: Date;
2087
+ updatedAt: Date;
2088
+ deletedAt: Date | null;
2089
+ level: 2 | 1 | 3;
2090
+ parentId: string | null;
2091
+ childCategoryList: {
2092
+ id: string;
2093
+ value: string;
2094
+ level: 2 | 1 | 3;
2095
+ parentId: string | null;
2096
+ childCategoryList: {
2097
+ id: string;
2098
+ value: string;
2099
+ level: 2 | 1 | 3;
2100
+ parentId: string | null;
2101
+ childCategoryList: any[];
2102
+ }[];
2103
+ }[];
2104
+ }[];
2105
+ tags: {
2106
+ id: string;
2107
+ name: string;
2108
+ createdAt: Date;
2109
+ updatedAt: Date;
2110
+ deletedAt: Date | null;
2111
+ }[];
2112
+ callFrom: string | null;
2113
+ callTo: string | null;
2114
+ note: string | null;
2115
+ customFields?: {
2116
+ id: string;
2117
+ createdAt: Date;
2118
+ updatedAt: Date;
2119
+ deletedAt: Date | null;
2120
+ entityId: string;
2121
+ attributeId: string;
2122
+ textValue: string | null;
2123
+ booleanValue: boolean | null;
2124
+ numberValue: number | null;
2125
+ dateValue: Date | null;
2126
+ }[] | null | undefined;
2127
+ } | null;
2128
+ }, {
2129
+ id: string;
2130
+ channel: string | null;
2131
+ direction: string | null;
2132
+ createdAt: Date;
2133
+ updatedAt: Date;
2134
+ deletedAt: Date | null;
2135
+ entityId: string;
2136
+ queueId: string | null;
2137
+ contactId: string | null;
2138
+ caseId: number;
2139
+ entityName: string;
2140
+ agentId: string | null;
2141
+ startedDate: Date | null;
2142
+ handledTime: number | null;
2143
+ firstResponseTime: number | null;
2144
+ wrapUpForm: {
2145
+ type: string;
2146
+ id: string;
2147
+ disposition: string | null;
2148
+ createdAt: Date;
2149
+ updatedAt: Date;
2150
+ deletedAt: Date | null;
2151
+ categories: {
2152
+ id: string;
2153
+ value: string;
2154
+ createdAt: Date;
2155
+ updatedAt: Date;
2156
+ deletedAt: Date | null;
2157
+ level: 2 | 1 | 3;
2158
+ parentId: string | null;
2159
+ childCategoryList: {
2160
+ id: string;
2161
+ value: string;
2162
+ level: 2 | 1 | 3;
2163
+ parentId: string | null;
2164
+ childCategoryList: {
2165
+ id: string;
2166
+ value: string;
2167
+ level: 2 | 1 | 3;
2168
+ parentId: string | null;
2169
+ childCategoryList: any[];
2170
+ }[];
2171
+ }[];
2172
+ }[];
2173
+ tags: {
2174
+ id: string;
2175
+ name: string;
2176
+ createdAt: Date;
2177
+ updatedAt: Date;
2178
+ deletedAt: Date | null;
2179
+ }[];
2180
+ callFrom: string | null;
2181
+ callTo: string | null;
2182
+ note: string | null;
2183
+ customFields?: {
2184
+ id: string;
2185
+ createdAt: Date;
2186
+ updatedAt: Date;
2187
+ deletedAt: Date | null;
2188
+ entityId: string;
2189
+ attributeId: string;
2190
+ textValue: string | null;
2191
+ booleanValue: boolean | null;
2192
+ numberValue: number | null;
2193
+ dateValue: Date | null;
2194
+ }[] | null | undefined;
2195
+ } | null;
2196
+ }>;
1748
2197
  }, "strip", z.ZodTypeAny, {
1749
2198
  id: string;
1750
2199
  direction: string;
@@ -1847,6 +2296,75 @@ export declare const RoomContractsValidationSchema: {
1847
2296
  notificationCount: number | null;
1848
2297
  };
1849
2298
  resolved: boolean;
2299
+ cxlog: {
2300
+ id: string;
2301
+ channel: string | null;
2302
+ direction: string | null;
2303
+ createdAt: Date;
2304
+ updatedAt: Date;
2305
+ deletedAt: Date | null;
2306
+ entityId: string;
2307
+ queueId: string | null;
2308
+ contactId: string | null;
2309
+ caseId: number;
2310
+ entityName: string;
2311
+ agentId: string | null;
2312
+ startedDate: Date | null;
2313
+ handledTime: number | null;
2314
+ firstResponseTime: number | null;
2315
+ wrapUpForm: {
2316
+ type: string;
2317
+ id: string;
2318
+ disposition: string | null;
2319
+ createdAt: Date;
2320
+ updatedAt: Date;
2321
+ deletedAt: Date | null;
2322
+ categories: {
2323
+ id: string;
2324
+ value: string;
2325
+ createdAt: Date;
2326
+ updatedAt: Date;
2327
+ deletedAt: Date | null;
2328
+ level: 2 | 1 | 3;
2329
+ parentId: string | null;
2330
+ childCategoryList: {
2331
+ id: string;
2332
+ value: string;
2333
+ level: 2 | 1 | 3;
2334
+ parentId: string | null;
2335
+ childCategoryList: {
2336
+ id: string;
2337
+ value: string;
2338
+ level: 2 | 1 | 3;
2339
+ parentId: string | null;
2340
+ childCategoryList: any[];
2341
+ }[];
2342
+ }[];
2343
+ }[];
2344
+ tags: {
2345
+ id: string;
2346
+ name: string;
2347
+ createdAt: Date;
2348
+ updatedAt: Date;
2349
+ deletedAt: Date | null;
2350
+ }[];
2351
+ callFrom: string | null;
2352
+ callTo: string | null;
2353
+ note: string | null;
2354
+ customFields?: {
2355
+ id: string;
2356
+ createdAt: Date;
2357
+ updatedAt: Date;
2358
+ deletedAt: Date | null;
2359
+ entityId: string;
2360
+ attributeId: string;
2361
+ textValue: string | null;
2362
+ booleanValue: boolean | null;
2363
+ numberValue: number | null;
2364
+ dateValue: Date | null;
2365
+ }[] | null | undefined;
2366
+ } | null;
2367
+ };
1850
2368
  assigneeId: string | null;
1851
2369
  subject: string;
1852
2370
  from: {
@@ -2257,6 +2775,75 @@ export declare const RoomContractsValidationSchema: {
2257
2775
  notificationCount: number | null;
2258
2776
  };
2259
2777
  resolved: boolean;
2778
+ cxlog: {
2779
+ id: string;
2780
+ channel: string | null;
2781
+ direction: string | null;
2782
+ createdAt: Date;
2783
+ updatedAt: Date;
2784
+ deletedAt: Date | null;
2785
+ entityId: string;
2786
+ queueId: string | null;
2787
+ contactId: string | null;
2788
+ caseId: number;
2789
+ entityName: string;
2790
+ agentId: string | null;
2791
+ startedDate: Date | null;
2792
+ handledTime: number | null;
2793
+ firstResponseTime: number | null;
2794
+ wrapUpForm: {
2795
+ type: string;
2796
+ id: string;
2797
+ disposition: string | null;
2798
+ createdAt: Date;
2799
+ updatedAt: Date;
2800
+ deletedAt: Date | null;
2801
+ categories: {
2802
+ id: string;
2803
+ value: string;
2804
+ createdAt: Date;
2805
+ updatedAt: Date;
2806
+ deletedAt: Date | null;
2807
+ level: 2 | 1 | 3;
2808
+ parentId: string | null;
2809
+ childCategoryList: {
2810
+ id: string;
2811
+ value: string;
2812
+ level: 2 | 1 | 3;
2813
+ parentId: string | null;
2814
+ childCategoryList: {
2815
+ id: string;
2816
+ value: string;
2817
+ level: 2 | 1 | 3;
2818
+ parentId: string | null;
2819
+ childCategoryList: any[];
2820
+ }[];
2821
+ }[];
2822
+ }[];
2823
+ tags: {
2824
+ id: string;
2825
+ name: string;
2826
+ createdAt: Date;
2827
+ updatedAt: Date;
2828
+ deletedAt: Date | null;
2829
+ }[];
2830
+ callFrom: string | null;
2831
+ callTo: string | null;
2832
+ note: string | null;
2833
+ customFields?: {
2834
+ id: string;
2835
+ createdAt: Date;
2836
+ updatedAt: Date;
2837
+ deletedAt: Date | null;
2838
+ entityId: string;
2839
+ attributeId: string;
2840
+ textValue: string | null;
2841
+ booleanValue: boolean | null;
2842
+ numberValue: number | null;
2843
+ dateValue: Date | null;
2844
+ }[] | null | undefined;
2845
+ } | null;
2846
+ };
2260
2847
  assigneeId: string | null;
2261
2848
  subject: string;
2262
2849
  from: {
@@ -2672,6 +3259,75 @@ export declare const RoomContractsValidationSchema: {
2672
3259
  notificationCount: number | null;
2673
3260
  };
2674
3261
  resolved: boolean;
3262
+ cxlog: {
3263
+ id: string;
3264
+ channel: string | null;
3265
+ direction: string | null;
3266
+ createdAt: Date;
3267
+ updatedAt: Date;
3268
+ deletedAt: Date | null;
3269
+ entityId: string;
3270
+ queueId: string | null;
3271
+ contactId: string | null;
3272
+ caseId: number;
3273
+ entityName: string;
3274
+ agentId: string | null;
3275
+ startedDate: Date | null;
3276
+ handledTime: number | null;
3277
+ firstResponseTime: number | null;
3278
+ wrapUpForm: {
3279
+ type: string;
3280
+ id: string;
3281
+ disposition: string | null;
3282
+ createdAt: Date;
3283
+ updatedAt: Date;
3284
+ deletedAt: Date | null;
3285
+ categories: {
3286
+ id: string;
3287
+ value: string;
3288
+ createdAt: Date;
3289
+ updatedAt: Date;
3290
+ deletedAt: Date | null;
3291
+ level: 2 | 1 | 3;
3292
+ parentId: string | null;
3293
+ childCategoryList: {
3294
+ id: string;
3295
+ value: string;
3296
+ level: 2 | 1 | 3;
3297
+ parentId: string | null;
3298
+ childCategoryList: {
3299
+ id: string;
3300
+ value: string;
3301
+ level: 2 | 1 | 3;
3302
+ parentId: string | null;
3303
+ childCategoryList: any[];
3304
+ }[];
3305
+ }[];
3306
+ }[];
3307
+ tags: {
3308
+ id: string;
3309
+ name: string;
3310
+ createdAt: Date;
3311
+ updatedAt: Date;
3312
+ deletedAt: Date | null;
3313
+ }[];
3314
+ callFrom: string | null;
3315
+ callTo: string | null;
3316
+ note: string | null;
3317
+ customFields?: {
3318
+ id: string;
3319
+ createdAt: Date;
3320
+ updatedAt: Date;
3321
+ deletedAt: Date | null;
3322
+ entityId: string;
3323
+ attributeId: string;
3324
+ textValue: string | null;
3325
+ booleanValue: boolean | null;
3326
+ numberValue: number | null;
3327
+ dateValue: Date | null;
3328
+ }[] | null | undefined;
3329
+ } | null;
3330
+ };
2675
3331
  assigneeId: string | null;
2676
3332
  subject: string;
2677
3333
  from: {
@@ -3087,6 +3743,75 @@ export declare const RoomContractsValidationSchema: {
3087
3743
  notificationCount: number | null;
3088
3744
  };
3089
3745
  resolved: boolean;
3746
+ cxlog: {
3747
+ id: string;
3748
+ channel: string | null;
3749
+ direction: string | null;
3750
+ createdAt: Date;
3751
+ updatedAt: Date;
3752
+ deletedAt: Date | null;
3753
+ entityId: string;
3754
+ queueId: string | null;
3755
+ contactId: string | null;
3756
+ caseId: number;
3757
+ entityName: string;
3758
+ agentId: string | null;
3759
+ startedDate: Date | null;
3760
+ handledTime: number | null;
3761
+ firstResponseTime: number | null;
3762
+ wrapUpForm: {
3763
+ type: string;
3764
+ id: string;
3765
+ disposition: string | null;
3766
+ createdAt: Date;
3767
+ updatedAt: Date;
3768
+ deletedAt: Date | null;
3769
+ categories: {
3770
+ id: string;
3771
+ value: string;
3772
+ createdAt: Date;
3773
+ updatedAt: Date;
3774
+ deletedAt: Date | null;
3775
+ level: 2 | 1 | 3;
3776
+ parentId: string | null;
3777
+ childCategoryList: {
3778
+ id: string;
3779
+ value: string;
3780
+ level: 2 | 1 | 3;
3781
+ parentId: string | null;
3782
+ childCategoryList: {
3783
+ id: string;
3784
+ value: string;
3785
+ level: 2 | 1 | 3;
3786
+ parentId: string | null;
3787
+ childCategoryList: any[];
3788
+ }[];
3789
+ }[];
3790
+ }[];
3791
+ tags: {
3792
+ id: string;
3793
+ name: string;
3794
+ createdAt: Date;
3795
+ updatedAt: Date;
3796
+ deletedAt: Date | null;
3797
+ }[];
3798
+ callFrom: string | null;
3799
+ callTo: string | null;
3800
+ note: string | null;
3801
+ customFields?: {
3802
+ id: string;
3803
+ createdAt: Date;
3804
+ updatedAt: Date;
3805
+ deletedAt: Date | null;
3806
+ entityId: string;
3807
+ attributeId: string;
3808
+ textValue: string | null;
3809
+ booleanValue: boolean | null;
3810
+ numberValue: number | null;
3811
+ dateValue: Date | null;
3812
+ }[] | null | undefined;
3813
+ } | null;
3814
+ };
3090
3815
  assigneeId: string | null;
3091
3816
  subject: string;
3092
3817
  from: {
@@ -3403,21 +4128,21 @@ export declare const RoomContractsValidationSchema: {
3403
4128
  };
3404
4129
  update: {
3405
4130
  input: z.ZodObject<{
3406
- resolved: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
4131
+ disposition: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"resolved">, z.ZodLiteral<"follow up">, z.ZodLiteral<"escalated">, z.ZodLiteral<"dropped">, z.ZodLiteral<"prank">, z.ZodLiteral<"blank">]>>>;
3407
4132
  assigneeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3408
4133
  note: z.ZodOptional<z.ZodString>;
3409
4134
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3410
4135
  handover: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
3411
4136
  selfAssign: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
3412
4137
  }, "strip", z.ZodTypeAny, {
3413
- resolved?: boolean | null | undefined;
4138
+ disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
3414
4139
  assigneeId?: string | null | undefined;
3415
4140
  note?: string | undefined;
3416
4141
  tags?: string[] | undefined;
3417
4142
  handover?: boolean | null | undefined;
3418
4143
  selfAssign?: boolean | null | undefined;
3419
4144
  }, {
3420
- resolved?: boolean | "false" | "true" | null | undefined;
4145
+ disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
3421
4146
  assigneeId?: string | null | undefined;
3422
4147
  note?: string | undefined;
3423
4148
  tags?: string[] | undefined;