@kl1/contracts 1.0.53 → 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 (40) hide show
  1. package/dist/index.js +89 -10
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +88 -10
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +1058 -1058
  6. package/dist/src/chat/schema.d.ts +180 -180
  7. package/dist/src/chat/validation.d.ts +130 -130
  8. package/dist/src/comment/index.d.ts +3026 -1010
  9. package/dist/src/comment/index.d.ts.map +1 -1
  10. package/dist/src/comment/schema.d.ts +780 -188
  11. package/dist/src/comment/schema.d.ts.map +1 -1
  12. package/dist/src/contact/index.d.ts +296 -296
  13. package/dist/src/contact/schema.d.ts +20 -20
  14. package/dist/src/contact/validation.d.ts +150 -150
  15. package/dist/src/contract.d.ts +8509 -3213
  16. package/dist/src/contract.d.ts.map +1 -1
  17. package/dist/src/cx-log/index.d.ts +240 -240
  18. package/dist/src/cx-log/schema.d.ts +180 -180
  19. package/dist/src/index.d.ts +1 -0
  20. package/dist/src/index.d.ts.map +1 -1
  21. package/dist/src/instagram/index.d.ts +100 -100
  22. package/dist/src/messenger/index.d.ts +100 -100
  23. package/dist/src/telephony-cdr/index.d.ts +180 -180
  24. package/dist/src/telephony-cdr/schema.d.ts +40 -40
  25. package/dist/src/ticket/index.d.ts +4128 -1040
  26. package/dist/src/ticket/index.d.ts.map +1 -1
  27. package/dist/src/ticket/schema.d.ts +512 -40
  28. package/dist/src/ticket/schema.d.ts.map +1 -1
  29. package/dist/src/{mail/mail-server.d.ts → upload/index.d.ts} +72 -91
  30. package/dist/src/upload/index.d.ts.map +1 -0
  31. package/dist/src/upload/schema.d.ts +14 -0
  32. package/dist/src/upload/schema.d.ts.map +1 -1
  33. package/dist/src/upload/validation.d.ts +2 -0
  34. package/dist/src/upload/validation.d.ts.map +1 -0
  35. package/package.json +1 -1
  36. package/dist/src/app/index.d.ts +0 -17
  37. package/dist/src/app/index.d.ts.map +0 -1
  38. package/dist/src/mail/mail-server.d.ts.map +0 -1
  39. package/dist/src/platform-contact/schema.d.ts +0 -30
  40. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -1698,16 +1698,6 @@ export declare const CommentSchema: z.ZodObject<{
1698
1698
  };
1699
1699
  }[];
1700
1700
  }[];
1701
- notes: string | null;
1702
- contactProfile: string | null;
1703
- socialProfileUrl: string | null;
1704
- tags: {
1705
- id: string;
1706
- name: string;
1707
- createdAt: Date;
1708
- updatedAt: Date;
1709
- deletedAt: Date | null;
1710
- }[];
1711
1701
  company: {
1712
1702
  id: string;
1713
1703
  createdAt: Date;
@@ -1718,6 +1708,16 @@ export declare const CommentSchema: z.ZodObject<{
1718
1708
  phone?: string | null | undefined;
1719
1709
  industry?: string | null | undefined;
1720
1710
  } | null;
1711
+ notes: string | null;
1712
+ contactProfile: string | null;
1713
+ socialProfileUrl: string | null;
1714
+ tags: {
1715
+ id: string;
1716
+ name: string;
1717
+ createdAt: Date;
1718
+ updatedAt: Date;
1719
+ deletedAt: Date | null;
1720
+ }[];
1721
1721
  contactEmails: {
1722
1722
  id: string;
1723
1723
  isPrimary: boolean;
@@ -1801,16 +1801,6 @@ export declare const CommentSchema: z.ZodObject<{
1801
1801
  };
1802
1802
  }[];
1803
1803
  }[];
1804
- notes: string | null;
1805
- contactProfile: string | null;
1806
- socialProfileUrl: string | null;
1807
- tags: {
1808
- id: string;
1809
- name: string;
1810
- createdAt: Date;
1811
- updatedAt: Date;
1812
- deletedAt: Date | null;
1813
- }[];
1814
1804
  company: {
1815
1805
  id: string;
1816
1806
  createdAt: Date;
@@ -1821,6 +1811,16 @@ export declare const CommentSchema: z.ZodObject<{
1821
1811
  phone?: string | null | undefined;
1822
1812
  industry?: string | null | undefined;
1823
1813
  } | null;
1814
+ notes: string | null;
1815
+ contactProfile: string | null;
1816
+ socialProfileUrl: string | null;
1817
+ tags: {
1818
+ id: string;
1819
+ name: string;
1820
+ createdAt: Date;
1821
+ updatedAt: Date;
1822
+ deletedAt: Date | null;
1823
+ }[];
1824
1824
  contactEmails: {
1825
1825
  id: string;
1826
1826
  isPrimary: boolean;
@@ -1854,6 +1854,358 @@ export declare const CommentSchema: z.ZodObject<{
1854
1854
  };
1855
1855
  }[] | undefined;
1856
1856
  }>;
