@kl1/contracts 1.1.63-uat → 1.1.64-uat

Sign up to get free protection for your applications and to get access to all the features.
@@ -1571,7 +1571,7 @@ export declare const cxLogContract: {
1571
1571
  telephonySignature: string | null;
1572
1572
  };
1573
1573
  }>;
1574
- firstAssignee: z.ZodNullable<z.ZodObject<{
1574
+ assignee: z.ZodNullable<z.ZodObject<{
1575
1575
  id: z.ZodString;
1576
1576
  createdAt: z.ZodDate;
1577
1577
  updatedAt: z.ZodDate;
@@ -1775,27 +1775,73 @@ export declare const cxLogContract: {
1775
1775
  telephonySignature: string | null;
1776
1776
  };
1777
1777
  }>>;
1778
- assignee: z.ZodNullable<z.ZodObject<{
1778
+ channel: z.ZodObject<{
1779
1779
  id: z.ZodString;
1780
1780
  createdAt: z.ZodDate;
1781
1781
  updatedAt: z.ZodDate;
1782
1782
  deletedAt: z.ZodNullable<z.ZodDate>;
1783
1783
  name: z.ZodString;
1784
- email: z.ZodString;
1785
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1786
- password: z.ZodString;
1787
- address: z.ZodNullable<z.ZodString>;
1788
- phone: z.ZodNullable<z.ZodString>;
1789
- notificationCount: z.ZodNullable<z.ZodNumber>;
1790
- roles: z.ZodArray<z.ZodObject<{
1784
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed"]>;
1785
+ metadata: z.ZodObject<{
1786
+ id: z.ZodString;
1787
+ name: z.ZodString;
1788
+ accessToken: z.ZodOptional<z.ZodString>;
1789
+ channelSecret: z.ZodOptional<z.ZodString>;
1790
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
1791
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ id: string;
1794
+ name: string;
1795
+ accessToken?: string | undefined;
1796
+ channelSecret?: string | undefined;
1797
+ additionalCredentials?: any;
1798
+ lineRichMenuId?: string | null | undefined;
1799
+ }, {
1800
+ id: string;
1801
+ name: string;
1802
+ accessToken?: string | undefined;
1803
+ channelSecret?: string | undefined;
1804
+ additionalCredentials?: any;
1805
+ lineRichMenuId?: string | null | undefined;
1806
+ }>;
1807
+ brandName: z.ZodString;
1808
+ platformId: z.ZodString;
1809
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
1810
+ isReloginRequired: z.ZodBoolean;
1811
+ connectedUserName: z.ZodString;
1812
+ connectedUserId: z.ZodString;
1813
+ botpressBot: z.ZodNullable<z.ZodObject<{
1814
+ id: z.ZodString;
1815
+ name: z.ZodString;
1816
+ botId: z.ZodString;
1817
+ integrationId: z.ZodString;
1818
+ accessToken: z.ZodString;
1819
+ }, "strip", z.ZodTypeAny, {
1820
+ id: string;
1821
+ name: string;
1822
+ accessToken: string;
1823
+ botId: string;
1824
+ integrationId: string;
1825
+ }, {
1826
+ id: string;
1827
+ name: string;
1828
+ accessToken: string;
1829
+ botId: string;
1830
+ integrationId: string;
1831
+ }>>;
1832
+ actor: z.ZodObject<{
1791
1833
  id: z.ZodString;
1792
1834
  createdAt: z.ZodDate;
1793
1835
  updatedAt: z.ZodDate;
1794
1836
  deletedAt: z.ZodNullable<z.ZodDate>;
1795
- systemName: z.ZodString;
1796
- displayName: z.ZodString;
1797
- description: z.ZodNullable<z.ZodString>;
1798
- permissions: z.ZodArray<z.ZodObject<{
1837
+ name: z.ZodString;
1838
+ email: z.ZodString;
1839
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1840
+ password: z.ZodString;
1841
+ address: z.ZodNullable<z.ZodString>;
1842
+ phone: z.ZodNullable<z.ZodString>;
1843
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1844
+ roles: z.ZodArray<z.ZodObject<{
1799
1845
  id: z.ZodString;
1800
1846
  createdAt: z.ZodDate;
1801
1847
  updatedAt: z.ZodDate;
@@ -1803,6 +1849,31 @@ export declare const cxLogContract: {
1803
1849
  systemName: z.ZodString;
1804
1850
  displayName: z.ZodString;
1805
1851
  description: z.ZodNullable<z.ZodString>;
1852
+ permissions: z.ZodArray<z.ZodObject<{
1853
+ id: z.ZodString;
1854
+ createdAt: z.ZodDate;
1855
+ updatedAt: z.ZodDate;
1856
+ deletedAt: z.ZodNullable<z.ZodDate>;
1857
+ systemName: z.ZodString;
1858
+ displayName: z.ZodString;
1859
+ description: z.ZodNullable<z.ZodString>;
1860
+ }, "strip", z.ZodTypeAny, {
1861
+ id: string;
1862
+ description: string | null;
1863
+ createdAt: Date;
1864
+ updatedAt: Date;
1865
+ deletedAt: Date | null;
1866
+ systemName: string;
1867
+ displayName: string;
1868
+ }, {
1869
+ id: string;
1870
+ description: string | null;
1871
+ createdAt: Date;
1872
+ updatedAt: Date;
1873
+ deletedAt: Date | null;
1874
+ systemName: string;
1875
+ displayName: string;
1876
+ }>, "many">;
1806
1877
  }, "strip", z.ZodTypeAny, {
1807
1878
  id: string;
1808
1879
  description: string | null;
@@ -1811,6 +1882,15 @@ export declare const cxLogContract: {
1811
1882
  deletedAt: Date | null;
1812
1883
  systemName: string;
1813
1884
  displayName: string;
1885
+ permissions: {
1886
+ id: string;
1887
+ description: string | null;
1888
+ createdAt: Date;
1889
+ updatedAt: Date;
1890
+ deletedAt: Date | null;
1891
+ systemName: string;
1892
+ displayName: string;
1893
+ }[];
1814
1894
  }, {
1815
1895
  id: string;
1816
1896
  description: string | null;
@@ -1819,16 +1899,66 @@ export declare const cxLogContract: {
1819
1899
  deletedAt: Date | null;
1820
1900
  systemName: string;
1821
1901
  displayName: string;
1902
+ permissions: {
1903
+ id: string;
1904
+ description: string | null;
1905
+ createdAt: Date;
1906
+ updatedAt: Date;
1907
+ deletedAt: Date | null;
1908
+ systemName: string;
1909
+ displayName: string;
1910
+ }[];
1822
1911
  }>, "many">;
1912
+ extension: z.ZodObject<{
1913
+ id: z.ZodString;
1914
+ createdAt: z.ZodDate;
1915
+ updatedAt: z.ZodDate;
1916
+ deletedAt: z.ZodNullable<z.ZodDate>;
1917
+ userId: z.ZodNullable<z.ZodString>;
1918
+ sipServerUrl: z.ZodString;
1919
+ sipUserName: z.ZodString;
1920
+ webphoneLoginUser: z.ZodString;
1921
+ extensionId: z.ZodNullable<z.ZodString>;
1922
+ extensionName: z.ZodString;
1923
+ telephonySignature: z.ZodNullable<z.ZodString>;
1924
+ }, "strip", z.ZodTypeAny, {
1925
+ id: string;
1926
+ createdAt: Date;
1927
+ updatedAt: Date;
1928
+ deletedAt: Date | null;
1929
+ userId: string | null;
1930
+ sipServerUrl: string;
1931
+ sipUserName: string;
1932
+ webphoneLoginUser: string;
1933
+ extensionId: string | null;
1934
+ extensionName: string;
1935
+ telephonySignature: string | null;
1936
+ }, {
1937
+ id: string;
1938
+ createdAt: Date;
1939
+ updatedAt: Date;
1940
+ deletedAt: Date | null;
1941
+ userId: string | null;
1942
+ sipServerUrl: string;
1943
+ sipUserName: string;
1944
+ webphoneLoginUser: string;
1945
+ extensionId: string | null;
1946
+ extensionName: string;
1947
+ telephonySignature: string | null;
1948
+ }>;
1823
1949
  }, "strip", z.ZodTypeAny, {
1824
1950
  id: string;
1825
- description: string | null;
1951
+ address: string | null;
1952
+ name: string;
1953
+ email: string;
1826
1954
  createdAt: Date;
1827
1955
  updatedAt: Date;
1828
1956
  deletedAt: Date | null;
1829
- systemName: string;
1830
- displayName: string;
1831
- permissions: {
1957
+ emailVerifiedAt: Date | null;
1958
+ password: string;
1959
+ phone: string | null;
1960
+ notificationCount: number | null;
1961
+ roles: {
1832
1962
  id: string;
1833
1963
  description: string | null;
1834
1964
  createdAt: Date;
@@ -1836,16 +1966,42 @@ export declare const cxLogContract: {
1836
1966
  deletedAt: Date | null;
1837
1967
  systemName: string;
1838
1968
  displayName: string;
1969
+ permissions: {
1970
+ id: string;
1971
+ description: string | null;
1972
+ createdAt: Date;
1973
+ updatedAt: Date;
1974
+ deletedAt: Date | null;
1975
+ systemName: string;
1976
+ displayName: string;
1977
+ }[];
1839
1978
  }[];
1979
+ extension: {
1980
+ id: string;
1981
+ createdAt: Date;
1982
+ updatedAt: Date;
1983
+ deletedAt: Date | null;
1984
+ userId: string | null;
1985
+ sipServerUrl: string;
1986
+ sipUserName: string;
1987
+ webphoneLoginUser: string;
1988
+ extensionId: string | null;
1989
+ extensionName: string;
1990
+ telephonySignature: string | null;
1991
+ };
1840
1992
  }, {
1841
1993
  id: string;
1842
- description: string | null;
1994
+ address: string | null;
1995
+ name: string;
1996
+ email: string;
1843
1997
  createdAt: Date;
1844
1998
  updatedAt: Date;
1845
1999
  deletedAt: Date | null;
1846
- systemName: string;
1847
- displayName: string;
1848
- permissions: {
2000
+ emailVerifiedAt: Date | null;
2001
+ password: string;
2002
+ phone: string | null;
2003
+ notificationCount: number | null;
2004
+ roles: {
1849
2005
  id: string;
1850
2006
  description: string | null;
1851
2007
  createdAt: Date;
@@ -1853,66 +2009,131 @@ export declare const cxLogContract: {
1853
2009
  deletedAt: Date | null;
1854
2010
  systemName: string;
1855
2011
  displayName: string;
2012
+ permissions: {
2013
+ id: string;
2014
+ description: string | null;
2015
+ createdAt: Date;
2016
+ updatedAt: Date;
2017
+ deletedAt: Date | null;
2018
+ systemName: string;
2019
+ displayName: string;
2020
+ }[];
1856
2021
  }[];
1857
- }>, "many">;
1858
- extension: z.ZodObject<{
1859
- id: z.ZodString;
1860
- createdAt: z.ZodDate;
1861
- updatedAt: z.ZodDate;
1862
- deletedAt: z.ZodNullable<z.ZodDate>;
1863
- userId: z.ZodNullable<z.ZodString>;
1864
- sipServerUrl: z.ZodString;
1865
- sipUserName: z.ZodString;
1866
- webphoneLoginUser: z.ZodString;
1867
- extensionId: z.ZodNullable<z.ZodString>;
1868
- extensionName: z.ZodString;
1869
- telephonySignature: z.ZodNullable<z.ZodString>;
1870
- }, "strip", z.ZodTypeAny, {
2022
+ extension: {
2023
+ id: string;
2024
+ createdAt: Date;
2025
+ updatedAt: Date;
2026
+ deletedAt: Date | null;
2027
+ userId: string | null;
2028
+ sipServerUrl: string;
2029
+ sipUserName: string;
2030
+ webphoneLoginUser: string;
2031
+ extensionId: string | null;
2032
+ extensionName: string;
2033
+ telephonySignature: string | null;
2034
+ };
2035
+ }>;
2036
+ }, "strip", z.ZodTypeAny, {
2037
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2038
+ id: string;
2039
+ name: string;
2040
+ metadata: {
2041
+ id: string;
2042
+ name: string;
2043
+ accessToken?: string | undefined;
2044
+ channelSecret?: string | undefined;
2045
+ additionalCredentials?: any;
2046
+ lineRichMenuId?: string | null | undefined;
2047
+ };
2048
+ status: boolean;
2049
+ createdAt: Date;
2050
+ updatedAt: Date;
2051
+ deletedAt: Date | null;
2052
+ actor: {
1871
2053
  id: string;
2054
+ address: string | null;
2055
+ name: string;
2056
+ email: string;
1872
2057
  createdAt: Date;
1873
2058
  updatedAt: Date;
1874
2059
  deletedAt: Date | null;
1875
- userId: string | null;
1876
- sipServerUrl: string;
1877
- sipUserName: string;
1878
- webphoneLoginUser: string;
1879
- extensionId: string | null;
1880
- extensionName: string;
1881
- telephonySignature: string | null;
1882
- }, {
2060
+ emailVerifiedAt: Date | null;
2061
+ password: string;
2062
+ phone: string | null;
2063
+ notificationCount: number | null;
2064
+ roles: {
2065
+ id: string;
2066
+ description: string | null;
2067
+ createdAt: Date;
2068
+ updatedAt: Date;
2069
+ deletedAt: Date | null;
2070
+ systemName: string;
2071
+ displayName: string;
2072
+ permissions: {
2073
+ id: string;
2074
+ description: string | null;
2075
+ createdAt: Date;
2076
+ updatedAt: Date;
2077
+ deletedAt: Date | null;
2078
+ systemName: string;
2079
+ displayName: string;
2080
+ }[];
2081
+ }[];
2082
+ extension: {
2083
+ id: string;
2084
+ createdAt: Date;
2085
+ updatedAt: Date;
2086
+ deletedAt: Date | null;
2087
+ userId: string | null;
2088
+ sipServerUrl: string;
2089
+ sipUserName: string;
2090
+ webphoneLoginUser: string;
2091
+ extensionId: string | null;
2092
+ extensionName: string;
2093
+ telephonySignature: string | null;
2094
+ };
2095
+ };
2096
+ brandName: string;
2097
+ platformId: string;
2098
+ isReloginRequired: boolean;
2099
+ connectedUserName: string;
2100
+ connectedUserId: string;
2101
+ botpressBot: {
1883
2102
  id: string;
1884
- createdAt: Date;
1885
- updatedAt: Date;
1886
- deletedAt: Date | null;
1887
- userId: string | null;
1888
- sipServerUrl: string;
1889
- sipUserName: string;
1890
- webphoneLoginUser: string;
1891
- extensionId: string | null;
1892
- extensionName: string;
1893
- telephonySignature: string | null;
1894
- }>;
1895
- }, "strip", z.ZodTypeAny, {
2103
+ name: string;
2104
+ accessToken: string;
2105
+ botId: string;
2106
+ integrationId: string;
2107
+ } | null;
2108
+ }, {
2109
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
1896
2110
  id: string;
1897
- address: string | null;
1898
2111
  name: string;
1899
- email: string;
2112
+ metadata: {
2113
+ id: string;
2114
+ name: string;
2115
+ accessToken?: string | undefined;
2116
+ channelSecret?: string | undefined;
2117
+ additionalCredentials?: any;
2118
+ lineRichMenuId?: string | null | undefined;
2119
+ };
2120
+ status: boolean;
1900
2121
  createdAt: Date;
1901
2122
  updatedAt: Date;
1902
2123
  deletedAt: Date | null;
1903
- emailVerifiedAt: Date | null;
1904
- password: string;
1905
- phone: string | null;
1906
- notificationCount: number | null;
1907
- roles: {
2124
+ actor: {
1908
2125
  id: string;
1909
- description: string | null;
2126
+ address: string | null;
2127
+ name: string;
2128
+ email: string;
1910
2129
  createdAt: Date;
1911
2130
  updatedAt: Date;
1912
2131
  deletedAt: Date | null;
1913
- systemName: string;
1914
- displayName: string;
1915
- permissions: {
2132
+ emailVerifiedAt: Date | null;
2133
+ password: string;
2134
+ phone: string | null;
2135
+ notificationCount: number | null;
2136
+ roles: {
1916
2137
  id: string;
1917
2138
  description: string | null;
1918
2139
  createdAt: Date;
@@ -1920,22 +2141,123 @@ export declare const cxLogContract: {
1920
2141
  deletedAt: Date | null;
1921
2142
  systemName: string;
1922
2143
  displayName: string;
2144
+ permissions: {
2145
+ id: string;
2146
+ description: string | null;
2147
+ createdAt: Date;
2148
+ updatedAt: Date;
2149
+ deletedAt: Date | null;
2150
+ systemName: string;
2151
+ displayName: string;
2152
+ }[];
1923
2153
  }[];
1924
- }[];
1925
- extension: {
2154
+ extension: {
2155
+ id: string;
2156
+ createdAt: Date;
2157
+ updatedAt: Date;
2158
+ deletedAt: Date | null;
2159
+ userId: string | null;
2160
+ sipServerUrl: string;
2161
+ sipUserName: string;
2162
+ webphoneLoginUser: string;
2163
+ extensionId: string | null;
2164
+ extensionName: string;
2165
+ telephonySignature: string | null;
2166
+ };
2167
+ };
2168
+ brandName: string;
2169
+ platformId: string;
2170
+ isReloginRequired: boolean;
2171
+ connectedUserName: string;
2172
+ connectedUserId: string;
2173
+ botpressBot: {
2174
+ id: string;
2175
+ name: string;
2176
+ accessToken: string;
2177
+ botId: string;
2178
+ integrationId: string;
2179
+ } | null;
2180
+ }>;
2181
+ }, "strip", z.ZodTypeAny, {
2182
+ id: string;
2183
+ channel: {
2184
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2185
+ id: string;
2186
+ name: string;
2187
+ metadata: {
2188
+ id: string;
2189
+ name: string;
2190
+ accessToken?: string | undefined;
2191
+ channelSecret?: string | undefined;
2192
+ additionalCredentials?: any;
2193
+ lineRichMenuId?: string | null | undefined;
2194
+ };
2195
+ status: boolean;
2196
+ createdAt: Date;
2197
+ updatedAt: Date;
2198
+ deletedAt: Date | null;
2199
+ actor: {
1926
2200
  id: string;
2201
+ address: string | null;
2202
+ name: string;
2203
+ email: string;
1927
2204
  createdAt: Date;
1928
2205
  updatedAt: Date;
1929
2206
  deletedAt: Date | null;
1930
- userId: string | null;
1931
- sipServerUrl: string;
1932
- sipUserName: string;
1933
- webphoneLoginUser: string;
1934
- extensionId: string | null;
1935
- extensionName: string;
1936
- telephonySignature: string | null;
2207
+ emailVerifiedAt: Date | null;
2208
+ password: string;
2209
+ phone: string | null;
2210
+ notificationCount: number | null;
2211
+ roles: {
2212
+ id: string;
2213
+ description: string | null;
2214
+ createdAt: Date;
2215
+ updatedAt: Date;
2216
+ deletedAt: Date | null;
2217
+ systemName: string;
2218
+ displayName: string;
2219
+ permissions: {
2220
+ id: string;
2221
+ description: string | null;
2222
+ createdAt: Date;
2223
+ updatedAt: Date;
2224
+ deletedAt: Date | null;
2225
+ systemName: string;
2226
+ displayName: string;
2227
+ }[];
2228
+ }[];
2229
+ extension: {
2230
+ id: string;
2231
+ createdAt: Date;
2232
+ updatedAt: Date;
2233
+ deletedAt: Date | null;
2234
+ userId: string | null;
2235
+ sipServerUrl: string;
2236
+ sipUserName: string;
2237
+ webphoneLoginUser: string;
2238
+ extensionId: string | null;
2239
+ extensionName: string;
2240
+ telephonySignature: string | null;
2241
+ };
1937
2242
  };
1938
- }, {
2243
+ brandName: string;
2244
+ platformId: string;
2245
+ isReloginRequired: boolean;
2246
+ connectedUserName: string;
2247
+ connectedUserId: string;
2248
+ botpressBot: {
2249
+ id: string;
2250
+ name: string;
2251
+ accessToken: string;
2252
+ botId: string;
2253
+ integrationId: string;
2254
+ } | null;
2255
+ };
2256
+ direction: "incoming" | "outgoing" | "system";
2257
+ createdAt: Date;
2258
+ updatedAt: Date;
2259
+ deletedAt: Date | null;
2260
+ actor: {
1939
2261
  id: string;
1940
2262
  address: string | null;
1941
2263
  name: string;
@@ -1978,125 +2300,127 @@ export declare const cxLogContract: {
1978
2300
  extensionName: string;
1979
2301
  telephonySignature: string | null;
1980
2302
  };
1981
- }>>;
1982
- closedAssignee: z.ZodNullable<z.ZodObject<{
1983
- id: z.ZodString;
1984
- createdAt: z.ZodDate;
1985
- updatedAt: z.ZodDate;
1986
- deletedAt: z.ZodNullable<z.ZodDate>;
1987
- name: z.ZodString;
1988
- email: z.ZodString;
1989
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1990
- password: z.ZodString;
1991
- address: z.ZodNullable<z.ZodString>;
1992
- phone: z.ZodNullable<z.ZodString>;
1993
- notificationCount: z.ZodNullable<z.ZodNumber>;
1994
- roles: z.ZodArray<z.ZodObject<{
1995
- id: z.ZodString;
1996
- createdAt: z.ZodDate;
1997
- updatedAt: z.ZodDate;
1998
- deletedAt: z.ZodNullable<z.ZodDate>;
1999
- systemName: z.ZodString;
2000
- displayName: z.ZodString;
2001
- description: z.ZodNullable<z.ZodString>;
2002
- permissions: z.ZodArray<z.ZodObject<{
2003
- id: z.ZodString;
2004
- createdAt: z.ZodDate;
2005
- updatedAt: z.ZodDate;
2006
- deletedAt: z.ZodNullable<z.ZodDate>;
2007
- systemName: z.ZodString;
2008
- displayName: z.ZodString;
2009
- description: z.ZodNullable<z.ZodString>;
2010
- }, "strip", z.ZodTypeAny, {
2011
- id: string;
2012
- description: string | null;
2013
- createdAt: Date;
2014
- updatedAt: Date;
2015
- deletedAt: Date | null;
2016
- systemName: string;
2017
- displayName: string;
2018
- }, {
2019
- id: string;
2020
- description: string | null;
2021
- createdAt: Date;
2022
- updatedAt: Date;
2023
- deletedAt: Date | null;
2024
- systemName: string;
2025
- displayName: string;
2026
- }>, "many">;
2027
- }, "strip", z.ZodTypeAny, {
2303
+ };
2304
+ firstResponseTime: number;
2305
+ lastMessage: string;
2306
+ handleTime: number;
2307
+ closeAt: Date;
2308
+ unreadCount: number;
2309
+ firstResponseAt: Date;
2310
+ isLatest: boolean;
2311
+ platformContact: {
2312
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2313
+ id: string;
2314
+ metadata: {
2028
2315
  id: string;
2029
- description: string | null;
2316
+ name: string;
2317
+ picture?: string | undefined;
2318
+ additionalCredentials?: any;
2319
+ };
2320
+ createdAt: Date;
2321
+ updatedAt: Date;
2322
+ deletedAt: Date | null;
2323
+ contact: {
2324
+ id: string;
2325
+ channel: string | null;
2326
+ address: string | null;
2327
+ name: string;
2030
2328
  createdAt: Date;
2031
2329
  updatedAt: Date;
2032
2330
  deletedAt: Date | null;
2033
- systemName: string;
2034
- displayName: string;
2035
- permissions: {
2331
+ customFields: {
2036
2332
  id: string;
2037
- description: string | null;
2038
2333
  createdAt: Date;
2039
2334
  updatedAt: Date;
2040
2335
  deletedAt: Date | null;
2041
- systemName: string;
2042
- displayName: string;
2336
+ attribute: {
2337
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2338
+ id: string;
2339
+ position: number;
2340
+ createdAt: Date;
2341
+ updatedAt: Date;
2342
+ deletedAt: Date | null;
2343
+ systemName: string;
2344
+ displayName: string;
2345
+ isDefault: boolean;
2346
+ isArchived: boolean;
2347
+ isRequired: boolean;
2348
+ isUnique: boolean;
2349
+ };
2350
+ textValue: string | null;
2351
+ booleanValue: boolean | null;
2352
+ numberValue: number | null;
2353
+ dateValue: Date | null;
2354
+ uploads: {
2355
+ id: string;
2356
+ status: string | null;
2357
+ createdAt: Date;
2358
+ updatedAt: Date;
2359
+ deletedAt: Date | null;
2360
+ fileName: string;
2361
+ fileKey: string;
2362
+ bucketName: string;
2363
+ fileSize: number;
2364
+ fileUrl: string | null;
2365
+ }[];
2043
2366
  }[];
2044
- }, {
2045
- id: string;
2046
- description: string | null;
2047
- createdAt: Date;
2048
- updatedAt: Date;
2049
- deletedAt: Date | null;
2050
- systemName: string;
2051
- displayName: string;
2052
- permissions: {
2367
+ company: {
2053
2368
  id: string;
2054
- description: string | null;
2055
2369
  createdAt: Date;
2056
2370
  updatedAt: Date;
2057
2371
  deletedAt: Date | null;
2058
- systemName: string;
2059
- displayName: string;
2372
+ address?: string | null | undefined;
2373
+ name?: string | undefined;
2374
+ phone?: string | null | undefined;
2375
+ industry?: string | null | undefined;
2376
+ } | null;
2377
+ notes: string | null;
2378
+ contactProfile: string | null;
2379
+ socialProfileUrl: string | null;
2380
+ tags: {
2381
+ id: string;
2382
+ name: string;
2383
+ createdAt: Date;
2384
+ updatedAt: Date;
2385
+ deletedAt: Date | null;
2060
2386
  }[];
2061
- }>, "many">;
2062
- extension: z.ZodObject<{
2063
- id: z.ZodString;
2064
- createdAt: z.ZodDate;
2065
- updatedAt: z.ZodDate;
2066
- deletedAt: z.ZodNullable<z.ZodDate>;
2067
- userId: z.ZodNullable<z.ZodString>;
2068
- sipServerUrl: z.ZodString;
2069
- sipUserName: z.ZodString;
2070
- webphoneLoginUser: z.ZodString;
2071
- extensionId: z.ZodNullable<z.ZodString>;
2072
- extensionName: z.ZodString;
2073
- telephonySignature: z.ZodNullable<z.ZodString>;
2074
- }, "strip", z.ZodTypeAny, {
2075
- id: string;
2076
- createdAt: Date;
2077
- updatedAt: Date;
2078
- deletedAt: Date | null;
2079
- userId: string | null;
2080
- sipServerUrl: string;
2081
- sipUserName: string;
2082
- webphoneLoginUser: string;
2083
- extensionId: string | null;
2084
- extensionName: string;
2085
- telephonySignature: string | null;
2086
- }, {
2087
- id: string;
2088
- createdAt: Date;
2089
- updatedAt: Date;
2090
- deletedAt: Date | null;
2091
- userId: string | null;
2092
- sipServerUrl: string;
2093
- sipUserName: string;
2094
- webphoneLoginUser: string;
2095
- extensionId: string | null;
2096
- extensionName: string;
2097
- telephonySignature: string | null;
2098
- }>;
2099
- }, "strip", z.ZodTypeAny, {
2387
+ contactEmails: {
2388
+ id: string;
2389
+ isPrimary: boolean;
2390
+ email: string;
2391
+ createdAt: Date;
2392
+ updatedAt: Date;
2393
+ deletedAt: Date | null;
2394
+ }[];
2395
+ contactPhones: {
2396
+ id: string;
2397
+ isPrimary: boolean;
2398
+ createdAt: Date;
2399
+ updatedAt: Date;
2400
+ deletedAt: Date | null;
2401
+ phone: string;
2402
+ }[];
2403
+ activityLogs?: {
2404
+ id: string;
2405
+ description: string;
2406
+ createdAt: Date;
2407
+ updatedAt: Date;
2408
+ deletedAt: Date | null;
2409
+ entityId: string;
2410
+ entityType: {
2411
+ id: string;
2412
+ description: string | null;
2413
+ createdAt: Date;
2414
+ updatedAt: Date;
2415
+ deletedAt: Date | null;
2416
+ entity: string;
2417
+ };
2418
+ }[] | undefined;
2419
+ };
2420
+ channelId: string;
2421
+ socialPlatformId: string;
2422
+ };
2423
+ assignee: {
2100
2424
  id: string;
2101
2425
  address: string | null;
2102
2426
  name: string;
@@ -2139,907 +2463,87 @@ export declare const cxLogContract: {
2139
2463
  extensionName: string;
2140
2464
  telephonySignature: string | null;
2141
2465
  };
2142
- }, {
2143
- id: string;
2144
- address: string | null;
2145
- name: string;
2146
- email: string;
2147
- createdAt: Date;
2148
- updatedAt: Date;
2149
- deletedAt: Date | null;
2150
- emailVerifiedAt: Date | null;
2151
- password: string;
2152
- phone: string | null;
2153
- notificationCount: number | null;
2154
- roles: {
2155
- id: string;
2156
- description: string | null;
2157
- createdAt: Date;
2158
- updatedAt: Date;
2159
- deletedAt: Date | null;
2160
- systemName: string;
2161
- displayName: string;
2162
- permissions: {
2163
- id: string;
2164
- description: string | null;
2165
- createdAt: Date;
2166
- updatedAt: Date;
2167
- deletedAt: Date | null;
2168
- systemName: string;
2169
- displayName: string;
2170
- }[];
2171
- }[];
2172
- extension: {
2173
- id: string;
2174
- createdAt: Date;
2175
- updatedAt: Date;
2176
- deletedAt: Date | null;
2177
- userId: string | null;
2178
- sipServerUrl: string;
2179
- sipUserName: string;
2180
- webphoneLoginUser: string;
2181
- extensionId: string | null;
2182
- extensionName: string;
2183
- telephonySignature: string | null;
2184
- };
2185
- }>>;
2186
- channel: z.ZodObject<{
2187
- id: z.ZodString;
2188
- createdAt: z.ZodDate;
2189
- updatedAt: z.ZodDate;
2190
- deletedAt: z.ZodNullable<z.ZodDate>;
2191
- name: z.ZodString;
2192
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed"]>;
2193
- metadata: z.ZodObject<{
2194
- id: z.ZodString;
2195
- name: z.ZodString;
2196
- accessToken: z.ZodOptional<z.ZodString>;
2197
- channelSecret: z.ZodOptional<z.ZodString>;
2198
- additionalCredentials: z.ZodOptional<z.ZodAny>;
2199
- lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2200
- }, "strip", z.ZodTypeAny, {
2201
- id: string;
2202
- name: string;
2203
- accessToken?: string | undefined;
2204
- channelSecret?: string | undefined;
2205
- additionalCredentials?: any;
2206
- lineRichMenuId?: string | null | undefined;
2207
- }, {
2208
- id: string;
2209
- name: string;
2210
- accessToken?: string | undefined;
2211
- channelSecret?: string | undefined;
2212
- additionalCredentials?: any;
2213
- lineRichMenuId?: string | null | undefined;
2214
- }>;
2215
- brandName: z.ZodString;
2216
- platformId: z.ZodString;
2217
- status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
2218
- isReloginRequired: z.ZodBoolean;
2219
- connectedUserName: z.ZodString;
2220
- connectedUserId: z.ZodString;
2221
- botpressBot: z.ZodNullable<z.ZodObject<{
2222
- id: z.ZodString;
2223
- name: z.ZodString;
2224
- botId: z.ZodString;
2225
- integrationId: z.ZodString;
2226
- accessToken: z.ZodString;
2227
- }, "strip", z.ZodTypeAny, {
2228
- id: string;
2229
- name: string;
2230
- accessToken: string;
2231
- botId: string;
2232
- integrationId: string;
2233
- }, {
2234
- id: string;
2235
- name: string;
2236
- accessToken: string;
2237
- botId: string;
2238
- integrationId: string;
2239
- }>>;
2240
- actor: z.ZodObject<{
2241
- id: z.ZodString;
2242
- createdAt: z.ZodDate;
2243
- updatedAt: z.ZodDate;
2244
- deletedAt: z.ZodNullable<z.ZodDate>;
2245
- name: z.ZodString;
2246
- email: z.ZodString;
2247
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
2248
- password: z.ZodString;
2249
- address: z.ZodNullable<z.ZodString>;
2250
- phone: z.ZodNullable<z.ZodString>;
2251
- notificationCount: z.ZodNullable<z.ZodNumber>;
2252
- roles: z.ZodArray<z.ZodObject<{
2253
- id: z.ZodString;
2254
- createdAt: z.ZodDate;
2255
- updatedAt: z.ZodDate;
2256
- deletedAt: z.ZodNullable<z.ZodDate>;
2257
- systemName: z.ZodString;
2258
- displayName: z.ZodString;
2259
- description: z.ZodNullable<z.ZodString>;
2260
- permissions: z.ZodArray<z.ZodObject<{
2261
- id: z.ZodString;
2262
- createdAt: z.ZodDate;
2263
- updatedAt: z.ZodDate;
2264
- deletedAt: z.ZodNullable<z.ZodDate>;
2265
- systemName: z.ZodString;
2266
- displayName: z.ZodString;
2267
- description: z.ZodNullable<z.ZodString>;
2268
- }, "strip", z.ZodTypeAny, {
2269
- id: string;
2270
- description: string | null;
2271
- createdAt: Date;
2272
- updatedAt: Date;
2273
- deletedAt: Date | null;
2274
- systemName: string;
2275
- displayName: string;
2276
- }, {
2277
- id: string;
2278
- description: string | null;
2279
- createdAt: Date;
2280
- updatedAt: Date;
2281
- deletedAt: Date | null;
2282
- systemName: string;
2283
- displayName: string;
2284
- }>, "many">;
2285
- }, "strip", z.ZodTypeAny, {
2286
- id: string;
2287
- description: string | null;
2288
- createdAt: Date;
2289
- updatedAt: Date;
2290
- deletedAt: Date | null;
2291
- systemName: string;
2292
- displayName: string;
2293
- permissions: {
2294
- id: string;
2295
- description: string | null;
2296
- createdAt: Date;
2297
- updatedAt: Date;
2298
- deletedAt: Date | null;
2299
- systemName: string;
2300
- displayName: string;
2301
- }[];
2302
- }, {
2303
- id: string;
2304
- description: string | null;
2305
- createdAt: Date;
2306
- updatedAt: Date;
2307
- deletedAt: Date | null;
2308
- systemName: string;
2309
- displayName: string;
2310
- permissions: {
2311
- id: string;
2312
- description: string | null;
2313
- createdAt: Date;
2314
- updatedAt: Date;
2315
- deletedAt: Date | null;
2316
- systemName: string;
2317
- displayName: string;
2318
- }[];
2319
- }>, "many">;
2320
- extension: z.ZodObject<{
2321
- id: z.ZodString;
2322
- createdAt: z.ZodDate;
2323
- updatedAt: z.ZodDate;
2324
- deletedAt: z.ZodNullable<z.ZodDate>;
2325
- userId: z.ZodNullable<z.ZodString>;
2326
- sipServerUrl: z.ZodString;
2327
- sipUserName: z.ZodString;
2328
- webphoneLoginUser: z.ZodString;
2329
- extensionId: z.ZodNullable<z.ZodString>;
2330
- extensionName: z.ZodString;
2331
- telephonySignature: z.ZodNullable<z.ZodString>;
2332
- }, "strip", z.ZodTypeAny, {
2333
- id: string;
2334
- createdAt: Date;
2335
- updatedAt: Date;
2336
- deletedAt: Date | null;
2337
- userId: string | null;
2338
- sipServerUrl: string;
2339
- sipUserName: string;
2340
- webphoneLoginUser: string;
2341
- extensionId: string | null;
2342
- extensionName: string;
2343
- telephonySignature: string | null;
2344
- }, {
2345
- id: string;
2346
- createdAt: Date;
2347
- updatedAt: Date;
2348
- deletedAt: Date | null;
2349
- userId: string | null;
2350
- sipServerUrl: string;
2351
- sipUserName: string;
2352
- webphoneLoginUser: string;
2353
- extensionId: string | null;
2354
- extensionName: string;
2355
- telephonySignature: string | null;
2356
- }>;
2357
- }, "strip", z.ZodTypeAny, {
2358
- id: string;
2359
- address: string | null;
2360
- name: string;
2361
- email: string;
2362
- createdAt: Date;
2363
- updatedAt: Date;
2364
- deletedAt: Date | null;
2365
- emailVerifiedAt: Date | null;
2366
- password: string;
2367
- phone: string | null;
2368
- notificationCount: number | null;
2369
- roles: {
2370
- id: string;
2371
- description: string | null;
2372
- createdAt: Date;
2373
- updatedAt: Date;
2374
- deletedAt: Date | null;
2375
- systemName: string;
2376
- displayName: string;
2377
- permissions: {
2378
- id: string;
2379
- description: string | null;
2380
- createdAt: Date;
2381
- updatedAt: Date;
2382
- deletedAt: Date | null;
2383
- systemName: string;
2384
- displayName: string;
2385
- }[];
2386
- }[];
2387
- extension: {
2388
- id: string;
2389
- createdAt: Date;
2390
- updatedAt: Date;
2391
- deletedAt: Date | null;
2392
- userId: string | null;
2393
- sipServerUrl: string;
2394
- sipUserName: string;
2395
- webphoneLoginUser: string;
2396
- extensionId: string | null;
2397
- extensionName: string;
2398
- telephonySignature: string | null;
2399
- };
2400
- }, {
2401
- id: string;
2402
- address: string | null;
2403
- name: string;
2404
- email: string;
2405
- createdAt: Date;
2406
- updatedAt: Date;
2407
- deletedAt: Date | null;
2408
- emailVerifiedAt: Date | null;
2409
- password: string;
2410
- phone: string | null;
2411
- notificationCount: number | null;
2412
- roles: {
2413
- id: string;
2414
- description: string | null;
2415
- createdAt: Date;
2416
- updatedAt: Date;
2417
- deletedAt: Date | null;
2418
- systemName: string;
2419
- displayName: string;
2420
- permissions: {
2421
- id: string;
2422
- description: string | null;
2423
- createdAt: Date;
2424
- updatedAt: Date;
2425
- deletedAt: Date | null;
2426
- systemName: string;
2427
- displayName: string;
2428
- }[];
2429
- }[];
2430
- extension: {
2431
- id: string;
2432
- createdAt: Date;
2433
- updatedAt: Date;
2434
- deletedAt: Date | null;
2435
- userId: string | null;
2436
- sipServerUrl: string;
2437
- sipUserName: string;
2438
- webphoneLoginUser: string;
2439
- extensionId: string | null;
2440
- extensionName: string;
2441
- telephonySignature: string | null;
2442
- };
2443
- }>;
2444
- }, "strip", z.ZodTypeAny, {
2445
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2446
- id: string;
2447
- name: string;
2448
- metadata: {
2449
- id: string;
2450
- name: string;
2451
- accessToken?: string | undefined;
2452
- channelSecret?: string | undefined;
2453
- additionalCredentials?: any;
2454
- lineRichMenuId?: string | null | undefined;
2455
- };
2456
- status: boolean;
2457
- createdAt: Date;
2458
- updatedAt: Date;
2459
- deletedAt: Date | null;
2460
- actor: {
2461
- id: string;
2462
- address: string | null;
2463
- name: string;
2464
- email: string;
2465
- createdAt: Date;
2466
- updatedAt: Date;
2467
- deletedAt: Date | null;
2468
- emailVerifiedAt: Date | null;
2469
- password: string;
2470
- phone: string | null;
2471
- notificationCount: number | null;
2472
- roles: {
2473
- id: string;
2474
- description: string | null;
2475
- createdAt: Date;
2476
- updatedAt: Date;
2477
- deletedAt: Date | null;
2478
- systemName: string;
2479
- displayName: string;
2480
- permissions: {
2481
- id: string;
2482
- description: string | null;
2483
- createdAt: Date;
2484
- updatedAt: Date;
2485
- deletedAt: Date | null;
2486
- systemName: string;
2487
- displayName: string;
2488
- }[];
2489
- }[];
2490
- extension: {
2491
- id: string;
2492
- createdAt: Date;
2493
- updatedAt: Date;
2494
- deletedAt: Date | null;
2495
- userId: string | null;
2496
- sipServerUrl: string;
2497
- sipUserName: string;
2498
- webphoneLoginUser: string;
2499
- extensionId: string | null;
2500
- extensionName: string;
2501
- telephonySignature: string | null;
2502
- };
2503
- };
2504
- brandName: string;
2505
- platformId: string;
2506
- isReloginRequired: boolean;
2507
- connectedUserName: string;
2508
- connectedUserId: string;
2509
- botpressBot: {
2510
- id: string;
2511
- name: string;
2512
- accessToken: string;
2513
- botId: string;
2514
- integrationId: string;
2515
- } | null;
2516
- }, {
2517
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2518
- id: string;
2519
- name: string;
2520
- metadata: {
2521
- id: string;
2522
- name: string;
2523
- accessToken?: string | undefined;
2524
- channelSecret?: string | undefined;
2525
- additionalCredentials?: any;
2526
- lineRichMenuId?: string | null | undefined;
2527
- };
2528
- status: boolean;
2529
- createdAt: Date;
2530
- updatedAt: Date;
2531
- deletedAt: Date | null;
2532
- actor: {
2533
- id: string;
2534
- address: string | null;
2535
- name: string;
2536
- email: string;
2537
- createdAt: Date;
2538
- updatedAt: Date;
2539
- deletedAt: Date | null;
2540
- emailVerifiedAt: Date | null;
2541
- password: string;
2542
- phone: string | null;
2543
- notificationCount: number | null;
2544
- roles: {
2545
- id: string;
2546
- description: string | null;
2547
- createdAt: Date;
2548
- updatedAt: Date;
2549
- deletedAt: Date | null;
2550
- systemName: string;
2551
- displayName: string;
2552
- permissions: {
2553
- id: string;
2554
- description: string | null;
2555
- createdAt: Date;
2556
- updatedAt: Date;
2557
- deletedAt: Date | null;
2558
- systemName: string;
2559
- displayName: string;
2560
- }[];
2561
- }[];
2562
- extension: {
2563
- id: string;
2564
- createdAt: Date;
2565
- updatedAt: Date;
2566
- deletedAt: Date | null;
2567
- userId: string | null;
2568
- sipServerUrl: string;
2569
- sipUserName: string;
2570
- webphoneLoginUser: string;
2571
- extensionId: string | null;
2572
- extensionName: string;
2573
- telephonySignature: string | null;
2574
- };
2575
- };
2576
- brandName: string;
2577
- platformId: string;
2578
- isReloginRequired: boolean;
2579
- connectedUserName: string;
2580
- connectedUserId: string;
2581
- botpressBot: {
2582
- id: string;
2583
- name: string;
2584
- accessToken: string;
2585
- botId: string;
2586
- integrationId: string;
2587
- } | null;
2588
- }>;
2589
- }, "strip", z.ZodTypeAny, {
2590
- id: string;
2591
- channel: {
2592
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2593
- id: string;
2594
- name: string;
2595
- metadata: {
2596
- id: string;
2597
- name: string;
2598
- accessToken?: string | undefined;
2599
- channelSecret?: string | undefined;
2600
- additionalCredentials?: any;
2601
- lineRichMenuId?: string | null | undefined;
2602
- };
2603
- status: boolean;
2604
- createdAt: Date;
2605
- updatedAt: Date;
2606
- deletedAt: Date | null;
2607
- actor: {
2608
- id: string;
2609
- address: string | null;
2610
- name: string;
2611
- email: string;
2612
- createdAt: Date;
2613
- updatedAt: Date;
2614
- deletedAt: Date | null;
2615
- emailVerifiedAt: Date | null;
2616
- password: string;
2617
- phone: string | null;
2618
- notificationCount: number | null;
2619
- roles: {
2620
- id: string;
2621
- description: string | null;
2622
- createdAt: Date;
2623
- updatedAt: Date;
2624
- deletedAt: Date | null;
2625
- systemName: string;
2626
- displayName: string;
2627
- permissions: {
2628
- id: string;
2629
- description: string | null;
2630
- createdAt: Date;
2631
- updatedAt: Date;
2632
- deletedAt: Date | null;
2633
- systemName: string;
2634
- displayName: string;
2635
- }[];
2636
- }[];
2637
- extension: {
2638
- id: string;
2639
- createdAt: Date;
2640
- updatedAt: Date;
2641
- deletedAt: Date | null;
2642
- userId: string | null;
2643
- sipServerUrl: string;
2644
- sipUserName: string;
2645
- webphoneLoginUser: string;
2646
- extensionId: string | null;
2647
- extensionName: string;
2648
- telephonySignature: string | null;
2649
- };
2650
- };
2651
- brandName: string;
2652
- platformId: string;
2653
- isReloginRequired: boolean;
2654
- connectedUserName: string;
2655
- connectedUserId: string;
2656
- botpressBot: {
2657
- id: string;
2658
- name: string;
2659
- accessToken: string;
2660
- botId: string;
2661
- integrationId: string;
2662
- } | null;
2663
- };
2664
- direction: "incoming" | "outgoing" | "system";
2665
- createdAt: Date;
2666
- updatedAt: Date;
2667
- deletedAt: Date | null;
2668
- actor: {
2669
- id: string;
2670
- address: string | null;
2671
- name: string;
2672
- email: string;
2673
- createdAt: Date;
2674
- updatedAt: Date;
2675
- deletedAt: Date | null;
2676
- emailVerifiedAt: Date | null;
2677
- password: string;
2678
- phone: string | null;
2679
- notificationCount: number | null;
2680
- roles: {
2681
- id: string;
2682
- description: string | null;
2683
- createdAt: Date;
2684
- updatedAt: Date;
2685
- deletedAt: Date | null;
2686
- systemName: string;
2687
- displayName: string;
2688
- permissions: {
2689
- id: string;
2690
- description: string | null;
2691
- createdAt: Date;
2692
- updatedAt: Date;
2693
- deletedAt: Date | null;
2694
- systemName: string;
2695
- displayName: string;
2696
- }[];
2697
- }[];
2698
- extension: {
2699
- id: string;
2700
- createdAt: Date;
2701
- updatedAt: Date;
2702
- deletedAt: Date | null;
2703
- userId: string | null;
2704
- sipServerUrl: string;
2705
- sipUserName: string;
2706
- webphoneLoginUser: string;
2707
- extensionId: string | null;
2708
- extensionName: string;
2709
- telephonySignature: string | null;
2710
- };
2711
- };
2712
- firstResponseTime: number;
2713
- lastMessage: string;
2714
- handleTime: number;
2715
- closeAt: Date;
2716
- unreadCount: number;
2717
- firstResponseAt: Date;
2718
- isLatest: boolean;
2719
- platformContact: {
2720
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2721
- id: string;
2722
- metadata: {
2723
- id: string;
2724
- name: string;
2725
- picture?: string | undefined;
2726
- additionalCredentials?: any;
2727
- };
2728
- createdAt: Date;
2729
- updatedAt: Date;
2730
- deletedAt: Date | null;
2731
- contact: {
2732
- id: string;
2733
- channel: string | null;
2734
- address: string | null;
2735
- name: string;
2736
- createdAt: Date;
2737
- updatedAt: Date;
2738
- deletedAt: Date | null;
2739
- customFields: {
2740
- id: string;
2741
- createdAt: Date;
2742
- updatedAt: Date;
2743
- deletedAt: Date | null;
2744
- attribute: {
2745
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2746
- id: string;
2747
- position: number;
2748
- createdAt: Date;
2749
- updatedAt: Date;
2750
- deletedAt: Date | null;
2751
- systemName: string;
2752
- displayName: string;
2753
- isDefault: boolean;
2754
- isArchived: boolean;
2755
- isRequired: boolean;
2756
- isUnique: boolean;
2757
- };
2758
- textValue: string | null;
2759
- booleanValue: boolean | null;
2760
- numberValue: number | null;
2761
- dateValue: Date | null;
2762
- uploads: {
2763
- id: string;
2764
- status: string | null;
2765
- createdAt: Date;
2766
- updatedAt: Date;
2767
- deletedAt: Date | null;
2768
- fileName: string;
2769
- fileKey: string;
2770
- bucketName: string;
2771
- fileSize: number;
2772
- fileUrl: string | null;
2773
- }[];
2774
- }[];
2775
- company: {
2776
- id: string;
2777
- createdAt: Date;
2778
- updatedAt: Date;
2779
- deletedAt: Date | null;
2780
- address?: string | null | undefined;
2781
- name?: string | undefined;
2782
- phone?: string | null | undefined;
2783
- industry?: string | null | undefined;
2784
- } | null;
2785
- notes: string | null;
2786
- contactProfile: string | null;
2787
- socialProfileUrl: string | null;
2788
- tags: {
2789
- id: string;
2790
- name: string;
2791
- createdAt: Date;
2792
- updatedAt: Date;
2793
- deletedAt: Date | null;
2794
- }[];
2795
- contactEmails: {
2796
- id: string;
2797
- isPrimary: boolean;
2798
- email: string;
2799
- createdAt: Date;
2800
- updatedAt: Date;
2801
- deletedAt: Date | null;
2802
- }[];
2803
- contactPhones: {
2804
- id: string;
2805
- isPrimary: boolean;
2806
- createdAt: Date;
2807
- updatedAt: Date;
2808
- deletedAt: Date | null;
2809
- phone: string;
2810
- }[];
2811
- activityLogs?: {
2812
- id: string;
2813
- description: string;
2814
- createdAt: Date;
2815
- updatedAt: Date;
2816
- deletedAt: Date | null;
2817
- entityId: string;
2818
- entityType: {
2819
- id: string;
2820
- description: string | null;
2821
- createdAt: Date;
2822
- updatedAt: Date;
2823
- deletedAt: Date | null;
2824
- entity: string;
2825
- };
2826
- }[] | undefined;
2827
- };
2828
- channelId: string;
2829
- socialPlatformId: string;
2830
- };
2831
- firstAssignee: {
2832
- id: string;
2833
- address: string | null;
2834
- name: string;
2835
- email: string;
2836
- createdAt: Date;
2837
- updatedAt: Date;
2838
- deletedAt: Date | null;
2839
- emailVerifiedAt: Date | null;
2840
- password: string;
2841
- phone: string | null;
2842
- notificationCount: number | null;
2843
- roles: {
2844
- id: string;
2845
- description: string | null;
2846
- createdAt: Date;
2847
- updatedAt: Date;
2848
- deletedAt: Date | null;
2849
- systemName: string;
2850
- displayName: string;
2851
- permissions: {
2852
- id: string;
2853
- description: string | null;
2854
- createdAt: Date;
2855
- updatedAt: Date;
2856
- deletedAt: Date | null;
2857
- systemName: string;
2858
- displayName: string;
2859
- }[];
2860
- }[];
2861
- extension: {
2862
- id: string;
2863
- createdAt: Date;
2864
- updatedAt: Date;
2865
- deletedAt: Date | null;
2866
- userId: string | null;
2867
- sipServerUrl: string;
2868
- sipUserName: string;
2869
- webphoneLoginUser: string;
2870
- extensionId: string | null;
2871
- extensionName: string;
2872
- telephonySignature: string | null;
2873
- };
2874
- } | null;
2875
- assignee: {
2876
- id: string;
2877
- address: string | null;
2878
- name: string;
2879
- email: string;
2880
- createdAt: Date;
2881
- updatedAt: Date;
2882
- deletedAt: Date | null;
2883
- emailVerifiedAt: Date | null;
2884
- password: string;
2885
- phone: string | null;
2886
- notificationCount: number | null;
2887
- roles: {
2888
- id: string;
2889
- description: string | null;
2890
- createdAt: Date;
2891
- updatedAt: Date;
2892
- deletedAt: Date | null;
2893
- systemName: string;
2894
- displayName: string;
2895
- permissions: {
2896
- id: string;
2897
- description: string | null;
2898
- createdAt: Date;
2899
- updatedAt: Date;
2900
- deletedAt: Date | null;
2901
- systemName: string;
2902
- displayName: string;
2903
- }[];
2904
- }[];
2905
- extension: {
2906
- id: string;
2907
- createdAt: Date;
2908
- updatedAt: Date;
2909
- deletedAt: Date | null;
2910
- userId: string | null;
2911
- sipServerUrl: string;
2912
- sipUserName: string;
2913
- webphoneLoginUser: string;
2914
- extensionId: string | null;
2915
- extensionName: string;
2916
- telephonySignature: string | null;
2917
- };
2918
- } | null;
2919
- closedAssignee: {
2920
- id: string;
2921
- address: string | null;
2922
- name: string;
2923
- email: string;
2924
- createdAt: Date;
2925
- updatedAt: Date;
2926
- deletedAt: Date | null;
2927
- emailVerifiedAt: Date | null;
2928
- password: string;
2929
- phone: string | null;
2930
- notificationCount: number | null;
2931
- roles: {
2932
- id: string;
2933
- description: string | null;
2934
- createdAt: Date;
2935
- updatedAt: Date;
2936
- deletedAt: Date | null;
2937
- systemName: string;
2938
- displayName: string;
2939
- permissions: {
2940
- id: string;
2941
- description: string | null;
2942
- createdAt: Date;
2943
- updatedAt: Date;
2944
- deletedAt: Date | null;
2945
- systemName: string;
2946
- displayName: string;
2947
- }[];
2948
- }[];
2949
- extension: {
2950
- id: string;
2951
- createdAt: Date;
2952
- updatedAt: Date;
2953
- deletedAt: Date | null;
2954
- userId: string | null;
2955
- sipServerUrl: string;
2956
- sipUserName: string;
2957
- webphoneLoginUser: string;
2958
- extensionId: string | null;
2959
- extensionName: string;
2960
- telephonySignature: string | null;
2961
- };
2962
- } | null;
2963
- }, {
2964
- id: string;
2965
- channel: {
2966
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2967
- id: string;
2968
- name: string;
2969
- metadata: {
2970
- id: string;
2971
- name: string;
2972
- accessToken?: string | undefined;
2973
- channelSecret?: string | undefined;
2974
- additionalCredentials?: any;
2975
- lineRichMenuId?: string | null | undefined;
2976
- };
2977
- status: boolean;
2978
- createdAt: Date;
2979
- updatedAt: Date;
2980
- deletedAt: Date | null;
2981
- actor: {
2982
- id: string;
2983
- address: string | null;
2984
- name: string;
2985
- email: string;
2986
- createdAt: Date;
2987
- updatedAt: Date;
2988
- deletedAt: Date | null;
2989
- emailVerifiedAt: Date | null;
2990
- password: string;
2991
- phone: string | null;
2992
- notificationCount: number | null;
2993
- roles: {
2994
- id: string;
2995
- description: string | null;
2996
- createdAt: Date;
2997
- updatedAt: Date;
2998
- deletedAt: Date | null;
2999
- systemName: string;
3000
- displayName: string;
3001
- permissions: {
3002
- id: string;
3003
- description: string | null;
3004
- createdAt: Date;
3005
- updatedAt: Date;
3006
- deletedAt: Date | null;
3007
- systemName: string;
3008
- displayName: string;
3009
- }[];
3010
- }[];
3011
- extension: {
3012
- id: string;
3013
- createdAt: Date;
3014
- updatedAt: Date;
3015
- deletedAt: Date | null;
3016
- userId: string | null;
3017
- sipServerUrl: string;
3018
- sipUserName: string;
3019
- webphoneLoginUser: string;
3020
- extensionId: string | null;
3021
- extensionName: string;
3022
- telephonySignature: string | null;
3023
- };
3024
- };
3025
- brandName: string;
3026
- platformId: string;
3027
- isReloginRequired: boolean;
3028
- connectedUserName: string;
3029
- connectedUserId: string;
3030
- botpressBot: {
3031
- id: string;
3032
- name: string;
3033
- accessToken: string;
3034
- botId: string;
3035
- integrationId: string;
3036
- } | null;
3037
- };
3038
- direction: "incoming" | "outgoing" | "system";
3039
- createdAt: Date;
3040
- updatedAt: Date;
3041
- deletedAt: Date | null;
3042
- actor: {
2466
+ } | null;
2467
+ }, {
2468
+ id: string;
2469
+ channel: {
2470
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2471
+ id: string;
2472
+ name: string;
2473
+ metadata: {
2474
+ id: string;
2475
+ name: string;
2476
+ accessToken?: string | undefined;
2477
+ channelSecret?: string | undefined;
2478
+ additionalCredentials?: any;
2479
+ lineRichMenuId?: string | null | undefined;
2480
+ };
2481
+ status: boolean;
2482
+ createdAt: Date;
2483
+ updatedAt: Date;
2484
+ deletedAt: Date | null;
2485
+ actor: {
2486
+ id: string;
2487
+ address: string | null;
2488
+ name: string;
2489
+ email: string;
2490
+ createdAt: Date;
2491
+ updatedAt: Date;
2492
+ deletedAt: Date | null;
2493
+ emailVerifiedAt: Date | null;
2494
+ password: string;
2495
+ phone: string | null;
2496
+ notificationCount: number | null;
2497
+ roles: {
2498
+ id: string;
2499
+ description: string | null;
2500
+ createdAt: Date;
2501
+ updatedAt: Date;
2502
+ deletedAt: Date | null;
2503
+ systemName: string;
2504
+ displayName: string;
2505
+ permissions: {
2506
+ id: string;
2507
+ description: string | null;
2508
+ createdAt: Date;
2509
+ updatedAt: Date;
2510
+ deletedAt: Date | null;
2511
+ systemName: string;
2512
+ displayName: string;
2513
+ }[];
2514
+ }[];
2515
+ extension: {
2516
+ id: string;
2517
+ createdAt: Date;
2518
+ updatedAt: Date;
2519
+ deletedAt: Date | null;
2520
+ userId: string | null;
2521
+ sipServerUrl: string;
2522
+ sipUserName: string;
2523
+ webphoneLoginUser: string;
2524
+ extensionId: string | null;
2525
+ extensionName: string;
2526
+ telephonySignature: string | null;
2527
+ };
2528
+ };
2529
+ brandName: string;
2530
+ platformId: string;
2531
+ isReloginRequired: boolean;
2532
+ connectedUserName: string;
2533
+ connectedUserId: string;
2534
+ botpressBot: {
2535
+ id: string;
2536
+ name: string;
2537
+ accessToken: string;
2538
+ botId: string;
2539
+ integrationId: string;
2540
+ } | null;
2541
+ };
2542
+ direction: "incoming" | "outgoing" | "system";
2543
+ createdAt: Date;
2544
+ updatedAt: Date;
2545
+ deletedAt: Date | null;
2546
+ actor: {
3043
2547
  id: string;
3044
2548
  address: string | null;
3045
2549
  name: string;
@@ -3176,121 +2680,33 @@ export declare const cxLogContract: {
3176
2680
  }[];
3177
2681
  contactPhones: {
3178
2682
  id: string;
3179
- isPrimary: boolean;
3180
- createdAt: Date;
3181
- updatedAt: Date;
3182
- deletedAt: Date | null;
3183
- phone: string;
3184
- }[];
3185
- activityLogs?: {
3186
- id: string;
3187
- description: string;
3188
- createdAt: Date;
3189
- updatedAt: Date;
3190
- deletedAt: Date | null;
3191
- entityId: string;
3192
- entityType: {
3193
- id: string;
3194
- description: string | null;
3195
- createdAt: Date;
3196
- updatedAt: Date;
3197
- deletedAt: Date | null;
3198
- entity: string;
3199
- };
3200
- }[] | undefined;
3201
- };
3202
- channelId: string;
3203
- socialPlatformId: string;
3204
- };
3205
- firstAssignee: {
3206
- id: string;
3207
- address: string | null;
3208
- name: string;
3209
- email: string;
3210
- createdAt: Date;
3211
- updatedAt: Date;
3212
- deletedAt: Date | null;
3213
- emailVerifiedAt: Date | null;
3214
- password: string;
3215
- phone: string | null;
3216
- notificationCount: number | null;
3217
- roles: {
3218
- id: string;
3219
- description: string | null;
3220
- createdAt: Date;
3221
- updatedAt: Date;
3222
- deletedAt: Date | null;
3223
- systemName: string;
3224
- displayName: string;
3225
- permissions: {
3226
- id: string;
3227
- description: string | null;
3228
- createdAt: Date;
3229
- updatedAt: Date;
3230
- deletedAt: Date | null;
3231
- systemName: string;
3232
- displayName: string;
3233
- }[];
3234
- }[];
3235
- extension: {
3236
- id: string;
3237
- createdAt: Date;
3238
- updatedAt: Date;
3239
- deletedAt: Date | null;
3240
- userId: string | null;
3241
- sipServerUrl: string;
3242
- sipUserName: string;
3243
- webphoneLoginUser: string;
3244
- extensionId: string | null;
3245
- extensionName: string;
3246
- telephonySignature: string | null;
3247
- };
3248
- } | null;
3249
- assignee: {
3250
- id: string;
3251
- address: string | null;
3252
- name: string;
3253
- email: string;
3254
- createdAt: Date;
3255
- updatedAt: Date;
3256
- deletedAt: Date | null;
3257
- emailVerifiedAt: Date | null;
3258
- password: string;
3259
- phone: string | null;
3260
- notificationCount: number | null;
3261
- roles: {
3262
- id: string;
3263
- description: string | null;
3264
- createdAt: Date;
3265
- updatedAt: Date;
3266
- deletedAt: Date | null;
3267
- systemName: string;
3268
- displayName: string;
3269
- permissions: {
3270
- id: string;
3271
- description: string | null;
2683
+ isPrimary: boolean;
3272
2684
  createdAt: Date;
3273
2685
  updatedAt: Date;
3274
2686
  deletedAt: Date | null;
3275
- systemName: string;
3276
- displayName: string;
2687
+ phone: string;
3277
2688
  }[];
3278
- }[];
3279
- extension: {
3280
- id: string;
3281
- createdAt: Date;
3282
- updatedAt: Date;
3283
- deletedAt: Date | null;
3284
- userId: string | null;
3285
- sipServerUrl: string;
3286
- sipUserName: string;
3287
- webphoneLoginUser: string;
3288
- extensionId: string | null;
3289
- extensionName: string;
3290
- telephonySignature: string | null;
2689
+ activityLogs?: {
2690
+ id: string;
2691
+ description: string;
2692
+ createdAt: Date;
2693
+ updatedAt: Date;
2694
+ deletedAt: Date | null;
2695
+ entityId: string;
2696
+ entityType: {
2697
+ id: string;
2698
+ description: string | null;
2699
+ createdAt: Date;
2700
+ updatedAt: Date;
2701
+ deletedAt: Date | null;
2702
+ entity: string;
2703
+ };
2704
+ }[] | undefined;
3291
2705
  };
3292
- } | null;
3293
- closedAssignee: {
2706
+ channelId: string;
2707
+ socialPlatformId: string;
2708
+ };
2709
+ assignee: {
3294
2710
  id: string;
3295
2711
  address: string | null;
3296
2712
  name: string;
@@ -5792,8 +5208,287 @@ export declare const cxLogContract: {
5792
5208
  bucketName: string;
5793
5209
  fileSize: number;
5794
5210
  fileUrl: string | null;
5795
- }>, "many">;
5796
- }, "strip", z.ZodTypeAny, {
5211
+ }>, "many">;
5212
+ }, "strip", z.ZodTypeAny, {
5213
+ id: string;
5214
+ createdAt: Date;
5215
+ updatedAt: Date;
5216
+ deletedAt: Date | null;
5217
+ attribute: {
5218
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5219
+ id: string;
5220
+ position: number;
5221
+ createdAt: Date;
5222
+ updatedAt: Date;
5223
+ deletedAt: Date | null;
5224
+ systemName: string;
5225
+ displayName: string;
5226
+ isDefault: boolean;
5227
+ isArchived: boolean;
5228
+ isRequired: boolean;
5229
+ isUnique: boolean;
5230
+ };
5231
+ textValue: string | null;
5232
+ booleanValue: boolean | null;
5233
+ numberValue: number | null;
5234
+ dateValue: Date | null;
5235
+ uploads: {
5236
+ id: string;
5237
+ status: string | null;
5238
+ createdAt: Date;
5239
+ updatedAt: Date;
5240
+ deletedAt: Date | null;
5241
+ fileName: string;
5242
+ fileKey: string;
5243
+ bucketName: string;
5244
+ fileSize: number;
5245
+ fileUrl: string | null;
5246
+ }[];
5247
+ }, {
5248
+ id: string;
5249
+ createdAt: Date;
5250
+ updatedAt: Date;
5251
+ deletedAt: Date | null;
5252
+ attribute: {
5253
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5254
+ id: string;
5255
+ position: number;
5256
+ createdAt: Date;
5257
+ updatedAt: Date;
5258
+ deletedAt: Date | null;
5259
+ systemName: string;
5260
+ displayName: string;
5261
+ isDefault: boolean;
5262
+ isArchived: boolean;
5263
+ isRequired: boolean;
5264
+ isUnique: boolean;
5265
+ };
5266
+ textValue: string | null;
5267
+ booleanValue: boolean | null;
5268
+ numberValue: number | null;
5269
+ dateValue: Date | null;
5270
+ uploads: {
5271
+ id: string;
5272
+ status: string | null;
5273
+ createdAt: Date;
5274
+ updatedAt: Date;
5275
+ deletedAt: Date | null;
5276
+ fileName: string;
5277
+ fileKey: string;
5278
+ bucketName: string;
5279
+ fileSize: number;
5280
+ fileUrl: string | null;
5281
+ }[];
5282
+ }>, "many">;
5283
+ contactEmails: z.ZodArray<z.ZodObject<{
5284
+ id: z.ZodString;
5285
+ createdAt: z.ZodDate;
5286
+ updatedAt: z.ZodDate;
5287
+ deletedAt: z.ZodNullable<z.ZodDate>;
5288
+ email: z.ZodString;
5289
+ isPrimary: z.ZodBoolean;
5290
+ }, "strip", z.ZodTypeAny, {
5291
+ id: string;
5292
+ isPrimary: boolean;
5293
+ email: string;
5294
+ createdAt: Date;
5295
+ updatedAt: Date;
5296
+ deletedAt: Date | null;
5297
+ }, {
5298
+ id: string;
5299
+ isPrimary: boolean;
5300
+ email: string;
5301
+ createdAt: Date;
5302
+ updatedAt: Date;
5303
+ deletedAt: Date | null;
5304
+ }>, "many">;
5305
+ contactPhones: z.ZodArray<z.ZodObject<{
5306
+ id: z.ZodString;
5307
+ createdAt: z.ZodDate;
5308
+ updatedAt: z.ZodDate;
5309
+ deletedAt: z.ZodNullable<z.ZodDate>;
5310
+ phone: z.ZodString;
5311
+ isPrimary: z.ZodBoolean;
5312
+ }, "strip", z.ZodTypeAny, {
5313
+ id: string;
5314
+ isPrimary: boolean;
5315
+ createdAt: Date;
5316
+ updatedAt: Date;
5317
+ deletedAt: Date | null;
5318
+ phone: string;
5319
+ }, {
5320
+ id: string;
5321
+ isPrimary: boolean;
5322
+ createdAt: Date;
5323
+ updatedAt: Date;
5324
+ deletedAt: Date | null;
5325
+ phone: string;
5326
+ }>, "many">;
5327
+ activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
5328
+ id: z.ZodString;
5329
+ createdAt: z.ZodDate;
5330
+ updatedAt: z.ZodDate;
5331
+ deletedAt: z.ZodNullable<z.ZodDate>;
5332
+ entityId: z.ZodString;
5333
+ description: z.ZodString;
5334
+ entityType: z.ZodObject<{
5335
+ id: z.ZodString;
5336
+ createdAt: z.ZodDate;
5337
+ updatedAt: z.ZodDate;
5338
+ deletedAt: z.ZodNullable<z.ZodDate>;
5339
+ entity: z.ZodString;
5340
+ description: z.ZodNullable<z.ZodString>;
5341
+ }, "strip", z.ZodTypeAny, {
5342
+ id: string;
5343
+ description: string | null;
5344
+ createdAt: Date;
5345
+ updatedAt: Date;
5346
+ deletedAt: Date | null;
5347
+ entity: string;
5348
+ }, {
5349
+ id: string;
5350
+ description: string | null;
5351
+ createdAt: Date;
5352
+ updatedAt: Date;
5353
+ deletedAt: Date | null;
5354
+ entity: string;
5355
+ }>;
5356
+ }, "strip", z.ZodTypeAny, {
5357
+ id: string;
5358
+ description: string;
5359
+ createdAt: Date;
5360
+ updatedAt: Date;
5361
+ deletedAt: Date | null;
5362
+ entityId: string;
5363
+ entityType: {
5364
+ id: string;
5365
+ description: string | null;
5366
+ createdAt: Date;
5367
+ updatedAt: Date;
5368
+ deletedAt: Date | null;
5369
+ entity: string;
5370
+ };
5371
+ }, {
5372
+ id: string;
5373
+ description: string;
5374
+ createdAt: Date;
5375
+ updatedAt: Date;
5376
+ deletedAt: Date | null;
5377
+ entityId: string;
5378
+ entityType: {
5379
+ id: string;
5380
+ description: string | null;
5381
+ createdAt: Date;
5382
+ updatedAt: Date;
5383
+ deletedAt: Date | null;
5384
+ entity: string;
5385
+ };
5386
+ }>, "many">>;
5387
+ }, "strip", z.ZodTypeAny, {
5388
+ id: string;
5389
+ channel: string | null;
5390
+ address: string | null;
5391
+ name: string;
5392
+ createdAt: Date;
5393
+ updatedAt: Date;
5394
+ deletedAt: Date | null;
5395
+ customFields: {
5396
+ id: string;
5397
+ createdAt: Date;
5398
+ updatedAt: Date;
5399
+ deletedAt: Date | null;
5400
+ attribute: {
5401
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5402
+ id: string;
5403
+ position: number;
5404
+ createdAt: Date;
5405
+ updatedAt: Date;
5406
+ deletedAt: Date | null;
5407
+ systemName: string;
5408
+ displayName: string;
5409
+ isDefault: boolean;
5410
+ isArchived: boolean;
5411
+ isRequired: boolean;
5412
+ isUnique: boolean;
5413
+ };
5414
+ textValue: string | null;
5415
+ booleanValue: boolean | null;
5416
+ numberValue: number | null;
5417
+ dateValue: Date | null;
5418
+ uploads: {
5419
+ id: string;
5420
+ status: string | null;
5421
+ createdAt: Date;
5422
+ updatedAt: Date;
5423
+ deletedAt: Date | null;
5424
+ fileName: string;
5425
+ fileKey: string;
5426
+ bucketName: string;
5427
+ fileSize: number;
5428
+ fileUrl: string | null;
5429
+ }[];
5430
+ }[];
5431
+ company: {
5432
+ id: string;
5433
+ createdAt: Date;
5434
+ updatedAt: Date;
5435
+ deletedAt: Date | null;
5436
+ address?: string | null | undefined;
5437
+ name?: string | undefined;
5438
+ phone?: string | null | undefined;
5439
+ industry?: string | null | undefined;
5440
+ } | null;
5441
+ notes: string | null;
5442
+ contactProfile: string | null;
5443
+ socialProfileUrl: string | null;
5444
+ tags: {
5445
+ id: string;
5446
+ name: string;
5447
+ createdAt: Date;
5448
+ updatedAt: Date;
5449
+ deletedAt: Date | null;
5450
+ }[];
5451
+ contactEmails: {
5452
+ id: string;
5453
+ isPrimary: boolean;
5454
+ email: string;
5455
+ createdAt: Date;
5456
+ updatedAt: Date;
5457
+ deletedAt: Date | null;
5458
+ }[];
5459
+ contactPhones: {
5460
+ id: string;
5461
+ isPrimary: boolean;
5462
+ createdAt: Date;
5463
+ updatedAt: Date;
5464
+ deletedAt: Date | null;
5465
+ phone: string;
5466
+ }[];
5467
+ activityLogs?: {
5468
+ id: string;
5469
+ description: string;
5470
+ createdAt: Date;
5471
+ updatedAt: Date;
5472
+ deletedAt: Date | null;
5473
+ entityId: string;
5474
+ entityType: {
5475
+ id: string;
5476
+ description: string | null;
5477
+ createdAt: Date;
5478
+ updatedAt: Date;
5479
+ deletedAt: Date | null;
5480
+ entity: string;
5481
+ };
5482
+ }[] | undefined;
5483
+ }, {
5484
+ id: string;
5485
+ channel: string | null;
5486
+ address: string | null;
5487
+ name: string;
5488
+ createdAt: Date;
5489
+ updatedAt: Date;
5490
+ deletedAt: Date | null;
5491
+ customFields: {
5797
5492
  id: string;
5798
5493
  createdAt: Date;
5799
5494
  updatedAt: Date;
@@ -5828,99 +5523,291 @@ export declare const cxLogContract: {
5828
5523
  fileSize: number;
5829
5524
  fileUrl: string | null;
5830
5525
  }[];
5526
+ }[];
5527
+ company: {
5528
+ id: string;
5529
+ createdAt: Date;
5530
+ updatedAt: Date;
5531
+ deletedAt: Date | null;
5532
+ address?: string | null | undefined;
5533
+ name?: string | undefined;
5534
+ phone?: string | null | undefined;
5535
+ industry?: string | null | undefined;
5536
+ } | null;
5537
+ notes: string | null;
5538
+ contactProfile: string | null;
5539
+ socialProfileUrl: string | null;
5540
+ tags: {
5541
+ id: string;
5542
+ name: string;
5543
+ createdAt: Date;
5544
+ updatedAt: Date;
5545
+ deletedAt: Date | null;
5546
+ }[];
5547
+ contactEmails: {
5548
+ id: string;
5549
+ isPrimary: boolean;
5550
+ email: string;
5551
+ createdAt: Date;
5552
+ updatedAt: Date;
5553
+ deletedAt: Date | null;
5554
+ }[];
5555
+ contactPhones: {
5556
+ id: string;
5557
+ isPrimary: boolean;
5558
+ createdAt: Date;
5559
+ updatedAt: Date;
5560
+ deletedAt: Date | null;
5561
+ phone: string;
5562
+ }[];
5563
+ activityLogs?: {
5564
+ id: string;
5565
+ description: string;
5566
+ createdAt: Date;
5567
+ updatedAt: Date;
5568
+ deletedAt: Date | null;
5569
+ entityId: string;
5570
+ entityType: {
5571
+ id: string;
5572
+ description: string | null;
5573
+ createdAt: Date;
5574
+ updatedAt: Date;
5575
+ deletedAt: Date | null;
5576
+ entity: string;
5577
+ };
5578
+ }[] | undefined;
5579
+ }>>;
5580
+ firstAssignee: z.ZodNullable<z.ZodObject<{
5581
+ id: z.ZodString;
5582
+ createdAt: z.ZodDate;
5583
+ updatedAt: z.ZodDate;
5584
+ deletedAt: z.ZodNullable<z.ZodDate>;
5585
+ name: z.ZodString;
5586
+ email: z.ZodString;
5587
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
5588
+ password: z.ZodString;
5589
+ address: z.ZodNullable<z.ZodString>;
5590
+ phone: z.ZodNullable<z.ZodString>;
5591
+ notificationCount: z.ZodNullable<z.ZodNumber>;
5592
+ roles: z.ZodArray<z.ZodObject<{
5593
+ id: z.ZodString;
5594
+ createdAt: z.ZodDate;
5595
+ updatedAt: z.ZodDate;
5596
+ deletedAt: z.ZodNullable<z.ZodDate>;
5597
+ systemName: z.ZodString;
5598
+ displayName: z.ZodString;
5599
+ description: z.ZodNullable<z.ZodString>;
5600
+ permissions: z.ZodArray<z.ZodObject<{
5601
+ id: z.ZodString;
5602
+ createdAt: z.ZodDate;
5603
+ updatedAt: z.ZodDate;
5604
+ deletedAt: z.ZodNullable<z.ZodDate>;
5605
+ systemName: z.ZodString;
5606
+ displayName: z.ZodString;
5607
+ description: z.ZodNullable<z.ZodString>;
5608
+ }, "strip", z.ZodTypeAny, {
5609
+ id: string;
5610
+ description: string | null;
5611
+ createdAt: Date;
5612
+ updatedAt: Date;
5613
+ deletedAt: Date | null;
5614
+ systemName: string;
5615
+ displayName: string;
5616
+ }, {
5617
+ id: string;
5618
+ description: string | null;
5619
+ createdAt: Date;
5620
+ updatedAt: Date;
5621
+ deletedAt: Date | null;
5622
+ systemName: string;
5623
+ displayName: string;
5624
+ }>, "many">;
5625
+ }, "strip", z.ZodTypeAny, {
5626
+ id: string;
5627
+ description: string | null;
5628
+ createdAt: Date;
5629
+ updatedAt: Date;
5630
+ deletedAt: Date | null;
5631
+ systemName: string;
5632
+ displayName: string;
5633
+ permissions: {
5634
+ id: string;
5635
+ description: string | null;
5636
+ createdAt: Date;
5637
+ updatedAt: Date;
5638
+ deletedAt: Date | null;
5639
+ systemName: string;
5640
+ displayName: string;
5641
+ }[];
5831
5642
  }, {
5832
5643
  id: string;
5644
+ description: string | null;
5833
5645
  createdAt: Date;
5834
5646
  updatedAt: Date;
5835
5647
  deletedAt: Date | null;
5836
- attribute: {
5837
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5648
+ systemName: string;
5649
+ displayName: string;
5650
+ permissions: {
5838
5651
  id: string;
5839
- position: number;
5652
+ description: string | null;
5840
5653
  createdAt: Date;
5841
5654
  updatedAt: Date;
5842
5655
  deletedAt: Date | null;
5843
5656
  systemName: string;
5844
5657
  displayName: string;
5845
- isDefault: boolean;
5846
- isArchived: boolean;
5847
- isRequired: boolean;
5848
- isUnique: boolean;
5849
- };
5850
- textValue: string | null;
5851
- booleanValue: boolean | null;
5852
- numberValue: number | null;
5853
- dateValue: Date | null;
5854
- uploads: {
5658
+ }[];
5659
+ }>, "many">;
5660
+ extension: z.ZodObject<{
5661
+ id: z.ZodString;
5662
+ createdAt: z.ZodDate;
5663
+ updatedAt: z.ZodDate;
5664
+ deletedAt: z.ZodNullable<z.ZodDate>;
5665
+ userId: z.ZodNullable<z.ZodString>;
5666
+ sipServerUrl: z.ZodString;
5667
+ sipUserName: z.ZodString;
5668
+ webphoneLoginUser: z.ZodString;
5669
+ extensionId: z.ZodNullable<z.ZodString>;
5670
+ extensionName: z.ZodString;
5671
+ telephonySignature: z.ZodNullable<z.ZodString>;
5672
+ }, "strip", z.ZodTypeAny, {
5673
+ id: string;
5674
+ createdAt: Date;
5675
+ updatedAt: Date;
5676
+ deletedAt: Date | null;
5677
+ userId: string | null;
5678
+ sipServerUrl: string;
5679
+ sipUserName: string;
5680
+ webphoneLoginUser: string;
5681
+ extensionId: string | null;
5682
+ extensionName: string;
5683
+ telephonySignature: string | null;
5684
+ }, {
5685
+ id: string;
5686
+ createdAt: Date;
5687
+ updatedAt: Date;
5688
+ deletedAt: Date | null;
5689
+ userId: string | null;
5690
+ sipServerUrl: string;
5691
+ sipUserName: string;
5692
+ webphoneLoginUser: string;
5693
+ extensionId: string | null;
5694
+ extensionName: string;
5695
+ telephonySignature: string | null;
5696
+ }>;
5697
+ }, "strip", z.ZodTypeAny, {
5698
+ id: string;
5699
+ address: string | null;
5700
+ name: string;
5701
+ email: string;
5702
+ createdAt: Date;
5703
+ updatedAt: Date;
5704
+ deletedAt: Date | null;
5705
+ emailVerifiedAt: Date | null;
5706
+ password: string;
5707
+ phone: string | null;
5708
+ notificationCount: number | null;
5709
+ roles: {
5710
+ id: string;
5711
+ description: string | null;
5712
+ createdAt: Date;
5713
+ updatedAt: Date;
5714
+ deletedAt: Date | null;
5715
+ systemName: string;
5716
+ displayName: string;
5717
+ permissions: {
5855
5718
  id: string;
5856
- status: string | null;
5719
+ description: string | null;
5857
5720
  createdAt: Date;
5858
5721
  updatedAt: Date;
5859
5722
  deletedAt: Date | null;
5860
- fileName: string;
5861
- fileKey: string;
5862
- bucketName: string;
5863
- fileSize: number;
5864
- fileUrl: string | null;
5723
+ systemName: string;
5724
+ displayName: string;
5865
5725
  }[];
5866
- }>, "many">;
5867
- contactEmails: z.ZodArray<z.ZodObject<{
5868
- id: z.ZodString;
5869
- createdAt: z.ZodDate;
5870
- updatedAt: z.ZodDate;
5871
- deletedAt: z.ZodNullable<z.ZodDate>;
5872
- email: z.ZodString;
5873
- isPrimary: z.ZodBoolean;
5874
- }, "strip", z.ZodTypeAny, {
5875
- id: string;
5876
- isPrimary: boolean;
5877
- email: string;
5878
- createdAt: Date;
5879
- updatedAt: Date;
5880
- deletedAt: Date | null;
5881
- }, {
5726
+ }[];
5727
+ extension: {
5882
5728
  id: string;
5883
- isPrimary: boolean;
5884
- email: string;
5885
5729
  createdAt: Date;
5886
5730
  updatedAt: Date;
5887
5731
  deletedAt: Date | null;
5888
- }>, "many">;
5889
- contactPhones: z.ZodArray<z.ZodObject<{
5890
- id: z.ZodString;
5891
- createdAt: z.ZodDate;
5892
- updatedAt: z.ZodDate;
5893
- deletedAt: z.ZodNullable<z.ZodDate>;
5894
- phone: z.ZodString;
5895
- isPrimary: z.ZodBoolean;
5896
- }, "strip", z.ZodTypeAny, {
5732
+ userId: string | null;
5733
+ sipServerUrl: string;
5734
+ sipUserName: string;
5735
+ webphoneLoginUser: string;
5736
+ extensionId: string | null;
5737
+ extensionName: string;
5738
+ telephonySignature: string | null;
5739
+ };
5740
+ }, {
5741
+ id: string;
5742
+ address: string | null;
5743
+ name: string;
5744
+ email: string;
5745
+ createdAt: Date;
5746
+ updatedAt: Date;
5747
+ deletedAt: Date | null;
5748
+ emailVerifiedAt: Date | null;
5749
+ password: string;
5750
+ phone: string | null;
5751
+ notificationCount: number | null;
5752
+ roles: {
5897
5753
  id: string;
5898
- isPrimary: boolean;
5754
+ description: string | null;
5899
5755
  createdAt: Date;
5900
5756
  updatedAt: Date;
5901
5757
  deletedAt: Date | null;
5902
- phone: string;
5903
- }, {
5758
+ systemName: string;
5759
+ displayName: string;
5760
+ permissions: {
5761
+ id: string;
5762
+ description: string | null;
5763
+ createdAt: Date;
5764
+ updatedAt: Date;
5765
+ deletedAt: Date | null;
5766
+ systemName: string;
5767
+ displayName: string;
5768
+ }[];
5769
+ }[];
5770
+ extension: {
5904
5771
  id: string;
5905
- isPrimary: boolean;
5906
5772
  createdAt: Date;
5907
5773
  updatedAt: Date;
5908
5774
  deletedAt: Date | null;
5909
- phone: string;
5910
- }>, "many">;
5911
- activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
5775
+ userId: string | null;
5776
+ sipServerUrl: string;
5777
+ sipUserName: string;
5778
+ webphoneLoginUser: string;
5779
+ extensionId: string | null;
5780
+ extensionName: string;
5781
+ telephonySignature: string | null;
5782
+ };
5783
+ }>>;
5784
+ agent: z.ZodNullable<z.ZodObject<{
5785
+ id: z.ZodString;
5786
+ createdAt: z.ZodDate;
5787
+ updatedAt: z.ZodDate;
5788
+ deletedAt: z.ZodNullable<z.ZodDate>;
5789
+ name: z.ZodString;
5790
+ email: z.ZodString;
5791
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
5792
+ password: z.ZodString;
5793
+ address: z.ZodNullable<z.ZodString>;
5794
+ phone: z.ZodNullable<z.ZodString>;
5795
+ notificationCount: z.ZodNullable<z.ZodNumber>;
5796
+ roles: z.ZodArray<z.ZodObject<{
5912
5797
  id: z.ZodString;
5913
5798
  createdAt: z.ZodDate;
5914
5799
  updatedAt: z.ZodDate;
5915
5800
  deletedAt: z.ZodNullable<z.ZodDate>;
5916
- entityId: z.ZodString;
5917
- description: z.ZodString;
5918
- entityType: z.ZodObject<{
5801
+ systemName: z.ZodString;
5802
+ displayName: z.ZodString;
5803
+ description: z.ZodNullable<z.ZodString>;
5804
+ permissions: z.ZodArray<z.ZodObject<{
5919
5805
  id: z.ZodString;
5920
5806
  createdAt: z.ZodDate;
5921
5807
  updatedAt: z.ZodDate;
5922
5808
  deletedAt: z.ZodNullable<z.ZodDate>;
5923
- entity: z.ZodString;
5809
+ systemName: z.ZodString;
5810
+ displayName: z.ZodString;
5924
5811
  description: z.ZodNullable<z.ZodString>;
5925
5812
  }, "strip", z.ZodTypeAny, {
5926
5813
  id: string;
@@ -5928,240 +5815,177 @@ export declare const cxLogContract: {
5928
5815
  createdAt: Date;
5929
5816
  updatedAt: Date;
5930
5817
  deletedAt: Date | null;
5931
- entity: string;
5818
+ systemName: string;
5819
+ displayName: string;
5932
5820
  }, {
5933
5821
  id: string;
5934
5822
  description: string | null;
5935
5823
  createdAt: Date;
5936
5824
  updatedAt: Date;
5937
5825
  deletedAt: Date | null;
5938
- entity: string;
5939
- }>;
5826
+ systemName: string;
5827
+ displayName: string;
5828
+ }>, "many">;
5940
5829
  }, "strip", z.ZodTypeAny, {
5941
5830
  id: string;
5942
- description: string;
5831
+ description: string | null;
5943
5832
  createdAt: Date;
5944
5833
  updatedAt: Date;
5945
5834
  deletedAt: Date | null;
5946
- entityId: string;
5947
- entityType: {
5835
+ systemName: string;
5836
+ displayName: string;
5837
+ permissions: {
5948
5838
  id: string;
5949
5839
  description: string | null;
5950
5840
  createdAt: Date;
5951
5841
  updatedAt: Date;
5952
5842
  deletedAt: Date | null;
5953
- entity: string;
5954
- };
5843
+ systemName: string;
5844
+ displayName: string;
5845
+ }[];
5955
5846
  }, {
5956
5847
  id: string;
5957
- description: string;
5848
+ description: string | null;
5958
5849
  createdAt: Date;
5959
5850
  updatedAt: Date;
5960
5851
  deletedAt: Date | null;
5961
- entityId: string;
5962
- entityType: {
5852
+ systemName: string;
5853
+ displayName: string;
5854
+ permissions: {
5963
5855
  id: string;
5964
5856
  description: string | null;
5965
5857
  createdAt: Date;
5966
5858
  updatedAt: Date;
5967
5859
  deletedAt: Date | null;
5968
- entity: string;
5969
- };
5970
- }>, "many">>;
5971
- }, "strip", z.ZodTypeAny, {
5972
- id: string;
5973
- channel: string | null;
5974
- address: string | null;
5975
- name: string;
5976
- createdAt: Date;
5977
- updatedAt: Date;
5978
- deletedAt: Date | null;
5979
- customFields: {
5980
- id: string;
5981
- createdAt: Date;
5982
- updatedAt: Date;
5983
- deletedAt: Date | null;
5984
- attribute: {
5985
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5986
- id: string;
5987
- position: number;
5988
- createdAt: Date;
5989
- updatedAt: Date;
5990
- deletedAt: Date | null;
5991
5860
  systemName: string;
5992
5861
  displayName: string;
5993
- isDefault: boolean;
5994
- isArchived: boolean;
5995
- isRequired: boolean;
5996
- isUnique: boolean;
5997
- };
5998
- textValue: string | null;
5999
- booleanValue: boolean | null;
6000
- numberValue: number | null;
6001
- dateValue: Date | null;
6002
- uploads: {
6003
- id: string;
6004
- status: string | null;
6005
- createdAt: Date;
6006
- updatedAt: Date;
6007
- deletedAt: Date | null;
6008
- fileName: string;
6009
- fileKey: string;
6010
- bucketName: string;
6011
- fileSize: number;
6012
- fileUrl: string | null;
6013
5862
  }[];
6014
- }[];
6015
- company: {
6016
- id: string;
6017
- createdAt: Date;
6018
- updatedAt: Date;
6019
- deletedAt: Date | null;
6020
- address?: string | null | undefined;
6021
- name?: string | undefined;
6022
- phone?: string | null | undefined;
6023
- industry?: string | null | undefined;
6024
- } | null;
6025
- notes: string | null;
6026
- contactProfile: string | null;
6027
- socialProfileUrl: string | null;
6028
- tags: {
6029
- id: string;
6030
- name: string;
6031
- createdAt: Date;
6032
- updatedAt: Date;
6033
- deletedAt: Date | null;
6034
- }[];
6035
- contactEmails: {
5863
+ }>, "many">;
5864
+ extension: z.ZodObject<{
5865
+ id: z.ZodString;
5866
+ createdAt: z.ZodDate;
5867
+ updatedAt: z.ZodDate;
5868
+ deletedAt: z.ZodNullable<z.ZodDate>;
5869
+ userId: z.ZodNullable<z.ZodString>;
5870
+ sipServerUrl: z.ZodString;
5871
+ sipUserName: z.ZodString;
5872
+ webphoneLoginUser: z.ZodString;
5873
+ extensionId: z.ZodNullable<z.ZodString>;
5874
+ extensionName: z.ZodString;
5875
+ telephonySignature: z.ZodNullable<z.ZodString>;
5876
+ }, "strip", z.ZodTypeAny, {
6036
5877
  id: string;
6037
- isPrimary: boolean;
6038
- email: string;
6039
5878
  createdAt: Date;
6040
5879
  updatedAt: Date;
6041
5880
  deletedAt: Date | null;
6042
- }[];
6043
- contactPhones: {
5881
+ userId: string | null;
5882
+ sipServerUrl: string;
5883
+ sipUserName: string;
5884
+ webphoneLoginUser: string;
5885
+ extensionId: string | null;
5886
+ extensionName: string;
5887
+ telephonySignature: string | null;
5888
+ }, {
6044
5889
  id: string;
6045
- isPrimary: boolean;
6046
5890
  createdAt: Date;
6047
5891
  updatedAt: Date;
6048
5892
  deletedAt: Date | null;
6049
- phone: string;
6050
- }[];
6051
- activityLogs?: {
5893
+ userId: string | null;
5894
+ sipServerUrl: string;
5895
+ sipUserName: string;
5896
+ webphoneLoginUser: string;
5897
+ extensionId: string | null;
5898
+ extensionName: string;
5899
+ telephonySignature: string | null;
5900
+ }>;
5901
+ }, "strip", z.ZodTypeAny, {
5902
+ id: string;
5903
+ address: string | null;
5904
+ name: string;
5905
+ email: string;
5906
+ createdAt: Date;
5907
+ updatedAt: Date;
5908
+ deletedAt: Date | null;
5909
+ emailVerifiedAt: Date | null;
5910
+ password: string;
5911
+ phone: string | null;
5912
+ notificationCount: number | null;
5913
+ roles: {
6052
5914
  id: string;
6053
- description: string;
5915
+ description: string | null;
6054
5916
  createdAt: Date;
6055
5917
  updatedAt: Date;
6056
5918
  deletedAt: Date | null;
6057
- entityId: string;
6058
- entityType: {
5919
+ systemName: string;
5920
+ displayName: string;
5921
+ permissions: {
6059
5922
  id: string;
6060
5923
  description: string | null;
6061
5924
  createdAt: Date;
6062
5925
  updatedAt: Date;
6063
5926
  deletedAt: Date | null;
6064
- entity: string;
6065
- };
6066
- }[] | undefined;
5927
+ systemName: string;
5928
+ displayName: string;
5929
+ }[];
5930
+ }[];
5931
+ extension: {
5932
+ id: string;
5933
+ createdAt: Date;
5934
+ updatedAt: Date;
5935
+ deletedAt: Date | null;
5936
+ userId: string | null;
5937
+ sipServerUrl: string;
5938
+ sipUserName: string;
5939
+ webphoneLoginUser: string;
5940
+ extensionId: string | null;
5941
+ extensionName: string;
5942
+ telephonySignature: string | null;
5943
+ };
6067
5944
  }, {
6068
5945
  id: string;
6069
- channel: string | null;
6070
5946
  address: string | null;
6071
5947
  name: string;
5948
+ email: string;
6072
5949
  createdAt: Date;
6073
5950
  updatedAt: Date;
6074
5951
  deletedAt: Date | null;
6075
- customFields: {
5952
+ emailVerifiedAt: Date | null;
5953
+ password: string;
5954
+ phone: string | null;
5955
+ notificationCount: number | null;
5956
+ roles: {
6076
5957
  id: string;
5958
+ description: string | null;
6077
5959
  createdAt: Date;
6078
5960
  updatedAt: Date;
6079
5961
  deletedAt: Date | null;
6080
- attribute: {
6081
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5962
+ systemName: string;
5963
+ displayName: string;
5964
+ permissions: {
6082
5965
  id: string;
6083
- position: number;
5966
+ description: string | null;
6084
5967
  createdAt: Date;
6085
5968
  updatedAt: Date;
6086
5969
  deletedAt: Date | null;
6087
5970
  systemName: string;
6088
5971
  displayName: string;
6089
- isDefault: boolean;
6090
- isArchived: boolean;
6091
- isRequired: boolean;
6092
- isUnique: boolean;
6093
- };
6094
- textValue: string | null;
6095
- booleanValue: boolean | null;
6096
- numberValue: number | null;
6097
- dateValue: Date | null;
6098
- uploads: {
6099
- id: string;
6100
- status: string | null;
6101
- createdAt: Date;
6102
- updatedAt: Date;
6103
- deletedAt: Date | null;
6104
- fileName: string;
6105
- fileKey: string;
6106
- bucketName: string;
6107
- fileSize: number;
6108
- fileUrl: string | null;
6109
5972
  }[];
6110
5973
  }[];
6111
- company: {
6112
- id: string;
6113
- createdAt: Date;
6114
- updatedAt: Date;
6115
- deletedAt: Date | null;
6116
- address?: string | null | undefined;
6117
- name?: string | undefined;
6118
- phone?: string | null | undefined;
6119
- industry?: string | null | undefined;
6120
- } | null;
6121
- notes: string | null;
6122
- contactProfile: string | null;
6123
- socialProfileUrl: string | null;
6124
- tags: {
6125
- id: string;
6126
- name: string;
6127
- createdAt: Date;
6128
- updatedAt: Date;
6129
- deletedAt: Date | null;
6130
- }[];
6131
- contactEmails: {
6132
- id: string;
6133
- isPrimary: boolean;
6134
- email: string;
6135
- createdAt: Date;
6136
- updatedAt: Date;
6137
- deletedAt: Date | null;
6138
- }[];
6139
- contactPhones: {
6140
- id: string;
6141
- isPrimary: boolean;
6142
- createdAt: Date;
6143
- updatedAt: Date;
6144
- deletedAt: Date | null;
6145
- phone: string;
6146
- }[];
6147
- activityLogs?: {
5974
+ extension: {
6148
5975
  id: string;
6149
- description: string;
6150
5976
  createdAt: Date;
6151
5977
  updatedAt: Date;
6152
5978
  deletedAt: Date | null;
6153
- entityId: string;
6154
- entityType: {
6155
- id: string;
6156
- description: string | null;
6157
- createdAt: Date;
6158
- updatedAt: Date;
6159
- deletedAt: Date | null;
6160
- entity: string;
6161
- };
6162
- }[] | undefined;
5979
+ userId: string | null;
5980
+ sipServerUrl: string;
5981
+ sipUserName: string;
5982
+ webphoneLoginUser: string;
5983
+ extensionId: string | null;
5984
+ extensionName: string;
5985
+ telephonySignature: string | null;
5986
+ };
6163
5987
  }>>;
6164
- agent: z.ZodNullable<z.ZodObject<{
5988
+ closedAssignee: z.ZodNullable<z.ZodObject<{
6165
5989
  id: z.ZodString;
6166
5990
  createdAt: z.ZodDate;
6167
5991
  updatedAt: z.ZodDate;
@@ -6786,50 +6610,6 @@ export declare const cxLogContract: {
6786
6610
  channelId: string;
6787
6611
  socialPlatformId: string;
6788
6612
  };
6789
- firstAssignee: {
6790
- id: string;
6791
- address: string | null;
6792
- name: string;
6793
- email: string;
6794
- createdAt: Date;
6795
- updatedAt: Date;
6796
- deletedAt: Date | null;
6797
- emailVerifiedAt: Date | null;
6798
- password: string;
6799
- phone: string | null;
6800
- notificationCount: number | null;
6801
- roles: {
6802
- id: string;
6803
- description: string | null;
6804
- createdAt: Date;
6805
- updatedAt: Date;
6806
- deletedAt: Date | null;
6807
- systemName: string;
6808
- displayName: string;
6809
- permissions: {
6810
- id: string;
6811
- description: string | null;
6812
- createdAt: Date;
6813
- updatedAt: Date;
6814
- deletedAt: Date | null;
6815
- systemName: string;
6816
- displayName: string;
6817
- }[];
6818
- }[];
6819
- extension: {
6820
- id: string;
6821
- createdAt: Date;
6822
- updatedAt: Date;
6823
- deletedAt: Date | null;
6824
- userId: string | null;
6825
- sipServerUrl: string;
6826
- sipUserName: string;
6827
- webphoneLoginUser: string;
6828
- extensionId: string | null;
6829
- extensionName: string;
6830
- telephonySignature: string | null;
6831
- };
6832
- } | null;
6833
6613
  assignee: {
6834
6614
  id: string;
6835
6615
  address: string | null;
@@ -6874,50 +6654,6 @@ export declare const cxLogContract: {
6874
6654
  telephonySignature: string | null;
6875
6655
  };
6876
6656
  } | null;
6877
- closedAssignee: {
6878
- id: string;
6879
- address: string | null;
6880
- name: string;
6881
- email: string;
6882
- createdAt: Date;
6883
- updatedAt: Date;
6884
- deletedAt: Date | null;
6885
- emailVerifiedAt: Date | null;
6886
- password: string;
6887
- phone: string | null;
6888
- notificationCount: number | null;
6889
- roles: {
6890
- id: string;
6891
- description: string | null;
6892
- createdAt: Date;
6893
- updatedAt: Date;
6894
- deletedAt: Date | null;
6895
- systemName: string;
6896
- displayName: string;
6897
- permissions: {
6898
- id: string;
6899
- description: string | null;
6900
- createdAt: Date;
6901
- updatedAt: Date;
6902
- deletedAt: Date | null;
6903
- systemName: string;
6904
- displayName: string;
6905
- }[];
6906
- }[];
6907
- extension: {
6908
- id: string;
6909
- createdAt: Date;
6910
- updatedAt: Date;
6911
- deletedAt: Date | null;
6912
- userId: string | null;
6913
- sipServerUrl: string;
6914
- sipUserName: string;
6915
- webphoneLoginUser: string;
6916
- extensionId: string | null;
6917
- extensionName: string;
6918
- telephonySignature: string | null;
6919
- };
6920
- } | null;
6921
6657
  } | null;
6922
6658
  telephonyCdr: {
6923
6659
  type: string;
@@ -7178,7 +6914,95 @@ export declare const cxLogContract: {
7178
6914
  queue: {
7179
6915
  queueName?: string | null | undefined;
7180
6916
  } | null;
7181
- agent: {
6917
+ firstAssignee: {
6918
+ id: string;
6919
+ address: string | null;
6920
+ name: string;
6921
+ email: string;
6922
+ createdAt: Date;
6923
+ updatedAt: Date;
6924
+ deletedAt: Date | null;
6925
+ emailVerifiedAt: Date | null;
6926
+ password: string;
6927
+ phone: string | null;
6928
+ notificationCount: number | null;
6929
+ roles: {
6930
+ id: string;
6931
+ description: string | null;
6932
+ createdAt: Date;
6933
+ updatedAt: Date;
6934
+ deletedAt: Date | null;
6935
+ systemName: string;
6936
+ displayName: string;
6937
+ permissions: {
6938
+ id: string;
6939
+ description: string | null;
6940
+ createdAt: Date;
6941
+ updatedAt: Date;
6942
+ deletedAt: Date | null;
6943
+ systemName: string;
6944
+ displayName: string;
6945
+ }[];
6946
+ }[];
6947
+ extension: {
6948
+ id: string;
6949
+ createdAt: Date;
6950
+ updatedAt: Date;
6951
+ deletedAt: Date | null;
6952
+ userId: string | null;
6953
+ sipServerUrl: string;
6954
+ sipUserName: string;
6955
+ webphoneLoginUser: string;
6956
+ extensionId: string | null;
6957
+ extensionName: string;
6958
+ telephonySignature: string | null;
6959
+ };
6960
+ } | null;
6961
+ agent: {
6962
+ id: string;
6963
+ address: string | null;
6964
+ name: string;
6965
+ email: string;
6966
+ createdAt: Date;
6967
+ updatedAt: Date;
6968
+ deletedAt: Date | null;
6969
+ emailVerifiedAt: Date | null;
6970
+ password: string;
6971
+ phone: string | null;
6972
+ notificationCount: number | null;
6973
+ roles: {
6974
+ id: string;
6975
+ description: string | null;
6976
+ createdAt: Date;
6977
+ updatedAt: Date;
6978
+ deletedAt: Date | null;
6979
+ systemName: string;
6980
+ displayName: string;
6981
+ permissions: {
6982
+ id: string;
6983
+ description: string | null;
6984
+ createdAt: Date;
6985
+ updatedAt: Date;
6986
+ deletedAt: Date | null;
6987
+ systemName: string;
6988
+ displayName: string;
6989
+ }[];
6990
+ }[];
6991
+ extension: {
6992
+ id: string;
6993
+ createdAt: Date;
6994
+ updatedAt: Date;
6995
+ deletedAt: Date | null;
6996
+ userId: string | null;
6997
+ sipServerUrl: string;
6998
+ sipUserName: string;
6999
+ webphoneLoginUser: string;
7000
+ extensionId: string | null;
7001
+ extensionName: string;
7002
+ telephonySignature: string | null;
7003
+ };
7004
+ } | null;
7005
+ closedAssignee: {
7182
7006
  id: string;
7183
7007
  address: string | null;
7184
7008
  name: string;
@@ -7643,50 +7467,6 @@ export declare const cxLogContract: {
7643
7467
  channelId: string;
7644
7468
  socialPlatformId: string;
7645
7469
  };
7646
- firstAssignee: {
7647
- id: string;
7648
- address: string | null;
7649
- name: string;
7650
- email: string;
7651
- createdAt: Date;
7652
- updatedAt: Date;
7653
- deletedAt: Date | null;
7654
- emailVerifiedAt: Date | null;
7655
- password: string;
7656
- phone: string | null;
7657
- notificationCount: number | null;
7658
- roles: {
7659
- id: string;
7660
- description: string | null;
7661
- createdAt: Date;
7662
- updatedAt: Date;
7663
- deletedAt: Date | null;
7664
- systemName: string;
7665
- displayName: string;
7666
- permissions: {
7667
- id: string;
7668
- description: string | null;
7669
- createdAt: Date;
7670
- updatedAt: Date;
7671
- deletedAt: Date | null;
7672
- systemName: string;
7673
- displayName: string;
7674
- }[];
7675
- }[];
7676
- extension: {
7677
- id: string;
7678
- createdAt: Date;
7679
- updatedAt: Date;
7680
- deletedAt: Date | null;
7681
- userId: string | null;
7682
- sipServerUrl: string;
7683
- sipUserName: string;
7684
- webphoneLoginUser: string;
7685
- extensionId: string | null;
7686
- extensionName: string;
7687
- telephonySignature: string | null;
7688
- };
7689
- } | null;
7690
7470
  assignee: {
7691
7471
  id: string;
7692
7472
  address: string | null;
@@ -7731,50 +7511,6 @@ export declare const cxLogContract: {
7731
7511
  telephonySignature: string | null;
7732
7512
  };
7733
7513
  } | null;
7734
- closedAssignee: {
7735
- id: string;
7736
- address: string | null;
7737
- name: string;
7738
- email: string;
7739
- createdAt: Date;
7740
- updatedAt: Date;
7741
- deletedAt: Date | null;
7742
- emailVerifiedAt: Date | null;
7743
- password: string;
7744
- phone: string | null;
7745
- notificationCount: number | null;
7746
- roles: {
7747
- id: string;
7748
- description: string | null;
7749
- createdAt: Date;
7750
- updatedAt: Date;
7751
- deletedAt: Date | null;
7752
- systemName: string;
7753
- displayName: string;
7754
- permissions: {
7755
- id: string;
7756
- description: string | null;
7757
- createdAt: Date;
7758
- updatedAt: Date;
7759
- deletedAt: Date | null;
7760
- systemName: string;
7761
- displayName: string;
7762
- }[];
7763
- }[];
7764
- extension: {
7765
- id: string;
7766
- createdAt: Date;
7767
- updatedAt: Date;
7768
- deletedAt: Date | null;
7769
- userId: string | null;
7770
- sipServerUrl: string;
7771
- sipUserName: string;
7772
- webphoneLoginUser: string;
7773
- extensionId: string | null;
7774
- extensionName: string;
7775
- telephonySignature: string | null;
7776
- };
7777
- } | null;
7778
7514
  } | null;
7779
7515
  telephonyCdr: {
7780
7516
  type: string;
@@ -7986,56 +7722,144 @@ export declare const cxLogContract: {
7986
7722
  extensionId: string | null;
7987
7723
  extensionName: string;
7988
7724
  telephonySignature: string | null;
7989
- user?: {
7990
- id: string;
7991
- address: string | null;
7992
- name: string;
7993
- email: string;
7994
- createdAt: Date;
7995
- updatedAt: Date;
7996
- deletedAt: Date | null;
7997
- emailVerifiedAt: Date | null;
7998
- password: string;
7999
- phone: string | null;
8000
- notificationCount: number | null;
8001
- roles: {
8002
- id: string;
8003
- description: string | null;
8004
- createdAt: Date;
8005
- updatedAt: Date;
8006
- deletedAt: Date | null;
8007
- systemName: string;
8008
- displayName: string;
8009
- permissions: {
8010
- id: string;
8011
- description: string | null;
8012
- createdAt: Date;
8013
- updatedAt: Date;
8014
- deletedAt: Date | null;
8015
- systemName: string;
8016
- displayName: string;
8017
- }[];
8018
- }[];
8019
- extension: {
8020
- id: string;
8021
- createdAt: Date;
8022
- updatedAt: Date;
8023
- deletedAt: Date | null;
8024
- userId: string | null;
8025
- sipServerUrl: string;
8026
- sipUserName: string;
8027
- webphoneLoginUser: string;
8028
- extensionId: string | null;
8029
- extensionName: string;
8030
- telephonySignature: string | null;
8031
- };
8032
- } | null | undefined;
8033
- } | null | undefined;
8034
- } | null;
8035
- queue: {
8036
- queueName?: string | null | undefined;
7725
+ user?: {
7726
+ id: string;
7727
+ address: string | null;
7728
+ name: string;
7729
+ email: string;
7730
+ createdAt: Date;
7731
+ updatedAt: Date;
7732
+ deletedAt: Date | null;
7733
+ emailVerifiedAt: Date | null;
7734
+ password: string;
7735
+ phone: string | null;
7736
+ notificationCount: number | null;
7737
+ roles: {
7738
+ id: string;
7739
+ description: string | null;
7740
+ createdAt: Date;
7741
+ updatedAt: Date;
7742
+ deletedAt: Date | null;
7743
+ systemName: string;
7744
+ displayName: string;
7745
+ permissions: {
7746
+ id: string;
7747
+ description: string | null;
7748
+ createdAt: Date;
7749
+ updatedAt: Date;
7750
+ deletedAt: Date | null;
7751
+ systemName: string;
7752
+ displayName: string;
7753
+ }[];
7754
+ }[];
7755
+ extension: {
7756
+ id: string;
7757
+ createdAt: Date;
7758
+ updatedAt: Date;
7759
+ deletedAt: Date | null;
7760
+ userId: string | null;
7761
+ sipServerUrl: string;
7762
+ sipUserName: string;
7763
+ webphoneLoginUser: string;
7764
+ extensionId: string | null;
7765
+ extensionName: string;
7766
+ telephonySignature: string | null;
7767
+ };
7768
+ } | null | undefined;
7769
+ } | null | undefined;
7770
+ } | null;
7771
+ queue: {
7772
+ queueName?: string | null | undefined;
7773
+ } | null;
7774
+ firstAssignee: {
7775
+ id: string;
7776
+ address: string | null;
7777
+ name: string;
7778
+ email: string;
7779
+ createdAt: Date;
7780
+ updatedAt: Date;
7781
+ deletedAt: Date | null;
7782
+ emailVerifiedAt: Date | null;
7783
+ password: string;
7784
+ phone: string | null;
7785
+ notificationCount: number | null;
7786
+ roles: {
7787
+ id: string;
7788
+ description: string | null;
7789
+ createdAt: Date;
7790
+ updatedAt: Date;
7791
+ deletedAt: Date | null;
7792
+ systemName: string;
7793
+ displayName: string;
7794
+ permissions: {
7795
+ id: string;
7796
+ description: string | null;
7797
+ createdAt: Date;
7798
+ updatedAt: Date;
7799
+ deletedAt: Date | null;
7800
+ systemName: string;
7801
+ displayName: string;
7802
+ }[];
7803
+ }[];
7804
+ extension: {
7805
+ id: string;
7806
+ createdAt: Date;
7807
+ updatedAt: Date;
7808
+ deletedAt: Date | null;
7809
+ userId: string | null;
7810
+ sipServerUrl: string;
7811
+ sipUserName: string;
7812
+ webphoneLoginUser: string;
7813
+ extensionId: string | null;
7814
+ extensionName: string;
7815
+ telephonySignature: string | null;
7816
+ };
7817
+ } | null;
7818
+ agent: {
7819
+ id: string;
7820
+ address: string | null;
7821
+ name: string;
7822
+ email: string;
7823
+ createdAt: Date;
7824
+ updatedAt: Date;
7825
+ deletedAt: Date | null;
7826
+ emailVerifiedAt: Date | null;
7827
+ password: string;
7828
+ phone: string | null;
7829
+ notificationCount: number | null;
7830
+ roles: {
7831
+ id: string;
7832
+ description: string | null;
7833
+ createdAt: Date;
7834
+ updatedAt: Date;
7835
+ deletedAt: Date | null;
7836
+ systemName: string;
7837
+ displayName: string;
7838
+ permissions: {
7839
+ id: string;
7840
+ description: string | null;
7841
+ createdAt: Date;
7842
+ updatedAt: Date;
7843
+ deletedAt: Date | null;
7844
+ systemName: string;
7845
+ displayName: string;
7846
+ }[];
7847
+ }[];
7848
+ extension: {
7849
+ id: string;
7850
+ createdAt: Date;
7851
+ updatedAt: Date;
7852
+ deletedAt: Date | null;
7853
+ userId: string | null;
7854
+ sipServerUrl: string;
7855
+ sipUserName: string;
7856
+ webphoneLoginUser: string;
7857
+ extensionId: string | null;
7858
+ extensionName: string;
7859
+ telephonySignature: string | null;
7860
+ };
8037
7861
  } | null;
8038
- agent: {
7862
+ closedAssignee: {
8039
7863
  id: string;
8040
7864
  address: string | null;
8041
7865
  name: string;
@@ -8506,50 +8330,6 @@ export declare const cxLogContract: {
8506
8330
  channelId: string;
8507
8331
  socialPlatformId: string;
8508
8332
  };
8509
- firstAssignee: {
8510
- id: string;
8511
- address: string | null;
8512
- name: string;
8513
- email: string;
8514
- createdAt: Date;
8515
- updatedAt: Date;
8516
- deletedAt: Date | null;
8517
- emailVerifiedAt: Date | null;
8518
- password: string;
8519
- phone: string | null;
8520
- notificationCount: number | null;
8521
- roles: {
8522
- id: string;
8523
- description: string | null;
8524
- createdAt: Date;
8525
- updatedAt: Date;
8526
- deletedAt: Date | null;
8527
- systemName: string;
8528
- displayName: string;
8529
- permissions: {
8530
- id: string;
8531
- description: string | null;
8532
- createdAt: Date;
8533
- updatedAt: Date;
8534
- deletedAt: Date | null;
8535
- systemName: string;
8536
- displayName: string;
8537
- }[];
8538
- }[];
8539
- extension: {
8540
- id: string;
8541
- createdAt: Date;
8542
- updatedAt: Date;
8543
- deletedAt: Date | null;
8544
- userId: string | null;
8545
- sipServerUrl: string;
8546
- sipUserName: string;
8547
- webphoneLoginUser: string;
8548
- extensionId: string | null;
8549
- extensionName: string;
8550
- telephonySignature: string | null;
8551
- };
8552
- } | null;
8553
8333
  assignee: {
8554
8334
  id: string;
8555
8335
  address: string | null;
@@ -8594,50 +8374,6 @@ export declare const cxLogContract: {
8594
8374
  telephonySignature: string | null;
8595
8375
  };
8596
8376
  } | null;
8597
- closedAssignee: {
8598
- id: string;
8599
- address: string | null;
8600
- name: string;
8601
- email: string;
8602
- createdAt: Date;
8603
- updatedAt: Date;
8604
- deletedAt: Date | null;
8605
- emailVerifiedAt: Date | null;
8606
- password: string;
8607
- phone: string | null;
8608
- notificationCount: number | null;
8609
- roles: {
8610
- id: string;
8611
- description: string | null;
8612
- createdAt: Date;
8613
- updatedAt: Date;
8614
- deletedAt: Date | null;
8615
- systemName: string;
8616
- displayName: string;
8617
- permissions: {
8618
- id: string;
8619
- description: string | null;
8620
- createdAt: Date;
8621
- updatedAt: Date;
8622
- deletedAt: Date | null;
8623
- systemName: string;
8624
- displayName: string;
8625
- }[];
8626
- }[];
8627
- extension: {
8628
- id: string;
8629
- createdAt: Date;
8630
- updatedAt: Date;
8631
- deletedAt: Date | null;
8632
- userId: string | null;
8633
- sipServerUrl: string;
8634
- sipUserName: string;
8635
- webphoneLoginUser: string;
8636
- extensionId: string | null;
8637
- extensionName: string;
8638
- telephonySignature: string | null;
8639
- };
8640
- } | null;
8641
8377
  } | null;
8642
8378
  telephonyCdr: {
8643
8379
  type: string;
@@ -8827,17 +8563,152 @@ export declare const cxLogContract: {
8827
8563
  } | null | undefined;
8828
8564
  upload?: {
8829
8565
  id: string;
8830
- status: string | null;
8566
+ status: string | null;
8567
+ createdAt: Date;
8568
+ updatedAt: Date;
8569
+ deletedAt: Date | null;
8570
+ fileName: string;
8571
+ fileKey: string;
8572
+ bucketName: string;
8573
+ fileSize: number;
8574
+ fileUrl: string | null;
8575
+ } | null | undefined;
8576
+ extension?: {
8577
+ id: string;
8578
+ createdAt: Date;
8579
+ updatedAt: Date;
8580
+ deletedAt: Date | null;
8581
+ userId: string | null;
8582
+ sipServerUrl: string;
8583
+ sipUserName: string;
8584
+ webphoneLoginUser: string;
8585
+ extensionId: string | null;
8586
+ extensionName: string;
8587
+ telephonySignature: string | null;
8588
+ user?: {
8589
+ id: string;
8590
+ address: string | null;
8591
+ name: string;
8592
+ email: string;
8593
+ createdAt: Date;
8594
+ updatedAt: Date;
8595
+ deletedAt: Date | null;
8596
+ emailVerifiedAt: Date | null;
8597
+ password: string;
8598
+ phone: string | null;
8599
+ notificationCount: number | null;
8600
+ roles: {
8601
+ id: string;
8602
+ description: string | null;
8603
+ createdAt: Date;
8604
+ updatedAt: Date;
8605
+ deletedAt: Date | null;
8606
+ systemName: string;
8607
+ displayName: string;
8608
+ permissions: {
8609
+ id: string;
8610
+ description: string | null;
8611
+ createdAt: Date;
8612
+ updatedAt: Date;
8613
+ deletedAt: Date | null;
8614
+ systemName: string;
8615
+ displayName: string;
8616
+ }[];
8617
+ }[];
8618
+ extension: {
8619
+ id: string;
8620
+ createdAt: Date;
8621
+ updatedAt: Date;
8622
+ deletedAt: Date | null;
8623
+ userId: string | null;
8624
+ sipServerUrl: string;
8625
+ sipUserName: string;
8626
+ webphoneLoginUser: string;
8627
+ extensionId: string | null;
8628
+ extensionName: string;
8629
+ telephonySignature: string | null;
8630
+ };
8631
+ } | null | undefined;
8632
+ } | null | undefined;
8633
+ } | null;
8634
+ queue: {
8635
+ queueName?: string | null | undefined;
8636
+ } | null;
8637
+ firstAssignee: {
8638
+ id: string;
8639
+ address: string | null;
8640
+ name: string;
8641
+ email: string;
8642
+ createdAt: Date;
8643
+ updatedAt: Date;
8644
+ deletedAt: Date | null;
8645
+ emailVerifiedAt: Date | null;
8646
+ password: string;
8647
+ phone: string | null;
8648
+ notificationCount: number | null;
8649
+ roles: {
8650
+ id: string;
8651
+ description: string | null;
8652
+ createdAt: Date;
8653
+ updatedAt: Date;
8654
+ deletedAt: Date | null;
8655
+ systemName: string;
8656
+ displayName: string;
8657
+ permissions: {
8658
+ id: string;
8659
+ description: string | null;
8660
+ createdAt: Date;
8661
+ updatedAt: Date;
8662
+ deletedAt: Date | null;
8663
+ systemName: string;
8664
+ displayName: string;
8665
+ }[];
8666
+ }[];
8667
+ extension: {
8668
+ id: string;
8669
+ createdAt: Date;
8670
+ updatedAt: Date;
8671
+ deletedAt: Date | null;
8672
+ userId: string | null;
8673
+ sipServerUrl: string;
8674
+ sipUserName: string;
8675
+ webphoneLoginUser: string;
8676
+ extensionId: string | null;
8677
+ extensionName: string;
8678
+ telephonySignature: string | null;
8679
+ };
8680
+ } | null;
8681
+ agent: {
8682
+ id: string;
8683
+ address: string | null;
8684
+ name: string;
8685
+ email: string;
8686
+ createdAt: Date;
8687
+ updatedAt: Date;
8688
+ deletedAt: Date | null;
8689
+ emailVerifiedAt: Date | null;
8690
+ password: string;
8691
+ phone: string | null;
8692
+ notificationCount: number | null;
8693
+ roles: {
8694
+ id: string;
8695
+ description: string | null;
8831
8696
  createdAt: Date;
8832
8697
  updatedAt: Date;
8833
8698
  deletedAt: Date | null;
8834
- fileName: string;
8835
- fileKey: string;
8836
- bucketName: string;
8837
- fileSize: number;
8838
- fileUrl: string | null;
8839
- } | null | undefined;
8840
- extension?: {
8699
+ systemName: string;
8700
+ displayName: string;
8701
+ permissions: {
8702
+ id: string;
8703
+ description: string | null;
8704
+ createdAt: Date;
8705
+ updatedAt: Date;
8706
+ deletedAt: Date | null;
8707
+ systemName: string;
8708
+ displayName: string;
8709
+ }[];
8710
+ }[];
8711
+ extension: {
8841
8712
  id: string;
8842
8713
  createdAt: Date;
8843
8714
  updatedAt: Date;
@@ -8849,56 +8720,9 @@ export declare const cxLogContract: {
8849
8720
  extensionId: string | null;
8850
8721
  extensionName: string;
8851
8722
  telephonySignature: string | null;
8852
- user?: {
8853
- id: string;
8854
- address: string | null;
8855
- name: string;
8856
- email: string;
8857
- createdAt: Date;
8858
- updatedAt: Date;
8859
- deletedAt: Date | null;
8860
- emailVerifiedAt: Date | null;
8861
- password: string;
8862
- phone: string | null;
8863
- notificationCount: number | null;
8864
- roles: {
8865
- id: string;
8866
- description: string | null;
8867
- createdAt: Date;
8868
- updatedAt: Date;
8869
- deletedAt: Date | null;
8870
- systemName: string;
8871
- displayName: string;
8872
- permissions: {
8873
- id: string;
8874
- description: string | null;
8875
- createdAt: Date;
8876
- updatedAt: Date;
8877
- deletedAt: Date | null;
8878
- systemName: string;
8879
- displayName: string;
8880
- }[];
8881
- }[];
8882
- extension: {
8883
- id: string;
8884
- createdAt: Date;
8885
- updatedAt: Date;
8886
- deletedAt: Date | null;
8887
- userId: string | null;
8888
- sipServerUrl: string;
8889
- sipUserName: string;
8890
- webphoneLoginUser: string;
8891
- extensionId: string | null;
8892
- extensionName: string;
8893
- telephonySignature: string | null;
8894
- };
8895
- } | null | undefined;
8896
- } | null | undefined;
8897
- } | null;
8898
- queue: {
8899
- queueName?: string | null | undefined;
8723
+ };
8900
8724
  } | null;
8901
- agent: {
8725
+ closedAssignee: {
8902
8726
  id: string;
8903
8727
  address: string | null;
8904
8728
  name: string;
@@ -9369,50 +9193,6 @@ export declare const cxLogContract: {
9369
9193
  channelId: string;
9370
9194
  socialPlatformId: string;
9371
9195
  };
9372
- firstAssignee: {
9373
- id: string;
9374
- address: string | null;
9375
- name: string;
9376
- email: string;
9377
- createdAt: Date;
9378
- updatedAt: Date;
9379
- deletedAt: Date | null;
9380
- emailVerifiedAt: Date | null;
9381
- password: string;
9382
- phone: string | null;
9383
- notificationCount: number | null;
9384
- roles: {
9385
- id: string;
9386
- description: string | null;
9387
- createdAt: Date;
9388
- updatedAt: Date;
9389
- deletedAt: Date | null;
9390
- systemName: string;
9391
- displayName: string;
9392
- permissions: {
9393
- id: string;
9394
- description: string | null;
9395
- createdAt: Date;
9396
- updatedAt: Date;
9397
- deletedAt: Date | null;
9398
- systemName: string;
9399
- displayName: string;
9400
- }[];
9401
- }[];
9402
- extension: {
9403
- id: string;
9404
- createdAt: Date;
9405
- updatedAt: Date;
9406
- deletedAt: Date | null;
9407
- userId: string | null;
9408
- sipServerUrl: string;
9409
- sipUserName: string;
9410
- webphoneLoginUser: string;
9411
- extensionId: string | null;
9412
- extensionName: string;
9413
- telephonySignature: string | null;
9414
- };
9415
- } | null;
9416
9196
  assignee: {
9417
9197
  id: string;
9418
9198
  address: string | null;
@@ -9457,50 +9237,6 @@ export declare const cxLogContract: {
9457
9237
  telephonySignature: string | null;
9458
9238
  };
9459
9239
  } | null;
9460
- closedAssignee: {
9461
- id: string;
9462
- address: string | null;
9463
- name: string;
9464
- email: string;
9465
- createdAt: Date;
9466
- updatedAt: Date;
9467
- deletedAt: Date | null;
9468
- emailVerifiedAt: Date | null;
9469
- password: string;
9470
- phone: string | null;
9471
- notificationCount: number | null;
9472
- roles: {
9473
- id: string;
9474
- description: string | null;
9475
- createdAt: Date;
9476
- updatedAt: Date;
9477
- deletedAt: Date | null;
9478
- systemName: string;
9479
- displayName: string;
9480
- permissions: {
9481
- id: string;
9482
- description: string | null;
9483
- createdAt: Date;
9484
- updatedAt: Date;
9485
- deletedAt: Date | null;
9486
- systemName: string;
9487
- displayName: string;
9488
- }[];
9489
- }[];
9490
- extension: {
9491
- id: string;
9492
- createdAt: Date;
9493
- updatedAt: Date;
9494
- deletedAt: Date | null;
9495
- userId: string | null;
9496
- sipServerUrl: string;
9497
- sipUserName: string;
9498
- webphoneLoginUser: string;
9499
- extensionId: string | null;
9500
- extensionName: string;
9501
- telephonySignature: string | null;
9502
- };
9503
- } | null;
9504
9240
  } | null;
9505
9241
  telephonyCdr: {
9506
9242
  type: string;
@@ -9761,6 +9497,50 @@ export declare const cxLogContract: {
9761
9497
  queue: {
9762
9498
  queueName?: string | null | undefined;
9763
9499
  } | null;
9500
+ firstAssignee: {
9501
+ id: string;
9502
+ address: string | null;
9503
+ name: string;
9504
+ email: string;
9505
+ createdAt: Date;
9506
+ updatedAt: Date;
9507
+ deletedAt: Date | null;
9508
+ emailVerifiedAt: Date | null;
9509
+ password: string;
9510
+ phone: string | null;
9511
+ notificationCount: number | null;
9512
+ roles: {
9513
+ id: string;
9514
+ description: string | null;
9515
+ createdAt: Date;
9516
+ updatedAt: Date;
9517
+ deletedAt: Date | null;
9518
+ systemName: string;
9519
+ displayName: string;
9520
+ permissions: {
9521
+ id: string;
9522
+ description: string | null;
9523
+ createdAt: Date;
9524
+ updatedAt: Date;
9525
+ deletedAt: Date | null;
9526
+ systemName: string;
9527
+ displayName: string;
9528
+ }[];
9529
+ }[];
9530
+ extension: {
9531
+ id: string;
9532
+ createdAt: Date;
9533
+ updatedAt: Date;
9534
+ deletedAt: Date | null;
9535
+ userId: string | null;
9536
+ sipServerUrl: string;
9537
+ sipUserName: string;
9538
+ webphoneLoginUser: string;
9539
+ extensionId: string | null;
9540
+ extensionName: string;
9541
+ telephonySignature: string | null;
9542
+ };
9543
+ } | null;
9764
9544
  agent: {
9765
9545
  id: string;
9766
9546
  address: string | null;
@@ -9805,6 +9585,50 @@ export declare const cxLogContract: {
9805
9585
  telephonySignature: string | null;
9806
9586
  };
9807
9587
  } | null;
9588
+ closedAssignee: {
9589
+ id: string;
9590
+ address: string | null;
9591
+ name: string;
9592
+ email: string;
9593
+ createdAt: Date;
9594
+ updatedAt: Date;
9595
+ deletedAt: Date | null;
9596
+ emailVerifiedAt: Date | null;
9597
+ password: string;
9598
+ phone: string | null;
9599
+ notificationCount: number | null;
9600
+ roles: {
9601
+ id: string;
9602
+ description: string | null;
9603
+ createdAt: Date;
9604
+ updatedAt: Date;
9605
+ deletedAt: Date | null;
9606
+ systemName: string;
9607
+ displayName: string;
9608
+ permissions: {
9609
+ id: string;
9610
+ description: string | null;
9611
+ createdAt: Date;
9612
+ updatedAt: Date;
9613
+ deletedAt: Date | null;
9614
+ systemName: string;
9615
+ displayName: string;
9616
+ }[];
9617
+ }[];
9618
+ extension: {
9619
+ id: string;
9620
+ createdAt: Date;
9621
+ updatedAt: Date;
9622
+ deletedAt: Date | null;
9623
+ userId: string | null;
9624
+ sipServerUrl: string;
9625
+ sipUserName: string;
9626
+ webphoneLoginUser: string;
9627
+ extensionId: string | null;
9628
+ extensionName: string;
9629
+ telephonySignature: string | null;
9630
+ };
9631
+ } | null;
9808
9632
  contactLabel: string[];
9809
9633
  }[];
9810
9634
  }>;