@kl1/contracts 1.1.25 → 1.1.26

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 (58) hide show
  1. package/dist/index.js +935 -924
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +934 -924
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +4867 -22
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +773 -22
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +975 -5
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/contact/index.d.ts +3 -0
  12. package/dist/src/contact/index.d.ts.map +1 -1
  13. package/dist/src/contact/schema.d.ts.map +1 -1
  14. package/dist/src/contact/validation.d.ts +3 -0
  15. package/dist/src/contact/validation.d.ts.map +1 -1
  16. package/dist/src/contract.d.ts +164160 -131652
  17. package/dist/src/contract.d.ts.map +1 -1
  18. package/dist/src/cx-log/index.d.ts +352 -2
  19. package/dist/src/cx-log/index.d.ts.map +1 -1
  20. package/dist/src/cx-log/schema.d.ts +557 -4
  21. package/dist/src/cx-log/schema.d.ts.map +1 -1
  22. package/dist/src/instagram/index.d.ts +487 -2
  23. package/dist/src/instagram/index.d.ts.map +1 -1
  24. package/dist/src/line/index.d.ts +487 -2
  25. package/dist/src/line/index.d.ts.map +1 -1
  26. package/dist/src/mail/mail-contract.d.ts +30477 -6759
  27. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  28. package/dist/src/mail/message-contract.d.ts +6424 -64
  29. package/dist/src/mail/message-contract.d.ts.map +1 -1
  30. package/dist/src/mail/room-contract.d.ts +19532 -2172
  31. package/dist/src/mail/room-contract.d.ts.map +1 -1
  32. package/dist/src/mail/schemas/message-validation.schema.d.ts +7 -4
  33. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
  34. package/dist/src/mail/schemas/message.schema.d.ts +762 -40
  35. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  36. package/dist/src/mail/schemas/room-validation.schema.d.ts +6057 -350
  37. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  38. package/dist/src/mail/schemas/room.schema.d.ts +5984 -308
  39. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  40. package/dist/src/messenger/index.d.ts +487 -2
  41. package/dist/src/messenger/index.d.ts.map +1 -1
  42. package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
  43. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  44. package/dist/src/telephony-cdr/index.d.ts +1 -622
  45. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  46. package/dist/src/viber/index.d.ts +487 -2
  47. package/dist/src/viber/index.d.ts.map +1 -1
  48. package/dist/src/webchat/index.d.ts +487 -2
  49. package/dist/src/webchat/index.d.ts.map +1 -1
  50. package/dist/src/workflow-rule/index.d.ts +834 -4
  51. package/dist/src/workflow-rule/index.d.ts.map +1 -1
  52. package/dist/src/wrap-up-form/index.d.ts +1447 -6
  53. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  54. package/dist/src/wrap-up-form/schema.d.ts +207 -2
  55. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  56. package/dist/src/wrap-up-form/validation.d.ts +29 -0
  57. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  58. package/package.json +1 -1