1857
+ activityLogs: z.ZodArray<z.ZodObject<{
1858
+ id: z.ZodString;
1859
+ createdAt: z.ZodDate;
1860
+ updatedAt: z.ZodDate;
1861
+ deletedAt: z.ZodNullable<z.ZodDate>;
1862
+ actor: z.ZodObject<{
1863
+ id: z.ZodString;
1864
+ createdAt: z.ZodDate;
1865
+ updatedAt: z.ZodDate;
1866
+ deletedAt: z.ZodNullable<z.ZodDate>;
1867
+ name: z.ZodString;
1868
+ email: z.ZodString;
1869
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1870
+ password: z.ZodString;
1871
+ address: z.ZodNullable<z.ZodString>;
1872
+ phone: z.ZodNullable<z.ZodString>;
1873
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1874
+ roles: z.ZodArray<z.ZodObject<{
1875
+ id: z.ZodString;
1876
+ createdAt: z.ZodDate;
1877
+ updatedAt: z.ZodDate;
1878
+ deletedAt: z.ZodNullable<z.ZodDate>;
1879
+ systemName: z.ZodString;
1880
+ displayName: z.ZodString;
1881
+ description: z.ZodNullable<z.ZodString>;
1882
+ permissions: z.ZodArray<z.ZodObject<{
1883
+ id: z.ZodString;
1884
+ createdAt: z.ZodDate;
1885
+ updatedAt: z.ZodDate;
1886
+ deletedAt: z.ZodNullable<z.ZodDate>;
1887
+ systemName: z.ZodString;
1888
+ displayName: z.ZodString;
1889
+ description: z.ZodNullable<z.ZodString>;
1890
+ }, "strip", z.ZodTypeAny, {
1891
+ id: string;
1892
+ description: string | null;
1893
+ createdAt: Date;
1894
+ updatedAt: Date;
1895
+ deletedAt: Date | null;
1896
+ systemName: string;
1897
+ displayName: string;
1898
+ }, {
1899
+ id: string;
1900
+ description: string | null;
1901
+ createdAt: Date;
1902
+ updatedAt: Date;
1903
+ deletedAt: Date | null;
1904
+ systemName: string;
1905
+ displayName: string;
1906
+ }>, "many">;
1907
+ }, "strip", z.ZodTypeAny, {
1908
+ id: string;
1909
+ description: string | null;
1910
+ createdAt: Date;
1911
+ updatedAt: Date;
1912
+ deletedAt: Date | null;
1913
+ systemName: string;
1914
+ displayName: string;
1915
+ permissions: {
1916
+ id: string;
1917
+ description: string | null;
1918
+ createdAt: Date;
1919
+ updatedAt: Date;
1920
+ deletedAt: Date | null;
1921
+ systemName: string;
1922
+ displayName: string;
1923
+ }[];
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
+ permissions: {
1933
+ id: string;
1934
+ description: string | null;
1935
+ createdAt: Date;
1936
+ updatedAt: Date;
1937
+ deletedAt: Date | null;
1938
+ systemName: string;
1939
+ displayName: string;
1940
+ }[];
1941
+ }>, "many">;
1942
+ extension: z.ZodObject<{
1943
+ id: z.ZodString;
1944
+ createdAt: z.ZodDate;
1945
+ updatedAt: z.ZodDate;
1946
+ deletedAt: z.ZodNullable<z.ZodDate>;
1947
+ userId: z.ZodNullable<z.ZodString>;
1948
+ sipServerUrl: z.ZodString;
1949
+ sipUserName: z.ZodString;
1950
+ webphoneLoginUser: z.ZodString;
1951
+ extensionId: z.ZodNullable<z.ZodString>;
1952
+ extensionName: z.ZodString;
1953
+ telephonySignature: z.ZodNullable<z.ZodString>;
1954
+ }, "strip", z.ZodTypeAny, {
1955
+ id: string;
1956
+ createdAt: Date;
1957
+ updatedAt: Date;
1958
+ deletedAt: Date | null;
1959
+ userId: string | null;
1960
+ sipServerUrl: string;
1961
+ sipUserName: string;
1962
+ webphoneLoginUser: string;
1963
+ extensionId: string | null;
1964
+ extensionName: string;
1965
+ telephonySignature: string | null;
1966
+ }, {
1967
+ id: string;
1968
+ createdAt: Date;
1969
+ updatedAt: Date;
1970
+ deletedAt: Date | null;
1971
+ userId: string | null;
1972
+ sipServerUrl: string;
1973
+ sipUserName: string;
1974
+ webphoneLoginUser: string;
1975
+ extensionId: string | null;
1976
+ extensionName: string;
1977
+ telephonySignature: string | null;
1978
+ }>;
1979
+ }, "strip", z.ZodTypeAny, {
1980
+ id: string;
1981
+ address: string | null;
1982
+ name: string;
1983
+ email: string;
1984
+ createdAt: Date;
1985
+ updatedAt: Date;
1986
+ deletedAt: Date | null;
1987
+ emailVerifiedAt: Date | null;
1988
+ password: string;
1989
+ phone: string | null;
1990
+ notificationCount: number | null;
1991
+ roles: {
1992
+ id: string;
1993
+ description: string | null;
1994
+ createdAt: Date;
1995
+ updatedAt: Date;
1996
+ deletedAt: Date | null;
1997
+ systemName: string;
1998
+ displayName: string;
1999
+ permissions: {
2000
+ id: string;
2001
+ description: string | null;
2002
+ createdAt: Date;
2003
+ updatedAt: Date;
2004
+ deletedAt: Date | null;
2005
+ systemName: string;
2006
+ displayName: string;
2007
+ }[];
2008
+ }[];
2009
+ extension: {
2010
+ id: string;
2011
+ createdAt: Date;
2012
+ updatedAt: Date;
2013
+ deletedAt: Date | null;
2014
+ userId: string | null;
2015
+ sipServerUrl: string;
2016
+ sipUserName: string;
2017
+ webphoneLoginUser: string;
2018
+ extensionId: string | null;
2019
+ extensionName: string;
2020
+ telephonySignature: string | null;
2021
+ };
2022
+ }, {
2023
+ id: string;
2024
+ address: string | null;
2025
+ name: string;
2026
+ email: string;
2027
+ createdAt: Date;
2028
+ updatedAt: Date;
2029
+ deletedAt: Date | null;
2030
+ emailVerifiedAt: Date | null;
2031
+ password: string;
2032
+ phone: string | null;
2033
+ notificationCount: number | null;
2034
+ roles: {
2035
+ id: string;
2036
+ description: string | null;
2037
+ createdAt: Date;
2038
+ updatedAt: Date;
2039
+ deletedAt: Date | null;
2040
+ systemName: string;
2041
+ displayName: string;
2042
+ permissions: {
2043
+ id: string;
2044
+ description: string | null;
2045
+ createdAt: Date;
2046
+ updatedAt: Date;
2047
+ deletedAt: Date | null;
2048
+ systemName: string;
2049
+ displayName: string;
2050
+ }[];
2051
+ }[];
2052
+ extension: {
2053
+ id: string;
2054
+ createdAt: Date;
2055
+ updatedAt: Date;
2056
+ deletedAt: Date | null;
2057
+ userId: string | null;
2058
+ sipServerUrl: string;
2059
+ sipUserName: string;
2060
+ webphoneLoginUser: string;
2061
+ extensionId: string | null;
2062
+ extensionName: string;
2063
+ telephonySignature: string | null;
2064
+ };
2065
+ }>;
2066
+ entityId: z.ZodString;
2067
+ description: z.ZodString;
2068
+ entityType: z.ZodObject<{
2069
+ id: z.ZodString;
2070
+ createdAt: z.ZodDate;
2071
+ updatedAt: z.ZodDate;
2072
+ deletedAt: z.ZodNullable<z.ZodDate>;
2073
+ entity: z.ZodString;
2074
+ description: z.ZodString;
2075
+ }, "strip", z.ZodTypeAny, {
2076
+ id: string;
2077
+ description: string;
2078
+ createdAt: Date;
2079
+ updatedAt: Date;
2080
+ deletedAt: Date | null;
2081
+ entity: string;
2082
+ }, {
2083
+ id: string;
2084
+ description: string;
2085
+ createdAt: Date;
2086
+ updatedAt: Date;
2087
+ deletedAt: Date | null;
2088
+ entity: string;
2089
+ }>;
2090
+ }, "strip", z.ZodTypeAny, {
2091
+ id: string;
2092
+ description: string;
2093
+ createdAt: Date;
2094
+ updatedAt: Date;
2095
+ deletedAt: Date | null;
2096
+ actor: {
2097
+ id: string;
2098
+ address: string | null;
2099
+ name: string;
2100
+ email: string;
2101
+ createdAt: Date;
2102
+ updatedAt: Date;
2103
+ deletedAt: Date | null;
2104
+ emailVerifiedAt: Date | null;
2105
+ password: string;
2106
+ phone: string | null;
2107
+ notificationCount: number | null;
2108
+ roles: {
2109
+ id: string;
2110
+ description: string | null;
2111
+ createdAt: Date;
2112
+ updatedAt: Date;
2113
+ deletedAt: Date | null;
2114
+ systemName: string;
2115
+ displayName: string;
2116
+ permissions: {
2117
+ id: string;
2118
+ description: string | null;
2119
+ createdAt: Date;
2120
+ updatedAt: Date;
2121
+ deletedAt: Date | null;
2122
+ systemName: string;
2123
+ displayName: string;
2124
+ }[];
2125
+ }[];
2126
+ extension: {
2127
+ id: string;
2128
+ createdAt: Date;
2129
+ updatedAt: Date;
2130
+ deletedAt: Date | null;
2131
+ userId: string | null;
2132
+ sipServerUrl: string;
2133
+ sipUserName: string;
2134
+ webphoneLoginUser: string;
2135
+ extensionId: string | null;
2136
+ extensionName: string;
2137
+ telephonySignature: string | null;
2138
+ };
2139
+ };
2140
+ entityId: string;
2141
+ entityType: {
2142
+ id: string;
2143
+ description: string;
2144
+ createdAt: Date;
2145
+ updatedAt: Date;
2146
+ deletedAt: Date | null;
2147
+ entity: string;
2148
+ };
2149
+ }, {
2150
+ id: string;
2151
+ description: string;
2152
+ createdAt: Date;
2153
+ updatedAt: Date;
2154
+ deletedAt: Date | null;
2155
+ actor: {
2156
+ id: string;
2157
+ address: string | null;
2158
+ name: string;
2159
+ email: string;
2160
+ createdAt: Date;
2161
+ updatedAt: Date;
2162
+ deletedAt: Date | null;
2163
+ emailVerifiedAt: Date | null;
2164
+ password: string;
2165
+ phone: string | null;
2166
+ notificationCount: number | null;
2167
+ roles: {
2168
+ id: string;
2169
+ description: string | null;
2170
+ createdAt: Date;
2171
+ updatedAt: Date;
2172
+ deletedAt: Date | null;
2173
+ systemName: string;
2174
+ displayName: string;
2175
+ permissions: {
2176
+ id: string;
2177
+ description: string | null;
2178
+ createdAt: Date;
2179
+ updatedAt: Date;
2180
+ deletedAt: Date | null;
2181
+ systemName: string;
2182
+ displayName: string;
2183
+ }[];
2184
+ }[];
2185
+ extension: {
2186
+ id: string;
2187
+ createdAt: Date;
2188
+ updatedAt: Date;
2189
+ deletedAt: Date | null;
2190
+ userId: string | null;
2191
+ sipServerUrl: string;
2192
+ sipUserName: string;
2193
+ webphoneLoginUser: string;
2194
+ extensionId: string | null;
2195
+ extensionName: string;
2196
+ telephonySignature: string | null;
2197
+ };
2198
+ };
2199
+ entityId: string;
2200
+ entityType: {
2201
+ id: string;
2202
+ description: string;
2203
+ createdAt: Date;
2204
+ updatedAt: Date;
2205
+ deletedAt: Date | null;
2206
+ entity: string;
2207
+ };
2208
+ }>, "many">;
1857
2209
  }, "strip", z.ZodTypeAny, {
1858
2210
  type: string;
1859
2211
  id: string;
@@ -1938,16 +2290,6 @@ export declare const CommentSchema: z.ZodObject<{
1938
2290
  };
1939
2291
  }[];
