@kl1/contracts 1.0.52 → 1.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/index.js +1298 -1133
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1296 -1133
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/channel/index.d.ts +2273 -1438
  6. package/dist/src/channel/index.d.ts.map +1 -1
  7. package/dist/src/chat/index.d.ts +6678 -1560
  8. package/dist/src/chat/index.d.ts.map +1 -1
  9. package/dist/src/chat/schema.d.ts +180 -180
  10. package/dist/src/chat/validation.d.ts +371 -440
  11. package/dist/src/chat/validation.d.ts.map +1 -1
  12. package/dist/src/comment/index.d.ts +3026 -1010
  13. package/dist/src/comment/index.d.ts.map +1 -1
  14. package/dist/src/comment/schema.d.ts +780 -188
  15. package/dist/src/comment/schema.d.ts.map +1 -1
  16. package/dist/src/contact/index.d.ts +296 -296
  17. package/dist/src/contact/schema.d.ts +20 -20
  18. package/dist/src/contact/validation.d.ts +150 -150
  19. package/dist/src/contract.d.ts +20591 -8915
  20. package/dist/src/contract.d.ts.map +1 -1
  21. package/dist/src/cx-log/index.d.ts +240 -240
  22. package/dist/src/cx-log/schema.d.ts +180 -180
  23. package/dist/src/index.d.ts +2 -0
  24. package/dist/src/index.d.ts.map +1 -1
  25. package/dist/src/instagram/index.d.ts +100 -100
  26. package/dist/src/line/index.d.ts +301 -6
  27. package/dist/src/line/index.d.ts.map +1 -1
  28. package/dist/src/line/schema.d.ts +301 -6
  29. package/dist/src/line/schema.d.ts.map +1 -1
  30. package/dist/src/messenger/index.d.ts +100 -100
  31. package/dist/src/telephony-cdr/index.d.ts +180 -180
  32. package/dist/src/telephony-cdr/schema.d.ts +40 -40
  33. package/dist/src/ticket/index.d.ts +4128 -1040
  34. package/dist/src/ticket/index.d.ts.map +1 -1
  35. package/dist/src/ticket/schema.d.ts +512 -40
  36. package/dist/src/ticket/schema.d.ts.map +1 -1
  37. package/dist/src/{mail/mail-server.d.ts → upload/index.d.ts} +72 -91
  38. package/dist/src/upload/index.d.ts.map +1 -0
  39. package/dist/src/upload/schema.d.ts +14 -0
  40. package/dist/src/upload/schema.d.ts.map +1 -1
  41. package/dist/src/upload/validation.d.ts +2 -0
  42. package/dist/src/upload/validation.d.ts.map +1 -0
  43. package/dist/src/user-presence-status-log/index.d.ts +63 -0
  44. package/dist/src/user-presence-status-log/index.d.ts.map +1 -1
  45. package/package.json +1 -1
  46. package/dist/src/app/index.d.ts +0 -17
  47. package/dist/src/app/index.d.ts.map +0 -1
  48. package/dist/src/mail/mail-server.d.ts.map +0 -1
  49. package/dist/src/platform-contact/schema.d.ts +0 -30
  50. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -1724,16 +1724,6 @@ export declare const commentContract: {
1724
1724
  };
1725
1725
  }[];
1726
1726
  }[];
1727
- notes: string | null;
1728
- contactProfile: string | null;
1729
- socialProfileUrl: string | null;
1730
- tags: {
1731
- id: string;
1732
- name: string;
1733
- createdAt: Date;
1734
- updatedAt: Date;
1735
- deletedAt: Date | null;
1736
- }[];
1737
1727
  company: {
1738
1728
  id: string;
1739
1729
  createdAt: Date;
@@ -1744,6 +1734,16 @@ export declare const commentContract: {
1744
1734
  phone?: string | null | undefined;
1745
1735
  industry?: string | null | undefined;
1746
1736
  } | null;
1737
+ notes: string | null;
1738
+ contactProfile: string | null;
1739
+ socialProfileUrl: string | null;
1740
+ tags: {
1741
+ id: string;
1742
+ name: string;
1743
+ createdAt: Date;
1744
+ updatedAt: Date;
1745
+ deletedAt: Date | null;
1746
+ }[];
1747
1747
  contactEmails: {
1748
1748
  id: string;
1749
1749
  isPrimary: boolean;
@@ -1827,16 +1827,6 @@ export declare const commentContract: {
1827
1827
  };
1828
1828
  }[];
1829
1829
  }[];
1830
- notes: string | null;
1831
- contactProfile: string | null;
1832
- socialProfileUrl: string | null;
1833
- tags: {
1834
- id: string;
1835
- name: string;
1836
- createdAt: Date;
1837
- updatedAt: Date;
1838
- deletedAt: Date | null;
1839
- }[];
1840
1830
  company: {
1841
1831
  id: string;
1842
1832
  createdAt: Date;
@@ -1847,6 +1837,16 @@ export declare const commentContract: {
1847
1837
  phone?: string | null | undefined;
1848
1838
  industry?: string | null | undefined;
1849
1839
  } | null;
1840
+ notes: string | null;
1841
+ contactProfile: string | null;
1842
+ socialProfileUrl: string | null;
1843
+ tags: {
1844
+ id: string;
1845
+ name: string;
1846
+ createdAt: Date;
1847
+ updatedAt: Date;
1848
+ deletedAt: Date | null;
1849
+ }[];
1850
1850
  contactEmails: {
1851
1851
  id: string;
1852
1852
  isPrimary: boolean;
@@ -1880,119 +1880,471 @@ export declare const commentContract: {
1880
1880
  };
1881
1881
  }[] | undefined;
1882
1882
  }>;