@@ -1764,8 +1764,7 @@ export declare const chatContract: {
1764
1764
  deletedAt: z.ZodNullable<z.ZodDate>;
1765
1765
  note: z.ZodNullable<z.ZodString>;
1766
1766
  disposition: z.ZodNullable<z.ZodString>;
1767
- callFrom: z.ZodNullable<z.ZodString>;
1768
- callTo: z.ZodNullable<z.ZodString>;
1767
+ type: z.ZodString;
1769
1768
  tags: z.ZodArray<z.ZodObject<{
1770
1769
  id: z.ZodString;
1771
1770
  createdAt: z.ZodDate;
@@ -1785,12 +1784,171 @@ export declare const chatContract: {
1785
1784
  updatedAt: Date;
1786
1785
  deletedAt: Date | null;
1787
1786
  }>, "many">;
1787
+ categories: z.ZodArray<z.ZodObject<{
1788
+ id: z.ZodString;
1789
+ createdAt: z.ZodDate;
1790
+ updatedAt: z.ZodDate;
1791
+ deletedAt: z.ZodNullable<z.ZodDate>;
1792
+ value: z.ZodString;
1793
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1794
+ parentId: z.ZodNullable<z.ZodString>;
1795
+ childCategoryList: z.ZodArray<z.ZodObject<{
1796
+ id: z.ZodString;
1797
+ value: z.ZodString;
1798
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1799
+ parentId: z.ZodNullable<z.ZodString>;
1800
+ childCategoryList: z.ZodArray<z.ZodObject<{
1801
+ id: z.ZodString;
1802
+ value: z.ZodString;
1803
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1804
+ parentId: z.ZodNullable<z.ZodString>;
1805
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
1806
+ }, "strip", z.ZodTypeAny, {
1807
+ id: string;
1808
+ value: string;
1809
+ level: 2 | 1 | 3;
1810
+ parentId: string | null;
1811
+ childCategoryList: any[];
1812
+ }, {
1813
+ id: string;
1814
+ value: string;
1815
+ level: 2 | 1 | 3;
1816
+ parentId: string | null;
1817
+ childCategoryList: any[];
1818
+ }>, "many">;
1819
+ }, "strip", z.ZodTypeAny, {
1820
+ id: string;
1821
+ value: string;
1822
+ level: 2 | 1 | 3;
1823
+ parentId: string | null;
1824
+ childCategoryList: {
1825
+ id: string;
1826
+ value: string;
1827
+ level: 2 | 1 | 3;
1828
+ parentId: string | null;
1829
+ childCategoryList: any[];
1830
+ }[];
1831
+ }, {
1832
+ id: string;
1833
+ value: string;
1834
+ level: 2 | 1 | 3;
1835
+ parentId: string | null;
1836
+ childCategoryList: {
1837
+ id: string;
1838
+ value: string;
1839
+ level: 2 | 1 | 3;
1840
+ parentId: string | null;
1841
+ childCategoryList: any[];
1842
+ }[];
1843
+ }>, "many">;
1844
+ }, "strip", z.ZodTypeAny, {
1845
+ id: string;
1846
+ value: string;
1847
+ createdAt: Date;
1848
+ updatedAt: Date;
1849
+ deletedAt: Date | null;
1850
+ level: 2 | 1 | 3;
1851
+ parentId: string | null;
1852
+ childCategoryList: {
1853
+ id: string;
1854
+ value: string;
1855
+ level: 2 | 1 | 3;
1856
+ parentId: string | null;
1857
+ childCategoryList: {
1858
+ id: string;
1859
+ value: string;
1860
+ level: 2 | 1 | 3;
1861
+ parentId: string | null;
1862
+ childCategoryList: any[];
1863
+ }[];
1864
+ }[];
1865
+ }, {
1866
+ id: string;
1867
+ value: string;
1868
+ createdAt: Date;
1869
+ updatedAt: Date;
1870
+ deletedAt: Date | null;
1871
+ level: 2 | 1 | 3;
1872
+ parentId: string | null;
1873
+ childCategoryList: {
1874
+ id: string;
1875
+ value: string;
1876
+ level: 2 | 1 | 3;
1877
+ parentId: string | null;
1878
+ childCategoryList: {
1879
+ id: string;
1880
+ value: string;
1881
+ level: 2 | 1 | 3;
1882
+ parentId: string | null;
1883
+ childCategoryList: any[];
1884
+ }[];
1885
+ }[];
1886
+ }>, "many">;
1887
+ callFrom: z.ZodNullable<z.ZodString>;
1888
+ callTo: z.ZodNullable<z.ZodString>;
1889
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1890
+ id: z.ZodString;
1891
+ createdAt: z.ZodDate;
1892
+ updatedAt: z.ZodDate;
1893
+ deletedAt: z.ZodNullable<z.ZodDate>;
1894
+ textValue: z.ZodNullable<z.ZodString>;
1895
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
1896
+ numberValue: z.ZodNullable<z.ZodNumber>;
1897
+ dateValue: z.ZodNullable<z.ZodDate>;
1898
+ entityId: z.ZodString;
1899
+ attributeId: z.ZodString;
1900
+ }, "strip", z.ZodTypeAny, {
1901
+ id: string;
1902
+ createdAt: Date;
1903
+ updatedAt: Date;
1904
+ deletedAt: Date | null;
1905
+ entityId: string;
1906
+ attributeId: string;
1907
+ textValue: string | null;
1908
+ booleanValue: boolean | null;
1909
+ numberValue: number | null;
1910
+ dateValue: Date | null;
1911
+ }, {
1912
+ id: string;
1913
+ createdAt: Date;
1914
+ updatedAt: Date;
1915
+ deletedAt: Date | null;
1916
+ entityId: string;
1917
+ attributeId: string;
1918
+ textValue: string | null;
1919
+ booleanValue: boolean | null;
1920
+ numberValue: number | null;
1921
+ dateValue: Date | null;
1922
+ }>, "many">>>;
1788
1923
  }, "strip", z.ZodTypeAny, {
1924
+ type: string;
1789
1925
  id: string;
1790
1926
  disposition: string | null;
1791
1927
  createdAt: Date;
1792
1928
  updatedAt: Date;
1793
1929
  deletedAt: Date | null;
1930
+ categories: {
1931
+ id: string;
1932
+ value: string;
1933
+ createdAt: Date;
1934
+ updatedAt: Date;
1935
+ deletedAt: Date | null;
1936
+ level: 2 | 1 | 3;
1937
+ parentId: string | null;
1938
+ childCategoryList: {
1939
+ id: string;
1940
+ value: string;
1941
+ level: 2 | 1 | 3;
1942
+ parentId: string | null;
1943
+ childCategoryList: {
1944
+ id: string;
1945
+ value: string;
1946
+ level: 2 | 1 | 3;
1947
+ parentId: string | null;
1948
+ childCategoryList: any[];
1949
+ }[];
1950
+ }[];
1951
+ }[];
1794
1952
  tags: {
1795
1953
  id: string;
1796
1954
  name: string;
@@ -1801,12 +1959,47 @@ export declare const chatContract: {
1801
1959
  callFrom: string | null;
1802
1960
  callTo: string | null;
1803
1961
  note: string | null;
1962
+ customFields?: {
1963
+ id: string;
1964
+ createdAt: Date;
1965
+ updatedAt: Date;
1966
+ deletedAt: Date | null;
1967
+ entityId: string;
1968
+ attributeId: string;
1969
+ textValue: string | null;
1970
+ booleanValue: boolean | null;
1971
+ numberValue: number | null;
1972
+ dateValue: Date | null;
1973
+ }[] | null | undefined;
1804
1974
  }, {
1975
+ type: string;
1805
1976
  id: string;
1806
1977
  disposition: string | null;
1807
1978
  createdAt: Date;
1808
1979
  updatedAt: Date;
1809
1980
  deletedAt: Date | null;
1981
+ categories: {
1982
+ id: string;
1983
+ value: string;
1984
+ createdAt: Date;
1985
+ updatedAt: Date;
1986
+ deletedAt: Date | null;
1987
+ level: 2 | 1 | 3;
1988
+ parentId: string | null;
1989
+ childCategoryList: {
1990
+ id: string;
1991
+ value: string;
1992
+ level: 2 | 1 | 3;
1993
+ parentId: string | null;
1994
+ childCategoryList: {
1995
+ id: string;
1996
+ value: string;
1997
+ level: 2 | 1 | 3;
1998
+ parentId: string | null;
1999
+ childCategoryList: any[];
2000
+ }[];
2001
+ }[];
2002
+ }[];
1810
2003
  tags: {
1811
2004
  id: string;
1812
2005
  name: string;
@@ -1817,6 +2010,18 @@ export declare const chatContract: {
1817
2010
  callFrom: string | null;
1818
2011
  callTo: string | null;
1819
2012
  note: string | null;
2013
+ customFields?: {
2014
+ id: string;
2015
+ createdAt: Date;
2016
+ updatedAt: Date;
2017
+ deletedAt: Date | null;
2018
+ entityId: string;
2019
+ attributeId: string;
2020
+ textValue: string | null;
2021
+ booleanValue: boolean | null;
2022
+ numberValue: number | null;
2023
+ dateValue: Date | null;
2024
+ }[] | null | undefined;
1820
2025
  }>>;
1821
2026
  }, "strip", z.ZodTypeAny, {
1822
2027
  id: string;
@@ -1835,11 +2040,34 @@ export declare const chatContract: {
1835
2040
  handledTime: number | null;
1836
2041
  firstResponseTime: number | null;
1837
2042
  wrapUpForm: {
2043
+ type: string;
1838
2044
  id: string;
1839
2045
  disposition: string | null;
1840
2046
  createdAt: Date;
1841
2047
  updatedAt: Date;
1842
2048
  deletedAt: Date | null;
2049
+ categories: {
2050
+ id: string;
2051
+ value: string;
2052
+ createdAt: Date;
2053
+ updatedAt: Date;
2054
+ deletedAt: Date | null;
2055
+ level: 2 | 1 | 3;
2056
+ parentId: string | null;
2057
+ childCategoryList: {
2058
+ id: string;
2059
+ value: string;
2060
+ level: 2 | 1 | 3;
2061
+ parentId: string | null;
2062
+ childCategoryList: {
2063
+ id: string;
2064
+ value: string;
2065
+ level: 2 | 1 | 3;
2066
+ parentId: string | null;
2067
+ childCategoryList: any[];
2068
+ }[];
2069
+ }[];
2070
+ }[];
1843
2071
  tags: {
1844
2072
  id: string;
1845
2073
  name: string;
@@ -1850,6 +2078,18 @@ export declare const chatContract: {
1850
2078
  callFrom: string | null;
1851
2079
  callTo: string | null;
1852
2080
  note: string | null;
2081
+ customFields?: {
2082
+ id: string;
2083
+ createdAt: Date;
2084
+ updatedAt: Date;
2085
+ deletedAt: Date | null;
2086
+ entityId: string;
2087
+ attributeId: string;
2088
+ textValue: string | null;
2089
+ booleanValue: boolean | null;
2090
+ numberValue: number | null;
2091
+ dateValue: Date | null;
2092
+ }[] | null | undefined;
1853
2093
  } | null;
1854
2094
  }, {
1855
2095
  id: string;
@@ -1868,11 +2108,34 @@ export declare const chatContract: {
1868
2108
  handledTime: number | null;
1869
2109
  firstResponseTime: number | null;
1870
2110
  wrapUpForm: {
2111
+ type: string;
1871
2112
  id: string;
1872
2113
  disposition: string | null;
1873
2114
  createdAt: Date;
1874
2115
  updatedAt: Date;
1875
2116
  deletedAt: Date | null;
2117
+ categories: {
2118
+ id: string;
2119
+ value: string;
2120
+ createdAt: Date;
2121
+ updatedAt: Date;
2122
+ deletedAt: Date | null;
2123
+ level: 2 | 1 | 3;
2124
+ parentId: string | null;
2125
+ childCategoryList: {
2126
+ id: string;
2127
+ value: string;
2128
+ level: 2 | 1 | 3;
2129
+ parentId: string | null;
2130
+ childCategoryList: {
2131
+ id: string;
2132
+ value: string;
2133
+ level: 2 | 1 | 3;
2134
+ parentId: string | null;
2135
+ childCategoryList: any[];
2136
+ }[];
2137
+ }[];
2138
+ }[];
1876
2139
  tags: {
1877
2140
  id: string;
1878
2141
  name: string;
@@ -1883,6 +2146,18 @@ export declare const chatContract: {
1883
2146
  callFrom: string | null;
1884
2147
  callTo: string | null;
1885
2148
  note: string | null;
2149
+ customFields?: {
2150
+ id: string;
2151
+ createdAt: Date;
2152
+ updatedAt: Date;
2153
+ deletedAt: Date | null;
2154
+ entityId: string;
2155
+ attributeId: string;
2156
+ textValue: string | null;
2157
+ booleanValue: boolean | null;
2158
+ numberValue: number | null;
2159
+ dateValue: Date | null;
2160
+ }[] | null | undefined;
1886
2161
  } | null;
1887
2162
  }>;
1888
2163
  workflowRule: z.ZodObject<{
@@ -2207,11 +2482,34 @@ export declare const chatContract: {
2207
2482
  handledTime: number | null;
2208
2483
  firstResponseTime: number | null;
2209
2484
  wrapUpForm: {
2485
+ type: string;
2210
2486
  id: string;
2211
2487
  disposition: string | null;
2212
2488
  createdAt: Date;
2213
2489
  updatedAt: Date;
2214
2490
  deletedAt: Date | null;
2491
+ categories: {
2492
+ id: string;
2493
+ value: string;
2494
+ createdAt: Date;
2495
+ updatedAt: Date;
2496
+ deletedAt: Date | null;
2497
+ level: 2 | 1 | 3;
2498
+ parentId: string | null;
2499
+ childCategoryList: {
2500
+ id: string;
2501
+ value: string;
2502
+ level: 2 | 1 | 3;
2503
+ parentId: string | null;
2504
+ childCategoryList: {
2505
+ id: string;
2506
+ value: string;
2507
+ level: 2 | 1 | 3;
2508
+ parentId: string | null;
2509
+ childCategoryList: any[];
2510
+ }[];
2511
+ }[];
2512
+ }[];
2215
2513
  tags: {
2216
2514
  id: string;
2217
2515
  name: string;
@@ -2222,6 +2520,18 @@ export declare const chatContract: {
2222
2520
  callFrom: string | null;
2223
2521
  callTo: string | null;
2224
2522
  note: string | null;
2523
+ customFields?: {
2524
+ id: string;
2525
+ createdAt: Date;
2526
+ updatedAt: Date;
2527
+ deletedAt: Date | null;
2528
+ entityId: string;
2529
+ attributeId: string;
2530
+ textValue: string | null;
2531
+ booleanValue: boolean | null;
2532
+ numberValue: number | null;
2533
+ dateValue: Date | null;
2534
+ }[] | null | undefined;
2225
2535
  } | null;
2226
2536
  };
2227
2537
  workflowRule: {
@@ -2530,11 +2840,34 @@ export declare const chatContract: {
2530
2840
  handledTime: number | null;
2531
2841
  firstResponseTime: number | null;
2532
2842
  wrapUpForm: {
2843
+ type: string;
2533
2844
  id: string;
2534
2845
  disposition: string | null;
2535
2846
  createdAt: Date;
2536
2847
  updatedAt: Date;
2537
2848
  deletedAt: Date | null;
2849
+ categories: {
2850
+ id: string;
2851
+ value: string;
2852
+ createdAt: Date;
2853
+ updatedAt: Date;
2854
+ deletedAt: Date | null;
2855
+ level: 2 | 1 | 3;
2856
+ parentId: string | null;
2857
+ childCategoryList: {
2858
+ id: string;
2859
+ value: string;
2860
+ level: 2 | 1 | 3;
2861
+ parentId: string | null;
2862
+ childCategoryList: {
2863
+ id: string;
2864
+ value: string;
2865
+ level: 2 | 1 | 3;
2866
+ parentId: string | null;
2867
+ childCategoryList: any[];
2868
+ }[];
2869
+ }[];
2870
+ }[];
2538
2871
  tags: {
2539
2872
  id: string;
2540
2873
  name: string;
@@ -2545,6 +2878,18 @@ export declare const chatContract: {
2545
2878
  callFrom: string | null;
2546
2879
  callTo: string | null;
2547
2880
  note: string | null;
2881
+ customFields?: {
2882
+ id: string;
2883
+ createdAt: Date;
2884
+ updatedAt: Date;
2885
+ deletedAt: Date | null;
2886
+ entityId: string;
2887
+ attributeId: string;
2888
+ textValue: string | null;
2889
+ booleanValue: boolean | null;
2890
+ numberValue: number | null;
2891
+ dateValue: Date | null;
2892
+ }[] | null | undefined;
2548
2893
  } | null;
2549
2894
  };
2550
2895
  workflowRule: {
@@ -2855,11 +3200,34 @@ export declare const chatContract: {
2855
3200
  handledTime: number | null;
2856
3201
  firstResponseTime: number | null;
2857
3202
  wrapUpForm: {
3203
+ type: string;
2858
3204
  id: string;
2859
3205
  disposition: string | null;
2860
3206
  createdAt: Date;
2861
3207
  updatedAt: Date;
2862
3208
  deletedAt: Date | null;
3209
+ categories: {
3210
+ id: string;
3211
+ value: string;
3212
+ createdAt: Date;
3213
+ updatedAt: Date;
3214
+ deletedAt: Date | null;
3215
+ level: 2 | 1 | 3;
3216
+ parentId: string | null;
3217
+ childCategoryList: {
3218
+ id: string;
3219
+ value: string;
3220
+ level: 2 | 1 | 3;
3221
+ parentId: string | null;
3222
+ childCategoryList: {
3223
+ id: string;
3224
+ value: string;
3225
+ level: 2 | 1 | 3;
3226
+ parentId: string | null;
3227
+ childCategoryList: any[];
3228
+ }[];
3229
+ }[];
3230
+ }[];
2863
3231
  tags: {
2864
3232
  id: string;
2865
3233
  name: string;
@@ -2870,6 +3238,18 @@ export declare const chatContract: {
2870
3238
  callFrom: string | null;
2871
3239
  callTo: string | null;
2872
3240
  note: string | null;
3241
+ customFields?: {
3242
+ id: string;
3243
+ createdAt: Date;
3244
+ updatedAt: Date;
3245
+ deletedAt: Date | null;
3246
+ entityId: string;
3247
+ attributeId: string;
3248
+ textValue: string | null;
3249
+ booleanValue: boolean | null;
3250
+ numberValue: number | null;
3251
+ dateValue: Date | null;
3252
+ }[] | null | undefined;
2873
3253
  } | null;
2874
3254
  };
2875
3255
  workflowRule: {
@@ -3181,11 +3561,34 @@ export declare const chatContract: {
3181
3561
  handledTime: number | null;
3182
3562
  firstResponseTime: number | null;
3183
3563
  wrapUpForm: {
3564
+ type: string;
3184
3565
  id: string;
3185
3566
  disposition: string | null;
3186
3567
  createdAt: Date;
3187
3568
  updatedAt: Date;
3188
3569
  deletedAt: Date | null;
3570
+ categories: {
3571
+ id: string;
3572
+ value: string;
3573
+ createdAt: Date;
3574
+ updatedAt: Date;
3575
+ deletedAt: Date | null;
3576
+ level: 2 | 1 | 3;
3577
+ parentId: string | null;
3578
+ childCategoryList: {
3579
+ id: string;
3580
+ value: string;
3581
+ level: 2 | 1 | 3;
3582
+ parentId: string | null;
3583
+ childCategoryList: {
3584
+ id: string;
3585
+ value: string;
3586
+ level: 2 | 1 | 3;
3587
+ parentId: string | null;
3588
+ childCategoryList: any[];
3589
+ }[];
3590
+ }[];
3591
+ }[];
3189
3592
  tags: {
3190
3593
  id: string;
3191
3594
  name: string;
@@ -3196,6 +3599,18 @@ export declare const chatContract: {
3196
3599
  callFrom: string | null;
3197
3600
  callTo: string | null;
3198
3601
  note: string | null;
3602
+ customFields?: {
3603
+ id: string;
3604
+ createdAt: Date;
3605
+ updatedAt: Date;
3606
+ deletedAt: Date | null;
3607
+ entityId: string;
3608
+ attributeId: string;
3609
+ textValue: string | null;
3610
+ booleanValue: boolean | null;
3611
+ numberValue: number | null;
3612
+ dateValue: Date | null;
3613
+ }[] | null | undefined;
3199
3614
  } | null;
3200
3615
  };
3201
3616
  workflowRule: {
@@ -4997,8 +5412,7 @@ export declare const chatContract: {
4997
5412
  deletedAt: z.ZodNullable<z.ZodDate>;
4998
5413
  note: z.ZodNullable<z.ZodString>;
4999
5414
  disposition: z.ZodNullable<z.ZodString>;
5000
- callFrom: z.ZodNullable<z.ZodString>;
5001
- callTo: z.ZodNullable<z.ZodString>;
5415
+ type: z.ZodString;
5002
5416
  tags: z.ZodArray<z.ZodObject<{
5003
5417
  id: z.ZodString;
5004
5418
  createdAt: z.ZodDate;
@@ -5018,12 +5432,171 @@ export declare const chatContract: {
5018
5432
  updatedAt: Date;
5019
5433
  deletedAt: Date | null;
5020
5434
  }>, "many">;
5435
+ categories: z.ZodArray<z.ZodObject<{
5436
+ id: z.ZodString;
5437
+ createdAt: z.ZodDate;
5438
+ updatedAt: z.ZodDate;
5439
+ deletedAt: z.ZodNullable<z.ZodDate>;
5440
+ value: z.ZodString;
5441
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
5442
+ parentId: z.ZodNullable<z.ZodString>;
5443
+ childCategoryList: z.ZodArray<z.ZodObject<{
5444
+ id: z.ZodString;
5445
+ value: z.ZodString;
5446
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
5447
+ parentId: z.ZodNullable<z.ZodString>;
5448
+ childCategoryList: z.ZodArray<z.ZodObject<{
5449
+ id: z.ZodString;
5450
+ value: z.ZodString;
5451
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
5452
+ parentId: z.ZodNullable<z.ZodString>;
5453
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
5454
+ }, "strip", z.ZodTypeAny, {
5455
+ id: string;
5456
+ value: string;
5457
+ level: 2 | 1 | 3;
5458
+ parentId: string | null;
5459
+ childCategoryList: any[];
5460
+ }, {
5461
+ id: string;
5462
+ value: string;
5463
+ level: 2 | 1 | 3;
5464
+ parentId: string | null;
5465
+ childCategoryList: any[];
5466
+ }>, "many">;
5467
+ }, "strip", z.ZodTypeAny, {
5468
+ id: string;
5469
+ value: string;
5470
+ level: 2 | 1 | 3;
5471
+ parentId: string | null;
5472
+ childCategoryList: {
5473
+ id: string;
5474
+ value: string;
5475
+ level: 2 | 1 | 3;
5476
+ parentId: string | null;
5477
+ childCategoryList: any[];
5478
+ }[];
5479
+ }, {
5480
+ id: string;
5481
+ value: string;
5482
+ level: 2 | 1 | 3;
5483
+ parentId: string | null;
5484
+ childCategoryList: {
5485
+ id: string;
5486
+ value: string;
5487
+ level: 2 | 1 | 3;
5488
+ parentId: string | null;
5489
+ childCategoryList: any[];
5490
+ }[];
5491
+ }>, "many">;
5492
+ }, "strip", z.ZodTypeAny, {
5493
+ id: string;
5494
+ value: string;
5495
+ createdAt: Date;
5496
+ updatedAt: Date;
5497
+ deletedAt: Date | null;
5498
+ level: 2 | 1 | 3;
5499
+ parentId: string | null;
5500
+ childCategoryList: {
5501
+ id: string;
5502
+ value: string;
5503
+ level: 2 | 1 | 3;
5504
+ parentId: string | null;
5505
+ childCategoryList: {
5506
+ id: string;
5507
+ value: string;
5508
+ level: 2 | 1 | 3;
5509
+ parentId: string | null;
5510
+ childCategoryList: any[];
5511
+ }[];
5512
+ }[];
5513
+ }, {
5514
+ id: string;
5515
+ value: string;
5516
+ createdAt: Date;
5517
+ updatedAt: Date;
5518
+ deletedAt: Date | null;
5519
+ level: 2 | 1 | 3;
5520
+ parentId: string | null;
5521
+ childCategoryList: {
5522
+ id: string;
5523
+ value: string;
5524
+ level: 2 | 1 | 3;
5525
+ parentId: string | null;
5526
+ childCategoryList: {
5527
+ id: string;
5528
+ value: string;
5529
+ level: 2 | 1 | 3;
5530
+ parentId: string | null;
5531
+ childCategoryList: any[];
5532
+ }[];
5533
+ }[];
5534
+ }>, "many">;
5535
+ callFrom: z.ZodNullable<z.ZodString>;
5536
+ callTo: z.ZodNullable<z.ZodString>;
5537
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5538
+ id: z.ZodString;
5539
+ createdAt: z.ZodDate;
5540
+ updatedAt: z.ZodDate;
5541
+ deletedAt: z.ZodNullable<z.ZodDate>;
5542
+ textValue: z.ZodNullable<z.ZodString>;
5543
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
5544
+ numberValue: z.ZodNullable<z.ZodNumber>;
5545
+ dateValue: z.ZodNullable<z.ZodDate>;
5546
+ entityId: z.ZodString;
5547
+ attributeId: z.ZodString;
5548
+ }, "strip", z.ZodTypeAny, {
5549
+ id: string;
5550
+ createdAt: Date;
5551
+ updatedAt: Date;
5552
+ deletedAt: Date | null;
5553
+ entityId: string;
5554
+ attributeId: string;
5555
+ textValue: string | null;
5556
+ booleanValue: boolean | null;
5557
+ numberValue: number | null;
5558
+ dateValue: Date | null;
5559
+ }, {
5560
+ id: string;
5561
+ createdAt: Date;
5562
+ updatedAt: Date;
5563
+ deletedAt: Date | null;
5564
+ entityId: string;
5565
+ attributeId: string;
5566
+ textValue: string | null;
5567
+ booleanValue: boolean | null;
5568
+ numberValue: number | null;
5569
+ dateValue: Date | null;
5570
+ }>, "many">>>;
5021
5571
  }, "strip", z.ZodTypeAny, {
5572
+ type: string;
5022
5573
  id: string;
5023
5574
  disposition: string | null;
5024
5575
  createdAt: Date;
5025
5576
  updatedAt: Date;
5026
5577
  deletedAt: Date | null;
5578
+ categories: {
5579
+ id: string;
5580
+ value: string;
5581
+ createdAt: Date;
5582
+ updatedAt: Date;
5583
+ deletedAt: Date | null;
5584
+ level: 2 | 1 | 3;
5585
+ parentId: string | null;
5586
+ childCategoryList: {
5587
+ id: string;
5588
+ value: string;
5589
+ level: 2 | 1 | 3;
5590
+ parentId: string | null;
5591
+ childCategoryList: {
5592
+ id: string;
5593
+ value: string;
5594
+ level: 2 | 1 | 3;
5595
+ parentId: string | null;
5596
+ childCategoryList: any[];
5597
+ }[];
5598
+ }[];
5599
+ }[];
5027
5600
  tags: {
5028
5601
  id: string;
5029
5602
  name: string;
@@ -5034,12 +5607,47 @@ export declare const chatContract: {
5034
5607
  callFrom: string | null;
5035
5608
  callTo: string | null;
5036
5609
  note: string | null;
5610
+ customFields?: {
5611
+ id: string;
5612
+ createdAt: Date;
5613
+ updatedAt: Date;
5614
+ deletedAt: Date | null;
5615
+ entityId: string;
5616
+ attributeId: string;
5617
+ textValue: string | null;
5618
+ booleanValue: boolean | null;
5619
+ numberValue: number | null;
5620
+ dateValue: Date | null;
5621
+ }[] | null | undefined;
5037
5622
  }, {
5623
+ type: string;
5038
5624
  id: string;
5039
5625
  disposition: string | null;
5040
5626
  createdAt: Date;
5041
5627
  updatedAt: Date;
5042
5628
  deletedAt: Date | null;
5629
+ categories: {
5630
+ id: string;
5631
+ value: string;
5632
+ createdAt: Date;
5633
+ updatedAt: Date;
5634
+ deletedAt: Date | null;
5635
+ level: 2 | 1 | 3;
5636
+ parentId: string | null;
5637
+ childCategoryList: {
5638
+ id: string;
5639
+ value: string;
5640
+ level: 2 | 1 | 3;
5641
+ parentId: string | null;
5642
+ childCategoryList: {
5643
+ id: string;
5644
+ value: string;
5645
+ level: 2 | 1 | 3;
5646
+ parentId: string | null;
5647
+ childCategoryList: any[];
5648
+ }[];
5649
+ }[];
5650
+ }[];
5043
5651
  tags: {
5044
5652
  id: string;
5045
5653
  name: string;
@@ -5050,6 +5658,18 @@ export declare const chatContract: {
5050
5658
  callFrom: string | null;
5051
5659
  callTo: string | null;
5052
5660
  note: string | null;
5661
+ customFields?: {
5662
+ id: string;
5663
+ createdAt: Date;
5664
+ updatedAt: Date;
5665
+ deletedAt: Date | null;
5666
+ entityId: string;
5667
+ attributeId: string;
5668
+ textValue: string | null;
5669
+ booleanValue: boolean | null;
5670
+ numberValue: number | null;
5671
+ dateValue: Date | null;
5672
+ }[] | null | undefined;
5053
5673
  }>>;
5054
5674
  }, "strip", z.ZodTypeAny, {
5055
5675
  id: string;
@@ -5068,11 +5688,34 @@ export declare const chatContract: {
5068
5688
  handledTime: number | null;
5069
5689
  firstResponseTime: number | null;
5070
5690
  wrapUpForm: {
5691
+ type: string;
5071
5692
  id: string;
5072
5693
  disposition: string | null;
5073
5694
  createdAt: Date;
5074
5695
  updatedAt: Date;
5075
5696
  deletedAt: Date | null;
5697
+ categories: {
5698
+ id: string;
5699
+ value: string;
5700
+ createdAt: Date;
5701
+ updatedAt: Date;
5702
+ deletedAt: Date | null;
5703
+ level: 2 | 1 | 3;
5704
+ parentId: string | null;
5705
+ childCategoryList: {
5706
+ id: string;
5707
+ value: string;
5708
+ level: 2 | 1 | 3;
5709
+ parentId: string | null;
5710
+ childCategoryList: {
5711
+ id: string;
5712
+ value: string;
5713
+ level: 2 | 1 | 3;
5714
+ parentId: string | null;
5715
+ childCategoryList: any[];
5716
+ }[];
5717
+ }[];
5718
+ }[];
5076
5719
  tags: {
5077
5720
  id: string;
5078
5721
  name: string;
@@ -5083,6 +5726,18 @@ export declare const chatContract: {
5083
5726
  callFrom: string | null;
5084
5727
  callTo: string | null;
5085
5728
  note: string | null;
5729
+ customFields?: {
5730
+ id: string;
5731
+ createdAt: Date;
5732
+ updatedAt: Date;
5733
+ deletedAt: Date | null;
5734
+ entityId: string;
5735
+ attributeId: string;
5736
+ textValue: string | null;
5737
+ booleanValue: boolean | null;
5738
+ numberValue: number | null;
5739
+ dateValue: Date | null;
5740
+ }[] | null | undefined;
5086
5741
  } | null;
5087
5742
  }, {
5088
5743
  id: string;
@@ -5101,11 +5756,34 @@ export declare const chatContract: {
5101
5756
  handledTime: number | null;
5102
5757
  firstResponseTime: number | null;
5103
5758
  wrapUpForm: {
5759
+ type: string;
5104
5760
  id: string;
5105
5761
  disposition: string | null;
5106
5762
  createdAt: Date;
5107
5763
  updatedAt: Date;
5108
5764
  deletedAt: Date | null;
5765
+ categories: {
5766
+ id: string;
5767
+ value: string;
5768
+ createdAt: Date;
5769
+ updatedAt: Date;
5770
+ deletedAt: Date | null;
5771
+ level: 2 | 1 | 3;
5772
+ parentId: string | null;
5773
+ childCategoryList: {
5774
+ id: string;
5775
+ value: string;
5776
+ level: 2 | 1 | 3;
5777
+ parentId: string | null;
5778
+ childCategoryList: {
5779
+ id: string;
5780
+ value: string;
5781
+ level: 2 | 1 | 3;
5782
+ parentId: string | null;
5783
+ childCategoryList: any[];
5784
+ }[];
5785
+ }[];
5786
+ }[];
5109
5787
  tags: {
5110
5788
  id: string;
5111
5789
  name: string;
@@ -5116,6 +5794,18 @@ export declare const chatContract: {
5116
5794
  callFrom: string | null;
5117
5795
  callTo: string | null;
5118
5796
  note: string | null;
5797
+ customFields?: {
5798
+ id: string;
5799
+ createdAt: Date;
5800
+ updatedAt: Date;
5801
+ deletedAt: Date | null;
5802
+ entityId: string;
5803
+ attributeId: string;
5804
+ textValue: string | null;
5805
+ booleanValue: boolean | null;
5806
+ numberValue: number | null;
5807
+ dateValue: Date | null;
5808
+ }[] | null | undefined;
5119
5809
  } | null;
5120
5810
  }>;
5121
5811
  workflowRule: z.ZodObject<{
@@ -5441,11 +6131,34 @@ export declare const chatContract: {
5441
6131
  handledTime: number | null;
5442
6132
  firstResponseTime: number | null;
5443
6133
  wrapUpForm: {
6134
+ type: string;
5444
6135
  id: string;
5445
6136
  disposition: string | null;
5446
6137
  createdAt: Date;
5447
6138
  updatedAt: Date;
5448
6139
  deletedAt: Date | null;
6140
+ categories: {
6141
+ id: string;
6142
+ value: string;
6143
+ createdAt: Date;
6144
+ updatedAt: Date;
6145
+ deletedAt: Date | null;
6146
+ level: 2 | 1 | 3;
6147
+ parentId: string | null;
6148
+ childCategoryList: {
6149
+ id: string;
6150
+ value: string;
6151
+ level: 2 | 1 | 3;
6152
+ parentId: string | null;
6153
+ childCategoryList: {
6154
+ id: string;
6155
+ value: string;
6156
+ level: 2 | 1 | 3;
6157
+ parentId: string | null;
6158
+ childCategoryList: any[];
6159
+ }[];
6160
+ }[];
6161
+ }[];
5449
6162
  tags: {
5450
6163
  id: string;
5451
6164
  name: string;
@@ -5456,6 +6169,18 @@ export declare const chatContract: {
5456
6169
  callFrom: string | null;
5457
6170
  callTo: string | null;
5458
6171
  note: string | null;
6172
+ customFields?: {
6173
+ id: string;
6174
+ createdAt: Date;
6175
+ updatedAt: Date;
6176
+ deletedAt: Date | null;
6177
+ entityId: string;
6178
+ attributeId: string;
6179
+ textValue: string | null;
6180
+ booleanValue: boolean | null;
6181
+ numberValue: number | null;
6182
+ dateValue: Date | null;
6183
+ }[] | null | undefined;
5459
6184
  } | null;
5460
6185
  };
5461
6186
  workflowRule: {
@@ -5765,11 +6490,34 @@ export declare const chatContract: {
5765
6490
  handledTime: number | null;
5766
6491
  firstResponseTime: number | null;
5767
6492
  wrapUpForm: {
6493
+ type: string;
5768
6494
  id: string;
5769
6495
  disposition: string | null;
5770
6496
  createdAt: Date;
5771
6497
  updatedAt: Date;
5772
6498
  deletedAt: Date | null;
6499
+ categories: {
6500
+ id: string;
6501
+ value: string;
6502
+ createdAt: Date;
6503
+ updatedAt: Date;
6504
+ deletedAt: Date | null;
6505
+ level: 2 | 1 | 3;
6506
+ parentId: string | null;
6507
+ childCategoryList: {
6508
+ id: string;
6509
+ value: string;
6510
+ level: 2 | 1 | 3;
6511
+ parentId: string | null;
6512
+ childCategoryList: {
6513
+ id: string;
6514
+ value: string;
6515
+ level: 2 | 1 | 3;
6516
+ parentId: string | null;
6517
+ childCategoryList: any[];
6518
+ }[];
6519
+ }[];
6520
+ }[];
5773
6521
  tags: {
5774
6522
  id: string;
5775
6523
  name: string;
@@ -5780,6 +6528,18 @@ export declare const chatContract: {
5780
6528
  callFrom: string | null;
5781
6529
  callTo: string | null;
5782
6530
  note: string | null;
6531
+ customFields?: {
6532
+ id: string;
6533
+ createdAt: Date;
6534
+ updatedAt: Date;
6535
+ deletedAt: Date | null;
6536
+ entityId: string;
6537
+ attributeId: string;
6538
+ textValue: string | null;
6539
+ booleanValue: boolean | null;
6540
+ numberValue: number | null;
6541
+ dateValue: Date | null;
6542
+ }[] | null | undefined;
5783
6543
  } | null;
5784
6544
  };
5785
6545
  workflowRule: {
@@ -6091,11 +6851,34 @@ export declare const chatContract: {
6091
6851
  handledTime: number | null;
6092
6852
  firstResponseTime: number | null;
6093
6853
  wrapUpForm: {
6854
+ type: string;
6094
6855
  id: string;
6095
6856
  disposition: string | null;
6096
6857
  createdAt: Date;
6097
6858
  updatedAt: Date;
6098
6859
  deletedAt: Date | null;
6860
+ categories: {
6861
+ id: string;
6862
+ value: string;
6863
+ createdAt: Date;
6864
+ updatedAt: Date;
6865
+ deletedAt: Date | null;
6866
+ level: 2 | 1 | 3;
6867
+ parentId: string | null;
6868
+ childCategoryList: {
6869
+ id: string;
6870
+ value: string;
6871
+ level: 2 | 1 | 3;
6872
+ parentId: string | null;
6873
+ childCategoryList: {
6874
+ id: string;
6875
+ value: string;
6876
+ level: 2 | 1 | 3;
6877
+ parentId: string | null;
6878
+ childCategoryList: any[];
6879
+ }[];
6880
+ }[];
6881
+ }[];
6099
6882
  tags: {
6100
6883
  id: string;
6101
6884
  name: string;
@@ -6106,6 +6889,18 @@ export declare const chatContract: {
6106
6889
  callFrom: string | null;
6107
6890
  callTo: string | null;
6108
6891
  note: string | null;
6892
+ customFields?: {
6893
+ id: string;
6894
+ createdAt: Date;
6895
+ updatedAt: Date;
6896
+ deletedAt: Date | null;
6897
+ entityId: string;
6898
+ attributeId: string;
6899
+ textValue: string | null;
6900
+ booleanValue: boolean | null;
6901
+ numberValue: number | null;
6902
+ dateValue: Date | null;
6903
+ }[] | null | undefined;
6109
6904
  } | null;
6110
6905
  };
6111
6906
  workflowRule: {
@@ -6418,11 +7213,34 @@ export declare const chatContract: {
6418
7213
  handledTime: number | null;
6419
7214
  firstResponseTime: number | null;
6420
7215
  wrapUpForm: {
7216
+ type: string;
6421
7217
  id: string;
6422
7218
  disposition: string | null;
6423
7219
  createdAt: Date;
6424
7220
  updatedAt: Date;
6425
7221
  deletedAt: Date | null;
7222
+ categories: {
7223
+ id: string;
7224
+ value: string;
7225
+ createdAt: Date;
7226
+ updatedAt: Date;
7227
+ deletedAt: Date | null;
7228
+ level: 2 | 1 | 3;
7229
+ parentId: string | null;
7230
+ childCategoryList: {
7231
+ id: string;
7232
+ value: string;
7233
+ level: 2 | 1 | 3;
7234
+ parentId: string | null;
7235
+ childCategoryList: {
7236
+ id: string;
7237
+ value: string;
7238
+ level: 2 | 1 | 3;
7239
+ parentId: string | null;
7240
+ childCategoryList: any[];
7241
+ }[];
7242
+ }[];
7243
+ }[];
6426
7244
  tags: {
6427
7245
  id: string;
6428
7246
  name: string;
@@ -6433,6 +7251,18 @@ export declare const chatContract: {
6433
7251
  callFrom: string | null;
6434
7252
  callTo: string | null;
6435
7253
  note: string | null;
7254
+ customFields?: {
7255
+ id: string;
7256
+ createdAt: Date;
7257
+ updatedAt: Date;
7258
+ deletedAt: Date | null;
7259
+ entityId: string;
7260
+ attributeId: string;
7261
+ textValue: string | null;
7262
+ booleanValue: boolean | null;
7263
+ numberValue: number | null;
7264
+ dateValue: Date | null;
7265
+ }[] | null | undefined;
6436
7266
  } | null;
6437
7267
  };
6438
7268
  workflowRule: {