1940
2292
  }[];
1941
- notes: string | null;
1942
- contactProfile: string | null;
1943
- socialProfileUrl: string | null;
1944
- tags: {
1945
- id: string;
1946
- name: string;
1947
- createdAt: Date;
1948
- updatedAt: Date;
1949
- deletedAt: Date | null;
1950
- }[];
1951
2293
  company: {
1952
2294
  id: string;
1953
2295
  createdAt: Date;
@@ -1958,6 +2300,16 @@ export declare const CommentSchema: z.ZodObject<{
1958
2300
  phone?: string | null | undefined;
1959
2301
  industry?: string | null | undefined;
1960
2302
  } | null;
2303
+ notes: string | null;
2304
+ contactProfile: string | null;
2305
+ socialProfileUrl: string | null;
2306
+ tags: {
2307
+ id: string;
2308
+ name: string;
2309
+ createdAt: Date;
2310
+ updatedAt: Date;
2311
+ deletedAt: Date | null;
2312
+ }[];
1961
2313
  contactEmails: {
1962
2314
  id: string;
1963
2315
  isPrimary: boolean;
@@ -2034,6 +2386,66 @@ export declare const CommentSchema: z.ZodObject<{
2034
2386
  updatedAt: Date;
2035
2387
  deletedAt: Date | null;
2036
2388
  }[];
2389
+ activityLogs: {
2390
+ id: string;
2391
+ description: string;
2392
+ createdAt: Date;
2393
+ updatedAt: Date;
2394
+ deletedAt: Date | null;
2395
+ actor: {
2396
+ id: string;
2397
+ address: string | null;
2398
+ name: string;
2399
+ email: string;
2400
+ createdAt: Date;
2401
+ updatedAt: Date;
2402
+ deletedAt: Date | null;
2403
+ emailVerifiedAt: Date | null;
2404
+ password: string;
2405
+ phone: string | null;
2406
+ notificationCount: number | null;
2407
+ roles: {
2408
+ id: string;
2409
+ description: string | null;
2410
+ createdAt: Date;
2411
+ updatedAt: Date;
2412
+ deletedAt: Date | null;
2413
+ systemName: string;
2414
+ displayName: string;
2415
+ permissions: {
2416
+ id: string;
2417
+ description: string | null;
2418
+ createdAt: Date;
2419
+ updatedAt: Date;
2420
+ deletedAt: Date | null;
2421
+ systemName: string;
2422
+ displayName: string;
2423
+ }[];
2424
+ }[];
2425
+ extension: {
2426
+ id: string;
2427
+ createdAt: Date;
2428
+ updatedAt: Date;
2429
+ deletedAt: Date | null;
2430
+ userId: string | null;
2431
+ sipServerUrl: string;
2432
+ sipUserName: string;
2433
+ webphoneLoginUser: string;
2434
+ extensionId: string | null;
2435
+ extensionName: string;
2436
+ telephonySignature: string | null;
2437
+ };
2438
+ };
2439
+ entityId: string;
2440
+ entityType: {
2441
+ id: string;
2442
+ description: string;
2443
+ createdAt: Date;
2444
+ updatedAt: Date;
2445
+ deletedAt: Date | null;
2446
+ entity: string;
2447
+ };
2448
+ }[];
2037
2449
  contactId: string;
2038
2450
  assigneeId: string;
2039
2451
  creatorId: string;
@@ -2211,16 +2623,6 @@ export declare const CommentSchema: z.ZodObject<{
2211
2623
  };
2212
2624
  }[];
2213
2625
  }[];