1883
- }, "strip", z.ZodTypeAny, {
1884
- type: string;
1885
- id: string;
1886
- channel: string;
1887
- priority: string;
1888
- title: string;
1889
- description: string | null;
1890
- status: string;
1891
- createdAt: Date;
1892
- updatedAt: Date;
1893
- deletedAt: Date | null;
1894
- categories: {
1895
- id: string;
1896
- value: string;
1897
- createdAt: Date;
1898
- updatedAt: Date;
1899
- deletedAt: Date | null;
1900
- level: 2 | 1 | 3;
1901
- parentId: string | null;
1902
- childCategoryList: {
1903
- id: string;
1904
- value: string;
1905
- level: 2 | 1 | 3;
1906
- parentId: string | null;
1907
- childCategoryList: {
1883
+ activityLogs: z.ZodArray<z.ZodObject<{
1884
+ id: z.ZodString;
1885
+ createdAt: z.ZodDate;
1886
+ updatedAt: z.ZodDate;
1887
+ deletedAt: z.ZodNullable<z.ZodDate>;
1888
+ actor: z.ZodObject<{
1889
+ id: z.ZodString;
1890
+ createdAt: z.ZodDate;
1891
+ updatedAt: z.ZodDate;
1892
+ deletedAt: z.ZodNullable<z.ZodDate>;
1893
+ name: z.ZodString;
1894
+ email: z.ZodString;
1895
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1896
+ password: z.ZodString;
1897
+ address: z.ZodNullable<z.ZodString>;
1898
+ phone: z.ZodNullable<z.ZodString>;
1899
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1900
+ roles: z.ZodArray<z.ZodObject<{
1901
+ id: z.ZodString;
1902
+ createdAt: z.ZodDate;
1903
+ updatedAt: z.ZodDate;
1904
+ deletedAt: z.ZodNullable<z.ZodDate>;
1905
+ systemName: z.ZodString;
1906
+ displayName: z.ZodString;
1907
+ description: z.ZodNullable<z.ZodString>;
1908
+ permissions: z.ZodArray<z.ZodObject<{
1909
+ id: z.ZodString;
1910
+ createdAt: z.ZodDate;
1911
+ updatedAt: z.ZodDate;
1912
+ deletedAt: z.ZodNullable<z.ZodDate>;
1913
+ systemName: z.ZodString;
1914
+ displayName: z.ZodString;
1915
+ description: z.ZodNullable<z.ZodString>;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ id: string;
1918
+ description: string | null;
1919
+ createdAt: Date;
1920
+ updatedAt: Date;
1921
+ deletedAt: Date | null;
1922
+ systemName: string;
1923
+ displayName: string;
1924
+ }, {
1925
+ id: string;
1926
+ description: string | null;
1927
+ createdAt: Date;
1928
+ updatedAt: Date;
1929
+ deletedAt: Date | null;
1930
+ systemName: string;
1931
+ displayName: string;
1932
+ }>, "many">;
1933
+ }, "strip", z.ZodTypeAny, {
1908
1934
  id: string;
1909
- value: string;
1910
- level: 2 | 1 | 3;
1911
- parentId: string | null;
1912
- childCategoryList: any[];
1913
- }[];
1914
- }[];
1915
- }[];
1916
- contact: {
1917
- id: string;
1918
- channel: string | null;
1919
- address: string | null;
1920
- name: string;
1921
- createdAt: Date;
1922
- updatedAt: Date;
1923
- deletedAt: Date | null;
1924
- customFields: {
1935
+ description: string | null;
1936
+ createdAt: Date;
1937
+ updatedAt: Date;
1938
+ deletedAt: Date | null;
1939
+ systemName: string;
1940
+ displayName: string;
1941
+ permissions: {
1942
+ id: string;
1943
+ description: string | null;
1944
+ createdAt: Date;
1945
+ updatedAt: Date;
1946
+ deletedAt: Date | null;
1947
+ systemName: string;
1948
+ displayName: string;
1949
+ }[];
1950
+ }, {
1951
+ id: string;
1952
+ description: string | null;
1953
+ createdAt: Date;
1954
+ updatedAt: Date;
1955
+ deletedAt: Date | null;
1956
+ systemName: string;
1957
+ displayName: string;
1958
+ permissions: {
1959
+ id: string;
1960
+ description: string | null;
1961
+ createdAt: Date;
1962
+ updatedAt: Date;
1963
+ deletedAt: Date | null;
1964
+ systemName: string;
1965
+ displayName: string;
1966
+ }[];
1967
+ }>, "many">;
1968
+ extension: z.ZodObject<{
1969
+ id: z.ZodString;
1970
+ createdAt: z.ZodDate;
1971
+ updatedAt: z.ZodDate;
1972
+ deletedAt: z.ZodNullable<z.ZodDate>;
1973
+ userId: z.ZodNullable<z.ZodString>;
1974
+ sipServerUrl: z.ZodString;
1975
+ sipUserName: z.ZodString;
1976
+ webphoneLoginUser: z.ZodString;
1977
+ extensionId: z.ZodNullable<z.ZodString>;
1978
+ extensionName: z.ZodString;
1979
+ telephonySignature: z.ZodNullable<z.ZodString>;
1980
+ }, "strip", z.ZodTypeAny, {
1981
+ id: string;
1982
+ createdAt: Date;
1983
+ updatedAt: Date;
1984
+ deletedAt: Date | null;
1985
+ userId: string | null;
1986
+ sipServerUrl: string;
1987
+ sipUserName: string;
1988
+ webphoneLoginUser: string;
1989
+ extensionId: string | null;
1990
+ extensionName: string;
1991
+ telephonySignature: string | null;
1992
+ }, {
1993
+ id: string;
1994
+ createdAt: Date;
1995
+ updatedAt: Date;
1996
+ deletedAt: Date | null;
1997
+ userId: string | null;
1998
+ sipServerUrl: string;
1999
+ sipUserName: string;
2000
+ webphoneLoginUser: string;
2001
+ extensionId: string | null;
2002
+ extensionName: string;
2003
+ telephonySignature: string | null;
2004
+ }>;
2005
+ }, "strip", z.ZodTypeAny, {
1925
2006
  id: string;
2007
+ address: string | null;
2008
+ name: string;
2009
+ email: string;
1926
2010
  createdAt: Date;
1927
2011
  updatedAt: Date;
1928
2012
  deletedAt: Date | null;
1929
- attribute: {
1930
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2013
+ emailVerifiedAt: Date | null;
2014
+ password: string;
2015
+ phone: string | null;
2016
+ notificationCount: number | null;
2017
+ roles: {
1931
2018
  id: string;
1932
- position: number;
2019
+ description: string | null;
1933
2020
  createdAt: Date;
1934
2021
  updatedAt: Date;
1935
2022
  deletedAt: Date | null;
1936
2023
  systemName: string;
1937
2024
  displayName: string;
1938
- isDefault: boolean;
1939
- isArchived: boolean;
1940
- isRequired: boolean;
1941
- isUnique: boolean;
2025
+ permissions: {
2026
+ id: string;
2027
+ description: string | null;
2028
+ createdAt: Date;
2029
+ updatedAt: Date;
2030
+ deletedAt: Date | null;
2031
+ systemName: string;
2032
+ displayName: string;
2033
+ }[];
2034
+ }[];
2035
+ extension: {
2036
+ id: string;
2037
+ createdAt: Date;
2038
+ updatedAt: Date;
2039
+ deletedAt: Date | null;
2040
+ userId: string | null;
2041
+ sipServerUrl: string;
2042
+ sipUserName: string;
2043
+ webphoneLoginUser: string;
2044
+ extensionId: string | null;
2045
+ extensionName: string;
2046
+ telephonySignature: string | null;
1942
2047
  };
1943
- textValue: string | null;
1944
- booleanValue: boolean | null;
1945
- numberValue: number | null;
1946
- dateValue: Date | null;
1947
- uploads: {
2048
+ }, {
2049
+ id: string;
2050
+ address: string | null;
2051
+ name: string;
2052
+ email: string;
2053
+ createdAt: Date;
2054
+ updatedAt: Date;
2055
+ deletedAt: Date | null;
2056
+ emailVerifiedAt: Date | null;
2057
+ password: string;
2058
+ phone: string | null;
2059
+ notificationCount: number | null;
2060
+ roles: {
1948
2061
  id: string;
2062
+ description: string | null;
1949
2063
  createdAt: Date;
1950
2064
  updatedAt: Date;
1951
2065
  deletedAt: Date | null;
1952
- customFieldId: string;
1953
- upload: {
2066
+ systemName: string;
2067
+ displayName: string;
2068
+ permissions: {
1954
2069
  id: string;
2070
+ description: string | null;
1955
2071
  createdAt: Date;
1956
2072
  updatedAt: Date;
1957
2073
  deletedAt: Date | null;
1958
- fileName: string;
1959
- fileKey: string;
1960
- bucketName: string;
1961
- fileSize: number;
1962
- fileUrl: string | null;
1963
- status?: string | undefined;
1964
- };
2074
+ systemName: string;
2075
+ displayName: string;
2076
+ }[];
1965
2077
  }[];
1966
- }[];
1967
- notes: string | null;
1968
- contactProfile: string | null;
1969
- socialProfileUrl: string | null;
1970
- tags: {
2078
+ extension: {
2079
+ id: string;
2080
+ createdAt: Date;
2081
+ updatedAt: Date;
2082
+ deletedAt: Date | null;
2083
+ userId: string | null;
2084
+ sipServerUrl: string;
2085
+ sipUserName: string;
2086
+ webphoneLoginUser: string;
2087
+ extensionId: string | null;
2088
+ extensionName: string;
2089
+ telephonySignature: string | null;
2090
+ };
2091
+ }>;
2092
+ entityId: z.ZodString;
2093
+ description: z.ZodString;
2094
+ entityType: z.ZodObject<{
2095
+ id: z.ZodString;
2096
+ createdAt: z.ZodDate;
2097
+ updatedAt: z.ZodDate;
2098
+ deletedAt: z.ZodNullable<z.ZodDate>;
2099
+ entity: z.ZodString;
2100
+ description: z.ZodString;
2101
+ }, "strip", z.ZodTypeAny, {
1971
2102
  id: string;
1972
- name: string;
2103
+ description: string;
1973
2104
  createdAt: Date;
1974
2105
  updatedAt: Date;
1975
2106
  deletedAt: Date | null;
1976
- }[];
1977
- company: {
2107
+ entity: string;
2108
+ }, {
1978
2109
  id: string;
2110
+ description: string;
1979
2111
  createdAt: Date;
1980
2112
  updatedAt: Date;
1981
2113
  deletedAt: Date | null;
1982
- address?: string | null | undefined;
1983
- name?: string | undefined;
1984
- phone?: string | null | undefined;
1985
- industry?: string | null | undefined;
1986
- } | null;
1987
- contactEmails: {
2114
+ entity: string;
2115
+ }>;
2116
+ }, "strip", z.ZodTypeAny, {
2117
+ id: string;
2118
+ description: string;
2119
+ createdAt: Date;
2120
+ updatedAt: Date;
2121
+ deletedAt: Date | null;
2122
+ actor: {
1988
2123
  id: string;
1989
- isPrimary: boolean;
2124
+ address: string | null;
2125
+ name: string;
1990
2126
  email: string;
1991
2127
  createdAt: Date;
1992
2128
  updatedAt: Date;
1993
2129
  deletedAt: Date | null;
1994
- }[];
1995
- contactPhones: {
2130
+ emailVerifiedAt: Date | null;
2131
+ password: string;
2132
+ phone: string | null;
2133
+ notificationCount: number | null;
2134
+ roles: {
2135
+ id: string;
2136
+ description: string | null;
2137
+ createdAt: Date;
2138
+ updatedAt: Date;
2139
+ deletedAt: Date | null;
2140
+ systemName: string;
2141
+ displayName: string;
2142
+ permissions: {
2143
+ id: string;
2144
+ description: string | null;
2145
+ createdAt: Date;
2146
+ updatedAt: Date;
2147
+ deletedAt: Date | null;
2148
+ systemName: string;
2149
+ displayName: string;
2150
+ }[];
2151
+ }[];
2152
+ extension: {
2153
+ id: string;
2154
+ createdAt: Date;
2155
+ updatedAt: Date;
2156
+ deletedAt: Date | null;
2157
+ userId: string | null;
2158
+ sipServerUrl: string;
2159
+ sipUserName: string;
2160
+ webphoneLoginUser: string;
2161
+ extensionId: string | null;
2162
+ extensionName: string;
2163
+ telephonySignature: string | null;
2164
+ };
2165
+ };
2166
+ entityId: string;
2167
+ entityType: {
2168
+ id: string;
2169
+ description: string;
2170
+ createdAt: Date;
2171
+ updatedAt: Date;
2172
+ deletedAt: Date | null;
2173
+ entity: string;
2174
+ };
2175
+ }, {
2176
+ id: string;
2177
+ description: string;
2178
+ createdAt: Date;
2179
+ updatedAt: Date;
2180
+ deletedAt: Date | null;
2181
+ actor: {
2182
+ id: string;
2183
+ address: string | null;
2184
+ name: string;
2185
+ email: string;
2186
+ createdAt: Date;
2187
+ updatedAt: Date;
2188
+ deletedAt: Date | null;
2189
+ emailVerifiedAt: Date | null;
2190
+ password: string;
2191
+ phone: string | null;
2192
+ notificationCount: number | null;
2193
+ roles: {
2194
+ id: string;
2195
+ description: string | null;
2196
+ createdAt: Date;
2197
+ updatedAt: Date;
2198
+ deletedAt: Date | null;
2199
+ systemName: string;
2200
+ displayName: string;
2201
+ permissions: {
2202
+ id: string;
2203
+ description: string | null;
2204
+ createdAt: Date;
2205
+ updatedAt: Date;
2206
+ deletedAt: Date | null;
2207
+ systemName: string;
2208
+ displayName: string;
2209
+ }[];
2210
+ }[];
2211
+ extension: {
2212
+ id: string;
2213
+ createdAt: Date;
2214
+ updatedAt: Date;
2215
+ deletedAt: Date | null;
2216
+ userId: string | null;
2217
+ sipServerUrl: string;
2218
+ sipUserName: string;
2219
+ webphoneLoginUser: string;
2220
+ extensionId: string | null;
2221
+ extensionName: string;
2222
+ telephonySignature: string | null;
2223
+ };
2224
+ };
2225
+ entityId: string;
2226
+ entityType: {
2227
+ id: string;
2228
+ description: string;
2229
+ createdAt: Date;
2230
+ updatedAt: Date;
2231
+ deletedAt: Date | null;
2232
+ entity: string;
2233
+ };
2234
+ }>, "many">;
2235
+ }, "strip", z.ZodTypeAny, {
2236
+ type: string;
2237
+ id: string;
2238
+ channel: string;
2239
+ priority: string;
2240
+ title: string;
2241
+ description: string | null;
2242
+ status: string;
2243
+ createdAt: Date;
2244
+ updatedAt: Date;
2245
+ deletedAt: Date | null;
2246
+ categories: {
2247
+ id: string;
2248
+ value: string;
2249
+ createdAt: Date;
2250
+ updatedAt: Date;
2251
+ deletedAt: Date | null;
2252
+ level: 2 | 1 | 3;
2253
+ parentId: string | null;
2254
+ childCategoryList: {
2255
+ id: string;
2256
+ value: string;
2257
+ level: 2 | 1 | 3;
2258
+ parentId: string | null;
2259
+ childCategoryList: {
2260
+ id: string;
2261
+ value: string;
2262
+ level: 2 | 1 | 3;
2263
+ parentId: string | null;
2264
+ childCategoryList: any[];
2265
+ }[];
2266
+ }[];
2267
+ }[];
2268
+ contact: {
2269
+ id: string;
2270
+ channel: string | null;
2271
+ address: string | null;
2272
+ name: string;
2273
+ createdAt: Date;
2274
+ updatedAt: Date;
2275
+ deletedAt: Date | null;
2276
+ customFields: {
2277
+ id: string;
2278
+ createdAt: Date;
2279
+ updatedAt: Date;
2280
+ deletedAt: Date | null;
2281
+ attribute: {
2282
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2283
+ id: string;
2284
+ position: number;
2285
+ createdAt: Date;
2286
+ updatedAt: Date;
2287
+ deletedAt: Date | null;
2288
+ systemName: string;
2289
+ displayName: string;
2290
+ isDefault: boolean;
2291
+ isArchived: boolean;
2292
+ isRequired: boolean;
2293
+ isUnique: boolean;
2294
+ };
2295
+ textValue: string | null;
2296
+ booleanValue: boolean | null;
2297
+ numberValue: number | null;
2298
+ dateValue: Date | null;
2299
+ uploads: {
2300
+ id: string;
2301
+ createdAt: Date;
2302
+ updatedAt: Date;
2303
+ deletedAt: Date | null;
2304
+ customFieldId: string;
2305
+ upload: {
2306
+ id: string;
2307
+ createdAt: Date;
2308
+ updatedAt: Date;
2309
+ deletedAt: Date | null;
2310
+ fileName: string;
2311
+ fileKey: string;
2312
+ bucketName: string;
2313
+ fileSize: number;
2314
+ fileUrl: string | null;
2315
+ status?: string | undefined;
2316
+ };
2317
+ }[];
2318
+ }[];
2319
+ company: {
2320
+ id: string;
2321
+ createdAt: Date;
2322
+ updatedAt: Date;
2323
+ deletedAt: Date | null;
2324
+ address?: string | null | undefined;
2325
+ name?: string | undefined;
2326
+ phone?: string | null | undefined;
2327
+ industry?: string | null | undefined;
2328
+ } | null;
2329
+ notes: string | null;
2330
+ contactProfile: string | null;
2331
+ socialProfileUrl: string | null;
2332
+ tags: {
2333
+ id: string;
2334
+ name: string;
2335
+ createdAt: Date;
2336
+ updatedAt: Date;
2337
+ deletedAt: Date | null;
2338
+ }[];
2339
+ contactEmails: {
2340
+ id: string;
2341
+ isPrimary: boolean;
2342
+ email: string;
2343
+ createdAt: Date;
2344
+ updatedAt: Date;
2345
+ deletedAt: Date | null;
2346
+ }[];
2347
+ contactPhones: {
1996
2348
  id: string;
1997
2349
  isPrimary: boolean;
1998
2350
  createdAt: Date;
@@ -2060,6 +2412,66 @@ export declare const commentContract: {
2060
2412
  updatedAt: Date;
2061
2413
  deletedAt: Date | null;
2062
2414
  }[];
2415
+ activityLogs: {
2416
+ id: string;
2417
+ description: string;
2418
+ createdAt: Date;
2419
+ updatedAt: Date;
2420
+ deletedAt: Date | null;
2421
+ actor: {
2422
+ id: string;
2423
+ address: string | null;
2424
+ name: string;
2425
+ email: string;
2426
+ createdAt: Date;
2427
+ updatedAt: Date;
2428
+ deletedAt: Date | null;
2429
+ emailVerifiedAt: Date | null;
2430
+ password: string;
2431
+ phone: string | null;
2432
+ notificationCount: number | null;
2433
+ roles: {
2434
+ id: string;
2435
+ description: string | null;
2436
+ createdAt: Date;
2437
+ updatedAt: Date;
2438
+ deletedAt: Date | null;
2439
+ systemName: string;
2440
+ displayName: string;
2441
+ permissions: {
2442
+ id: string;
2443
+ description: string | null;
2444
+ createdAt: Date;
2445
+ updatedAt: Date;
2446
+ deletedAt: Date | null;
2447
+ systemName: string;
2448
+ displayName: string;
2449
+ }[];
2450
+ }[];
2451
+ extension: {
2452
+ id: string;
2453
+ createdAt: Date;
2454
+ updatedAt: Date;
2455
+ deletedAt: Date | null;
2456
+ userId: string | null;
2457
+ sipServerUrl: string;
2458
+ sipUserName: string;
2459
+ webphoneLoginUser: string;
2460
+ extensionId: string | null;
2461
+ extensionName: string;
2462
+ telephonySignature: string | null;
2463
+ };
2464
+ };
2465
+ entityId: string;
2466
+ entityType: {
2467
+ id: string;
2468
+ description: string;
2469
+ createdAt: Date;
2470
+ updatedAt: Date;
2471
+ deletedAt: Date | null;
2472
+ entity: string;
2473
+ };
2474
+ }[];
2063
2475
  contactId: string;
2064
2476
  assigneeId: string;
2065
2477
  creatorId: string;
@@ -2237,16 +2649,6 @@ export declare const commentContract: {
2237
2649
  };
2238
2650
  }[];
2239
2651
  }[];
2240
- notes: string | null;
2241
- contactProfile: string | null;
2242
- socialProfileUrl: string | null;
2243
- tags: {
2244
- id: string;
2245
- name: string;
2246
- createdAt: Date;
2247
- updatedAt: Date;
2248
- deletedAt: Date | null;
2249
- }[];
2250
2652
  company: {
2251
2653
  id: string;
2252
2654
  createdAt: Date;
@@ -2257,6 +2659,16 @@ export declare const commentContract: {
2257
2659
  phone?: string | null | undefined;
2258
2660
  industry?: string | null | undefined;
2259
2661
  } | null;
2662
+ notes: string | null;
2663
+ contactProfile: string | null;
2664
+ socialProfileUrl: string | null;
2665
+ tags: {
2666
+ id: string;
2667
+ name: string;
2668
+ createdAt: Date;
2669
+ updatedAt: Date;
2670
+ deletedAt: Date | null;
2671
+ }[];
2260
2672
  contactEmails: {
2261
2673
  id: string;
2262
2674
  isPrimary: boolean;
@@ -2333,20 +2745,80 @@ export declare const commentContract: {
2333
2745
  updatedAt: Date;
2334
2746
  deletedAt: Date | null;
2335
2747
  }[];
2336
- contactId: string;
2337
- assigneeId: string;
2338
- creatorId: string;
2339
- reasonToAssign: string | null;
2340
- creator?: {
2748
+ activityLogs: {
2341
2749
  id: string;
2342
- address: string | null;
2343
- name: string;
2344
- email: string;
2750
+ description: string;
2345
2751
  createdAt: Date;
2346
2752
  updatedAt: Date;
2347
2753
  deletedAt: Date | null;
2348
- emailVerifiedAt: Date | null;
2349
- password: string;
2754
+ actor: {
2755
+ id: string;
2756
+ address: string | null;
2757
+ name: string;
2758
+ email: string;
2759
+ createdAt: Date;
2760
+ updatedAt: Date;
2761
+ deletedAt: Date | null;
2762
+ emailVerifiedAt: Date | null;
2763
+ password: string;
2764
+ phone: string | null;
2765
+ notificationCount: number | null;
2766
+ roles: {
2767
+ id: string;
2768
+ description: string | null;
2769
+ createdAt: Date;
2770
+ updatedAt: Date;
2771
+ deletedAt: Date | null;
2772
+ systemName: string;
2773
+ displayName: string;
2774
+ permissions: {
2775
+ id: string;
2776
+ description: string | null;
2777
+ createdAt: Date;
2778
+ updatedAt: Date;
2779
+ deletedAt: Date | null;
2780
+ systemName: string;
2781
+ displayName: string;
2782
+ }[];
2783
+ }[];
2784
+ extension: {
2785
+ id: string;
2786
+ createdAt: Date;
2787
+ updatedAt: Date;
2788
+ deletedAt: Date | null;
2789
+ userId: string | null;
2790
+ sipServerUrl: string;
2791
+ sipUserName: string;
2792
+ webphoneLoginUser: string;
2793
+ extensionId: string | null;
2794
+ extensionName: string;
2795
+ telephonySignature: string | null;
2796
+ };
2797
+ };
2798
+ entityId: string;
2799
+ entityType: {
2800
+ id: string;
2801
+ description: string;
2802
+ createdAt: Date;
2803
+ updatedAt: Date;
2804
+ deletedAt: Date | null;
2805
+ entity: string;
2806
+ };
2807
+ }[];
2808
+ contactId: string;
2809
+ assigneeId: string;
2810
+ creatorId: string;
2811
+ reasonToAssign: string | null;
2812
+ creator?: {
2813
+ id: string;
2814
+ address: string | null;
2815
+ name: string;
2816
+ email: string;
2817
+ createdAt: Date;
2818
+ updatedAt: Date;
2819
+ deletedAt: Date | null;
2820
+ emailVerifiedAt: Date | null;
2821
+ password: string;
2350
2822
  phone: string | null;
2351
2823
  notificationCount: number | null;
2352
2824
  roles: {
@@ -2636,112 +3108,6 @@ export declare const commentContract: {
2636
3108
  createdAt: Date;
2637
3109
  updatedAt: Date;
2638
3110
  deletedAt: Date | null;
2639
- activityLogs: {
2640
- id: string;
2641
- description: string;
2642
- createdAt: Date;
2643
- updatedAt: Date;
2644
- deletedAt: Date | null;
2645
- actor: {
2646
- id: string;
2647
- address: string | null;
2648
- name: string;
2649
- email: string;
2650
- createdAt: Date;
2651
- updatedAt: Date;
2652
- deletedAt: Date | null;
2653
- emailVerifiedAt: Date | null;
2654
- password: string;
2655
- phone: string | null;
2656
- notificationCount: number | null;
2657
- roles: {
2658
- id: string;
2659
- description: string | null;
2660
- createdAt: Date;
2661
- updatedAt: Date;
2662
- deletedAt: Date | null;
2663
- systemName: string;
2664
- displayName: string;
2665
- permissions: {
2666
- id: string;
2667
- description: string | null;
2668
- createdAt: Date;
2669
- updatedAt: Date;
2670
- deletedAt: Date | null;
2671
- systemName: string;
2672
- displayName: string;
2673
- }[];
2674
- }[];
2675
- extension: {
2676
- id: string;
2677
- createdAt: Date;
2678
- updatedAt: Date;
2679
- deletedAt: Date | null;
2680
- userId: string | null;
2681
- sipServerUrl: string;
2682
- sipUserName: string;
2683
- webphoneLoginUser: string;
2684
- extensionId: string | null;
2685
- extensionName: string;
2686
- telephonySignature: string | null;
2687
- };
2688
- };
2689
- entityId: string;
2690
- entityType: {
2691
- id: string;
2692
- description: string;
2693
- createdAt: Date;
2694
- updatedAt: Date;
2695
- deletedAt: Date | null;
2696
- entity: string;
2697
- };
2698
- }[];
2699
- agent: {
2700
- id: string;
2701
- address: string | null;
2702
- name: string;
2703
- email: string;
2704
- createdAt: Date;
2705
- updatedAt: Date;
2706
- deletedAt: Date | null;
2707
- emailVerifiedAt: Date | null;
2708
- password: string;
2709
- phone: string | null;
2710
- notificationCount: number | null;
2711
- roles: {
2712
- id: string;
2713
- description: string | null;
2714
- createdAt: Date;
2715
- updatedAt: Date;
2716
- deletedAt: Date | null;
2717
- systemName: string;
2718
- displayName: string;
2719
- permissions: {
2720
- id: string;
2721
- description: string | null;
2722
- createdAt: Date;
2723
- updatedAt: Date;
2724
- deletedAt: Date | null;
2725
- systemName: string;
2726
- displayName: string;
2727
- }[];
2728
- }[];
2729
- extension: {
2730
- id: string;
2731
- createdAt: Date;
2732
- updatedAt: Date;
2733
- deletedAt: Date | null;
2734
- userId: string | null;
2735
- sipServerUrl: string;
2736
- sipUserName: string;
2737
- webphoneLoginUser: string;
2738
- extensionId: string | null;
2739
- extensionName: string;
2740
- telephonySignature: string | null;
2741
- };
2742
- };
2743
- comment: string;
2744
- mentions: string[];
2745
3111
  ticket: {
2746
3112
  type: string;
2747
3113
  id: string;
@@ -2826,16 +3192,6 @@ export declare const commentContract: {
2826
3192
  };
2827
3193
  }[];
2828
3194
  }[];
2829
- notes: string | null;
2830
- contactProfile: string | null;
2831
- socialProfileUrl: string | null;
2832
- tags: {
2833
- id: string;
2834
- name: string;
2835
- createdAt: Date;
2836
- updatedAt: Date;
2837
- deletedAt: Date | null;
2838
- }[];
2839
3195
  company: {
2840
3196
  id: string;
2841
3197
  createdAt: Date;
@@ -2846,6 +3202,16 @@ export declare const commentContract: {
2846
3202
  phone?: string | null | undefined;
2847
3203
  industry?: string | null | undefined;
2848
3204
  } | null;
3205
+ notes: string | null;
3206
+ contactProfile: string | null;
3207
+ socialProfileUrl: string | null;
3208
+ tags: {
3209
+ id: string;
3210
+ name: string;
3211
+ createdAt: Date;
3212
+ updatedAt: Date;
3213
+ deletedAt: Date | null;
3214
+ }[];
2849
3215
  contactEmails: {
2850
3216
  id: string;
2851
3217
  isPrimary: boolean;
@@ -2922,6 +3288,66 @@ export declare const commentContract: {
2922
3288
  updatedAt: Date;
2923
3289
  deletedAt: Date | null;
2924
3290
  }[];
3291
+ activityLogs: {
3292
+ id: string;
3293
+ description: string;
3294
+ createdAt: Date;
3295
+ updatedAt: Date;
3296
+ deletedAt: Date | null;
3297
+ actor: {
3298
+ id: string;
3299
+ address: string | null;
3300
+ name: string;
3301
+ email: string;
3302
+ createdAt: Date;
3303
+ updatedAt: Date;
3304
+ deletedAt: Date | null;
3305
+ emailVerifiedAt: Date | null;
3306
+ password: string;
3307
+ phone: string | null;
3308
+ notificationCount: number | null;
3309
+ roles: {
3310
+ id: string;
3311
+ description: string | null;
3312
+ createdAt: Date;
3313
+ updatedAt: Date;
3314
+ deletedAt: Date | null;
3315
+ systemName: string;
3316
+ displayName: string;
3317
+ permissions: {
3318
+ id: string;
3319
+ description: string | null;
3320
+ createdAt: Date;
3321
+ updatedAt: Date;
3322
+ deletedAt: Date | null;
3323
+ systemName: string;
3324
+ displayName: string;
3325
+ }[];
3326
+ }[];
3327
+ extension: {
3328
+ id: string;
3329
+ createdAt: Date;
3330
+ updatedAt: Date;
3331
+ deletedAt: Date | null;
3332
+ userId: string | null;
3333
+ sipServerUrl: string;
3334
+ sipUserName: string;
3335
+ webphoneLoginUser: string;
3336
+ extensionId: string | null;
3337
+ extensionName: string;
3338
+ telephonySignature: string | null;
3339
+ };
3340
+ };
3341
+ entityId: string;
3342
+ entityType: {
3343
+ id: string;
3344
+ description: string;
3345
+ createdAt: Date;
3346
+ updatedAt: Date;
3347
+ deletedAt: Date | null;
3348
+ entity: string;
3349
+ };
3350
+ }[];
2925
3351
  contactId: string;
2926
3352
  assigneeId: string;
2927
3353
  creatorId: string;
@@ -3016,11 +3442,6 @@ export declare const commentContract: {
3016
3442
  } | null | undefined;
3017
3443
  ticketNumber?: number | undefined;
3018
3444
  };
3019
- }, {
3020
- id: string;
3021
- createdAt: Date;
3022
- updatedAt: Date;
3023
- deletedAt: Date | null;
3024
3445
  activityLogs: {
3025
3446
  id: string;
3026
3447
  description: string;
@@ -3127,6 +3548,11 @@ export declare const commentContract: {
3127
3548
  };
3128
3549
  comment: string;
3129
3550
  mentions: string[];
3551
+ }, {
3552
+ id: string;
3553
+ createdAt: Date;
3554
+ updatedAt: Date;
3555
+ deletedAt: Date | null;
3130
3556
  ticket: {
3131
3557
  type: string;
3132
3558
  id: string;
@@ -3211,16 +3637,6 @@ export declare const commentContract: {
3211
3637
  };
3212
3638
  }[];
3213
3639
  }[];
3214
- notes: string | null;
3215
- contactProfile: string | null;
3216
- socialProfileUrl: string | null;
3217
- tags: {
3218
- id: string;
3219
- name: string;
3220
- createdAt: Date;
3221
- updatedAt: Date;
3222
- deletedAt: Date | null;
3223
- }[];
3224
3640
  company: {
3225
3641
  id: string;
3226
3642
  createdAt: Date;
@@ -3231,6 +3647,16 @@ export declare const commentContract: {
3231
3647
  phone?: string | null | undefined;
3232
3648
  industry?: string | null | undefined;
3233
3649
  } | null;
3650
+ notes: string | null;
3651
+ contactProfile: string | null;
3652
+ socialProfileUrl: string | null;
3653
+ tags: {
3654
+ id: string;
3655
+ name: string;
3656
+ createdAt: Date;
3657
+ updatedAt: Date;
3658
+ deletedAt: Date | null;
3659
+ }[];
3234
3660
  contactEmails: {
3235
3661
  id: string;
3236
3662
  isPrimary: boolean;
@@ -3307,15 +3733,75 @@ export declare const commentContract: {
3307
3733
  updatedAt: Date;
3308
3734
  deletedAt: Date | null;
3309
3735
  }[];
3310
- contactId: string;
3311
- assigneeId: string;
3312
- creatorId: string;
3313
- reasonToAssign: string | null;
3314
- creator?: {
3736
+ activityLogs: {
3315
3737
  id: string;
3316
- address: string | null;
3317
- name: string;
3318
- email: string;
3738
+ description: string;
3739
+ createdAt: Date;
3740
+ updatedAt: Date;
3741
+ deletedAt: Date | null;
3742
+ actor: {
3743
+ id: string;
3744
+ address: string | null;
3745
+ name: string;
3746
+ email: string;
3747
+ createdAt: Date;
3748
+ updatedAt: Date;
3749
+ deletedAt: Date | null;
3750
+ emailVerifiedAt: Date | null;
3751
+ password: string;
3752
+ phone: string | null;
3753
+ notificationCount: number | null;
3754
+ roles: {
3755
+ id: string;
3756
+ description: string | null;
3757
+ createdAt: Date;
3758
+ updatedAt: Date;
3759
+ deletedAt: Date | null;
3760
+ systemName: string;
3761
+ displayName: string;
3762
+ permissions: {
3763
+ id: string;
3764
+ description: string | null;
3765
+ createdAt: Date;
3766
+ updatedAt: Date;
3767
+ deletedAt: Date | null;
3768
+ systemName: string;
3769
+ displayName: string;
3770
+ }[];
3771
+ }[];
3772
+ extension: {
3773
+ id: string;
3774
+ createdAt: Date;
3775
+ updatedAt: Date;
3776
+ deletedAt: Date | null;
3777
+ userId: string | null;
3778
+ sipServerUrl: string;
3779
+ sipUserName: string;
3780
+ webphoneLoginUser: string;
3781
+ extensionId: string | null;
3782
+ extensionName: string;
3783
+ telephonySignature: string | null;
3784
+ };
3785
+ };
3786
+ entityId: string;
3787
+ entityType: {
3788
+ id: string;
3789
+ description: string;
3790
+ createdAt: Date;
3791
+ updatedAt: Date;
3792
+ deletedAt: Date | null;
3793
+ entity: string;
3794
+ };
3795
+ }[];
3796
+ contactId: string;
3797
+ assigneeId: string;
3798
+ creatorId: string;
3799
+ reasonToAssign: string | null;
3800
+ creator?: {
3801
+ id: string;
3802
+ address: string | null;
3803
+ name: string;
3804
+ email: string;
3319
3805
  createdAt: Date;
3320
3806
  updatedAt: Date;
3321
3807
  deletedAt: Date | null;
@@ -3401,14 +3887,6 @@ export declare const commentContract: {
3401
3887
  } | null | undefined;
3402
3888
  ticketNumber?: number | undefined;
3403
3889
  };
3404
- }>;
3405
- }, "strip", z.ZodTypeAny, {
3406
- requestId: string;
3407
- comment: {
3408
- id: string;
3409
- createdAt: Date;
3410
- updatedAt: Date;
3411
- deletedAt: Date | null;
3412
3890
  activityLogs: {
3413
3891
  id: string;
3414
3892
  description: string;
@@ -3515,6 +3993,14 @@ export declare const commentContract: {
3515
3993
  };
3516
3994
  comment: string;
3517
3995
  mentions: string[];
3996
+ }>;
3997
+ }, "strip", z.ZodTypeAny, {
3998
+ requestId: string;
3999
+ comment: {
4000
+ id: string;
4001
+ createdAt: Date;
4002
+ updatedAt: Date;
4003
+ deletedAt: Date | null;
3518
4004
  ticket: {
3519
4005
  type: string;
3520
4006
  id: string;
@@ -3599,16 +4085,6 @@ export declare const commentContract: {
3599
4085
  };
3600
4086
  }[];
3601
4087
  }[];
3602
- notes: string | null;
3603
- contactProfile: string | null;
3604
- socialProfileUrl: string | null;
3605
- tags: {
3606
- id: string;
3607
- name: string;
3608
- createdAt: Date;
3609
- updatedAt: Date;
3610
- deletedAt: Date | null;
3611
- }[];
3612
4088
  company: {
3613
4089
  id: string;
3614
4090
  createdAt: Date;
@@ -3619,6 +4095,16 @@ export declare const commentContract: {
3619
4095
  phone?: string | null | undefined;
3620
4096
  industry?: string | null | undefined;
3621
4097
  } | null;
4098
+ notes: string | null;
4099
+ contactProfile: string | null;
4100
+ socialProfileUrl: string | null;
4101
+ tags: {
4102
+ id: string;
4103
+ name: string;
4104
+ createdAt: Date;
4105
+ updatedAt: Date;
4106
+ deletedAt: Date | null;
4107
+ }[];
3622
4108
  contactEmails: {
3623
4109
  id: string;
3624
4110
  isPrimary: boolean;
@@ -3695,6 +4181,66 @@ export declare const commentContract: {
3695
4181
  updatedAt: Date;
3696
4182
  deletedAt: Date | null;
3697
4183
  }[];
4184
+ activityLogs: {
4185
+ id: string;
4186
+ description: string;
4187
+ createdAt: Date;
4188
+ updatedAt: Date;
4189
+ deletedAt: Date | null;
4190
+ actor: {
4191
+ id: string;
4192
+ address: string | null;
4193
+ name: string;
4194
+ email: string;
4195
+ createdAt: Date;
4196
+ updatedAt: Date;
4197
+ deletedAt: Date | null;
4198
+ emailVerifiedAt: Date | null;
4199
+ password: string;
4200
+ phone: string | null;
4201
+ notificationCount: number | null;
4202
+ roles: {
4203
+ id: string;
4204
+ description: string | null;
4205
+ createdAt: Date;
4206
+ updatedAt: Date;
4207
+ deletedAt: Date | null;
4208
+ systemName: string;
4209
+ displayName: string;
4210
+ permissions: {
4211
+ id: string;
4212
+ description: string | null;
4213
+ createdAt: Date;
4214
+ updatedAt: Date;
4215
+ deletedAt: Date | null;
4216
+ systemName: string;
4217
+ displayName: string;
4218
+ }[];
4219
+ }[];
4220
+ extension: {
4221
+ id: string;
4222
+ createdAt: Date;
4223
+ updatedAt: Date;
4224
+ deletedAt: Date | null;
4225
+ userId: string | null;
4226
+ sipServerUrl: string;
4227
+ sipUserName: string;
4228
+ webphoneLoginUser: string;
4229
+ extensionId: string | null;
4230
+ extensionName: string;
4231
+ telephonySignature: string | null;
4232
+ };
4233
+ };
4234
+ entityId: string;
4235
+ entityType: {
4236
+ id: string;
4237
+ description: string;
4238
+ createdAt: Date;
4239
+ updatedAt: Date;
4240
+ deletedAt: Date | null;
4241
+ entity: string;
4242
+ };
4243
+ }[];
3698
4244
  contactId: string;
3699
4245
  assigneeId: string;
3700
4246
  creatorId: string;
@@ -3789,14 +4335,6 @@ export declare const commentContract: {
3789
4335
  } | null | undefined;
3790
4336
  ticketNumber?: number | undefined;
3791
4337
  };
3792
- };
3793
- }, {
3794
- requestId: string;
3795
- comment: {
3796
- id: string;
3797
- createdAt: Date;
3798
- updatedAt: Date;
3799
- deletedAt: Date | null;
3800
4338
  activityLogs: {
3801
4339
  id: string;
3802
4340
  description: string;
@@ -3903,6 +4441,14 @@ export declare const commentContract: {
3903
4441
  };
3904
4442
  comment: string;
3905
4443
  mentions: string[];
4444
+ };
4445
+ }, {
4446
+ requestId: string;
4447
+ comment: {
4448
+ id: string;
4449
+ createdAt: Date;
4450
+ updatedAt: Date;
4451
+ deletedAt: Date | null;
3906
4452
  ticket: {
3907
4453
  type: string;
3908
4454
  id: string;
@@ -3987,16 +4533,6 @@ export declare const commentContract: {
3987
4533
  };
3988
4534
  }[];
3989
4535
  }[];
3990
- notes: string | null;
3991
- contactProfile: string | null;
3992
- socialProfileUrl: string | null;
3993
- tags: {
3994
- id: string;
3995
- name: string;
3996
- createdAt: Date;
3997
- updatedAt: Date;
3998
- deletedAt: Date | null;
3999
- }[];
4000
4536
  company: {
4001
4537
  id: string;
4002
4538
  createdAt: Date;
@@ -4007,6 +4543,16 @@ export declare const commentContract: {
4007
4543
  phone?: string | null | undefined;
4008
4544
  industry?: string | null | undefined;
4009
4545
  } | null;
4546
+ notes: string | null;
4547
+ contactProfile: string | null;
4548
+ socialProfileUrl: string | null;
4549
+ tags: {
4550
+ id: string;
4551
+ name: string;
4552
+ createdAt: Date;
4553
+ updatedAt: Date;
4554
+ deletedAt: Date | null;
4555
+ }[];
4010
4556
  contactEmails: {
4011
4557
  id: string;
4012
4558
  isPrimary: boolean;
@@ -4083,6 +4629,66 @@ export declare const commentContract: {
4083
4629
  updatedAt: Date;
4084
4630
  deletedAt: Date | null;
4085
4631
  }[];
4632
+ activityLogs: {
4633
+ id: string;
4634
+ description: string;
4635
+ createdAt: Date;
4636
+ updatedAt: Date;
4637
+ deletedAt: Date | null;
4638
+ actor: {
4639
+ id: string;
4640
+ address: string | null;
4641
+ name: string;
4642
+ email: string;
4643
+ createdAt: Date;
4644
+ updatedAt: Date;
4645
+ deletedAt: Date | null;
4646
+ emailVerifiedAt: Date | null;
4647
+ password: string;
4648
+ phone: string | null;
4649
+ notificationCount: number | null;
4650
+ roles: {
4651
+ id: string;
4652
+ description: string | null;
4653
+ createdAt: Date;
4654
+ updatedAt: Date;
4655
+ deletedAt: Date | null;
4656
+ systemName: string;
4657
+ displayName: string;
4658
+ permissions: {
4659
+ id: string;
4660
+ description: string | null;
4661
+ createdAt: Date;
4662
+ updatedAt: Date;
4663
+ deletedAt: Date | null;
4664
+ systemName: string;
4665
+ displayName: string;
4666
+ }[];
4667
+ }[];
4668
+ extension: {
4669
+ id: string;
4670
+ createdAt: Date;
4671
+ updatedAt: Date;
4672
+ deletedAt: Date | null;
4673
+ userId: string | null;
4674
+ sipServerUrl: string;
4675
+ sipUserName: string;
4676
+ webphoneLoginUser: string;
4677
+ extensionId: string | null;
4678
+ extensionName: string;
4679
+ telephonySignature: string | null;
4680
+ };
4681
+ };
4682
+ entityId: string;
4683
+ entityType: {
4684
+ id: string;
4685
+ description: string;
4686
+ createdAt: Date;
4687
+ updatedAt: Date;
4688
+ deletedAt: Date | null;
4689
+ entity: string;
4690
+ };
4691
+ }[];
4086
4692
  contactId: string;
4087
4693
  assigneeId: string;
4088
4694
  creatorId: string;
@@ -4177,60 +4783,166 @@ export declare const commentContract: {
4177
4783
  } | null | undefined;
4178
4784
  ticketNumber?: number | undefined;
4179
4785
  };
4180
- };
4181
- }>;
4182
- 400: z.ZodObject<{
4183
- message: z.ZodString;
4184
- }, "strip", z.ZodTypeAny, {
4185
- message: string;
4186
- }, {
4187
- message: string;
4188
- }>;
4189
- 401: z.ZodObject<{
4190
- message: z.ZodString;
4191
- error: z.ZodAny;
4192
- }, "strip", z.ZodTypeAny, {
4193
- message: string;
4194
- error?: any;
4195
- }, {
4196
- message: string;
4197
- error?: any;
4198
- }>;
4199
- 500: z.ZodObject<{
4200
- message: z.ZodString;
4201
- error: z.ZodAny;
4202
- }, "strip", z.ZodTypeAny, {
4203
- message: string;
4204
- error?: any;
4205
- }, {
4206
- message: string;
4207
- error?: any;
4208
- }>;
4209
- };
4210
- path: "comment";
4211
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4212
- 'x-tenant': z.ZodString;
4213
- authorization: z.ZodString;
4214
- 'x-code': z.ZodOptional<z.ZodString>;
4215
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
4216
- }, "strip", z.ZodTypeAny, {
4217
- 'x-tenant': string;
4218
- authorization: string;
4219
- 'x-client-timezone': string;
4220
- 'x-code'?: string | undefined;
4221
- }, {
4222
- 'x-tenant': string;
4223
- authorization: string;
4224
- 'x-code'?: string | undefined;
4225
- 'x-client-timezone'?: string | undefined;
4226
- }>>>;
4227
- };
4228
- getComments: {
4229
- summary: "Get all comments.";
4230
- method: "GET";
4231
- query: z.ZodOptional<z.ZodObject<{
4232
- ticketId: z.ZodOptional<z.ZodString>;
4233
- deleted: z.ZodEffects<z.ZodDefault<z.ZodEnum<["true", "false"]>>, boolean, "false" | "true" | undefined>;
4786
+ activityLogs: {
4787
+ id: string;
4788
+ description: string;
4789
+ createdAt: Date;
4790
+ updatedAt: Date;
4791
+ deletedAt: Date | null;
4792
+ actor: {
4793
+ id: string;
4794
+ address: string | null;
4795
+ name: string;
4796
+ email: string;
4797
+ createdAt: Date;
4798
+ updatedAt: Date;
4799
+ deletedAt: Date | null;
4800
+ emailVerifiedAt: Date | null;
4801
+ password: string;
4802
+ phone: string | null;
4803
+ notificationCount: number | null;
4804
+ roles: {
4805
+ id: string;
4806
+ description: string | null;
4807
+ createdAt: Date;
4808
+ updatedAt: Date;
4809
+ deletedAt: Date | null;
4810
+ systemName: string;
4811
+ displayName: string;
4812
+ permissions: {
4813
+ id: string;
4814
+ description: string | null;
4815
+ createdAt: Date;
4816
+ updatedAt: Date;
4817
+ deletedAt: Date | null;
4818
+ systemName: string;
4819
+ displayName: string;
4820
+ }[];
4821
+ }[];
4822
+ extension: {
4823
+ id: string;
4824
+ createdAt: Date;
4825
+ updatedAt: Date;
4826
+ deletedAt: Date | null;
4827
+ userId: string | null;
4828
+ sipServerUrl: string;
4829
+ sipUserName: string;
4830
+ webphoneLoginUser: string;
4831
+ extensionId: string | null;
4832
+ extensionName: string;
4833
+ telephonySignature: string | null;
4834
+ };
4835
+ };
4836
+ entityId: string;
4837
+ entityType: {
4838
+ id: string;
4839
+ description: string;
4840
+ createdAt: Date;
4841
+ updatedAt: Date;
4842
+ deletedAt: Date | null;
4843
+ entity: string;
4844
+ };
4845
+ }[];
4846
+ agent: {
4847
+ id: string;
4848
+ address: string | null;
4849
+ name: string;
4850
+ email: string;
4851
+ createdAt: Date;
4852
+ updatedAt: Date;
4853
+ deletedAt: Date | null;
4854
+ emailVerifiedAt: Date | null;
4855
+ password: string;
4856
+ phone: string | null;
4857
+ notificationCount: number | null;
4858
+ roles: {
4859
+ id: string;
4860
+ description: string | null;
4861
+ createdAt: Date;
4862
+ updatedAt: Date;
4863
+ deletedAt: Date | null;
4864
+ systemName: string;
4865
+ displayName: string;
4866
+ permissions: {
4867
+ id: string;
4868
+ description: string | null;
4869
+ createdAt: Date;
4870
+ updatedAt: Date;
4871
+ deletedAt: Date | null;
4872
+ systemName: string;
4873
+ displayName: string;
4874
+ }[];
4875
+ }[];
4876
+ extension: {
4877
+ id: string;
4878
+ createdAt: Date;
4879
+ updatedAt: Date;
4880
+ deletedAt: Date | null;
4881
+ userId: string | null;
4882
+ sipServerUrl: string;
4883
+ sipUserName: string;
4884
+ webphoneLoginUser: string;
4885
+ extensionId: string | null;
4886
+ extensionName: string;
4887
+ telephonySignature: string | null;
4888
+ };
4889
+ };
4890
+ comment: string;
4891
+ mentions: string[];
4892
+ };
4893
+ }>;
4894
+ 400: z.ZodObject<{
4895
+ message: z.ZodString;
4896
+ }, "strip", z.ZodTypeAny, {
4897
+ message: string;
4898
+ }, {
4899
+ message: string;
4900
+ }>;
4901
+ 401: z.ZodObject<{
4902
+ message: z.ZodString;
4903
+ error: z.ZodAny;
4904
+ }, "strip", z.ZodTypeAny, {
4905
+ message: string;
4906
+ error?: any;
4907
+ }, {
4908
+ message: string;
4909
+ error?: any;
4910
+ }>;
4911
+ 500: z.ZodObject<{
4912
+ message: z.ZodString;
4913
+ error: z.ZodAny;
4914
+ }, "strip", z.ZodTypeAny, {
4915
+ message: string;
4916
+ error?: any;
4917
+ }, {
4918
+ message: string;
4919
+ error?: any;
4920
+ }>;
4921
+ };
4922
+ path: "comment";
4923
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4924
+ 'x-tenant': z.ZodString;
4925
+ authorization: z.ZodString;
4926
+ 'x-code': z.ZodOptional<z.ZodString>;
4927
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
4928
+ }, "strip", z.ZodTypeAny, {
4929
+ 'x-tenant': string;
4930
+ authorization: string;
4931
+ 'x-client-timezone': string;
4932
+ 'x-code'?: string | undefined;
4933
+ }, {
4934
+ 'x-tenant': string;
4935
+ authorization: string;
4936
+ 'x-code'?: string | undefined;
4937
+ 'x-client-timezone'?: string | undefined;
4938
+ }>>>;
4939
+ };
4940
+ getComments: {
4941
+ summary: "Get all comments.";
4942
+ method: "GET";
4943
+ query: z.ZodOptional<z.ZodObject<{
4944
+ ticketId: z.ZodOptional<z.ZodString>;
4945
+ deleted: z.ZodEffects<z.ZodDefault<z.ZodEnum<["true", "false"]>>, boolean, "false" | "true" | undefined>;
4234
4946
  }, "strip", z.ZodTypeAny, {
4235
4947
  deleted: boolean;
4236
4948
  ticketId?: string | undefined;
@@ -5938,16 +6650,6 @@ export declare const commentContract: {
5938
6650
  };
5939
6651
  }[];
5940
6652
  }[];
5941
- notes: string | null;
5942
- contactProfile: string | null;
5943
- socialProfileUrl: string | null;
5944
- tags: {
5945
- id: string;
5946
- name: string;
5947
- createdAt: Date;
5948
- updatedAt: Date;
5949
- deletedAt: Date | null;
5950
- }[];
5951
6653
  company: {
5952
6654
  id: string;
5953
6655
  createdAt: Date;
@@ -5958,6 +6660,16 @@ export declare const commentContract: {
5958
6660
  phone?: string | null | undefined;
5959
6661
  industry?: string | null | undefined;
5960
6662
  } | null;
6663
+ notes: string | null;
6664
+ contactProfile: string | null;
6665
+ socialProfileUrl: string | null;
6666
+ tags: {
6667
+ id: string;
6668
+ name: string;
6669
+ createdAt: Date;
6670
+ updatedAt: Date;
6671
+ deletedAt: Date | null;
6672
+ }[];
5961
6673
  contactEmails: {
5962
6674
  id: string;
5963
6675
  isPrimary: boolean;
@@ -6041,16 +6753,6 @@ export declare const commentContract: {
6041
6753
  };
6042
6754
  }[];
6043
6755
  }[];
6044
- notes: string | null;
6045
- contactProfile: string | null;
6046
- socialProfileUrl: string | null;
6047
- tags: {
6048
- id: string;
6049
- name: string;
6050
- createdAt: Date;
6051
- updatedAt: Date;
6052
- deletedAt: Date | null;
6053
- }[];
6054
6756
  company: {
6055
6757
  id: string;
6056
6758
  createdAt: Date;
@@ -6061,6 +6763,16 @@ export declare const commentContract: {
6061
6763
  phone?: string | null | undefined;
6062
6764
  industry?: string | null | undefined;
6063
6765
  } | null;
6766
+ notes: string | null;
6767
+ contactProfile: string | null;
6768
+ socialProfileUrl: string | null;
6769
+ tags: {
6770
+ id: string;
6771
+ name: string;
6772
+ createdAt: Date;
6773
+ updatedAt: Date;
6774
+ deletedAt: Date | null;
6775
+ }[];
6064
6776
  contactEmails: {
6065
6777
  id: string;
6066
6778
  isPrimary: boolean;
@@ -6094,62 +6806,414 @@ export declare const commentContract: {
6094
6806
  };
6095
6807
  }[] | undefined;
6096
6808
  }>;
6097
- }, "strip", z.ZodTypeAny, {
6098
- type: string;
6099
- id: string;
6100
- channel: string;
6101
- priority: string;
6102
- title: string;
6103
- description: string | null;
6104
- status: string;
6105
- createdAt: Date;
6106
- updatedAt: Date;
6107
- deletedAt: Date | null;
6108
- categories: {
6109
- id: string;
6110
- value: string;
6111
- createdAt: Date;
6112
- updatedAt: Date;
6113
- deletedAt: Date | null;
6114
- level: 2 | 1 | 3;
6115
- parentId: string | null;
6116
- childCategoryList: {
6117
- id: string;
6118
- value: string;
6119
- level: 2 | 1 | 3;
6120
- parentId: string | null;
6121
- childCategoryList: {
6122
- id: string;
6123
- value: string;
6124
- level: 2 | 1 | 3;
6125
- parentId: string | null;
6126
- childCategoryList: any[];
6127
- }[];
6128
- }[];
6129
- }[];
6130
- contact: {
6131
- id: string;
6132
- channel: string | null;
6133
- address: string | null;
6134
- name: string;
6135
- createdAt: Date;
6136
- updatedAt: Date;
6137
- deletedAt: Date | null;
6138
- customFields: {
6139
- id: string;
6140
- createdAt: Date;
6141
- updatedAt: Date;
6142
- deletedAt: Date | null;
6143
- attribute: {
6144
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6145
- id: string;
6146
- position: number;
6147
- createdAt: Date;
6148
- updatedAt: Date;
6149
- deletedAt: Date | null;
6150
- systemName: string;
6151
- displayName: string;
6152
- isDefault: boolean;
6809
+ activityLogs: z.ZodArray<z.ZodObject<{
6810
+ id: z.ZodString;
6811
+ createdAt: z.ZodDate;
6812
+ updatedAt: z.ZodDate;
6813
+ deletedAt: z.ZodNullable<z.ZodDate>;
6814
+ actor: z.ZodObject<{
6815
+ id: z.ZodString;
6816
+ createdAt: z.ZodDate;
6817
+ updatedAt: z.ZodDate;
6818
+ deletedAt: z.ZodNullable<z.ZodDate>;
6819
+ name: z.ZodString;
6820
+ email: z.ZodString;
6821
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6822
+ password: z.ZodString;
6823
+ address: z.ZodNullable<z.ZodString>;
6824
+ phone: z.ZodNullable<z.ZodString>;
6825
+ notificationCount: z.ZodNullable<z.ZodNumber>;
6826
+ roles: z.ZodArray<z.ZodObject<{
6827
+ id: z.ZodString;
6828
+ createdAt: z.ZodDate;
6829
+ updatedAt: z.ZodDate;
6830
+ deletedAt: z.ZodNullable<z.ZodDate>;
6831
+ systemName: z.ZodString;
6832
+ displayName: z.ZodString;
6833
+ description: z.ZodNullable<z.ZodString>;
6834
+ permissions: z.ZodArray<z.ZodObject<{
6835
+ id: z.ZodString;
6836
+ createdAt: z.ZodDate;
6837
+ updatedAt: z.ZodDate;
6838
+ deletedAt: z.ZodNullable<z.ZodDate>;
6839
+ systemName: z.ZodString;
6840
+ displayName: z.ZodString;
6841
+ description: z.ZodNullable<z.ZodString>;
6842
+ }, "strip", z.ZodTypeAny, {
6843
+ id: string;
6844
+ description: string | null;
6845
+ createdAt: Date;
6846
+ updatedAt: Date;
6847
+ deletedAt: Date | null;
6848
+ systemName: string;
6849
+ displayName: string;
6850
+ }, {
6851
+ id: string;
6852
+ description: string | null;
6853
+ createdAt: Date;
6854
+ updatedAt: Date;
6855
+ deletedAt: Date | null;
6856
+ systemName: string;
6857
+ displayName: string;
6858
+ }>, "many">;
6859
+ }, "strip", z.ZodTypeAny, {
6860
+ id: string;
6861
+ description: string | null;
6862
+ createdAt: Date;
6863
+ updatedAt: Date;
6864
+ deletedAt: Date | null;
6865
+ systemName: string;
6866
+ displayName: string;
6867
+ permissions: {
6868
+ id: string;
6869
+ description: string | null;
6870
+ createdAt: Date;
6871
+ updatedAt: Date;
6872
+ deletedAt: Date | null;
6873
+ systemName: string;
6874
+ displayName: string;
6875
+ }[];
6876
+ }, {
6877
+ id: string;
6878
+ description: string | null;
6879
+ createdAt: Date;
6880
+ updatedAt: Date;
6881
+ deletedAt: Date | null;
6882
+ systemName: string;
6883
+ displayName: string;
6884
+ permissions: {
6885
+ id: string;
6886
+ description: string | null;
6887
+ createdAt: Date;
6888
+ updatedAt: Date;
6889
+ deletedAt: Date | null;
6890
+ systemName: string;
6891
+ displayName: string;
6892
+ }[];
6893
+ }>, "many">;
6894
+ extension: z.ZodObject<{
6895
+ id: z.ZodString;
6896
+ createdAt: z.ZodDate;
6897
+ updatedAt: z.ZodDate;
6898
+ deletedAt: z.ZodNullable<z.ZodDate>;
6899
+ userId: z.ZodNullable<z.ZodString>;
6900
+ sipServerUrl: z.ZodString;
6901
+ sipUserName: z.ZodString;
6902
+ webphoneLoginUser: z.ZodString;
6903
+ extensionId: z.ZodNullable<z.ZodString>;
6904
+ extensionName: z.ZodString;
6905
+ telephonySignature: z.ZodNullable<z.ZodString>;
6906
+ }, "strip", z.ZodTypeAny, {
6907
+ id: string;
6908
+ createdAt: Date;
6909
+ updatedAt: Date;
6910
+ deletedAt: Date | null;
6911
+ userId: string | null;
6912
+ sipServerUrl: string;
6913
+ sipUserName: string;
6914
+ webphoneLoginUser: string;
6915
+ extensionId: string | null;
6916
+ extensionName: string;
6917
+ telephonySignature: string | null;
6918
+ }, {
6919
+ id: string;
6920
+ createdAt: Date;
6921
+ updatedAt: Date;
6922
+ deletedAt: Date | null;
6923
+ userId: string | null;
6924
+ sipServerUrl: string;
6925
+ sipUserName: string;
6926
+ webphoneLoginUser: string;
6927
+ extensionId: string | null;
6928
+ extensionName: string;
6929
+ telephonySignature: string | null;
6930
+ }>;
6931
+ }, "strip", z.ZodTypeAny, {
6932
+ id: string;
6933
+ address: string | null;
6934
+ name: string;
6935
+ email: string;
6936
+ createdAt: Date;
6937
+ updatedAt: Date;
6938
+ deletedAt: Date | null;
6939
+ emailVerifiedAt: Date | null;
6940
+ password: string;
6941
+ phone: string | null;
6942
+ notificationCount: number | null;
6943
+ roles: {
6944
+ id: string;
6945
+ description: string | null;
6946
+ createdAt: Date;
6947
+ updatedAt: Date;
6948
+ deletedAt: Date | null;
6949
+ systemName: string;
6950
+ displayName: string;
6951
+ permissions: {
6952
+ id: string;
6953
+ description: string | null;
6954
+ createdAt: Date;
6955
+ updatedAt: Date;
6956
+ deletedAt: Date | null;
6957
+ systemName: string;
6958
+ displayName: string;
6959
+ }[];
6960
+ }[];
6961
+ extension: {
6962
+ id: string;
6963
+ createdAt: Date;
6964
+ updatedAt: Date;
6965
+ deletedAt: Date | null;
6966
+ userId: string | null;
6967
+ sipServerUrl: string;
6968
+ sipUserName: string;
6969
+ webphoneLoginUser: string;
6970
+ extensionId: string | null;
6971
+ extensionName: string;
6972
+ telephonySignature: string | null;
6973
+ };
6974
+ }, {
6975
+ id: string;
6976
+ address: string | null;
6977
+ name: string;
6978
+ email: string;
6979
+ createdAt: Date;
6980
+ updatedAt: Date;
6981
+ deletedAt: Date | null;
6982
+ emailVerifiedAt: Date | null;
6983
+ password: string;
6984
+ phone: string | null;
6985
+ notificationCount: number | null;
6986
+ roles: {
6987
+ id: string;
6988
+ description: string | null;
6989
+ createdAt: Date;
6990
+ updatedAt: Date;
6991
+ deletedAt: Date | null;
6992
+ systemName: string;
6993
+ displayName: string;
6994
+ permissions: {
6995
+ id: string;
6996
+ description: string | null;
6997
+ createdAt: Date;
6998
+ updatedAt: Date;
6999
+ deletedAt: Date | null;
7000
+ systemName: string;
7001
+ displayName: string;
7002
+ }[];
7003
+ }[];
7004
+ extension: {
7005
+ id: string;
7006
+ createdAt: Date;
7007
+ updatedAt: Date;
7008
+ deletedAt: Date | null;
7009
+ userId: string | null;
7010
+ sipServerUrl: string;
7011
+ sipUserName: string;
7012
+ webphoneLoginUser: string;
7013
+ extensionId: string | null;
7014
+ extensionName: string;
7015
+ telephonySignature: string | null;
7016
+ };
7017
+ }>;
7018
+ entityId: z.ZodString;
7019
+ description: z.ZodString;
7020
+ entityType: z.ZodObject<{
7021
+ id: z.ZodString;
7022
+ createdAt: z.ZodDate;
7023
+ updatedAt: z.ZodDate;
7024
+ deletedAt: z.ZodNullable<z.ZodDate>;
7025
+ entity: z.ZodString;
7026
+ description: z.ZodString;
7027
+ }, "strip", z.ZodTypeAny, {
7028
+ id: string;
7029
+ description: string;
7030
+ createdAt: Date;
7031
+ updatedAt: Date;
7032
+ deletedAt: Date | null;
7033
+ entity: string;
7034
+ }, {
7035
+ id: string;
7036
+ description: string;
7037
+ createdAt: Date;
7038
+ updatedAt: Date;
7039
+ deletedAt: Date | null;
7040
+ entity: string;
7041
+ }>;
7042
+ }, "strip", z.ZodTypeAny, {
7043
+ id: string;
7044
+ description: string;
7045
+ createdAt: Date;
7046
+ updatedAt: Date;
7047
+ deletedAt: Date | null;
7048
+ actor: {
7049
+ id: string;
7050
+ address: string | null;
7051
+ name: string;
7052
+ email: string;
7053
+ createdAt: Date;
7054
+ updatedAt: Date;
7055
+ deletedAt: Date | null;
7056
+ emailVerifiedAt: Date | null;
7057
+ password: string;
7058
+ phone: string | null;
7059
+ notificationCount: number | null;
7060
+ roles: {
7061
+ id: string;
7062
+ description: string | null;
7063
+ createdAt: Date;
7064
+ updatedAt: Date;
7065
+ deletedAt: Date | null;
7066
+ systemName: string;
7067
+ displayName: string;
7068
+ permissions: {
7069
+ id: string;
7070
+ description: string | null;
7071
+ createdAt: Date;
7072
+ updatedAt: Date;
7073
+ deletedAt: Date | null;
7074
+ systemName: string;
7075
+ displayName: string;
7076
+ }[];
7077
+ }[];
7078
+ extension: {
7079
+ id: string;
7080
+ createdAt: Date;
7081
+ updatedAt: Date;
7082
+ deletedAt: Date | null;
7083
+ userId: string | null;
7084
+ sipServerUrl: string;
7085
+ sipUserName: string;
7086
+ webphoneLoginUser: string;
7087
+ extensionId: string | null;
7088
+ extensionName: string;
7089
+ telephonySignature: string | null;
7090
+ };
7091
+ };
7092
+ entityId: string;
7093
+ entityType: {
7094
+ id: string;
7095
+ description: string;
7096
+ createdAt: Date;
7097
+ updatedAt: Date;
7098
+ deletedAt: Date | null;
7099
+ entity: string;
7100
+ };
7101
+ }, {
7102
+ id: string;
7103
+ description: string;
7104
+ createdAt: Date;
7105
+ updatedAt: Date;
7106
+ deletedAt: Date | null;
7107
+ actor: {
7108
+ id: string;
7109
+ address: string | null;
7110
+ name: string;
7111
+ email: string;
7112
+ createdAt: Date;
7113
+ updatedAt: Date;
7114
+ deletedAt: Date | null;
7115
+ emailVerifiedAt: Date | null;
7116
+ password: string;
7117
+ phone: string | null;
7118
+ notificationCount: number | null;
7119
+ roles: {
7120
+ id: string;
7121
+ description: string | null;
7122
+ createdAt: Date;
7123
+ updatedAt: Date;
7124
+ deletedAt: Date | null;
7125
+ systemName: string;
7126
+ displayName: string;
7127
+ permissions: {
7128
+ id: string;
7129
+ description: string | null;
7130
+ createdAt: Date;
7131
+ updatedAt: Date;
7132
+ deletedAt: Date | null;
7133
+ systemName: string;
7134
+ displayName: string;
7135
+ }[];
7136
+ }[];
7137
+ extension: {
7138
+ id: string;
7139
+ createdAt: Date;
7140
+ updatedAt: Date;
7141
+ deletedAt: Date | null;
7142
+ userId: string | null;
7143
+ sipServerUrl: string;
7144
+ sipUserName: string;
7145
+ webphoneLoginUser: string;
7146
+ extensionId: string | null;
7147
+ extensionName: string;
7148
+ telephonySignature: string | null;
7149
+ };
7150
+ };
7151
+ entityId: string;
7152
+ entityType: {
7153
+ id: string;
7154
+ description: string;
7155
+ createdAt: Date;
7156
+ updatedAt: Date;
7157
+ deletedAt: Date | null;
7158
+ entity: string;
7159
+ };
7160
+ }>, "many">;
7161
+ }, "strip", z.ZodTypeAny, {
7162
+ type: string;
7163
+ id: string;
7164
+ channel: string;
7165
+ priority: string;
7166
+ title: string;
7167
+ description: string | null;
7168
+ status: string;
7169
+ createdAt: Date;
7170
+ updatedAt: Date;
7171
+ deletedAt: Date | null;
7172
+ categories: {
7173
+ id: string;
7174
+ value: string;
7175
+ createdAt: Date;
7176
+ updatedAt: Date;
7177
+ deletedAt: Date | null;
7178
+ level: 2 | 1 | 3;
7179
+ parentId: string | null;
7180
+ childCategoryList: {
7181
+ id: string;
7182
+ value: string;
7183
+ level: 2 | 1 | 3;
7184
+ parentId: string | null;
7185
+ childCategoryList: {
7186
+ id: string;
7187
+ value: string;
7188
+ level: 2 | 1 | 3;
7189
+ parentId: string | null;
7190
+ childCategoryList: any[];
7191
+ }[];
7192
+ }[];
7193
+ }[];
7194
+ contact: {
7195
+ id: string;
7196
+ channel: string | null;
7197
+ address: string | null;
7198
+ name: string;
7199
+ createdAt: Date;
7200
+ updatedAt: Date;
7201
+ deletedAt: Date | null;
7202
+ customFields: {
7203
+ id: string;
7204
+ createdAt: Date;
7205
+ updatedAt: Date;
7206
+ deletedAt: Date | null;
7207
+ attribute: {
7208
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
7209
+ id: string;
7210
+ position: number;
7211
+ createdAt: Date;
7212
+ updatedAt: Date;
7213
+ deletedAt: Date | null;
7214
+ systemName: string;
7215
+ displayName: string;
7216
+ isDefault: boolean;
6153
7217
  isArchived: boolean;
6154
7218
  isRequired: boolean;
6155
7219
  isUnique: boolean;
@@ -6178,16 +7242,6 @@ export declare const commentContract: {
6178
7242
  };
6179
7243
  }[];
6180
7244
  }[];
6181
- notes: string | null;
6182
- contactProfile: string | null;
6183
- socialProfileUrl: string | null;
6184
- tags: {
6185
- id: string;
6186
- name: string;
6187
- createdAt: Date;
6188
- updatedAt: Date;
6189
- deletedAt: Date | null;
6190
- }[];
6191
7245
  company: {
6192
7246
  id: string;
6193
7247
  createdAt: Date;
@@ -6198,6 +7252,16 @@ export declare const commentContract: {
6198
7252
  phone?: string | null | undefined;
6199
7253
  industry?: string | null | undefined;
6200
7254
  } | null;
7255
+ notes: string | null;
7256
+ contactProfile: string | null;
7257
+ socialProfileUrl: string | null;
7258
+ tags: {
7259
+ id: string;
7260
+ name: string;
7261
+ createdAt: Date;
7262
+ updatedAt: Date;
7263
+ deletedAt: Date | null;
7264
+ }[];
6201
7265
  contactEmails: {
6202
7266
  id: string;
6203
7267
  isPrimary: boolean;
@@ -6223,56 +7287,116 @@ export declare const commentContract: {
6223
7287
  entityId: string;
6224
7288
  entityType: {
6225
7289
  id: string;
6226
- description: string | null;
7290
+ description: string | null;
7291
+ createdAt: Date;
7292
+ updatedAt: Date;
7293
+ deletedAt: Date | null;
7294
+ entity: string;
7295
+ };
7296
+ }[] | undefined;
7297
+ };
7298
+ customFields: {
7299
+ id: string;
7300
+ createdAt: Date;
7301
+ updatedAt: Date;
7302
+ deletedAt: Date | null;
7303
+ attribute: {
7304
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
7305
+ id: string;
7306
+ position: number;
7307
+ createdAt: Date;
7308
+ updatedAt: Date;
7309
+ deletedAt: Date | null;
7310
+ systemName: string;
7311
+ displayName: string;
7312
+ isDefault: boolean;
7313
+ isArchived: boolean;
7314
+ isRequired: boolean;
7315
+ isUnique: boolean;
7316
+ };
7317
+ textValue: string | null;
7318
+ booleanValue: boolean | null;
7319
+ numberValue: number | null;
7320
+ dateValue: Date | null;
7321
+ uploads: {
7322
+ id: string;
7323
+ createdAt: Date;
7324
+ updatedAt: Date;
7325
+ deletedAt: Date | null;
7326
+ fileName: string;
7327
+ fileKey: string;
7328
+ bucketName: string;
7329
+ fileSize: number;
7330
+ fileUrl: string | null;
7331
+ status?: string | undefined;
7332
+ }[];
7333
+ }[];
7334
+ tags: {
7335
+ id: string;
7336
+ name: string;
7337
+ createdAt: Date;
7338
+ updatedAt: Date;
7339
+ deletedAt: Date | null;
7340
+ }[];
7341
+ activityLogs: {
7342
+ id: string;
7343
+ description: string;
7344
+ createdAt: Date;
7345
+ updatedAt: Date;
7346
+ deletedAt: Date | null;
7347
+ actor: {
7348
+ id: string;
7349
+ address: string | null;
7350
+ name: string;
7351
+ email: string;
7352
+ createdAt: Date;
7353
+ updatedAt: Date;
7354
+ deletedAt: Date | null;
7355
+ emailVerifiedAt: Date | null;
7356
+ password: string;
7357
+ phone: string | null;
7358
+ notificationCount: number | null;
7359
+ roles: {
7360
+ id: string;
7361
+ description: string | null;
7362
+ createdAt: Date;
7363
+ updatedAt: Date;
7364
+ deletedAt: Date | null;
7365
+ systemName: string;
7366
+ displayName: string;
7367
+ permissions: {
7368
+ id: string;
7369
+ description: string | null;
7370
+ createdAt: Date;
7371
+ updatedAt: Date;
7372
+ deletedAt: Date | null;
7373
+ systemName: string;
7374
+ displayName: string;
7375
+ }[];
7376
+ }[];
7377
+ extension: {
7378
+ id: string;
6227
7379
  createdAt: Date;
6228
7380
  updatedAt: Date;
6229
7381
  deletedAt: Date | null;
6230
- entity: string;
7382
+ userId: string | null;
7383
+ sipServerUrl: string;
7384
+ sipUserName: string;
7385
+ webphoneLoginUser: string;
7386
+ extensionId: string | null;
7387
+ extensionName: string;
7388
+ telephonySignature: string | null;
6231
7389
  };
6232
- }[] | undefined;
6233
- };
6234
- customFields: {
6235
- id: string;
6236
- createdAt: Date;
6237
- updatedAt: Date;
6238
- deletedAt: Date | null;
6239
- attribute: {
6240
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6241
- id: string;
6242
- position: number;
6243
- createdAt: Date;
6244
- updatedAt: Date;
6245
- deletedAt: Date | null;
6246
- systemName: string;
6247
- displayName: string;
6248
- isDefault: boolean;
6249
- isArchived: boolean;
6250
- isRequired: boolean;
6251
- isUnique: boolean;
6252
7390
  };
6253
- textValue: string | null;
6254
- booleanValue: boolean | null;
6255
- numberValue: number | null;
6256
- dateValue: Date | null;
6257
- uploads: {
7391
+ entityId: string;
7392
+ entityType: {
6258
7393
  id: string;
7394
+ description: string;
6259
7395
  createdAt: Date;
6260
7396
  updatedAt: Date;
6261
7397
  deletedAt: Date | null;
6262
- fileName: string;
6263
- fileKey: string;
6264
- bucketName: string;
6265
- fileSize: number;
6266
- fileUrl: string | null;
6267
- status?: string | undefined;
6268
- }[];
6269
- }[];
6270
- tags: {
6271
- id: string;
6272
- name: string;
6273
- createdAt: Date;
6274
- updatedAt: Date;
6275
- deletedAt: Date | null;
7398
+ entity: string;
7399
+ };
6276
7400
  }[];
6277
7401
  contactId: string;
6278
7402
  assigneeId: string;
@@ -6451,16 +7575,6 @@ export declare const commentContract: {
6451
7575
  };
6452
7576
  }[];
6453
7577
  }[];
6454
- notes: string | null;
6455
- contactProfile: string | null;
6456
- socialProfileUrl: string | null;
6457
- tags: {
6458
- id: string;
6459
- name: string;
6460
- createdAt: Date;
6461
- updatedAt: Date;
6462
- deletedAt: Date | null;
6463
- }[];
6464
7578
  company: {
6465
7579
  id: string;
6466
7580
  createdAt: Date;
@@ -6471,6 +7585,16 @@ export declare const commentContract: {
6471
7585
  phone?: string | null | undefined;
6472
7586
  industry?: string | null | undefined;
6473
7587
  } | null;
7588
+ notes: string | null;
7589
+ contactProfile: string | null;
7590
+ socialProfileUrl: string | null;
7591
+ tags: {
7592
+ id: string;
7593
+ name: string;
7594
+ createdAt: Date;
7595
+ updatedAt: Date;
7596
+ deletedAt: Date | null;
7597
+ }[];
6474
7598
  contactEmails: {
6475
7599
  id: string;
6476
7600
  isPrimary: boolean;
@@ -6547,6 +7671,66 @@ export declare const commentContract: {
6547
7671
  updatedAt: Date;
6548
7672
  deletedAt: Date | null;
6549
7673
  }[];
7674
+ activityLogs: {
7675
+ id: string;
7676
+ description: string;
7677
+ createdAt: Date;
7678
+ updatedAt: Date;
7679
+ deletedAt: Date | null;
7680
+ actor: {
7681
+ id: string;
7682
+ address: string | null;
7683
+ name: string;
7684
+ email: string;
7685
+ createdAt: Date;
7686
+ updatedAt: Date;
7687
+ deletedAt: Date | null;
7688
+ emailVerifiedAt: Date | null;
7689
+ password: string;
7690
+ phone: string | null;
7691
+ notificationCount: number | null;
7692
+ roles: {
7693
+ id: string;
7694
+ description: string | null;
7695
+ createdAt: Date;
7696
+ updatedAt: Date;
7697
+ deletedAt: Date | null;
7698
+ systemName: string;
7699
+ displayName: string;
7700
+ permissions: {
7701
+ id: string;
7702
+ description: string | null;
7703
+ createdAt: Date;
7704
+ updatedAt: Date;
7705
+ deletedAt: Date | null;
7706
+ systemName: string;
7707
+ displayName: string;
7708
+ }[];
7709
+ }[];
7710
+ extension: {
7711
+ id: string;
7712
+ createdAt: Date;
7713
+ updatedAt: Date;
7714
+ deletedAt: Date | null;
7715
+ userId: string | null;
7716
+ sipServerUrl: string;
7717
+ sipUserName: string;
7718
+ webphoneLoginUser: string;
7719
+ extensionId: string | null;
7720
+ extensionName: string;
7721
+ telephonySignature: string | null;
7722
+ };
7723
+ };
7724
+ entityId: string;
7725
+ entityType: {
7726
+ id: string;
7727
+ description: string;
7728
+ createdAt: Date;
7729
+ updatedAt: Date;
7730
+ deletedAt: Date | null;
7731
+ entity: string;
7732
+ };
7733
+ }[];
6550
7734
  contactId: string;
6551
7735
  assigneeId: string;
6552
7736
  creatorId: string;
@@ -6850,112 +8034,6 @@ export declare const commentContract: {
6850
8034
  createdAt: Date;
6851
8035
  updatedAt: Date;
6852
8036
  deletedAt: Date | null;
6853
- activityLogs: {
6854
- id: string;
6855
- description: string;
6856
- createdAt: Date;
6857
- updatedAt: Date;
6858
- deletedAt: Date | null;
6859
- actor: {
6860
- id: string;
6861
- address: string | null;
6862
- name: string;
6863
- email: string;
6864
- createdAt: Date;
6865
- updatedAt: Date;
6866
- deletedAt: Date | null;
6867
- emailVerifiedAt: Date | null;
6868
- password: string;
6869
- phone: string | null;
6870
- notificationCount: number | null;
6871
- roles: {
6872
- id: string;
6873
- description: string | null;
6874
- createdAt: Date;
6875
- updatedAt: Date;
6876
- deletedAt: Date | null;
6877
- systemName: string;
6878
- displayName: string;
6879
- permissions: {
6880
- id: string;
6881
- description: string | null;
6882
- createdAt: Date;
6883
- updatedAt: Date;
6884
- deletedAt: Date | null;
6885
- systemName: string;
6886
- displayName: string;
6887
- }[];
6888
- }[];
6889
- extension: {
6890
- id: string;
6891
- createdAt: Date;
6892
- updatedAt: Date;
6893
- deletedAt: Date | null;
6894
- userId: string | null;
6895
- sipServerUrl: string;
6896
- sipUserName: string;
6897
- webphoneLoginUser: string;
6898
- extensionId: string | null;
6899
- extensionName: string;
6900
- telephonySignature: string | null;
6901
- };
6902
- };
6903
- entityId: string;
6904
- entityType: {
6905
- id: string;
6906
- description: string;
6907
- createdAt: Date;
6908
- updatedAt: Date;
6909
- deletedAt: Date | null;
6910
- entity: string;
6911
- };
6912
- }[];
6913
- agent: {
6914
- id: string;
6915
- address: string | null;
6916
- name: string;
6917
- email: string;
6918
- createdAt: Date;
6919
- updatedAt: Date;
6920
- deletedAt: Date | null;
6921
- emailVerifiedAt: Date | null;
6922
- password: string;
6923
- phone: string | null;
6924
- notificationCount: number | null;
6925
- roles: {
6926
- id: string;
6927
- description: string | null;
6928
- createdAt: Date;
6929
- updatedAt: Date;
6930
- deletedAt: Date | null;
6931
- systemName: string;
6932
- displayName: string;
6933
- permissions: {
6934
- id: string;
6935
- description: string | null;
6936
- createdAt: Date;
6937
- updatedAt: Date;
6938
- deletedAt: Date | null;
6939
- systemName: string;
6940
- displayName: string;
6941
- }[];
6942
- }[];
6943
- extension: {
6944
- id: string;
6945
- createdAt: Date;
6946
- updatedAt: Date;
6947
- deletedAt: Date | null;
6948
- userId: string | null;
6949
- sipServerUrl: string;
6950
- sipUserName: string;
6951
- webphoneLoginUser: string;
6952
- extensionId: string | null;
6953
- extensionName: string;
6954
- telephonySignature: string | null;
6955
- };
6956
- };
6957
- comment: string;
6958
- mentions: string[];
6959
8037
  ticket: {
6960
8038
  type: string;
6961
8039
  id: string;
@@ -7033,22 +8111,12 @@ export declare const commentContract: {
7033
8111
  deletedAt: Date | null;
7034
8112
  fileName: string;
7035
8113
  fileKey: string;
7036
- bucketName: string;
7037
- fileSize: number;
7038
- fileUrl: string | null;
7039
- status?: string | undefined;
7040
- };
7041
- }[];
7042
- }[];
7043
- notes: string | null;
7044
- contactProfile: string | null;
7045
- socialProfileUrl: string | null;
7046
- tags: {
7047
- id: string;
7048
- name: string;
7049
- createdAt: Date;
7050
- updatedAt: Date;
7051
- deletedAt: Date | null;
8114
+ bucketName: string;
8115
+ fileSize: number;
8116
+ fileUrl: string | null;
8117
+ status?: string | undefined;
8118
+ };
8119
+ }[];
7052
8120
  }[];
7053
8121
  company: {
7054
8122
  id: string;
@@ -7060,6 +8128,16 @@ export declare const commentContract: {
7060
8128
  phone?: string | null | undefined;
7061
8129
  industry?: string | null | undefined;
7062
8130
  } | null;
8131
+ notes: string | null;
8132
+ contactProfile: string | null;
8133
+ socialProfileUrl: string | null;
8134
+ tags: {
8135
+ id: string;
8136
+ name: string;
8137
+ createdAt: Date;
8138
+ updatedAt: Date;
8139
+ deletedAt: Date | null;
8140
+ }[];
7063
8141
  contactEmails: {
7064
8142
  id: string;
7065
8143
  isPrimary: boolean;
@@ -7136,6 +8214,66 @@ export declare const commentContract: {
7136
8214
  updatedAt: Date;
7137
8215
  deletedAt: Date | null;
7138
8216
  }[];
8217
+ activityLogs: {
8218
+ id: string;
8219
+ description: string;
8220
+ createdAt: Date;
8221
+ updatedAt: Date;
8222
+ deletedAt: Date | null;
8223
+ actor: {
8224
+ id: string;
8225
+ address: string | null;
8226
+ name: string;
8227
+ email: string;
8228
+ createdAt: Date;
8229
+ updatedAt: Date;
8230
+ deletedAt: Date | null;
8231
+ emailVerifiedAt: Date | null;
8232
+ password: string;
8233
+ phone: string | null;
8234
+ notificationCount: number | null;
8235
+ roles: {
8236
+ id: string;
8237
+ description: string | null;
8238
+ createdAt: Date;
8239
+ updatedAt: Date;
8240
+ deletedAt: Date | null;
8241
+ systemName: string;
8242
+ displayName: string;
8243
+ permissions: {
8244
+ id: string;
8245
+ description: string | null;
8246
+ createdAt: Date;
8247
+ updatedAt: Date;
8248
+ deletedAt: Date | null;
8249
+ systemName: string;
8250
+ displayName: string;
8251
+ }[];
8252
+ }[];
8253
+ extension: {
8254
+ id: string;
8255
+ createdAt: Date;
8256
+ updatedAt: Date;
8257
+ deletedAt: Date | null;
8258
+ userId: string | null;
8259
+ sipServerUrl: string;
8260
+ sipUserName: string;
8261
+ webphoneLoginUser: string;
8262
+ extensionId: string | null;
8263
+ extensionName: string;
8264
+ telephonySignature: string | null;
8265
+ };
8266
+ };
8267
+ entityId: string;
8268
+ entityType: {
8269
+ id: string;
8270
+ description: string;
8271
+ createdAt: Date;
8272
+ updatedAt: Date;
8273
+ deletedAt: Date | null;
8274
+ entity: string;
8275
+ };
8276
+ }[];
7139
8277
  contactId: string;
7140
8278
  assigneeId: string;
7141
8279
  creatorId: string;
@@ -7230,11 +8368,6 @@ export declare const commentContract: {
7230
8368
  } | null | undefined;
7231
8369
  ticketNumber?: number | undefined;
7232
8370
  };
7233
- }, {
7234
- id: string;
7235
- createdAt: Date;
7236
- updatedAt: Date;
7237
- deletedAt: Date | null;
7238
8371
  activityLogs: {
7239
8372
  id: string;
7240
8373
  description: string;
@@ -7341,6 +8474,11 @@ export declare const commentContract: {
7341
8474
  };
7342
8475
  comment: string;
7343
8476
  mentions: string[];
8477
+ }, {
8478
+ id: string;
8479
+ createdAt: Date;
8480
+ updatedAt: Date;
8481
+ deletedAt: Date | null;
7344
8482
  ticket: {
7345
8483
  type: string;
7346
8484
  id: string;
@@ -7425,16 +8563,6 @@ export declare const commentContract: {
7425
8563
  };
7426
8564
  }[];
7427
8565
  }[];
7428
- notes: string | null;
7429
- contactProfile: string | null;
7430
- socialProfileUrl: string | null;
7431
- tags: {
7432
- id: string;
7433
- name: string;
7434
- createdAt: Date;
7435
- updatedAt: Date;
7436
- deletedAt: Date | null;
7437
- }[];
7438
8566
  company: {
7439
8567
  id: string;
7440
8568
  createdAt: Date;
@@ -7445,6 +8573,16 @@ export declare const commentContract: {
7445
8573
  phone?: string | null | undefined;
7446
8574
  industry?: string | null | undefined;
7447
8575
  } | null;
8576
+ notes: string | null;
8577
+ contactProfile: string | null;
8578
+ socialProfileUrl: string | null;
8579
+ tags: {
8580
+ id: string;
8581
+ name: string;
8582
+ createdAt: Date;
8583
+ updatedAt: Date;
8584
+ deletedAt: Date | null;
8585
+ }[];
7448
8586
  contactEmails: {
7449
8587
  id: string;
7450
8588
  isPrimary: boolean;
@@ -7521,6 +8659,66 @@ export declare const commentContract: {
7521
8659
  updatedAt: Date;
7522
8660
  deletedAt: Date | null;
7523
8661
  }[];
8662
+ activityLogs: {
8663
+ id: string;
8664
+ description: string;
8665
+ createdAt: Date;
8666
+ updatedAt: Date;
8667
+ deletedAt: Date | null;
8668
+ actor: {
8669
+ id: string;
8670
+ address: string | null;
8671
+ name: string;
8672
+ email: string;
8673
+ createdAt: Date;
8674
+ updatedAt: Date;
8675
+ deletedAt: Date | null;
8676
+ emailVerifiedAt: Date | null;
8677
+ password: string;
8678
+ phone: string | null;
8679
+ notificationCount: number | null;
8680
+ roles: {
8681
+ id: string;
8682
+ description: string | null;
8683
+ createdAt: Date;
8684
+ updatedAt: Date;
8685
+ deletedAt: Date | null;
8686
+ systemName: string;
8687
+ displayName: string;
8688
+ permissions: {
8689
+ id: string;
8690
+ description: string | null;
8691
+ createdAt: Date;
8692
+ updatedAt: Date;
8693
+ deletedAt: Date | null;
8694
+ systemName: string;
8695
+ displayName: string;
8696
+ }[];
8697
+ }[];
8698
+ extension: {
8699
+ id: string;
8700
+ createdAt: Date;
8701
+ updatedAt: Date;
8702
+ deletedAt: Date | null;
8703
+ userId: string | null;
8704
+ sipServerUrl: string;
8705
+ sipUserName: string;
8706
+ webphoneLoginUser: string;
8707
+ extensionId: string | null;
8708
+ extensionName: string;
8709
+ telephonySignature: string | null;
8710
+ };
8711
+ };
8712
+ entityId: string;
8713
+ entityType: {
8714
+ id: string;
8715
+ description: string;
8716
+ createdAt: Date;
8717
+ updatedAt: Date;
8718
+ deletedAt: Date | null;
8719
+ entity: string;
8720
+ };
8721
+ }[];
7524
8722
  contactId: string;
7525
8723
  assigneeId: string;
7526
8724
  creatorId: string;
@@ -7615,6 +8813,112 @@ export declare const commentContract: {
7615
8813
  } | null | undefined;
7616
8814
  ticketNumber?: number | undefined;
7617
8815
  };
8816
+ activityLogs: {
8817
+ id: string;
8818
+ description: string;
8819
+ createdAt: Date;
8820
+ updatedAt: Date;
8821
+ deletedAt: Date | null;
8822
+ actor: {
8823
+ id: string;
8824
+ address: string | null;
8825
+ name: string;
8826
+ email: string;
8827
+ createdAt: Date;
8828
+ updatedAt: Date;
8829
+ deletedAt: Date | null;
8830
+ emailVerifiedAt: Date | null;
8831
+ password: string;
8832
+ phone: string | null;
8833
+ notificationCount: number | null;
8834
+ roles: {
8835
+ id: string;
8836
+ description: string | null;
8837
+ createdAt: Date;
8838
+ updatedAt: Date;
8839
+ deletedAt: Date | null;
8840
+ systemName: string;
8841
+ displayName: string;
8842
+ permissions: {
8843
+ id: string;
8844
+ description: string | null;
8845
+ createdAt: Date;
8846
+ updatedAt: Date;
8847
+ deletedAt: Date | null;
8848
+ systemName: string;
8849
+ displayName: string;
8850
+ }[];
8851
+ }[];
8852
+ extension: {
8853
+ id: string;
8854
+ createdAt: Date;
8855
+ updatedAt: Date;
8856
+ deletedAt: Date | null;
8857
+ userId: string | null;
8858
+ sipServerUrl: string;
8859
+ sipUserName: string;
8860
+ webphoneLoginUser: string;
8861
+ extensionId: string | null;
8862
+ extensionName: string;
8863
+ telephonySignature: string | null;
8864
+ };
8865
+ };
8866
+ entityId: string;
8867
+ entityType: {
8868
+ id: string;
8869
+ description: string;
8870
+ createdAt: Date;
8871
+ updatedAt: Date;
8872
+ deletedAt: Date | null;
8873
+ entity: string;
8874
+ };
8875
+ }[];
8876
+ agent: {
8877
+ id: string;
8878
+ address: string | null;
8879
+ name: string;
8880
+ email: string;
8881
+ createdAt: Date;
8882
+ updatedAt: Date;
8883
+ deletedAt: Date | null;
8884
+ emailVerifiedAt: Date | null;
8885
+ password: string;
8886
+ phone: string | null;
8887
+ notificationCount: number | null;
8888
+ roles: {
8889
+ id: string;
8890
+ description: string | null;
8891
+ createdAt: Date;
8892
+ updatedAt: Date;
8893
+ deletedAt: Date | null;
8894
+ systemName: string;
8895
+ displayName: string;
8896
+ permissions: {
8897
+ id: string;
8898
+ description: string | null;
8899
+ createdAt: Date;
8900
+ updatedAt: Date;
8901
+ deletedAt: Date | null;
8902
+ systemName: string;
8903
+ displayName: string;
8904
+ }[];
8905
+ }[];
8906
+ extension: {
8907
+ id: string;
8908
+ createdAt: Date;
8909
+ updatedAt: Date;
8910
+ deletedAt: Date | null;
8911
+ userId: string | null;
8912
+ sipServerUrl: string;
8913
+ sipUserName: string;
8914
+ webphoneLoginUser: string;
8915
+ extensionId: string | null;
8916
+ extensionName: string;
8917
+ telephonySignature: string | null;
8918
+ };
8919
+ };
8920
+ comment: string;
8921
+ mentions: string[];
7618
8922
  }>, "many">;
7619
8923
  400: z.ZodObject<{
7620
8924
  message: z.ZodString;
@@ -9231,318 +10535,670 @@ export declare const commentContract: {
9231
10535
  status?: string | undefined;
9232
10536
  };
9233
10537
  }[];
9234
- }>, "many">;
9235
- contactEmails: z.ZodArray<z.ZodObject<{
9236
- id: z.ZodString;
9237
- createdAt: z.ZodDate;
9238
- updatedAt: z.ZodDate;
9239
- deletedAt: z.ZodNullable<z.ZodDate>;
9240
- email: z.ZodString;
9241
- isPrimary: z.ZodBoolean;
9242
- }, "strip", z.ZodTypeAny, {
10538
+ }>, "many">;
10539
+ contactEmails: z.ZodArray<z.ZodObject<{
10540
+ id: z.ZodString;
10541
+ createdAt: z.ZodDate;
10542
+ updatedAt: z.ZodDate;
10543
+ deletedAt: z.ZodNullable<z.ZodDate>;
10544
+ email: z.ZodString;
10545
+ isPrimary: z.ZodBoolean;
10546
+ }, "strip", z.ZodTypeAny, {
10547
+ id: string;
10548
+ isPrimary: boolean;
10549
+ email: string;
10550
+ createdAt: Date;
10551
+ updatedAt: Date;
10552
+ deletedAt: Date | null;
10553
+ }, {
10554
+ id: string;
10555
+ isPrimary: boolean;
10556
+ email: string;
10557
+ createdAt: Date;
10558
+ updatedAt: Date;
10559
+ deletedAt: Date | null;
10560
+ }>, "many">;
10561
+ contactPhones: z.ZodArray<z.ZodObject<{
10562
+ id: z.ZodString;
10563
+ createdAt: z.ZodDate;
10564
+ updatedAt: z.ZodDate;
10565
+ deletedAt: z.ZodNullable<z.ZodDate>;
10566
+ phone: z.ZodString;
10567
+ isPrimary: z.ZodBoolean;
10568
+ }, "strip", z.ZodTypeAny, {
10569
+ id: string;
10570
+ isPrimary: boolean;
10571
+ createdAt: Date;
10572
+ updatedAt: Date;
10573
+ deletedAt: Date | null;
10574
+ phone: string;
10575
+ }, {
10576
+ id: string;
10577
+ isPrimary: boolean;
10578
+ createdAt: Date;
10579
+ updatedAt: Date;
10580
+ deletedAt: Date | null;
10581
+ phone: string;
10582
+ }>, "many">;
10583
+ activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
10584
+ id: z.ZodString;
10585
+ createdAt: z.ZodDate;
10586
+ updatedAt: z.ZodDate;
10587
+ deletedAt: z.ZodNullable<z.ZodDate>;
10588
+ entityId: z.ZodString;
10589
+ description: z.ZodString;
10590
+ entityType: z.ZodObject<{
10591
+ id: z.ZodString;
10592
+ createdAt: z.ZodDate;
10593
+ updatedAt: z.ZodDate;
10594
+ deletedAt: z.ZodNullable<z.ZodDate>;
10595
+ entity: z.ZodString;
10596
+ description: z.ZodNullable<z.ZodString>;
10597
+ }, "strip", z.ZodTypeAny, {
10598
+ id: string;
10599
+ description: string | null;
10600
+ createdAt: Date;
10601
+ updatedAt: Date;
10602
+ deletedAt: Date | null;
10603
+ entity: string;
10604
+ }, {
10605
+ id: string;
10606
+ description: string | null;
10607
+ createdAt: Date;
10608
+ updatedAt: Date;
10609
+ deletedAt: Date | null;
10610
+ entity: string;
10611
+ }>;
10612
+ }, "strip", z.ZodTypeAny, {
10613
+ id: string;
10614
+ description: string;
10615
+ createdAt: Date;
10616
+ updatedAt: Date;
10617
+ deletedAt: Date | null;
10618
+ entityId: string;
10619
+ entityType: {
10620
+ id: string;
10621
+ description: string | null;
10622
+ createdAt: Date;
10623
+ updatedAt: Date;
10624
+ deletedAt: Date | null;
10625
+ entity: string;
10626
+ };
10627
+ }, {
10628
+ id: string;
10629
+ description: string;
10630
+ createdAt: Date;
10631
+ updatedAt: Date;
10632
+ deletedAt: Date | null;
10633
+ entityId: string;
10634
+ entityType: {
10635
+ id: string;
10636
+ description: string | null;
10637
+ createdAt: Date;
10638
+ updatedAt: Date;
10639
+ deletedAt: Date | null;
10640
+ entity: string;
10641
+ };
10642
+ }>, "many">>;
10643
+ }, "strip", z.ZodTypeAny, {
10644
+ id: string;
10645
+ channel: string | null;
10646
+ address: string | null;
10647
+ name: string;
10648
+ createdAt: Date;
10649
+ updatedAt: Date;
10650
+ deletedAt: Date | null;
10651
+ customFields: {
10652
+ id: string;
10653
+ createdAt: Date;
10654
+ updatedAt: Date;
10655
+ deletedAt: Date | null;
10656
+ attribute: {
10657
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
10658
+ id: string;
10659
+ position: number;
10660
+ createdAt: Date;
10661
+ updatedAt: Date;
10662
+ deletedAt: Date | null;
10663
+ systemName: string;
10664
+ displayName: string;
10665
+ isDefault: boolean;
10666
+ isArchived: boolean;
10667
+ isRequired: boolean;
10668
+ isUnique: boolean;
10669
+ };
10670
+ textValue: string | null;
10671
+ booleanValue: boolean | null;
10672
+ numberValue: number | null;
10673
+ dateValue: Date | null;
10674
+ uploads: {
10675
+ id: string;
10676
+ createdAt: Date;
10677
+ updatedAt: Date;
10678
+ deletedAt: Date | null;
10679
+ customFieldId: string;
10680
+ upload: {
10681
+ id: string;
10682
+ createdAt: Date;
10683
+ updatedAt: Date;
10684
+ deletedAt: Date | null;
10685
+ fileName: string;
10686
+ fileKey: string;
10687
+ bucketName: string;
10688
+ fileSize: number;
10689
+ fileUrl: string | null;
10690
+ status?: string | undefined;
10691
+ };
10692
+ }[];
10693
+ }[];
10694
+ company: {
10695
+ id: string;
10696
+ createdAt: Date;
10697
+ updatedAt: Date;
10698
+ deletedAt: Date | null;
10699
+ address?: string | null | undefined;
10700
+ name?: string | undefined;
10701
+ phone?: string | null | undefined;
10702
+ industry?: string | null | undefined;
10703
+ } | null;
10704
+ notes: string | null;
10705
+ contactProfile: string | null;
10706
+ socialProfileUrl: string | null;
10707
+ tags: {
10708
+ id: string;
10709
+ name: string;
10710
+ createdAt: Date;
10711
+ updatedAt: Date;
10712
+ deletedAt: Date | null;
10713
+ }[];
10714
+ contactEmails: {
10715
+ id: string;
10716
+ isPrimary: boolean;
10717
+ email: string;
10718
+ createdAt: Date;
10719
+ updatedAt: Date;
10720
+ deletedAt: Date | null;
10721
+ }[];
10722
+ contactPhones: {
10723
+ id: string;
10724
+ isPrimary: boolean;
10725
+ createdAt: Date;
10726
+ updatedAt: Date;
10727
+ deletedAt: Date | null;
10728
+ phone: string;
10729
+ }[];
10730
+ activityLogs?: {
10731
+ id: string;
10732
+ description: string;
10733
+ createdAt: Date;
10734
+ updatedAt: Date;
10735
+ deletedAt: Date | null;
10736
+ entityId: string;
10737
+ entityType: {
10738
+ id: string;
10739
+ description: string | null;
10740
+ createdAt: Date;
10741
+ updatedAt: Date;
10742
+ deletedAt: Date | null;
10743
+ entity: string;
10744
+ };
10745
+ }[] | undefined;
10746
+ }, {
10747
+ id: string;
10748
+ channel: string | null;
10749
+ address: string | null;
10750
+ name: string;
10751
+ createdAt: Date;
10752
+ updatedAt: Date;
10753
+ deletedAt: Date | null;
10754
+ customFields: {
10755
+ id: string;
10756
+ createdAt: Date;
10757
+ updatedAt: Date;
10758
+ deletedAt: Date | null;
10759
+ attribute: {
10760
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
10761
+ id: string;
10762
+ position: number;
10763
+ createdAt: Date;
10764
+ updatedAt: Date;
10765
+ deletedAt: Date | null;
10766
+ systemName: string;
10767
+ displayName: string;
10768
+ isDefault: boolean;
10769
+ isArchived: boolean;
10770
+ isRequired: boolean;
10771
+ isUnique: boolean;
10772
+ };
10773
+ textValue: string | null;
10774
+ booleanValue: boolean | null;
10775
+ numberValue: number | null;
10776
+ dateValue: Date | null;
10777
+ uploads: {
10778
+ id: string;
10779
+ createdAt: Date;
10780
+ updatedAt: Date;
10781
+ deletedAt: Date | null;
10782
+ customFieldId: string;
10783
+ upload: {
10784
+ id: string;
10785
+ createdAt: Date;
10786
+ updatedAt: Date;
10787
+ deletedAt: Date | null;
10788
+ fileName: string;
10789
+ fileKey: string;
10790
+ bucketName: string;
10791
+ fileSize: number;
10792
+ fileUrl: string | null;
10793
+ status?: string | undefined;
10794
+ };
10795
+ }[];
10796
+ }[];
10797
+ company: {
9243
10798
  id: string;
9244
- isPrimary: boolean;
9245
- email: string;
9246
10799
  createdAt: Date;
9247
10800
  updatedAt: Date;
9248
10801
  deletedAt: Date | null;
9249
- }, {
10802
+ address?: string | null | undefined;
10803
+ name?: string | undefined;
10804
+ phone?: string | null | undefined;
10805
+ industry?: string | null | undefined;
10806
+ } | null;
10807
+ notes: string | null;
10808
+ contactProfile: string | null;
10809
+ socialProfileUrl: string | null;
10810
+ tags: {
10811
+ id: string;
10812
+ name: string;
10813
+ createdAt: Date;
10814
+ updatedAt: Date;
10815
+ deletedAt: Date | null;
10816
+ }[];
10817
+ contactEmails: {
9250
10818
  id: string;
9251
10819
  isPrimary: boolean;
9252
10820
  email: string;
9253
10821
  createdAt: Date;
9254
10822
  updatedAt: Date;
9255
10823
  deletedAt: Date | null;
9256
- }>, "many">;
9257
- contactPhones: z.ZodArray<z.ZodObject<{
9258
- id: z.ZodString;
9259
- createdAt: z.ZodDate;
9260
- updatedAt: z.ZodDate;
9261
- deletedAt: z.ZodNullable<z.ZodDate>;
9262
- phone: z.ZodString;
9263
- isPrimary: z.ZodBoolean;
9264
- }, "strip", z.ZodTypeAny, {
10824
+ }[];
10825
+ contactPhones: {
9265
10826
  id: string;
9266
10827
  isPrimary: boolean;
9267
10828
  createdAt: Date;
9268
10829
  updatedAt: Date;
9269
10830
  deletedAt: Date | null;
9270
10831
  phone: string;
9271
- }, {
10832
+ }[];
10833
+ activityLogs?: {
9272
10834
  id: string;
9273
- isPrimary: boolean;
10835
+ description: string;
9274
10836
  createdAt: Date;
9275
10837
  updatedAt: Date;
9276
10838
  deletedAt: Date | null;
9277
- phone: string;
9278
- }>, "many">;
9279
- activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
10839
+ entityId: string;
10840
+ entityType: {
10841
+ id: string;
10842
+ description: string | null;
10843
+ createdAt: Date;
10844
+ updatedAt: Date;
10845
+ deletedAt: Date | null;
10846
+ entity: string;
10847
+ };
10848
+ }[] | undefined;
10849
+ }>;
10850
+ activityLogs: z.ZodArray<z.ZodObject<{
10851
+ id: z.ZodString;
10852
+ createdAt: z.ZodDate;
10853
+ updatedAt: z.ZodDate;
10854
+ deletedAt: z.ZodNullable<z.ZodDate>;
10855
+ actor: z.ZodObject<{
9280
10856
  id: z.ZodString;
9281
10857
  createdAt: z.ZodDate;
9282
10858
  updatedAt: z.ZodDate;
9283
10859
  deletedAt: z.ZodNullable<z.ZodDate>;
9284
- entityId: z.ZodString;
9285
- description: z.ZodString;
9286
- entityType: z.ZodObject<{
10860
+ name: z.ZodString;
10861
+ email: z.ZodString;
10862
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
10863
+ password: z.ZodString;
10864
+ address: z.ZodNullable<z.ZodString>;
10865
+ phone: z.ZodNullable<z.ZodString>;
10866
+ notificationCount: z.ZodNullable<z.ZodNumber>;
10867
+ roles: z.ZodArray<z.ZodObject<{
9287
10868
  id: z.ZodString;
9288
10869
  createdAt: z.ZodDate;
9289
10870
  updatedAt: z.ZodDate;
9290
10871
  deletedAt: z.ZodNullable<z.ZodDate>;
9291
- entity: z.ZodString;
10872
+ systemName: z.ZodString;
10873
+ displayName: z.ZodString;
9292
10874
  description: z.ZodNullable<z.ZodString>;
10875
+ permissions: z.ZodArray<z.ZodObject<{
10876
+ id: z.ZodString;
10877
+ createdAt: z.ZodDate;
10878
+ updatedAt: z.ZodDate;
10879
+ deletedAt: z.ZodNullable<z.ZodDate>;
10880
+ systemName: z.ZodString;
10881
+ displayName: z.ZodString;
10882
+ description: z.ZodNullable<z.ZodString>;
10883
+ }, "strip", z.ZodTypeAny, {
10884
+ id: string;
10885
+ description: string | null;
10886
+ createdAt: Date;
10887
+ updatedAt: Date;
10888
+ deletedAt: Date | null;
10889
+ systemName: string;
10890
+ displayName: string;
10891
+ }, {
10892
+ id: string;
10893
+ description: string | null;
10894
+ createdAt: Date;
10895
+ updatedAt: Date;
10896
+ deletedAt: Date | null;
10897
+ systemName: string;
10898
+ displayName: string;
10899
+ }>, "many">;
9293
10900
  }, "strip", z.ZodTypeAny, {
9294
10901
  id: string;
9295
10902
  description: string | null;
9296
10903
  createdAt: Date;
9297
10904
  updatedAt: Date;
9298
10905
  deletedAt: Date | null;
9299
- entity: string;
10906
+ systemName: string;
10907
+ displayName: string;
10908
+ permissions: {
10909
+ id: string;
10910
+ description: string | null;
10911
+ createdAt: Date;
10912
+ updatedAt: Date;
10913
+ deletedAt: Date | null;
10914
+ systemName: string;
10915
+ displayName: string;
10916
+ }[];
9300
10917
  }, {
9301
10918
  id: string;
9302
10919
  description: string | null;
9303
10920
  createdAt: Date;
9304
10921
  updatedAt: Date;
9305
10922
  deletedAt: Date | null;
9306
- entity: string;
10923
+ systemName: string;
10924
+ displayName: string;
10925
+ permissions: {
10926
+ id: string;
10927
+ description: string | null;
10928
+ createdAt: Date;
10929
+ updatedAt: Date;
10930
+ deletedAt: Date | null;
10931
+ systemName: string;
10932
+ displayName: string;
10933
+ }[];
10934
+ }>, "many">;
10935
+ extension: z.ZodObject<{
10936
+ id: z.ZodString;
10937
+ createdAt: z.ZodDate;
10938
+ updatedAt: z.ZodDate;
10939
+ deletedAt: z.ZodNullable<z.ZodDate>;
10940
+ userId: z.ZodNullable<z.ZodString>;
10941
+ sipServerUrl: z.ZodString;
10942
+ sipUserName: z.ZodString;
10943
+ webphoneLoginUser: z.ZodString;
10944
+ extensionId: z.ZodNullable<z.ZodString>;
10945
+ extensionName: z.ZodString;
10946
+ telephonySignature: z.ZodNullable<z.ZodString>;
10947
+ }, "strip", z.ZodTypeAny, {
10948
+ id: string;
10949
+ createdAt: Date;
10950
+ updatedAt: Date;
10951
+ deletedAt: Date | null;
10952
+ userId: string | null;
10953
+ sipServerUrl: string;
10954
+ sipUserName: string;
10955
+ webphoneLoginUser: string;
10956
+ extensionId: string | null;
10957
+ extensionName: string;
10958
+ telephonySignature: string | null;
10959
+ }, {
10960
+ id: string;
10961
+ createdAt: Date;
10962
+ updatedAt: Date;
10963
+ deletedAt: Date | null;
10964
+ userId: string | null;
10965
+ sipServerUrl: string;
10966
+ sipUserName: string;
10967
+ webphoneLoginUser: string;
10968
+ extensionId: string | null;
10969
+ extensionName: string;
10970
+ telephonySignature: string | null;
9307
10971
  }>;
9308
10972
  }, "strip", z.ZodTypeAny, {
9309
10973
  id: string;
9310
- description: string;
10974
+ address: string | null;
10975
+ name: string;
10976
+ email: string;
9311
10977
  createdAt: Date;
9312
10978
  updatedAt: Date;
9313
10979
  deletedAt: Date | null;
9314
- entityId: string;
9315
- entityType: {
10980
+ emailVerifiedAt: Date | null;
10981
+ password: string;
10982
+ phone: string | null;
10983
+ notificationCount: number | null;
10984
+ roles: {
9316
10985
  id: string;
9317
10986
  description: string | null;
9318
10987
  createdAt: Date;
9319
10988
  updatedAt: Date;
9320
10989
  deletedAt: Date | null;
9321
- entity: string;
9322
- };
9323
- }, {
9324
- id: string;
9325
- description: string;
9326
- createdAt: Date;
9327
- updatedAt: Date;
9328
- deletedAt: Date | null;
9329
- entityId: string;
9330
- entityType: {
10990
+ systemName: string;
10991
+ displayName: string;
10992
+ permissions: {
10993
+ id: string;
10994
+ description: string | null;
10995
+ createdAt: Date;
10996
+ updatedAt: Date;
10997
+ deletedAt: Date | null;
10998
+ systemName: string;
10999
+ displayName: string;
11000
+ }[];
11001
+ }[];
11002
+ extension: {
9331
11003
  id: string;
9332
- description: string | null;
9333
11004
  createdAt: Date;
9334
11005
  updatedAt: Date;
9335
11006
  deletedAt: Date | null;
9336
- entity: string;
11007
+ userId: string | null;
11008
+ sipServerUrl: string;
11009
+ sipUserName: string;
11010
+ webphoneLoginUser: string;
11011
+ extensionId: string | null;
11012
+ extensionName: string;
11013
+ telephonySignature: string | null;
9337
11014
  };
9338
- }>, "many">>;
9339
- }, "strip", z.ZodTypeAny, {
9340
- id: string;
9341
- channel: string | null;
9342
- address: string | null;
9343
- name: string;
9344
- createdAt: Date;
9345
- updatedAt: Date;
9346
- deletedAt: Date | null;
9347
- customFields: {
11015
+ }, {
9348
11016
  id: string;
11017
+ address: string | null;
11018
+ name: string;
11019
+ email: string;
9349
11020
  createdAt: Date;
9350
11021
  updatedAt: Date;
9351
11022
  deletedAt: Date | null;
9352
- attribute: {
9353
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
11023
+ emailVerifiedAt: Date | null;
11024
+ password: string;
11025
+ phone: string | null;
11026
+ notificationCount: number | null;
11027
+ roles: {
9354
11028
  id: string;
9355
- position: number;
11029
+ description: string | null;
9356
11030
  createdAt: Date;
9357
11031
  updatedAt: Date;
9358
11032
  deletedAt: Date | null;
9359
11033
  systemName: string;
9360
11034
  displayName: string;
9361
- isDefault: boolean;
9362
- isArchived: boolean;
9363
- isRequired: boolean;
9364
- isUnique: boolean;
9365
- };
9366
- textValue: string | null;
9367
- booleanValue: boolean | null;
9368
- numberValue: number | null;
9369
- dateValue: Date | null;
9370
- uploads: {
9371
- id: string;
9372
- createdAt: Date;
9373
- updatedAt: Date;
9374
- deletedAt: Date | null;
9375
- customFieldId: string;
9376
- upload: {
11035
+ permissions: {
9377
11036
  id: string;
11037
+ description: string | null;
9378
11038
  createdAt: Date;
9379
11039
  updatedAt: Date;
9380
11040
  deletedAt: Date | null;
9381
- fileName: string;
9382
- fileKey: string;
9383
- bucketName: string;
9384
- fileSize: number;
9385
- fileUrl: string | null;
9386
- status?: string | undefined;
9387
- };
11041
+ systemName: string;
11042
+ displayName: string;
11043
+ }[];
9388
11044
  }[];
9389
- }[];
9390
- notes: string | null;
9391
- contactProfile: string | null;
9392
- socialProfileUrl: string | null;
9393
- tags: {
9394
- id: string;
9395
- name: string;
9396
- createdAt: Date;
9397
- updatedAt: Date;
9398
- deletedAt: Date | null;
9399
- }[];
9400
- company: {
9401
- id: string;
9402
- createdAt: Date;
9403
- updatedAt: Date;
9404
- deletedAt: Date | null;
9405
- address?: string | null | undefined;
9406
- name?: string | undefined;
9407
- phone?: string | null | undefined;
9408
- industry?: string | null | undefined;
9409
- } | null;
9410
- contactEmails: {
9411
- id: string;
9412
- isPrimary: boolean;
9413
- email: string;
9414
- createdAt: Date;
9415
- updatedAt: Date;
9416
- deletedAt: Date | null;
9417
- }[];
9418
- contactPhones: {
11045
+ extension: {
11046
+ id: string;
11047
+ createdAt: Date;
11048
+ updatedAt: Date;
11049
+ deletedAt: Date | null;
11050
+ userId: string | null;
11051
+ sipServerUrl: string;
11052
+ sipUserName: string;
11053
+ webphoneLoginUser: string;
11054
+ extensionId: string | null;
11055
+ extensionName: string;
11056
+ telephonySignature: string | null;
11057
+ };
11058
+ }>;
11059
+ entityId: z.ZodString;
11060
+ description: z.ZodString;
11061
+ entityType: z.ZodObject<{
11062
+ id: z.ZodString;
11063
+ createdAt: z.ZodDate;
11064
+ updatedAt: z.ZodDate;
11065
+ deletedAt: z.ZodNullable<z.ZodDate>;
11066
+ entity: z.ZodString;
11067
+ description: z.ZodString;
11068
+ }, "strip", z.ZodTypeAny, {
9419
11069
  id: string;
9420
- isPrimary: boolean;
11070
+ description: string;
9421
11071
  createdAt: Date;
9422
11072
  updatedAt: Date;
9423
11073
  deletedAt: Date | null;
9424
- phone: string;
9425
- }[];
9426
- activityLogs?: {
11074
+ entity: string;
11075
+ }, {
9427
11076
  id: string;
9428
11077
  description: string;
9429
11078
  createdAt: Date;
9430
11079
  updatedAt: Date;
9431
11080
  deletedAt: Date | null;
9432
- entityId: string;
9433
- entityType: {
9434
- id: string;
9435
- description: string | null;
9436
- createdAt: Date;
9437
- updatedAt: Date;
9438
- deletedAt: Date | null;
9439
- entity: string;
9440
- };
9441
- }[] | undefined;
9442
- }, {
11081
+ entity: string;
11082
+ }>;
11083
+ }, "strip", z.ZodTypeAny, {
9443
11084
  id: string;
9444
- channel: string | null;
9445
- address: string | null;
9446
- name: string;
11085
+ description: string;
9447
11086
  createdAt: Date;
9448
11087
  updatedAt: Date;
9449
11088
  deletedAt: Date | null;
9450
- customFields: {
11089
+ actor: {
9451
11090
  id: string;
11091
+ address: string | null;
11092
+ name: string;
11093
+ email: string;
9452
11094
  createdAt: Date;
9453
11095
  updatedAt: Date;
9454
11096
  deletedAt: Date | null;
9455
- attribute: {
9456
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
11097
+ emailVerifiedAt: Date | null;
11098
+ password: string;
11099
+ phone: string | null;
11100
+ notificationCount: number | null;
11101
+ roles: {
9457
11102
  id: string;
9458
- position: number;
11103
+ description: string | null;
9459
11104
  createdAt: Date;
9460
11105
  updatedAt: Date;
9461
11106
  deletedAt: Date | null;
9462
11107
  systemName: string;
9463
11108
  displayName: string;
9464
- isDefault: boolean;
9465
- isArchived: boolean;
9466
- isRequired: boolean;
9467
- isUnique: boolean;
9468
- };
9469
- textValue: string | null;
9470
- booleanValue: boolean | null;
9471
- numberValue: number | null;
9472
- dateValue: Date | null;
9473
- uploads: {
9474
- id: string;
9475
- createdAt: Date;
9476
- updatedAt: Date;
9477
- deletedAt: Date | null;
9478
- customFieldId: string;
9479
- upload: {
11109
+ permissions: {
9480
11110
  id: string;
11111
+ description: string | null;
9481
11112
  createdAt: Date;
9482
11113
  updatedAt: Date;
9483
11114
  deletedAt: Date | null;
9484
- fileName: string;
9485
- fileKey: string;
9486
- bucketName: string;
9487
- fileSize: number;
9488
- fileUrl: string | null;
9489
- status?: string | undefined;
9490
- };
11115
+ systemName: string;
11116
+ displayName: string;
11117
+ }[];
9491
11118
  }[];
9492
- }[];
9493
- notes: string | null;
9494
- contactProfile: string | null;
9495
- socialProfileUrl: string | null;
9496
- tags: {
9497
- id: string;
9498
- name: string;
9499
- createdAt: Date;
9500
- updatedAt: Date;
9501
- deletedAt: Date | null;
9502
- }[];
9503
- company: {
11119
+ extension: {
11120
+ id: string;
11121
+ createdAt: Date;
11122
+ updatedAt: Date;
11123
+ deletedAt: Date | null;
11124
+ userId: string | null;
11125
+ sipServerUrl: string;
11126
+ sipUserName: string;
11127
+ webphoneLoginUser: string;
11128
+ extensionId: string | null;
11129
+ extensionName: string;
11130
+ telephonySignature: string | null;
11131
+ };
11132
+ };
11133
+ entityId: string;
11134
+ entityType: {
9504
11135
  id: string;
11136
+ description: string;
9505
11137
  createdAt: Date;
9506
11138
  updatedAt: Date;
9507
11139
  deletedAt: Date | null;
9508
- address?: string | null | undefined;
9509
- name?: string | undefined;
9510
- phone?: string | null | undefined;
9511
- industry?: string | null | undefined;
9512
- } | null;
9513
- contactEmails: {
11140
+ entity: string;
11141
+ };
11142
+ }, {
11143
+ id: string;
11144
+ description: string;
11145
+ createdAt: Date;
11146
+ updatedAt: Date;
11147
+ deletedAt: Date | null;
11148
+ actor: {
9514
11149
  id: string;
9515
- isPrimary: boolean;
11150
+ address: string | null;
11151
+ name: string;
9516
11152
  email: string;
9517
11153
  createdAt: Date;
9518
11154
  updatedAt: Date;
9519
11155
  deletedAt: Date | null;
9520
- }[];
9521
- contactPhones: {
9522
- id: string;
9523
- isPrimary: boolean;
9524
- createdAt: Date;
9525
- updatedAt: Date;
9526
- deletedAt: Date | null;
9527
- phone: string;
9528
- }[];
9529
- activityLogs?: {
9530
- id: string;
9531
- description: string;
9532
- createdAt: Date;
9533
- updatedAt: Date;
9534
- deletedAt: Date | null;
9535
- entityId: string;
9536
- entityType: {
11156
+ emailVerifiedAt: Date | null;
11157
+ password: string;
11158
+ phone: string | null;
11159
+ notificationCount: number | null;
11160
+ roles: {
9537
11161
  id: string;
9538
11162
  description: string | null;
9539
11163
  createdAt: Date;
9540
11164
  updatedAt: Date;
9541
11165
  deletedAt: Date | null;
9542
- entity: string;
11166
+ systemName: string;
11167
+ displayName: string;
11168
+ permissions: {
11169
+ id: string;
11170
+ description: string | null;
11171
+ createdAt: Date;
11172
+ updatedAt: Date;
11173
+ deletedAt: Date | null;
11174
+ systemName: string;
11175
+ displayName: string;
11176
+ }[];
11177
+ }[];
11178
+ extension: {
11179
+ id: string;
11180
+ createdAt: Date;
11181
+ updatedAt: Date;
11182
+ deletedAt: Date | null;
11183
+ userId: string | null;
11184
+ sipServerUrl: string;
11185
+ sipUserName: string;
11186
+ webphoneLoginUser: string;
11187
+ extensionId: string | null;
11188
+ extensionName: string;
11189
+ telephonySignature: string | null;
9543
11190
  };
9544
- }[] | undefined;
9545
- }>;
11191
+ };
11192
+ entityId: string;
11193
+ entityType: {
11194
+ id: string;
11195
+ description: string;
11196
+ createdAt: Date;
11197
+ updatedAt: Date;
11198
+ deletedAt: Date | null;
11199
+ entity: string;
11200
+ };
11201
+ }>, "many">;
9546
11202
  }, "strip", z.ZodTypeAny, {
9547
11203
  type: string;
9548
11204
  id: string;
@@ -9627,16 +11283,6 @@ export declare const commentContract: {
9627
11283
  };
9628
11284
  }[];
9629
11285
  }[];
9630
- notes: string | null;
9631
- contactProfile: string | null;
9632
- socialProfileUrl: string | null;
9633
- tags: {
9634
- id: string;
9635
- name: string;
9636
- createdAt: Date;
9637
- updatedAt: Date;
9638
- deletedAt: Date | null;
9639
- }[];
9640
11286
  company: {
9641
11287
  id: string;
9642
11288
  createdAt: Date;
@@ -9647,6 +11293,16 @@ export declare const commentContract: {
9647
11293
  phone?: string | null | undefined;
9648
11294
  industry?: string | null | undefined;
9649
11295
  } | null;
11296
+ notes: string | null;
11297
+ contactProfile: string | null;
11298
+ socialProfileUrl: string | null;
11299
+ tags: {
11300
+ id: string;
11301
+ name: string;
11302
+ createdAt: Date;
11303
+ updatedAt: Date;
11304
+ deletedAt: Date | null;
11305
+ }[];
9650
11306
  contactEmails: {
9651
11307
  id: string;
9652
11308
  isPrimary: boolean;
@@ -9723,6 +11379,66 @@ export declare const commentContract: {
9723
11379
  updatedAt: Date;
9724
11380
  deletedAt: Date | null;
9725
11381
  }[];
11382
+ activityLogs: {
11383
+ id: string;
11384
+ description: string;
11385
+ createdAt: Date;
11386
+ updatedAt: Date;
11387
+ deletedAt: Date | null;
11388
+ actor: {
11389
+ id: string;
11390
+ address: string | null;
11391
+ name: string;
11392
+ email: string;
11393
+ createdAt: Date;
11394
+ updatedAt: Date;
11395
+ deletedAt: Date | null;
11396
+ emailVerifiedAt: Date | null;
11397
+ password: string;
11398
+ phone: string | null;
11399
+ notificationCount: number | null;
11400
+ roles: {
11401
+ id: string;
11402
+ description: string | null;
11403
+ createdAt: Date;
11404
+ updatedAt: Date;
11405
+ deletedAt: Date | null;
11406
+ systemName: string;
11407
+ displayName: string;
11408
+ permissions: {
11409
+ id: string;
11410
+ description: string | null;
11411
+ createdAt: Date;
11412
+ updatedAt: Date;
11413
+ deletedAt: Date | null;
11414
+ systemName: string;
11415
+ displayName: string;
11416
+ }[];
11417
+ }[];
11418
+ extension: {
11419
+ id: string;
11420
+ createdAt: Date;
11421
+ updatedAt: Date;
11422
+ deletedAt: Date | null;
11423
+ userId: string | null;
11424
+ sipServerUrl: string;
11425
+ sipUserName: string;
11426
+ webphoneLoginUser: string;
11427
+ extensionId: string | null;
11428
+ extensionName: string;
11429
+ telephonySignature: string | null;
11430
+ };
11431
+ };
11432
+ entityId: string;
11433
+ entityType: {
11434
+ id: string;
11435
+ description: string;
11436
+ createdAt: Date;
11437
+ updatedAt: Date;
11438
+ deletedAt: Date | null;
11439
+ entity: string;
11440
+ };
11441
+ }[];
9726
11442
  contactId: string;
9727
11443
  assigneeId: string;
9728
11444
  creatorId: string;
@@ -9900,16 +11616,6 @@ export declare const commentContract: {
9900
11616
  };
9901
11617
  }[];
9902
11618
  }[];
9903
- notes: string | null;
9904
- contactProfile: string | null;
9905
- socialProfileUrl: string | null;
9906
- tags: {
9907
- id: string;
9908
- name: string;
9909
- createdAt: Date;
9910
- updatedAt: Date;
9911
- deletedAt: Date | null;
9912
- }[];
9913
11619
  company: {
9914
11620
  id: string;
9915
11621
  createdAt: Date;
@@ -9920,6 +11626,16 @@ export declare const commentContract: {
9920
11626
  phone?: string | null | undefined;
9921
11627
  industry?: string | null | undefined;
9922
11628
  } | null;
11629
+ notes: string | null;
11630
+ contactProfile: string | null;
11631
+ socialProfileUrl: string | null;
11632
+ tags: {
11633
+ id: string;
11634
+ name: string;
11635
+ createdAt: Date;
11636
+ updatedAt: Date;
11637
+ deletedAt: Date | null;
11638
+ }[];
9923
11639
  contactEmails: {
9924
11640
  id: string;
9925
11641
  isPrimary: boolean;
@@ -9996,6 +11712,66 @@ export declare const commentContract: {
9996
11712
  updatedAt: Date;
9997
11713
  deletedAt: Date | null;
9998
11714
  }[];
11715
+ activityLogs: {
11716
+ id: string;
11717
+ description: string;
11718
+ createdAt: Date;
11719
+ updatedAt: Date;
11720
+ deletedAt: Date | null;
11721
+ actor: {
11722
+ id: string;
11723
+ address: string | null;
11724
+ name: string;
11725
+ email: string;
11726
+ createdAt: Date;
11727
+ updatedAt: Date;
11728
+ deletedAt: Date | null;
11729
+ emailVerifiedAt: Date | null;
11730
+ password: string;
11731
+ phone: string | null;
11732
+ notificationCount: number | null;
11733
+ roles: {
11734
+ id: string;
11735
+ description: string | null;
11736
+ createdAt: Date;
11737
+ updatedAt: Date;
11738
+ deletedAt: Date | null;
11739
+ systemName: string;
11740
+ displayName: string;
11741
+ permissions: {
11742
+ id: string;
11743
+ description: string | null;
11744
+ createdAt: Date;
11745
+ updatedAt: Date;
11746
+ deletedAt: Date | null;
11747
+ systemName: string;
11748
+ displayName: string;
11749
+ }[];
11750
+ }[];
11751
+ extension: {
11752
+ id: string;
11753
+ createdAt: Date;
11754
+ updatedAt: Date;
11755
+ deletedAt: Date | null;
11756
+ userId: string | null;
11757
+ sipServerUrl: string;
11758
+ sipUserName: string;
11759
+ webphoneLoginUser: string;
11760
+ extensionId: string | null;
11761
+ extensionName: string;
11762
+ telephonySignature: string | null;
11763
+ };
11764
+ };
11765
+ entityId: string;
11766
+ entityType: {
11767
+ id: string;
11768
+ description: string;
11769
+ createdAt: Date;
11770
+ updatedAt: Date;
11771
+ deletedAt: Date | null;
11772
+ entity: string;
11773
+ };
11774
+ }[];
9999
11775
  contactId: string;
10000
11776
  assigneeId: string;
10001
11777
  creatorId: string;
@@ -10299,112 +12075,6 @@ export declare const commentContract: {
10299
12075
  createdAt: Date;
10300
12076
  updatedAt: Date;
10301
12077
  deletedAt: Date | null;
10302
- activityLogs: {
10303
- id: string;
10304
- description: string;
10305
- createdAt: Date;
10306
- updatedAt: Date;
10307
- deletedAt: Date | null;
10308
- actor: {
10309
- id: string;
10310
- address: string | null;
10311
- name: string;
10312
- email: string;
10313
- createdAt: Date;
10314
- updatedAt: Date;
10315
- deletedAt: Date | null;
10316
- emailVerifiedAt: Date | null;
10317
- password: string;
10318
- phone: string | null;
10319
- notificationCount: number | null;
10320
- roles: {
10321
- id: string;
10322
- description: string | null;
10323
- createdAt: Date;
10324
- updatedAt: Date;
10325
- deletedAt: Date | null;
10326
- systemName: string;
10327
- displayName: string;
10328
- permissions: {
10329
- id: string;
10330
- description: string | null;
10331
- createdAt: Date;
10332
- updatedAt: Date;
10333
- deletedAt: Date | null;
10334
- systemName: string;
10335
- displayName: string;
10336
- }[];
10337
- }[];
10338
- extension: {
10339
- id: string;
10340
- createdAt: Date;
10341
- updatedAt: Date;
10342
- deletedAt: Date | null;
10343
- userId: string | null;
10344
- sipServerUrl: string;
10345
- sipUserName: string;
10346
- webphoneLoginUser: string;
10347
- extensionId: string | null;
10348
- extensionName: string;
10349
- telephonySignature: string | null;
10350
- };
10351
- };
10352
- entityId: string;
10353
- entityType: {
10354
- id: string;
10355
- description: string;
10356
- createdAt: Date;
10357
- updatedAt: Date;
10358
- deletedAt: Date | null;
10359
- entity: string;
10360
- };
10361
- }[];
10362
- agent: {
10363
- id: string;
10364
- address: string | null;
10365
- name: string;
10366
- email: string;
10367
- createdAt: Date;
10368
- updatedAt: Date;
10369
- deletedAt: Date | null;
10370
- emailVerifiedAt: Date | null;
10371
- password: string;
10372
- phone: string | null;
10373
- notificationCount: number | null;
10374
- roles: {
10375
- id: string;
10376
- description: string | null;
10377
- createdAt: Date;
10378
- updatedAt: Date;
10379
- deletedAt: Date | null;
10380
- systemName: string;
10381
- displayName: string;
10382
- permissions: {
10383
- id: string;
10384
- description: string | null;
10385
- createdAt: Date;
10386
- updatedAt: Date;
10387
- deletedAt: Date | null;
10388
- systemName: string;
10389
- displayName: string;
10390
- }[];
10391
- }[];
10392
- extension: {
10393
- id: string;
10394
- createdAt: Date;
10395
- updatedAt: Date;
10396
- deletedAt: Date | null;
10397
- userId: string | null;
10398
- sipServerUrl: string;
10399
- sipUserName: string;
10400
- webphoneLoginUser: string;
10401
- extensionId: string | null;
10402
- extensionName: string;
10403
- telephonySignature: string | null;
10404
- };
10405
- };
10406
- comment: string;
10407
- mentions: string[];
10408
12078
  ticket: {
10409
12079
  type: string;
10410
12080
  id: string;
@@ -10489,16 +12159,6 @@ export declare const commentContract: {
10489
12159
  };
10490
12160
  }[];
10491
12161
  }[];
10492
- notes: string | null;
10493
- contactProfile: string | null;
10494
- socialProfileUrl: string | null;
10495
- tags: {
10496
- id: string;
10497
- name: string;
10498
- createdAt: Date;
10499
- updatedAt: Date;
10500
- deletedAt: Date | null;
10501
- }[];
10502
12162
  company: {
10503
12163
  id: string;
10504
12164
  createdAt: Date;
@@ -10509,6 +12169,16 @@ export declare const commentContract: {
10509
12169
  phone?: string | null | undefined;
10510
12170
  industry?: string | null | undefined;
10511
12171
  } | null;
12172
+ notes: string | null;
12173
+ contactProfile: string | null;
12174
+ socialProfileUrl: string | null;
12175
+ tags: {
12176
+ id: string;
12177
+ name: string;
12178
+ createdAt: Date;
12179
+ updatedAt: Date;
12180
+ deletedAt: Date | null;
12181
+ }[];
10512
12182
  contactEmails: {
10513
12183
  id: string;
10514
12184
  isPrimary: boolean;
@@ -10585,6 +12255,66 @@ export declare const commentContract: {
10585
12255
  updatedAt: Date;
10586
12256
  deletedAt: Date | null;
10587
12257
  }[];
12258
+ activityLogs: {
12259
+ id: string;
12260
+ description: string;
12261
+ createdAt: Date;
12262
+ updatedAt: Date;
12263
+ deletedAt: Date | null;
12264
+ actor: {
12265
+ id: string;
12266
+ address: string | null;
12267
+ name: string;
12268
+ email: string;
12269
+ createdAt: Date;
12270
+ updatedAt: Date;
12271
+ deletedAt: Date | null;
12272
+ emailVerifiedAt: Date | null;
12273
+ password: string;
12274
+ phone: string | null;
12275
+ notificationCount: number | null;
12276
+ roles: {
12277
+ id: string;
12278
+ description: string | null;
12279
+ createdAt: Date;
12280
+ updatedAt: Date;
12281
+ deletedAt: Date | null;
12282
+ systemName: string;
12283
+ displayName: string;
12284
+ permissions: {
12285
+ id: string;
12286
+ description: string | null;
12287
+ createdAt: Date;
12288
+ updatedAt: Date;
12289
+ deletedAt: Date | null;
12290
+ systemName: string;
12291
+ displayName: string;
12292
+ }[];
12293
+ }[];
12294
+ extension: {
12295
+ id: string;
12296
+ createdAt: Date;
12297
+ updatedAt: Date;
12298
+ deletedAt: Date | null;
12299
+ userId: string | null;
12300
+ sipServerUrl: string;
12301
+ sipUserName: string;
12302
+ webphoneLoginUser: string;
12303
+ extensionId: string | null;
12304
+ extensionName: string;
12305
+ telephonySignature: string | null;
12306
+ };
12307
+ };
12308
+ entityId: string;
12309
+ entityType: {
12310
+ id: string;
12311
+ description: string;
12312
+ createdAt: Date;
12313
+ updatedAt: Date;
12314
+ deletedAt: Date | null;
12315
+ entity: string;
12316
+ };
12317
+ }[];
10588
12318
  contactId: string;
10589
12319
  assigneeId: string;
10590
12320
  creatorId: string;
@@ -10679,11 +12409,6 @@ export declare const commentContract: {
10679
12409
  } | null | undefined;
10680
12410
  ticketNumber?: number | undefined;
10681
12411
  };
10682
- }, {
10683
- id: string;
10684
- createdAt: Date;
10685
- updatedAt: Date;
10686
- deletedAt: Date | null;
10687
12412
  activityLogs: {
10688
12413
  id: string;
10689
12414
  description: string;
@@ -10790,6 +12515,11 @@ export declare const commentContract: {
10790
12515
  };
10791
12516
  comment: string;
10792
12517
  mentions: string[];
12518
+ }, {
12519
+ id: string;
12520
+ createdAt: Date;
12521
+ updatedAt: Date;
12522
+ deletedAt: Date | null;
10793
12523
  ticket: {
10794
12524
  type: string;
10795
12525
  id: string;
@@ -10874,16 +12604,6 @@ export declare const commentContract: {
10874
12604
  };
10875
12605
  }[];
10876
12606
  }[];
10877
- notes: string | null;
10878
- contactProfile: string | null;
10879
- socialProfileUrl: string | null;
10880
- tags: {
10881
- id: string;
10882
- name: string;
10883
- createdAt: Date;
10884
- updatedAt: Date;
10885
- deletedAt: Date | null;
10886
- }[];
10887
12607
  company: {
10888
12608
  id: string;
10889
12609
  createdAt: Date;
@@ -10894,6 +12614,16 @@ export declare const commentContract: {
10894
12614
  phone?: string | null | undefined;
10895
12615
  industry?: string | null | undefined;
10896
12616
  } | null;
12617
+ notes: string | null;
12618
+ contactProfile: string | null;
12619
+ socialProfileUrl: string | null;
12620
+ tags: {
12621
+ id: string;
12622
+ name: string;
12623
+ createdAt: Date;
12624
+ updatedAt: Date;
12625
+ deletedAt: Date | null;
12626
+ }[];
10897
12627
  contactEmails: {
10898
12628
  id: string;
10899
12629
  isPrimary: boolean;
@@ -10970,6 +12700,66 @@ export declare const commentContract: {
10970
12700
  updatedAt: Date;
10971
12701
  deletedAt: Date | null;
10972
12702
  }[];
12703
+ activityLogs: {
12704
+ id: string;
12705
+ description: string;
12706
+ createdAt: Date;
12707
+ updatedAt: Date;
12708
+ deletedAt: Date | null;
12709
+ actor: {
12710
+ id: string;
12711
+ address: string | null;
12712
+ name: string;
12713
+ email: string;
12714
+ createdAt: Date;
12715
+ updatedAt: Date;
12716
+ deletedAt: Date | null;
12717
+ emailVerifiedAt: Date | null;
12718
+ password: string;
12719
+ phone: string | null;
12720
+ notificationCount: number | null;
12721
+ roles: {
12722
+ id: string;
12723
+ description: string | null;
12724
+ createdAt: Date;
12725
+ updatedAt: Date;
12726
+ deletedAt: Date | null;
12727
+ systemName: string;
12728
+ displayName: string;
12729
+ permissions: {
12730
+ id: string;
12731
+ description: string | null;
12732
+ createdAt: Date;
12733
+ updatedAt: Date;
12734
+ deletedAt: Date | null;
12735
+ systemName: string;
12736
+ displayName: string;
12737
+ }[];
12738
+ }[];
12739
+ extension: {
12740
+ id: string;
12741
+ createdAt: Date;
12742
+ updatedAt: Date;
12743
+ deletedAt: Date | null;
12744
+ userId: string | null;
12745
+ sipServerUrl: string;
12746
+ sipUserName: string;
12747
+ webphoneLoginUser: string;
12748
+ extensionId: string | null;
12749
+ extensionName: string;
12750
+ telephonySignature: string | null;
12751
+ };
12752
+ };
12753
+ entityId: string;
12754
+ entityType: {
12755
+ id: string;
12756
+ description: string;
12757
+ createdAt: Date;
12758
+ updatedAt: Date;
12759
+ deletedAt: Date | null;
12760
+ entity: string;
12761
+ };
12762
+ }[];
10973
12763
  contactId: string;
10974
12764
  assigneeId: string;
10975
12765
  creatorId: string;
@@ -11060,18 +12850,10 @@ export declare const commentContract: {
11060
12850
  extensionId: string | null;
11061
12851
  extensionName: string;
11062
12852
  telephonySignature: string | null;
11063
- };
11064
- } | null | undefined;
11065
- ticketNumber?: number | undefined;
11066
- };
11067
- }>;
11068
- }, "strip", z.ZodTypeAny, {
11069
- requestId: string;
11070
- comment: {
11071
- id: string;
11072
- createdAt: Date;
11073
- updatedAt: Date;
11074
- deletedAt: Date | null;
12853
+ };
12854
+ } | null | undefined;
12855
+ ticketNumber?: number | undefined;
12856
+ };
11075
12857
  activityLogs: {
11076
12858
  id: string;
11077
12859
  description: string;
@@ -11178,6 +12960,14 @@ export declare const commentContract: {
11178
12960
  };
11179
12961
  comment: string;
11180
12962
  mentions: string[];
12963
+ }>;
12964
+ }, "strip", z.ZodTypeAny, {
12965
+ requestId: string;
12966
+ comment: {
12967
+ id: string;
12968
+ createdAt: Date;
12969
+ updatedAt: Date;
12970
+ deletedAt: Date | null;
11181
12971
  ticket: {
11182
12972
  type: string;
11183
12973
  id: string;
@@ -11262,16 +13052,6 @@ export declare const commentContract: {
11262
13052
  };
11263
13053
  }[];
11264
13054
  }[];
11265
- notes: string | null;
11266
- contactProfile: string | null;
11267
- socialProfileUrl: string | null;
11268
- tags: {
11269
- id: string;
11270
- name: string;
11271
- createdAt: Date;
11272
- updatedAt: Date;
11273
- deletedAt: Date | null;
11274
- }[];
11275
13055
  company: {
11276
13056
  id: string;
11277
13057
  createdAt: Date;
@@ -11282,6 +13062,16 @@ export declare const commentContract: {
11282
13062
  phone?: string | null | undefined;
11283
13063
  industry?: string | null | undefined;
11284
13064
  } | null;
13065
+ notes: string | null;
13066
+ contactProfile: string | null;
13067
+ socialProfileUrl: string | null;
13068
+ tags: {
13069
+ id: string;
13070
+ name: string;
13071
+ createdAt: Date;
13072
+ updatedAt: Date;
13073
+ deletedAt: Date | null;
13074
+ }[];
11285
13075
  contactEmails: {
11286
13076
  id: string;
11287
13077
  isPrimary: boolean;
@@ -11358,6 +13148,66 @@ export declare const commentContract: {
11358
13148
  updatedAt: Date;
11359
13149
  deletedAt: Date | null;
11360
13150
  }[];
13151
+ activityLogs: {
13152
+ id: string;
13153
+ description: string;
13154
+ createdAt: Date;
13155
+ updatedAt: Date;
13156
+ deletedAt: Date | null;
13157
+ actor: {
13158
+ id: string;
13159
+ address: string | null;
13160
+ name: string;
13161
+ email: string;
13162
+ createdAt: Date;
13163
+ updatedAt: Date;
13164
+ deletedAt: Date | null;
13165
+ emailVerifiedAt: Date | null;
13166
+ password: string;
13167
+ phone: string | null;
13168
+ notificationCount: number | null;
13169
+ roles: {
13170
+ id: string;
13171
+ description: string | null;
13172
+ createdAt: Date;
13173
+ updatedAt: Date;
13174
+ deletedAt: Date | null;
13175
+ systemName: string;
13176
+ displayName: string;
13177
+ permissions: {
13178
+ id: string;
13179
+ description: string | null;
13180
+ createdAt: Date;
13181
+ updatedAt: Date;
13182
+ deletedAt: Date | null;
13183
+ systemName: string;
13184
+ displayName: string;
13185
+ }[];
13186
+ }[];
13187
+ extension: {
13188
+ id: string;
13189
+ createdAt: Date;
13190
+ updatedAt: Date;
13191
+ deletedAt: Date | null;
13192
+ userId: string | null;
13193
+ sipServerUrl: string;
13194
+ sipUserName: string;
13195
+ webphoneLoginUser: string;
13196
+ extensionId: string | null;
13197
+ extensionName: string;
13198
+ telephonySignature: string | null;
13199
+ };
13200
+ };
13201
+ entityId: string;
13202
+ entityType: {
13203
+ id: string;
13204
+ description: string;
13205
+ createdAt: Date;
13206
+ updatedAt: Date;
13207
+ deletedAt: Date | null;
13208
+ entity: string;
13209
+ };
13210
+ }[];
11361
13211
  contactId: string;
11362
13212
  assigneeId: string;
11363
13213
  creatorId: string;
@@ -11452,14 +13302,6 @@ export declare const commentContract: {
11452
13302
  } | null | undefined;
11453
13303
  ticketNumber?: number | undefined;
11454
13304
  };
11455
- };
11456
- }, {
11457
- requestId: string;
11458
- comment: {
11459
- id: string;
11460
- createdAt: Date;
11461
- updatedAt: Date;
11462
- deletedAt: Date | null;
11463
13305
  activityLogs: {
11464
13306
  id: string;
11465
13307
  description: string;
@@ -11566,6 +13408,14 @@ export declare const commentContract: {
11566
13408
  };
11567
13409
  comment: string;
11568
13410
  mentions: string[];
13411
+ };
13412
+ }, {
13413
+ requestId: string;
13414
+ comment: {
13415
+ id: string;
13416
+ createdAt: Date;
13417
+ updatedAt: Date;
13418
+ deletedAt: Date | null;
11569
13419
  ticket: {
11570
13420
  type: string;
11571
13421
  id: string;
@@ -11650,16 +13500,6 @@ export declare const commentContract: {
11650
13500
  };
11651
13501
  }[];
11652
13502
  }[];
11653
- notes: string | null;
11654
- contactProfile: string | null;
11655
- socialProfileUrl: string | null;
11656
- tags: {
11657
- id: string;
11658
- name: string;
11659
- createdAt: Date;
11660
- updatedAt: Date;
11661
- deletedAt: Date | null;
11662
- }[];
11663
13503
  company: {
11664
13504
  id: string;
11665
13505
  createdAt: Date;
@@ -11670,6 +13510,16 @@ export declare const commentContract: {
11670
13510
  phone?: string | null | undefined;
11671
13511
  industry?: string | null | undefined;
11672
13512
  } | null;
13513
+ notes: string | null;
13514
+ contactProfile: string | null;
13515
+ socialProfileUrl: string | null;
13516
+ tags: {
13517
+ id: string;
13518
+ name: string;
13519
+ createdAt: Date;
13520
+ updatedAt: Date;
13521
+ deletedAt: Date | null;
13522
+ }[];
11673
13523
  contactEmails: {
11674
13524
  id: string;
11675
13525
  isPrimary: boolean;
@@ -11746,6 +13596,66 @@ export declare const commentContract: {
11746
13596
  updatedAt: Date;
11747
13597
  deletedAt: Date | null;
11748
13598
  }[];
13599
+ activityLogs: {
13600
+ id: string;
13601
+ description: string;
13602
+ createdAt: Date;
13603
+ updatedAt: Date;
13604
+ deletedAt: Date | null;
13605
+ actor: {
13606
+ id: string;
13607
+ address: string | null;
13608
+ name: string;
13609
+ email: string;
13610
+ createdAt: Date;
13611
+ updatedAt: Date;
13612
+ deletedAt: Date | null;
13613
+ emailVerifiedAt: Date | null;
13614
+ password: string;
13615
+ phone: string | null;
13616
+ notificationCount: number | null;
13617
+ roles: {
13618
+ id: string;
13619
+ description: string | null;
13620
+ createdAt: Date;
13621
+ updatedAt: Date;
13622
+ deletedAt: Date | null;
13623
+ systemName: string;
13624
+ displayName: string;
13625
+ permissions: {
13626
+ id: string;
13627
+ description: string | null;
13628
+ createdAt: Date;
13629
+ updatedAt: Date;
13630
+ deletedAt: Date | null;
13631
+ systemName: string;
13632
+ displayName: string;
13633
+ }[];
13634
+ }[];
13635
+ extension: {
13636
+ id: string;
13637
+ createdAt: Date;
13638
+ updatedAt: Date;
13639
+ deletedAt: Date | null;
13640
+ userId: string | null;
13641
+ sipServerUrl: string;
13642
+ sipUserName: string;
13643
+ webphoneLoginUser: string;
13644
+ extensionId: string | null;
13645
+ extensionName: string;
13646
+ telephonySignature: string | null;
13647
+ };
13648
+ };
13649
+ entityId: string;
13650
+ entityType: {
13651
+ id: string;
13652
+ description: string;
13653
+ createdAt: Date;
13654
+ updatedAt: Date;
13655
+ deletedAt: Date | null;
13656
+ entity: string;
13657
+ };
13658
+ }[];
11749
13659
  contactId: string;
11750
13660
  assigneeId: string;
11751
13661
  creatorId: string;
@@ -11840,6 +13750,112 @@ export declare const commentContract: {
11840
13750
  } | null | undefined;
11841
13751
  ticketNumber?: number | undefined;
11842
13752
  };
13753
+ activityLogs: {
13754
+ id: string;
13755
+ description: string;
13756
+ createdAt: Date;
13757
+ updatedAt: Date;
13758
+ deletedAt: Date | null;
13759
+ actor: {
13760
+ id: string;
13761
+ address: string | null;
13762
+ name: string;
13763
+ email: string;
13764
+ createdAt: Date;
13765
+ updatedAt: Date;
13766
+ deletedAt: Date | null;
13767
+ emailVerifiedAt: Date | null;
13768
+ password: string;
13769
+ phone: string | null;
13770
+ notificationCount: number | null;
13771
+ roles: {
13772
+ id: string;
13773
+ description: string | null;
13774
+ createdAt: Date;
13775
+ updatedAt: Date;
13776
+ deletedAt: Date | null;
13777
+ systemName: string;
13778
+ displayName: string;
13779
+ permissions: {
13780
+ id: string;
13781
+ description: string | null;
13782
+ createdAt: Date;
13783
+ updatedAt: Date;
13784
+ deletedAt: Date | null;
13785
+ systemName: string;
13786
+ displayName: string;
13787
+ }[];
13788
+ }[];
13789
+ extension: {
13790
+ id: string;
13791
+ createdAt: Date;
13792
+ updatedAt: Date;
13793
+ deletedAt: Date | null;
13794
+ userId: string | null;
13795
+ sipServerUrl: string;
13796
+ sipUserName: string;
13797
+ webphoneLoginUser: string;
13798
+ extensionId: string | null;
13799
+ extensionName: string;
13800
+ telephonySignature: string | null;
13801
+ };
13802
+ };
13803
+ entityId: string;
13804
+ entityType: {
13805
+ id: string;
13806
+ description: string;
13807
+ createdAt: Date;
13808
+ updatedAt: Date;
13809
+ deletedAt: Date | null;
13810
+ entity: string;
13811
+ };
13812
+ }[];
13813
+ agent: {
13814
+ id: string;
13815
+ address: string | null;
13816
+ name: string;
13817
+ email: string;
13818
+ createdAt: Date;
13819
+ updatedAt: Date;
13820
+ deletedAt: Date | null;
13821
+ emailVerifiedAt: Date | null;
13822
+ password: string;
13823
+ phone: string | null;
13824
+ notificationCount: number | null;
13825
+ roles: {
13826
+ id: string;
13827
+ description: string | null;
13828
+ createdAt: Date;
13829
+ updatedAt: Date;
13830
+ deletedAt: Date | null;
13831
+ systemName: string;
13832
+ displayName: string;
13833
+ permissions: {
13834
+ id: string;
13835
+ description: string | null;
13836
+ createdAt: Date;
13837
+ updatedAt: Date;
13838
+ deletedAt: Date | null;
13839
+ systemName: string;
13840
+ displayName: string;
13841
+ }[];
13842
+ }[];
13843
+ extension: {
13844
+ id: string;
13845
+ createdAt: Date;
13846
+ updatedAt: Date;
13847
+ deletedAt: Date | null;
13848
+ userId: string | null;
13849
+ sipServerUrl: string;
13850
+ sipUserName: string;
13851
+ webphoneLoginUser: string;
13852
+ extensionId: string | null;
13853
+ extensionName: string;
13854
+ telephonySignature: string | null;
13855
+ };
13856
+ };
13857
+ comment: string;
13858
+ mentions: string[];
11843
13859
  };
11844
13860
  }>;
11845
13861
  500: z.ZodObject<{