2214
- notes: string | null;
2215
- contactProfile: string | null;
2216
- socialProfileUrl: string | null;
2217
- tags: {
2218
- id: string;
2219
- name: string;
2220
- createdAt: Date;
2221
- updatedAt: Date;
2222
- deletedAt: Date | null;
2223
- }[];
2224
2626
  company: {
2225
2627
  id: string;
2226
2628
  createdAt: Date;
@@ -2231,6 +2633,16 @@ export declare const CommentSchema: z.ZodObject<{
2231
2633
  phone?: string | null | undefined;
2232
2634
  industry?: string | null | undefined;
2233
2635
  } | null;
2636
+ notes: string | null;
2637
+ contactProfile: string | null;
2638
+ socialProfileUrl: string | null;
2639
+ tags: {
2640
+ id: string;
2641
+ name: string;
2642
+ createdAt: Date;
2643
+ updatedAt: Date;
2644
+ deletedAt: Date | null;
2645
+ }[];
2234
2646
  contactEmails: {
2235
2647
  id: string;
2236
2648
  isPrimary: boolean;
@@ -2307,6 +2719,66 @@ export declare const CommentSchema: z.ZodObject<{
2307
2719
  updatedAt: Date;
2308
2720
  deletedAt: Date | null;
2309
2721
  }[];
2722
+ activityLogs: {
2723
+ id: string;
2724
+ description: string;
2725
+ createdAt: Date;
2726
+ updatedAt: Date;
2727
+ deletedAt: Date | null;
2728
+ actor: {
2729
+ id: string;
2730
+ address: string | null;
2731
+ name: string;
2732
+ email: string;
2733
+ createdAt: Date;
2734
+ updatedAt: Date;
2735
+ deletedAt: Date | null;
2736
+ emailVerifiedAt: Date | null;
2737
+ password: string;
2738
+ phone: string | null;
2739
+ notificationCount: number | null;
2740
+ roles: {
2741
+ id: string;
2742
+ description: string | null;
2743
+ createdAt: Date;
2744
+ updatedAt: Date;
2745
+ deletedAt: Date | null;
2746
+ systemName: string;
2747
+ displayName: string;
2748
+ permissions: {
2749
+ id: string;
2750
+ description: string | null;
2751
+ createdAt: Date;
2752
+ updatedAt: Date;
2753
+ deletedAt: Date | null;
2754
+ systemName: string;
2755
+ displayName: string;
2756
+ }[];
2757
+ }[];
2758
+ extension: {
2759
+ id: string;
2760
+ createdAt: Date;
2761
+ updatedAt: Date;
2762
+ deletedAt: Date | null;
2763
+ userId: string | null;
2764
+ sipServerUrl: string;
2765
+ sipUserName: string;
2766
+ webphoneLoginUser: string;
2767
+ extensionId: string | null;
2768
+ extensionName: string;
2769
+ telephonySignature: string | null;
2770
+ };
2771
+ };
2772
+ entityId: string;
2773
+ entityType: {
2774
+ id: string;
2775
+ description: string;
2776
+ createdAt: Date;
2777
+ updatedAt: Date;
2778
+ deletedAt: Date | null;
2779
+ entity: string;
2780
+ };
2781
+ }[];
2310
2782
  contactId: string;
2311
2783
  assigneeId: string;
2312
2784
  creatorId: string;
@@ -2546,131 +3018,22 @@ export declare const CommentSchema: z.ZodObject<{
2546
3018
  deletedAt: Date | null;
2547
3019
  systemName: string;
2548
3020
  displayName: string;
2549
- }[];
2550
- }[];
2551
- extension: {
2552
- id: string;
2553
- createdAt: Date;
2554
- updatedAt: Date;
2555
- deletedAt: Date | null;
2556
- userId: string | null;
2557
- sipServerUrl: string;
2558
- sipUserName: string;
2559
- webphoneLoginUser: string;
2560
- extensionId: string | null;
2561
- extensionName: string;
2562
- telephonySignature: string | null;
2563
- };
2564
- }, {
2565
- id: string;
2566
- address: string | null;
2567
- name: string;
2568
- email: string;
2569
- createdAt: Date;
2570
- updatedAt: Date;
2571
- deletedAt: Date | null;
2572
- emailVerifiedAt: Date | null;
2573
- password: string;
2574
- phone: string | null;
2575
- notificationCount: number | null;
2576
- roles: {
2577
- id: string;
2578
- description: string | null;
2579
- createdAt: Date;
2580
- updatedAt: Date;
2581
- deletedAt: Date | null;
2582
- systemName: string;
2583
- displayName: string;
2584
- permissions: {
2585
- id: string;
2586
- description: string | null;
2587
- createdAt: Date;
2588
- updatedAt: Date;
2589
- deletedAt: Date | null;
2590
- systemName: string;
2591
- displayName: string;
2592
- }[];
2593
- }[];
2594
- extension: {
2595
- id: string;
2596
- createdAt: Date;
2597
- updatedAt: Date;
2598
- deletedAt: Date | null;
2599
- userId: string | null;
2600
- sipServerUrl: string;
2601
- sipUserName: string;
2602
- webphoneLoginUser: string;
2603
- extensionId: string | null;
2604
- extensionName: string;
2605
- telephonySignature: string | null;
2606
- };
2607
- }>;
2608
- }, "strip", z.ZodTypeAny, {
2609
- id: string;
2610
- createdAt: Date;
2611
- updatedAt: Date;
2612
- deletedAt: Date | null;
2613
- activityLogs: {
2614
- id: string;
2615
- description: string;
2616
- createdAt: Date;
2617
- updatedAt: Date;
2618
- deletedAt: Date | null;
2619
- actor: {
2620
- id: string;
2621
- address: string | null;
2622
- name: string;
2623
- email: string;
2624
- createdAt: Date;
2625
- updatedAt: Date;
2626
- deletedAt: Date | null;
2627
- emailVerifiedAt: Date | null;
2628
- password: string;
2629
- phone: string | null;
2630
- notificationCount: number | null;
2631
- roles: {
2632
- id: string;
2633
- description: string | null;
2634
- createdAt: Date;
2635
- updatedAt: Date;
2636
- deletedAt: Date | null;
2637
- systemName: string;
2638
- displayName: string;
2639
- permissions: {
2640
- id: string;
2641
- description: string | null;
2642
- createdAt: Date;
2643
- updatedAt: Date;
2644
- deletedAt: Date | null;
2645
- systemName: string;
2646
- displayName: string;
2647
- }[];
2648
- }[];
2649
- extension: {
2650
- id: string;
2651
- createdAt: Date;
2652
- updatedAt: Date;
2653
- deletedAt: Date | null;
2654
- userId: string | null;
2655
- sipServerUrl: string;
2656
- sipUserName: string;
2657
- webphoneLoginUser: string;
2658
- extensionId: string | null;
2659
- extensionName: string;
2660
- telephonySignature: string | null;
2661
- };
2662
- };
2663
- entityId: string;
2664
- entityType: {
3021
+ }[];
3022
+ }[];
3023
+ extension: {
2665
3024
  id: string;
2666
- description: string;
2667
3025
  createdAt: Date;
2668
3026
  updatedAt: Date;
2669
3027
  deletedAt: Date | null;
2670
- entity: string;
3028
+ userId: string | null;
3029
+ sipServerUrl: string;
3030
+ sipUserName: string;
3031
+ webphoneLoginUser: string;
3032
+ extensionId: string | null;
3033
+ extensionName: string;
3034
+ telephonySignature: string | null;
2671
3035
  };
2672
- }[];
2673
- agent: {
3036
+ }, {
2674
3037
  id: string;
2675
3038
  address: string | null;
2676
3039
  name: string;
@@ -2713,9 +3076,12 @@ export declare const CommentSchema: z.ZodObject<{
2713
3076
  extensionName: string;
2714
3077
  telephonySignature: string | null;
2715
3078
  };
2716
- };
2717
- comment: string;
2718
- mentions: string[];
3079
+ }>;
3080
+ }, "strip", z.ZodTypeAny, {
3081
+ id: string;
3082
+ createdAt: Date;
3083
+ updatedAt: Date;
3084
+ deletedAt: Date | null;
2719
3085
  ticket: {
2720
3086
  type: string;
2721
3087
  id: string;
@@ -2800,16 +3166,6 @@ export declare const CommentSchema: z.ZodObject<{
2800
3166
  };
2801
3167
  }[];
2802
3168
  }[];
2803
- notes: string | null;
2804
- contactProfile: string | null;
2805
- socialProfileUrl: string | null;
2806
- tags: {
2807
- id: string;
2808
- name: string;
2809
- createdAt: Date;
2810
- updatedAt: Date;
2811
- deletedAt: Date | null;
2812
- }[];
2813
3169
  company: {
2814
3170
  id: string;
2815
3171
  createdAt: Date;
@@ -2820,6 +3176,16 @@ export declare const CommentSchema: z.ZodObject<{
2820
3176
  phone?: string | null | undefined;
2821
3177
  industry?: string | null | undefined;
2822
3178
  } | null;
3179
+ notes: string | null;
3180
+ contactProfile: string | null;
3181
+ socialProfileUrl: string | null;
3182
+ tags: {
3183
+ id: string;
3184
+ name: string;
3185
+ createdAt: Date;
3186
+ updatedAt: Date;
3187
+ deletedAt: Date | null;
3188
+ }[];
2823
3189
  contactEmails: {
2824
3190
  id: string;
2825
3191
  isPrimary: boolean;
@@ -2896,6 +3262,66 @@ export declare const CommentSchema: z.ZodObject<{
2896
3262
  updatedAt: Date;
2897
3263
  deletedAt: Date | null;
2898
3264
  }[];
3265
+ activityLogs: {
3266
+ id: string;
3267
+ description: string;
3268
+ createdAt: Date;
3269
+ updatedAt: Date;
3270
+ deletedAt: Date | null;
3271
+ actor: {
3272
+ id: string;
3273
+ address: string | null;
3274
+ name: string;
3275
+ email: string;
3276
+ createdAt: Date;
3277
+ updatedAt: Date;
3278
+ deletedAt: Date | null;
3279
+ emailVerifiedAt: Date | null;
3280
+ password: string;
3281
+ phone: string | null;
3282
+ notificationCount: number | null;
3283
+ roles: {
3284
+ id: string;
3285
+ description: string | null;
3286
+ createdAt: Date;
3287
+ updatedAt: Date;
3288
+ deletedAt: Date | null;
3289
+ systemName: string;
3290
+ displayName: string;
3291
+ permissions: {
3292
+ id: string;
3293
+ description: string | null;
3294
+ createdAt: Date;
3295
+ updatedAt: Date;
3296
+ deletedAt: Date | null;
3297
+ systemName: string;
3298
+ displayName: string;
3299
+ }[];
3300
+ }[];
3301
+ extension: {
3302
+ id: string;
3303
+ createdAt: Date;
3304
+ updatedAt: Date;
3305
+ deletedAt: Date | null;
3306
+ userId: string | null;
3307
+ sipServerUrl: string;
3308
+ sipUserName: string;
3309
+ webphoneLoginUser: string;
3310
+ extensionId: string | null;
3311
+ extensionName: string;
3312
+ telephonySignature: string | null;
3313
+ };
3314
+ };
3315
+ entityId: string;
3316
+ entityType: {
3317
+ id: string;
3318
+ description: string;
3319
+ createdAt: Date;
3320
+ updatedAt: Date;
3321
+ deletedAt: Date | null;
3322
+ entity: string;
3323
+ };
3324
+ }[];
2899
3325
  contactId: string;
2900
3326
  assigneeId: string;
2901
3327
  creatorId: string;
@@ -2990,11 +3416,6 @@ export declare const CommentSchema: z.ZodObject<{
2990
3416
  } | null | undefined;
2991
3417
  ticketNumber?: number | undefined;
2992
3418
  };
2993
- }, {
2994
- id: string;
2995
- createdAt: Date;
2996
- updatedAt: Date;
2997
- deletedAt: Date | null;
2998
3419
  activityLogs: {
2999
3420
  id: string;
3000
3421
  description: string;
@@ -3101,6 +3522,11 @@ export declare const CommentSchema: z.ZodObject<{
3101
3522
  };
3102
3523
  comment: string;
3103
3524
  mentions: string[];
3525
+ }, {
3526
+ id: string;
3527
+ createdAt: Date;
3528
+ updatedAt: Date;
3529
+ deletedAt: Date | null;
3104
3530
  ticket: {
3105
3531
  type: string;
3106
3532
  id: string;
@@ -3185,16 +3611,6 @@ export declare const CommentSchema: z.ZodObject<{
3185
3611
  };
3186
3612
  }[];
3187
3613
  }[];
3188
- notes: string | null;
3189
- contactProfile: string | null;
3190
- socialProfileUrl: string | null;
3191
- tags: {
3192
- id: string;
3193
- name: string;
3194
- createdAt: Date;
3195
- updatedAt: Date;
3196
- deletedAt: Date | null;
3197
- }[];
3198
3614
  company: {
3199
3615
  id: string;
3200
3616
  createdAt: Date;
@@ -3205,6 +3621,16 @@ export declare const CommentSchema: z.ZodObject<{
3205
3621
  phone?: string | null | undefined;
3206
3622
  industry?: string | null | undefined;
3207
3623
  } | null;
3624
+ notes: string | null;
3625
+ contactProfile: string | null;
3626
+ socialProfileUrl: string | null;
3627
+ tags: {
3628
+ id: string;
3629
+ name: string;
3630
+ createdAt: Date;
3631
+ updatedAt: Date;
3632
+ deletedAt: Date | null;
3633
+ }[];
3208
3634
  contactEmails: {
3209
3635
  id: string;
3210
3636
  isPrimary: boolean;
@@ -3281,6 +3707,66 @@ export declare const CommentSchema: z.ZodObject<{
3281
3707
  updatedAt: Date;
3282
3708
  deletedAt: Date | null;
3283
3709
  }[];
3710
+ activityLogs: {
3711
+ id: string;
3712
+ description: string;
3713
+ createdAt: Date;
3714
+ updatedAt: Date;
3715
+ deletedAt: Date | null;
3716
+ actor: {
3717
+ id: string;
3718
+ address: string | null;
3719
+ name: string;
3720
+ email: string;
3721
+ createdAt: Date;
3722
+ updatedAt: Date;
3723
+ deletedAt: Date | null;
3724
+ emailVerifiedAt: Date | null;
3725
+ password: string;
3726
+ phone: string | null;
3727
+ notificationCount: number | null;
3728
+ roles: {
3729
+ id: string;
3730
+ description: string | null;
3731
+ createdAt: Date;
3732
+ updatedAt: Date;
3733
+ deletedAt: Date | null;
3734
+ systemName: string;
3735
+ displayName: string;
3736
+ permissions: {
3737
+ id: string;
3738
+ description: string | null;
3739
+ createdAt: Date;
3740
+ updatedAt: Date;
3741
+ deletedAt: Date | null;
3742
+ systemName: string;
3743
+ displayName: string;
3744
+ }[];
3745
+ }[];
3746
+ extension: {
3747
+ id: string;
3748
+ createdAt: Date;
3749
+ updatedAt: Date;
3750
+ deletedAt: Date | null;
3751
+ userId: string | null;
3752
+ sipServerUrl: string;
3753
+ sipUserName: string;
3754
+ webphoneLoginUser: string;
3755
+ extensionId: string | null;
3756
+ extensionName: string;
3757
+ telephonySignature: string | null;
3758
+ };
3759
+ };
3760
+ entityId: string;
3761
+ entityType: {
3762
+ id: string;
3763
+ description: string;
3764
+ createdAt: Date;
3765
+ updatedAt: Date;
3766
+ deletedAt: Date | null;
3767
+ entity: string;
3768
+ };
3769
+ }[];
3284
3770
  contactId: string;
3285
3771
  assigneeId: string;
3286
3772
  creatorId: string;
@@ -3375,5 +3861,111 @@ export declare const CommentSchema: z.ZodObject<{
3375
3861
  } | null | undefined;
3376
3862
  ticketNumber?: number | undefined;
3377
3863
  };
3864
+ activityLogs: {
3865
+ id: string;
3866
+ description: string;
3867
+ createdAt: Date;
3868
+ updatedAt: Date;
3869
+ deletedAt: Date | null;
3870
+ actor: {
3871
+ id: string;
3872
+ address: string | null;
3873
+ name: string;
3874
+ email: string;
3875
+ createdAt: Date;
3876
+ updatedAt: Date;
3877
+ deletedAt: Date | null;
3878
+ emailVerifiedAt: Date | null;
3879
+ password: string;
3880
+ phone: string | null;
3881
+ notificationCount: number | null;
3882
+ roles: {
3883
+ id: string;
3884
+ description: string | null;
3885
+ createdAt: Date;
3886
+ updatedAt: Date;
3887
+ deletedAt: Date | null;
3888
+ systemName: string;
3889
+ displayName: string;
3890
+ permissions: {
3891
+ id: string;
3892
+ description: string | null;
3893
+ createdAt: Date;
3894
+ updatedAt: Date;
3895
+ deletedAt: Date | null;
3896
+ systemName: string;
3897
+ displayName: string;
3898
+ }[];
3899
+ }[];
3900
+ extension: {
3901
+ id: string;
3902
+ createdAt: Date;
3903
+ updatedAt: Date;
3904
+ deletedAt: Date | null;
3905
+ userId: string | null;
3906
+ sipServerUrl: string;
3907
+ sipUserName: string;
3908
+ webphoneLoginUser: string;
3909
+ extensionId: string | null;
3910
+ extensionName: string;
3911
+ telephonySignature: string | null;
3912
+ };
3913
+ };
3914
+ entityId: string;
3915
+ entityType: {
3916
+ id: string;
3917
+ description: string;
3918
+ createdAt: Date;
3919
+ updatedAt: Date;
3920
+ deletedAt: Date | null;
3921
+ entity: string;
3922
+ };
3923
+ }[];
3924
+ agent: {
3925
+ id: string;
3926
+ address: string | null;
3927
+ name: string;
3928
+ email: string;
3929
+ createdAt: Date;
3930
+ updatedAt: Date;
3931
+ deletedAt: Date | null;
3932
+ emailVerifiedAt: Date | null;
3933
+ password: string;
3934
+ phone: string | null;
3935
+ notificationCount: number | null;
3936
+ roles: {
3937
+ id: string;
3938
+ description: string | null;
3939
+ createdAt: Date;
3940
+ updatedAt: Date;
3941
+ deletedAt: Date | null;
3942
+ systemName: string;
3943
+ displayName: string;
3944
+ permissions: {
3945
+ id: string;
3946
+ description: string | null;
3947
+ createdAt: Date;
3948
+ updatedAt: Date;
3949
+ deletedAt: Date | null;
3950
+ systemName: string;
3951
+ displayName: string;
3952
+ }[];
3953
+ }[];
3954
+ extension: {
3955
+ id: string;
3956
+ createdAt: Date;
3957
+ updatedAt: Date;
3958
+ deletedAt: Date | null;
3959
+ userId: string | null;
3960
+ sipServerUrl: string;
3961
+ sipUserName: string;
3962
+ webphoneLoginUser: string;
3963
+ extensionId: string | null;
3964
+ extensionName: string;
3965
+ telephonySignature: string | null;
3966
+ };
3967
+ };
3968
+ comment: string;
3969
+ mentions: string[];
3378
3970
  }>;
3379
3971
  //# sourceMappingURL=schema.d.ts.map