@chykalophia/clickup-mcp-server 3.2.0

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 (211) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +467 -0
  3. package/bin/clickup-mcp-server-ai.js +9 -0
  4. package/bin/clickup-mcp-server-basic.js +9 -0
  5. package/bin/clickup-mcp-server-efficiency.js +9 -0
  6. package/bin/clickup-mcp-server-enhanced.js +9 -0
  7. package/build/app.d.ts +1 -0
  8. package/build/app.js +2 -0
  9. package/build/app.js.map +1 -0
  10. package/build/clickup-client/attachments-enhanced.d.ts +128 -0
  11. package/build/clickup-client/attachments-enhanced.js +212 -0
  12. package/build/clickup-client/attachments-enhanced.js.map +1 -0
  13. package/build/clickup-client/auth.d.ts +254 -0
  14. package/build/clickup-client/auth.js +105 -0
  15. package/build/clickup-client/auth.js.map +1 -0
  16. package/build/clickup-client/chat-enhanced.d.ts +141 -0
  17. package/build/clickup-client/chat-enhanced.js +196 -0
  18. package/build/clickup-client/chat-enhanced.js.map +1 -0
  19. package/build/clickup-client/checklists.d.ts +87 -0
  20. package/build/clickup-client/checklists.js +63 -0
  21. package/build/clickup-client/checklists.js.map +1 -0
  22. package/build/clickup-client/comments-enhanced.d.ts +176 -0
  23. package/build/clickup-client/comments-enhanced.js +230 -0
  24. package/build/clickup-client/comments-enhanced.js.map +1 -0
  25. package/build/clickup-client/comments.d.ts +173 -0
  26. package/build/clickup-client/comments.js +312 -0
  27. package/build/clickup-client/comments.js.map +1 -0
  28. package/build/clickup-client/custom-fields-enhanced.d.ts +286 -0
  29. package/build/clickup-client/custom-fields-enhanced.js +416 -0
  30. package/build/clickup-client/custom-fields-enhanced.js.map +1 -0
  31. package/build/clickup-client/dependencies-enhanced.d.ts +144 -0
  32. package/build/clickup-client/dependencies-enhanced.js +142 -0
  33. package/build/clickup-client/dependencies-enhanced.js.map +1 -0
  34. package/build/clickup-client/docs-enhanced.d.ts +176 -0
  35. package/build/clickup-client/docs-enhanced.js +374 -0
  36. package/build/clickup-client/docs-enhanced.js.map +1 -0
  37. package/build/clickup-client/docs.d.ts +84 -0
  38. package/build/clickup-client/docs.js +156 -0
  39. package/build/clickup-client/docs.js.map +1 -0
  40. package/build/clickup-client/folders.d.ts +62 -0
  41. package/build/clickup-client/folders.js +53 -0
  42. package/build/clickup-client/folders.js.map +1 -0
  43. package/build/clickup-client/goals-enhanced.d.ts +163 -0
  44. package/build/clickup-client/goals-enhanced.js +309 -0
  45. package/build/clickup-client/goals-enhanced.js.map +1 -0
  46. package/build/clickup-client/index.d.ts +16 -0
  47. package/build/clickup-client/index.js +61 -0
  48. package/build/clickup-client/index.js.map +1 -0
  49. package/build/clickup-client/lists.d.ts +105 -0
  50. package/build/clickup-client/lists.js +108 -0
  51. package/build/clickup-client/lists.js.map +1 -0
  52. package/build/clickup-client/secure-client.d.ts +88 -0
  53. package/build/clickup-client/secure-client.js +275 -0
  54. package/build/clickup-client/secure-client.js.map +1 -0
  55. package/build/clickup-client/spaces.d.ts +58 -0
  56. package/build/clickup-client/spaces.js +28 -0
  57. package/build/clickup-client/spaces.js.map +1 -0
  58. package/build/clickup-client/tasks.d.ts +161 -0
  59. package/build/clickup-client/tasks.js +99 -0
  60. package/build/clickup-client/tasks.js.map +1 -0
  61. package/build/clickup-client/time-tracking-enhanced.d.ts +153 -0
  62. package/build/clickup-client/time-tracking-enhanced.js +292 -0
  63. package/build/clickup-client/time-tracking-enhanced.js.map +1 -0
  64. package/build/clickup-client/views-enhanced.d.ts +149 -0
  65. package/build/clickup-client/views-enhanced.js +210 -0
  66. package/build/clickup-client/views-enhanced.js.map +1 -0
  67. package/build/clickup-client/webhooks-enhanced.d.ts +119 -0
  68. package/build/clickup-client/webhooks-enhanced.js +169 -0
  69. package/build/clickup-client/webhooks-enhanced.js.map +1 -0
  70. package/build/controllers/lists.controller.d.ts +1 -0
  71. package/build/controllers/lists.controller.js +2 -0
  72. package/build/controllers/lists.controller.js.map +1 -0
  73. package/build/index-efficiency-simple.d.ts +2 -0
  74. package/build/index-efficiency-simple.js +379 -0
  75. package/build/index-efficiency-simple.js.map +1 -0
  76. package/build/index-enhanced-efficiency.d.ts +2 -0
  77. package/build/index-enhanced-efficiency.js +275 -0
  78. package/build/index-enhanced-efficiency.js.map +1 -0
  79. package/build/index-enhanced.d.ts +2 -0
  80. package/build/index-enhanced.js +74 -0
  81. package/build/index-enhanced.js.map +1 -0
  82. package/build/index.d.ts +2 -0
  83. package/build/index.js +77 -0
  84. package/build/index.js.map +1 -0
  85. package/build/resources/checklist-resources.d.ts +2 -0
  86. package/build/resources/checklist-resources.js +102 -0
  87. package/build/resources/checklist-resources.js.map +1 -0
  88. package/build/resources/comment-resources.d.ts +2 -0
  89. package/build/resources/comment-resources.js +152 -0
  90. package/build/resources/comment-resources.js.map +1 -0
  91. package/build/resources/doc-resources.d.ts +2 -0
  92. package/build/resources/doc-resources.js +77 -0
  93. package/build/resources/doc-resources.js.map +1 -0
  94. package/build/resources/folder-resources.d.ts +2 -0
  95. package/build/resources/folder-resources.js +160 -0
  96. package/build/resources/folder-resources.js.map +1 -0
  97. package/build/resources/list-resources.d.ts +2 -0
  98. package/build/resources/list-resources.js +104 -0
  99. package/build/resources/list-resources.js.map +1 -0
  100. package/build/resources/space-resources.d.ts +2 -0
  101. package/build/resources/space-resources.js +104 -0
  102. package/build/resources/space-resources.js.map +1 -0
  103. package/build/resources/task-resources.d.ts +2 -0
  104. package/build/resources/task-resources.js +57 -0
  105. package/build/resources/task-resources.js.map +1 -0
  106. package/build/routes/lists.routes.d.ts +1 -0
  107. package/build/routes/lists.routes.js +2 -0
  108. package/build/routes/lists.routes.js.map +1 -0
  109. package/build/schemas/attachments-schemas.d.ts +201 -0
  110. package/build/schemas/attachments-schemas.js +250 -0
  111. package/build/schemas/attachments-schemas.js.map +1 -0
  112. package/build/schemas/chat-schemas.d.ts +478 -0
  113. package/build/schemas/chat-schemas.js +173 -0
  114. package/build/schemas/chat-schemas.js.map +1 -0
  115. package/build/schemas/custom-field-schemas.d.ts +1617 -0
  116. package/build/schemas/custom-field-schemas.js +384 -0
  117. package/build/schemas/custom-field-schemas.js.map +1 -0
  118. package/build/schemas/dependencies-schemas.d.ts +274 -0
  119. package/build/schemas/dependencies-schemas.js +176 -0
  120. package/build/schemas/dependencies-schemas.js.map +1 -0
  121. package/build/schemas/document-schemas.d.ts +433 -0
  122. package/build/schemas/document-schemas.js +168 -0
  123. package/build/schemas/document-schemas.js.map +1 -0
  124. package/build/schemas/goals-schemas.d.ts +961 -0
  125. package/build/schemas/goals-schemas.js +293 -0
  126. package/build/schemas/goals-schemas.js.map +1 -0
  127. package/build/schemas/time-tracking-schemas.d.ts +741 -0
  128. package/build/schemas/time-tracking-schemas.js +234 -0
  129. package/build/schemas/time-tracking-schemas.js.map +1 -0
  130. package/build/schemas/views-schemas.d.ts +1168 -0
  131. package/build/schemas/views-schemas.js +221 -0
  132. package/build/schemas/views-schemas.js.map +1 -0
  133. package/build/schemas/webhook-schemas.d.ts +1127 -0
  134. package/build/schemas/webhook-schemas.js +137 -0
  135. package/build/schemas/webhook-schemas.js.map +1 -0
  136. package/build/services/lists.service.d.ts +1 -0
  137. package/build/services/lists.service.js +2 -0
  138. package/build/services/lists.service.js.map +1 -0
  139. package/build/tools/attachments-tools-setup.d.ts +2 -0
  140. package/build/tools/attachments-tools-setup.js +387 -0
  141. package/build/tools/attachments-tools-setup.js.map +1 -0
  142. package/build/tools/chat-tools-enhanced.d.ts +5 -0
  143. package/build/tools/chat-tools-enhanced.js +396 -0
  144. package/build/tools/chat-tools-enhanced.js.map +1 -0
  145. package/build/tools/chat-tools.d.ts +2 -0
  146. package/build/tools/chat-tools.js +614 -0
  147. package/build/tools/chat-tools.js.map +1 -0
  148. package/build/tools/checklist-tools.d.ts +2 -0
  149. package/build/tools/checklist-tools.js +139 -0
  150. package/build/tools/checklist-tools.js.map +1 -0
  151. package/build/tools/comment-tools.d.ts +2 -0
  152. package/build/tools/comment-tools.js +295 -0
  153. package/build/tools/comment-tools.js.map +1 -0
  154. package/build/tools/custom-field-tools.d.ts +2 -0
  155. package/build/tools/custom-field-tools.js +578 -0
  156. package/build/tools/custom-field-tools.js.map +1 -0
  157. package/build/tools/dependencies-tools-setup.d.ts +2 -0
  158. package/build/tools/dependencies-tools-setup.js +319 -0
  159. package/build/tools/dependencies-tools-setup.js.map +1 -0
  160. package/build/tools/doc-tools-enhanced.d.ts +2 -0
  161. package/build/tools/doc-tools-enhanced.js +417 -0
  162. package/build/tools/doc-tools-enhanced.js.map +1 -0
  163. package/build/tools/doc-tools.d.ts +2 -0
  164. package/build/tools/doc-tools.js +109 -0
  165. package/build/tools/doc-tools.js.map +1 -0
  166. package/build/tools/goals-tools.d.ts +2 -0
  167. package/build/tools/goals-tools.js +422 -0
  168. package/build/tools/goals-tools.js.map +1 -0
  169. package/build/tools/helper-tools.d.ts +2 -0
  170. package/build/tools/helper-tools.js +363 -0
  171. package/build/tools/helper-tools.js.map +1 -0
  172. package/build/tools/space-tools.d.ts +2 -0
  173. package/build/tools/space-tools.js +45 -0
  174. package/build/tools/space-tools.js.map +1 -0
  175. package/build/tools/task-tools.d.ts +2 -0
  176. package/build/tools/task-tools.js +415 -0
  177. package/build/tools/task-tools.js.map +1 -0
  178. package/build/tools/time-tracking-tools.d.ts +2 -0
  179. package/build/tools/time-tracking-tools.js +329 -0
  180. package/build/tools/time-tracking-tools.js.map +1 -0
  181. package/build/tools/views-tools-setup.d.ts +2 -0
  182. package/build/tools/views-tools-setup.js +358 -0
  183. package/build/tools/views-tools-setup.js.map +1 -0
  184. package/build/tools/webhook-tools-setup.d.ts +2 -0
  185. package/build/tools/webhook-tools-setup.js +304 -0
  186. package/build/tools/webhook-tools-setup.js.map +1 -0
  187. package/build/tools/webhook-tools.d.ts +4 -0
  188. package/build/tools/webhook-tools.js +345 -0
  189. package/build/tools/webhook-tools.js.map +1 -0
  190. package/build/utils/clickup-comment-formatter.d.ts +124 -0
  191. package/build/utils/clickup-comment-formatter.js +504 -0
  192. package/build/utils/clickup-comment-formatter.js.map +1 -0
  193. package/build/utils/context-aware-suggestions.d.ts +45 -0
  194. package/build/utils/context-aware-suggestions.js +360 -0
  195. package/build/utils/context-aware-suggestions.js.map +1 -0
  196. package/build/utils/error-handling.d.ts +140 -0
  197. package/build/utils/error-handling.js +392 -0
  198. package/build/utils/error-handling.js.map +1 -0
  199. package/build/utils/markdown-styling.d.ts +40 -0
  200. package/build/utils/markdown-styling.js +344 -0
  201. package/build/utils/markdown-styling.js.map +1 -0
  202. package/build/utils/markdown.d.ts +54 -0
  203. package/build/utils/markdown.js +243 -0
  204. package/build/utils/markdown.js.map +1 -0
  205. package/build/utils/security.d.ts +79 -0
  206. package/build/utils/security.js +303 -0
  207. package/build/utils/security.js.map +1 -0
  208. package/build/utils/tool-efficiency.d.ts +59 -0
  209. package/build/utils/tool-efficiency.js +247 -0
  210. package/build/utils/tool-efficiency.js.map +1 -0
  211. package/package.json +130 -0
@@ -0,0 +1,1168 @@
1
+ import { z } from 'zod';
2
+ export declare const ViewTypeSchema: z.ZodEnum<["list", "board", "calendar", "gantt", "timeline", "table", "form", "chat", "workload", "activity", "map", "embed"]>;
3
+ export declare const ViewAccessSchema: z.ZodEnum<["private", "shared", "public"]>;
4
+ export declare const FilterOperatorSchema: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "starts_with", "ends_with", "is_empty", "is_not_empty", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "between", "not_between", "in", "not_in", "is_set", "is_not_set"]>;
5
+ export declare const ViewFilterSchema: z.ZodObject<{
6
+ field: z.ZodString;
7
+ operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "starts_with", "ends_with", "is_empty", "is_not_empty", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "between", "not_between", "in", "not_in", "is_set", "is_not_set"]>;
8
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
9
+ values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ field: string;
12
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
13
+ value?: string | number | string[] | number[] | undefined;
14
+ values?: (string | number)[] | undefined;
15
+ }, {
16
+ field: string;
17
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
18
+ value?: string | number | string[] | number[] | undefined;
19
+ values?: (string | number)[] | undefined;
20
+ }>;
21
+ export declare const ViewGroupingSchema: z.ZodObject<{
22
+ field: z.ZodString;
23
+ collapsed: z.ZodDefault<z.ZodBoolean>;
24
+ order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ collapsed: boolean;
27
+ field: string;
28
+ order: "asc" | "desc";
29
+ }, {
30
+ field: string;
31
+ collapsed?: boolean | undefined;
32
+ order?: "asc" | "desc" | undefined;
33
+ }>;
34
+ export declare const ViewSortingSchema: z.ZodObject<{
35
+ field: z.ZodString;
36
+ order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ field: string;
39
+ order: "asc" | "desc";
40
+ }, {
41
+ field: string;
42
+ order?: "asc" | "desc" | undefined;
43
+ }>;
44
+ export declare const BoardViewSettingsSchema: z.ZodObject<{
45
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
46
+ id: z.ZodString;
47
+ name: z.ZodString;
48
+ color: z.ZodOptional<z.ZodString>;
49
+ orderindex: z.ZodOptional<z.ZodNumber>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ id: string;
52
+ name: string;
53
+ color?: string | undefined;
54
+ orderindex?: number | undefined;
55
+ }, {
56
+ id: string;
57
+ name: string;
58
+ color?: string | undefined;
59
+ orderindex?: number | undefined;
60
+ }>, "many">>;
61
+ swimlanes: z.ZodOptional<z.ZodObject<{
62
+ field: z.ZodString;
63
+ collapsed: z.ZodDefault<z.ZodBoolean>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ collapsed: boolean;
66
+ field: string;
67
+ }, {
68
+ field: string;
69
+ collapsed?: boolean | undefined;
70
+ }>>;
71
+ card_size: z.ZodDefault<z.ZodEnum<["small", "medium", "large"]>>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ card_size: "small" | "medium" | "large";
74
+ columns?: {
75
+ id: string;
76
+ name: string;
77
+ color?: string | undefined;
78
+ orderindex?: number | undefined;
79
+ }[] | undefined;
80
+ swimlanes?: {
81
+ collapsed: boolean;
82
+ field: string;
83
+ } | undefined;
84
+ }, {
85
+ columns?: {
86
+ id: string;
87
+ name: string;
88
+ color?: string | undefined;
89
+ orderindex?: number | undefined;
90
+ }[] | undefined;
91
+ swimlanes?: {
92
+ field: string;
93
+ collapsed?: boolean | undefined;
94
+ } | undefined;
95
+ card_size?: "small" | "medium" | "large" | undefined;
96
+ }>;
97
+ export declare const CalendarViewSettingsSchema: z.ZodObject<{
98
+ date_field: z.ZodString;
99
+ view_mode: z.ZodDefault<z.ZodEnum<["month", "week", "day"]>>;
100
+ show_weekends: z.ZodDefault<z.ZodBoolean>;
101
+ start_day: z.ZodDefault<z.ZodEnum<["sunday", "monday"]>>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ date_field: string;
104
+ view_mode: "month" | "week" | "day";
105
+ show_weekends: boolean;
106
+ start_day: "sunday" | "monday";
107
+ }, {
108
+ date_field: string;
109
+ view_mode?: "month" | "week" | "day" | undefined;
110
+ show_weekends?: boolean | undefined;
111
+ start_day?: "sunday" | "monday" | undefined;
112
+ }>;
113
+ export declare const GanttViewSettingsSchema: z.ZodObject<{
114
+ start_date_field: z.ZodString;
115
+ due_date_field: z.ZodString;
116
+ show_dependencies: z.ZodDefault<z.ZodBoolean>;
117
+ show_critical_path: z.ZodDefault<z.ZodBoolean>;
118
+ zoom_level: z.ZodDefault<z.ZodEnum<["hours", "days", "weeks", "months"]>>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ start_date_field: string;
121
+ due_date_field: string;
122
+ show_dependencies: boolean;
123
+ show_critical_path: boolean;
124
+ zoom_level: "days" | "hours" | "weeks" | "months";
125
+ }, {
126
+ start_date_field: string;
127
+ due_date_field: string;
128
+ show_dependencies?: boolean | undefined;
129
+ show_critical_path?: boolean | undefined;
130
+ zoom_level?: "days" | "hours" | "weeks" | "months" | undefined;
131
+ }>;
132
+ export declare const TableViewSettingsSchema: z.ZodObject<{
133
+ columns: z.ZodArray<z.ZodObject<{
134
+ field: z.ZodString;
135
+ width: z.ZodOptional<z.ZodNumber>;
136
+ visible: z.ZodDefault<z.ZodBoolean>;
137
+ orderindex: z.ZodOptional<z.ZodNumber>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ field: string;
140
+ visible: boolean;
141
+ orderindex?: number | undefined;
142
+ width?: number | undefined;
143
+ }, {
144
+ field: string;
145
+ orderindex?: number | undefined;
146
+ width?: number | undefined;
147
+ visible?: boolean | undefined;
148
+ }>, "many">;
149
+ row_height: z.ZodDefault<z.ZodEnum<["compact", "comfortable", "spacious"]>>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ columns: {
152
+ field: string;
153
+ visible: boolean;
154
+ orderindex?: number | undefined;
155
+ width?: number | undefined;
156
+ }[];
157
+ row_height: "compact" | "comfortable" | "spacious";
158
+ }, {
159
+ columns: {
160
+ field: string;
161
+ orderindex?: number | undefined;
162
+ width?: number | undefined;
163
+ visible?: boolean | undefined;
164
+ }[];
165
+ row_height?: "compact" | "comfortable" | "spacious" | undefined;
166
+ }>;
167
+ export declare const ViewSettingsSchema: z.ZodUnion<[z.ZodObject<{
168
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
169
+ id: z.ZodString;
170
+ name: z.ZodString;
171
+ color: z.ZodOptional<z.ZodString>;
172
+ orderindex: z.ZodOptional<z.ZodNumber>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ id: string;
175
+ name: string;
176
+ color?: string | undefined;
177
+ orderindex?: number | undefined;
178
+ }, {
179
+ id: string;
180
+ name: string;
181
+ color?: string | undefined;
182
+ orderindex?: number | undefined;
183
+ }>, "many">>;
184
+ swimlanes: z.ZodOptional<z.ZodObject<{
185
+ field: z.ZodString;
186
+ collapsed: z.ZodDefault<z.ZodBoolean>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ collapsed: boolean;
189
+ field: string;
190
+ }, {
191
+ field: string;
192
+ collapsed?: boolean | undefined;
193
+ }>>;
194
+ card_size: z.ZodDefault<z.ZodEnum<["small", "medium", "large"]>>;
195
+ }, "strip", z.ZodTypeAny, {
196
+ card_size: "small" | "medium" | "large";
197
+ columns?: {
198
+ id: string;
199
+ name: string;
200
+ color?: string | undefined;
201
+ orderindex?: number | undefined;
202
+ }[] | undefined;
203
+ swimlanes?: {
204
+ collapsed: boolean;
205
+ field: string;
206
+ } | undefined;
207
+ }, {
208
+ columns?: {
209
+ id: string;
210
+ name: string;
211
+ color?: string | undefined;
212
+ orderindex?: number | undefined;
213
+ }[] | undefined;
214
+ swimlanes?: {
215
+ field: string;
216
+ collapsed?: boolean | undefined;
217
+ } | undefined;
218
+ card_size?: "small" | "medium" | "large" | undefined;
219
+ }>, z.ZodObject<{
220
+ date_field: z.ZodString;
221
+ view_mode: z.ZodDefault<z.ZodEnum<["month", "week", "day"]>>;
222
+ show_weekends: z.ZodDefault<z.ZodBoolean>;
223
+ start_day: z.ZodDefault<z.ZodEnum<["sunday", "monday"]>>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ date_field: string;
226
+ view_mode: "month" | "week" | "day";
227
+ show_weekends: boolean;
228
+ start_day: "sunday" | "monday";
229
+ }, {
230
+ date_field: string;
231
+ view_mode?: "month" | "week" | "day" | undefined;
232
+ show_weekends?: boolean | undefined;
233
+ start_day?: "sunday" | "monday" | undefined;
234
+ }>, z.ZodObject<{
235
+ start_date_field: z.ZodString;
236
+ due_date_field: z.ZodString;
237
+ show_dependencies: z.ZodDefault<z.ZodBoolean>;
238
+ show_critical_path: z.ZodDefault<z.ZodBoolean>;
239
+ zoom_level: z.ZodDefault<z.ZodEnum<["hours", "days", "weeks", "months"]>>;
240
+ }, "strip", z.ZodTypeAny, {
241
+ start_date_field: string;
242
+ due_date_field: string;
243
+ show_dependencies: boolean;
244
+ show_critical_path: boolean;
245
+ zoom_level: "days" | "hours" | "weeks" | "months";
246
+ }, {
247
+ start_date_field: string;
248
+ due_date_field: string;
249
+ show_dependencies?: boolean | undefined;
250
+ show_critical_path?: boolean | undefined;
251
+ zoom_level?: "days" | "hours" | "weeks" | "months" | undefined;
252
+ }>, z.ZodObject<{
253
+ columns: z.ZodArray<z.ZodObject<{
254
+ field: z.ZodString;
255
+ width: z.ZodOptional<z.ZodNumber>;
256
+ visible: z.ZodDefault<z.ZodBoolean>;
257
+ orderindex: z.ZodOptional<z.ZodNumber>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ field: string;
260
+ visible: boolean;
261
+ orderindex?: number | undefined;
262
+ width?: number | undefined;
263
+ }, {
264
+ field: string;
265
+ orderindex?: number | undefined;
266
+ width?: number | undefined;
267
+ visible?: boolean | undefined;
268
+ }>, "many">;
269
+ row_height: z.ZodDefault<z.ZodEnum<["compact", "comfortable", "spacious"]>>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ columns: {
272
+ field: string;
273
+ visible: boolean;
274
+ orderindex?: number | undefined;
275
+ width?: number | undefined;
276
+ }[];
277
+ row_height: "compact" | "comfortable" | "spacious";
278
+ }, {
279
+ columns: {
280
+ field: string;
281
+ orderindex?: number | undefined;
282
+ width?: number | undefined;
283
+ visible?: boolean | undefined;
284
+ }[];
285
+ row_height?: "compact" | "comfortable" | "spacious" | undefined;
286
+ }>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>;
287
+ export declare const CreateViewSchema: z.ZodObject<{
288
+ parent_id: z.ZodString;
289
+ parent_type: z.ZodEnum<["space", "folder", "list"]>;
290
+ name: z.ZodString;
291
+ type: z.ZodEnum<["list", "board", "calendar", "gantt", "timeline", "table", "form", "chat", "workload", "activity", "map", "embed"]>;
292
+ access: z.ZodDefault<z.ZodEnum<["private", "shared", "public"]>>;
293
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
294
+ field: z.ZodString;
295
+ operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "starts_with", "ends_with", "is_empty", "is_not_empty", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "between", "not_between", "in", "not_in", "is_set", "is_not_set"]>;
296
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
297
+ values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
298
+ }, "strip", z.ZodTypeAny, {
299
+ field: string;
300
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
301
+ value?: string | number | string[] | number[] | undefined;
302
+ values?: (string | number)[] | undefined;
303
+ }, {
304
+ field: string;
305
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
306
+ value?: string | number | string[] | number[] | undefined;
307
+ values?: (string | number)[] | undefined;
308
+ }>, "many">>;
309
+ grouping: z.ZodOptional<z.ZodArray<z.ZodObject<{
310
+ field: z.ZodString;
311
+ collapsed: z.ZodDefault<z.ZodBoolean>;
312
+ order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
313
+ }, "strip", z.ZodTypeAny, {
314
+ collapsed: boolean;
315
+ field: string;
316
+ order: "asc" | "desc";
317
+ }, {
318
+ field: string;
319
+ collapsed?: boolean | undefined;
320
+ order?: "asc" | "desc" | undefined;
321
+ }>, "many">>;
322
+ sorting: z.ZodOptional<z.ZodArray<z.ZodObject<{
323
+ field: z.ZodString;
324
+ order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
325
+ }, "strip", z.ZodTypeAny, {
326
+ field: string;
327
+ order: "asc" | "desc";
328
+ }, {
329
+ field: string;
330
+ order?: "asc" | "desc" | undefined;
331
+ }>, "many">>;
332
+ settings: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
333
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
334
+ id: z.ZodString;
335
+ name: z.ZodString;
336
+ color: z.ZodOptional<z.ZodString>;
337
+ orderindex: z.ZodOptional<z.ZodNumber>;
338
+ }, "strip", z.ZodTypeAny, {
339
+ id: string;
340
+ name: string;
341
+ color?: string | undefined;
342
+ orderindex?: number | undefined;
343
+ }, {
344
+ id: string;
345
+ name: string;
346
+ color?: string | undefined;
347
+ orderindex?: number | undefined;
348
+ }>, "many">>;
349
+ swimlanes: z.ZodOptional<z.ZodObject<{
350
+ field: z.ZodString;
351
+ collapsed: z.ZodDefault<z.ZodBoolean>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ collapsed: boolean;
354
+ field: string;
355
+ }, {
356
+ field: string;
357
+ collapsed?: boolean | undefined;
358
+ }>>;
359
+ card_size: z.ZodDefault<z.ZodEnum<["small", "medium", "large"]>>;
360
+ }, "strip", z.ZodTypeAny, {
361
+ card_size: "small" | "medium" | "large";
362
+ columns?: {
363
+ id: string;
364
+ name: string;
365
+ color?: string | undefined;
366
+ orderindex?: number | undefined;
367
+ }[] | undefined;
368
+ swimlanes?: {
369
+ collapsed: boolean;
370
+ field: string;
371
+ } | undefined;
372
+ }, {
373
+ columns?: {
374
+ id: string;
375
+ name: string;
376
+ color?: string | undefined;
377
+ orderindex?: number | undefined;
378
+ }[] | undefined;
379
+ swimlanes?: {
380
+ field: string;
381
+ collapsed?: boolean | undefined;
382
+ } | undefined;
383
+ card_size?: "small" | "medium" | "large" | undefined;
384
+ }>, z.ZodObject<{
385
+ date_field: z.ZodString;
386
+ view_mode: z.ZodDefault<z.ZodEnum<["month", "week", "day"]>>;
387
+ show_weekends: z.ZodDefault<z.ZodBoolean>;
388
+ start_day: z.ZodDefault<z.ZodEnum<["sunday", "monday"]>>;
389
+ }, "strip", z.ZodTypeAny, {
390
+ date_field: string;
391
+ view_mode: "month" | "week" | "day";
392
+ show_weekends: boolean;
393
+ start_day: "sunday" | "monday";
394
+ }, {
395
+ date_field: string;
396
+ view_mode?: "month" | "week" | "day" | undefined;
397
+ show_weekends?: boolean | undefined;
398
+ start_day?: "sunday" | "monday" | undefined;
399
+ }>, z.ZodObject<{
400
+ start_date_field: z.ZodString;
401
+ due_date_field: z.ZodString;
402
+ show_dependencies: z.ZodDefault<z.ZodBoolean>;
403
+ show_critical_path: z.ZodDefault<z.ZodBoolean>;
404
+ zoom_level: z.ZodDefault<z.ZodEnum<["hours", "days", "weeks", "months"]>>;
405
+ }, "strip", z.ZodTypeAny, {
406
+ start_date_field: string;
407
+ due_date_field: string;
408
+ show_dependencies: boolean;
409
+ show_critical_path: boolean;
410
+ zoom_level: "days" | "hours" | "weeks" | "months";
411
+ }, {
412
+ start_date_field: string;
413
+ due_date_field: string;
414
+ show_dependencies?: boolean | undefined;
415
+ show_critical_path?: boolean | undefined;
416
+ zoom_level?: "days" | "hours" | "weeks" | "months" | undefined;
417
+ }>, z.ZodObject<{
418
+ columns: z.ZodArray<z.ZodObject<{
419
+ field: z.ZodString;
420
+ width: z.ZodOptional<z.ZodNumber>;
421
+ visible: z.ZodDefault<z.ZodBoolean>;
422
+ orderindex: z.ZodOptional<z.ZodNumber>;
423
+ }, "strip", z.ZodTypeAny, {
424
+ field: string;
425
+ visible: boolean;
426
+ orderindex?: number | undefined;
427
+ width?: number | undefined;
428
+ }, {
429
+ field: string;
430
+ orderindex?: number | undefined;
431
+ width?: number | undefined;
432
+ visible?: boolean | undefined;
433
+ }>, "many">;
434
+ row_height: z.ZodDefault<z.ZodEnum<["compact", "comfortable", "spacious"]>>;
435
+ }, "strip", z.ZodTypeAny, {
436
+ columns: {
437
+ field: string;
438
+ visible: boolean;
439
+ orderindex?: number | undefined;
440
+ width?: number | undefined;
441
+ }[];
442
+ row_height: "compact" | "comfortable" | "spacious";
443
+ }, {
444
+ columns: {
445
+ field: string;
446
+ orderindex?: number | undefined;
447
+ width?: number | undefined;
448
+ visible?: boolean | undefined;
449
+ }[];
450
+ row_height?: "compact" | "comfortable" | "spacious" | undefined;
451
+ }>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>;
452
+ description: z.ZodOptional<z.ZodString>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ type: "embed" | "form" | "map" | "table" | "list" | "board" | "calendar" | "gantt" | "timeline" | "chat" | "workload" | "activity";
455
+ name: string;
456
+ parent_id: string;
457
+ parent_type: "folder" | "space" | "list";
458
+ access: "private" | "shared" | "public";
459
+ description?: string | undefined;
460
+ filters?: {
461
+ field: string;
462
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
463
+ value?: string | number | string[] | number[] | undefined;
464
+ values?: (string | number)[] | undefined;
465
+ }[] | undefined;
466
+ grouping?: {
467
+ collapsed: boolean;
468
+ field: string;
469
+ order: "asc" | "desc";
470
+ }[] | undefined;
471
+ sorting?: {
472
+ field: string;
473
+ order: "asc" | "desc";
474
+ }[] | undefined;
475
+ settings?: {
476
+ card_size: "small" | "medium" | "large";
477
+ columns?: {
478
+ id: string;
479
+ name: string;
480
+ color?: string | undefined;
481
+ orderindex?: number | undefined;
482
+ }[] | undefined;
483
+ swimlanes?: {
484
+ collapsed: boolean;
485
+ field: string;
486
+ } | undefined;
487
+ } | {
488
+ date_field: string;
489
+ view_mode: "month" | "week" | "day";
490
+ show_weekends: boolean;
491
+ start_day: "sunday" | "monday";
492
+ } | {
493
+ start_date_field: string;
494
+ due_date_field: string;
495
+ show_dependencies: boolean;
496
+ show_critical_path: boolean;
497
+ zoom_level: "days" | "hours" | "weeks" | "months";
498
+ } | {
499
+ columns: {
500
+ field: string;
501
+ visible: boolean;
502
+ orderindex?: number | undefined;
503
+ width?: number | undefined;
504
+ }[];
505
+ row_height: "compact" | "comfortable" | "spacious";
506
+ } | {} | undefined;
507
+ }, {
508
+ type: "embed" | "form" | "map" | "table" | "list" | "board" | "calendar" | "gantt" | "timeline" | "chat" | "workload" | "activity";
509
+ name: string;
510
+ parent_id: string;
511
+ parent_type: "folder" | "space" | "list";
512
+ description?: string | undefined;
513
+ access?: "private" | "shared" | "public" | undefined;
514
+ filters?: {
515
+ field: string;
516
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
517
+ value?: string | number | string[] | number[] | undefined;
518
+ values?: (string | number)[] | undefined;
519
+ }[] | undefined;
520
+ grouping?: {
521
+ field: string;
522
+ collapsed?: boolean | undefined;
523
+ order?: "asc" | "desc" | undefined;
524
+ }[] | undefined;
525
+ sorting?: {
526
+ field: string;
527
+ order?: "asc" | "desc" | undefined;
528
+ }[] | undefined;
529
+ settings?: {
530
+ columns?: {
531
+ id: string;
532
+ name: string;
533
+ color?: string | undefined;
534
+ orderindex?: number | undefined;
535
+ }[] | undefined;
536
+ swimlanes?: {
537
+ field: string;
538
+ collapsed?: boolean | undefined;
539
+ } | undefined;
540
+ card_size?: "small" | "medium" | "large" | undefined;
541
+ } | {
542
+ date_field: string;
543
+ view_mode?: "month" | "week" | "day" | undefined;
544
+ show_weekends?: boolean | undefined;
545
+ start_day?: "sunday" | "monday" | undefined;
546
+ } | {
547
+ start_date_field: string;
548
+ due_date_field: string;
549
+ show_dependencies?: boolean | undefined;
550
+ show_critical_path?: boolean | undefined;
551
+ zoom_level?: "days" | "hours" | "weeks" | "months" | undefined;
552
+ } | {
553
+ columns: {
554
+ field: string;
555
+ orderindex?: number | undefined;
556
+ width?: number | undefined;
557
+ visible?: boolean | undefined;
558
+ }[];
559
+ row_height?: "compact" | "comfortable" | "spacious" | undefined;
560
+ } | {} | undefined;
561
+ }>;
562
+ export declare const UpdateViewSchema: z.ZodObject<{
563
+ view_id: z.ZodString;
564
+ name: z.ZodOptional<z.ZodString>;
565
+ access: z.ZodOptional<z.ZodEnum<["private", "shared", "public"]>>;
566
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
567
+ field: z.ZodString;
568
+ operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "starts_with", "ends_with", "is_empty", "is_not_empty", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "between", "not_between", "in", "not_in", "is_set", "is_not_set"]>;
569
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
570
+ values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
571
+ }, "strip", z.ZodTypeAny, {
572
+ field: string;
573
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
574
+ value?: string | number | string[] | number[] | undefined;
575
+ values?: (string | number)[] | undefined;
576
+ }, {
577
+ field: string;
578
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
579
+ value?: string | number | string[] | number[] | undefined;
580
+ values?: (string | number)[] | undefined;
581
+ }>, "many">>;
582
+ grouping: z.ZodOptional<z.ZodArray<z.ZodObject<{
583
+ field: z.ZodString;
584
+ collapsed: z.ZodDefault<z.ZodBoolean>;
585
+ order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
586
+ }, "strip", z.ZodTypeAny, {
587
+ collapsed: boolean;
588
+ field: string;
589
+ order: "asc" | "desc";
590
+ }, {
591
+ field: string;
592
+ collapsed?: boolean | undefined;
593
+ order?: "asc" | "desc" | undefined;
594
+ }>, "many">>;
595
+ sorting: z.ZodOptional<z.ZodArray<z.ZodObject<{
596
+ field: z.ZodString;
597
+ order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
598
+ }, "strip", z.ZodTypeAny, {
599
+ field: string;
600
+ order: "asc" | "desc";
601
+ }, {
602
+ field: string;
603
+ order?: "asc" | "desc" | undefined;
604
+ }>, "many">>;
605
+ settings: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
606
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
607
+ id: z.ZodString;
608
+ name: z.ZodString;
609
+ color: z.ZodOptional<z.ZodString>;
610
+ orderindex: z.ZodOptional<z.ZodNumber>;
611
+ }, "strip", z.ZodTypeAny, {
612
+ id: string;
613
+ name: string;
614
+ color?: string | undefined;
615
+ orderindex?: number | undefined;
616
+ }, {
617
+ id: string;
618
+ name: string;
619
+ color?: string | undefined;
620
+ orderindex?: number | undefined;
621
+ }>, "many">>;
622
+ swimlanes: z.ZodOptional<z.ZodObject<{
623
+ field: z.ZodString;
624
+ collapsed: z.ZodDefault<z.ZodBoolean>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ collapsed: boolean;
627
+ field: string;
628
+ }, {
629
+ field: string;
630
+ collapsed?: boolean | undefined;
631
+ }>>;
632
+ card_size: z.ZodDefault<z.ZodEnum<["small", "medium", "large"]>>;
633
+ }, "strip", z.ZodTypeAny, {
634
+ card_size: "small" | "medium" | "large";
635
+ columns?: {
636
+ id: string;
637
+ name: string;
638
+ color?: string | undefined;
639
+ orderindex?: number | undefined;
640
+ }[] | undefined;
641
+ swimlanes?: {
642
+ collapsed: boolean;
643
+ field: string;
644
+ } | undefined;
645
+ }, {
646
+ columns?: {
647
+ id: string;
648
+ name: string;
649
+ color?: string | undefined;
650
+ orderindex?: number | undefined;
651
+ }[] | undefined;
652
+ swimlanes?: {
653
+ field: string;
654
+ collapsed?: boolean | undefined;
655
+ } | undefined;
656
+ card_size?: "small" | "medium" | "large" | undefined;
657
+ }>, z.ZodObject<{
658
+ date_field: z.ZodString;
659
+ view_mode: z.ZodDefault<z.ZodEnum<["month", "week", "day"]>>;
660
+ show_weekends: z.ZodDefault<z.ZodBoolean>;
661
+ start_day: z.ZodDefault<z.ZodEnum<["sunday", "monday"]>>;
662
+ }, "strip", z.ZodTypeAny, {
663
+ date_field: string;
664
+ view_mode: "month" | "week" | "day";
665
+ show_weekends: boolean;
666
+ start_day: "sunday" | "monday";
667
+ }, {
668
+ date_field: string;
669
+ view_mode?: "month" | "week" | "day" | undefined;
670
+ show_weekends?: boolean | undefined;
671
+ start_day?: "sunday" | "monday" | undefined;
672
+ }>, z.ZodObject<{
673
+ start_date_field: z.ZodString;
674
+ due_date_field: z.ZodString;
675
+ show_dependencies: z.ZodDefault<z.ZodBoolean>;
676
+ show_critical_path: z.ZodDefault<z.ZodBoolean>;
677
+ zoom_level: z.ZodDefault<z.ZodEnum<["hours", "days", "weeks", "months"]>>;
678
+ }, "strip", z.ZodTypeAny, {
679
+ start_date_field: string;
680
+ due_date_field: string;
681
+ show_dependencies: boolean;
682
+ show_critical_path: boolean;
683
+ zoom_level: "days" | "hours" | "weeks" | "months";
684
+ }, {
685
+ start_date_field: string;
686
+ due_date_field: string;
687
+ show_dependencies?: boolean | undefined;
688
+ show_critical_path?: boolean | undefined;
689
+ zoom_level?: "days" | "hours" | "weeks" | "months" | undefined;
690
+ }>, z.ZodObject<{
691
+ columns: z.ZodArray<z.ZodObject<{
692
+ field: z.ZodString;
693
+ width: z.ZodOptional<z.ZodNumber>;
694
+ visible: z.ZodDefault<z.ZodBoolean>;
695
+ orderindex: z.ZodOptional<z.ZodNumber>;
696
+ }, "strip", z.ZodTypeAny, {
697
+ field: string;
698
+ visible: boolean;
699
+ orderindex?: number | undefined;
700
+ width?: number | undefined;
701
+ }, {
702
+ field: string;
703
+ orderindex?: number | undefined;
704
+ width?: number | undefined;
705
+ visible?: boolean | undefined;
706
+ }>, "many">;
707
+ row_height: z.ZodDefault<z.ZodEnum<["compact", "comfortable", "spacious"]>>;
708
+ }, "strip", z.ZodTypeAny, {
709
+ columns: {
710
+ field: string;
711
+ visible: boolean;
712
+ orderindex?: number | undefined;
713
+ width?: number | undefined;
714
+ }[];
715
+ row_height: "compact" | "comfortable" | "spacious";
716
+ }, {
717
+ columns: {
718
+ field: string;
719
+ orderindex?: number | undefined;
720
+ width?: number | undefined;
721
+ visible?: boolean | undefined;
722
+ }[];
723
+ row_height?: "compact" | "comfortable" | "spacious" | undefined;
724
+ }>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>;
725
+ description: z.ZodOptional<z.ZodString>;
726
+ }, "strip", z.ZodTypeAny, {
727
+ view_id: string;
728
+ name?: string | undefined;
729
+ description?: string | undefined;
730
+ access?: "private" | "shared" | "public" | undefined;
731
+ filters?: {
732
+ field: string;
733
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
734
+ value?: string | number | string[] | number[] | undefined;
735
+ values?: (string | number)[] | undefined;
736
+ }[] | undefined;
737
+ grouping?: {
738
+ collapsed: boolean;
739
+ field: string;
740
+ order: "asc" | "desc";
741
+ }[] | undefined;
742
+ sorting?: {
743
+ field: string;
744
+ order: "asc" | "desc";
745
+ }[] | undefined;
746
+ settings?: {
747
+ card_size: "small" | "medium" | "large";
748
+ columns?: {
749
+ id: string;
750
+ name: string;
751
+ color?: string | undefined;
752
+ orderindex?: number | undefined;
753
+ }[] | undefined;
754
+ swimlanes?: {
755
+ collapsed: boolean;
756
+ field: string;
757
+ } | undefined;
758
+ } | {
759
+ date_field: string;
760
+ view_mode: "month" | "week" | "day";
761
+ show_weekends: boolean;
762
+ start_day: "sunday" | "monday";
763
+ } | {
764
+ start_date_field: string;
765
+ due_date_field: string;
766
+ show_dependencies: boolean;
767
+ show_critical_path: boolean;
768
+ zoom_level: "days" | "hours" | "weeks" | "months";
769
+ } | {
770
+ columns: {
771
+ field: string;
772
+ visible: boolean;
773
+ orderindex?: number | undefined;
774
+ width?: number | undefined;
775
+ }[];
776
+ row_height: "compact" | "comfortable" | "spacious";
777
+ } | {} | undefined;
778
+ }, {
779
+ view_id: string;
780
+ name?: string | undefined;
781
+ description?: string | undefined;
782
+ access?: "private" | "shared" | "public" | undefined;
783
+ filters?: {
784
+ field: string;
785
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
786
+ value?: string | number | string[] | number[] | undefined;
787
+ values?: (string | number)[] | undefined;
788
+ }[] | undefined;
789
+ grouping?: {
790
+ field: string;
791
+ collapsed?: boolean | undefined;
792
+ order?: "asc" | "desc" | undefined;
793
+ }[] | undefined;
794
+ sorting?: {
795
+ field: string;
796
+ order?: "asc" | "desc" | undefined;
797
+ }[] | undefined;
798
+ settings?: {
799
+ columns?: {
800
+ id: string;
801
+ name: string;
802
+ color?: string | undefined;
803
+ orderindex?: number | undefined;
804
+ }[] | undefined;
805
+ swimlanes?: {
806
+ field: string;
807
+ collapsed?: boolean | undefined;
808
+ } | undefined;
809
+ card_size?: "small" | "medium" | "large" | undefined;
810
+ } | {
811
+ date_field: string;
812
+ view_mode?: "month" | "week" | "day" | undefined;
813
+ show_weekends?: boolean | undefined;
814
+ start_day?: "sunday" | "monday" | undefined;
815
+ } | {
816
+ start_date_field: string;
817
+ due_date_field: string;
818
+ show_dependencies?: boolean | undefined;
819
+ show_critical_path?: boolean | undefined;
820
+ zoom_level?: "days" | "hours" | "weeks" | "months" | undefined;
821
+ } | {
822
+ columns: {
823
+ field: string;
824
+ orderindex?: number | undefined;
825
+ width?: number | undefined;
826
+ visible?: boolean | undefined;
827
+ }[];
828
+ row_height?: "compact" | "comfortable" | "spacious" | undefined;
829
+ } | {} | undefined;
830
+ }>;
831
+ export declare const GetViewsFilterSchema: z.ZodObject<{
832
+ parent_id: z.ZodString;
833
+ parent_type: z.ZodEnum<["space", "folder", "list"]>;
834
+ type: z.ZodOptional<z.ZodEnum<["list", "board", "calendar", "gantt", "timeline", "table", "form", "chat", "workload", "activity", "map", "embed"]>>;
835
+ access: z.ZodOptional<z.ZodEnum<["private", "shared", "public"]>>;
836
+ }, "strip", z.ZodTypeAny, {
837
+ parent_id: string;
838
+ parent_type: "folder" | "space" | "list";
839
+ type?: "embed" | "form" | "map" | "table" | "list" | "board" | "calendar" | "gantt" | "timeline" | "chat" | "workload" | "activity" | undefined;
840
+ access?: "private" | "shared" | "public" | undefined;
841
+ }, {
842
+ parent_id: string;
843
+ parent_type: "folder" | "space" | "list";
844
+ type?: "embed" | "form" | "map" | "table" | "list" | "board" | "calendar" | "gantt" | "timeline" | "chat" | "workload" | "activity" | undefined;
845
+ access?: "private" | "shared" | "public" | undefined;
846
+ }>;
847
+ export declare const SetViewFiltersSchema: z.ZodObject<{
848
+ view_id: z.ZodString;
849
+ filters: z.ZodArray<z.ZodObject<{
850
+ field: z.ZodString;
851
+ operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "starts_with", "ends_with", "is_empty", "is_not_empty", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "between", "not_between", "in", "not_in", "is_set", "is_not_set"]>;
852
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
853
+ values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
854
+ }, "strip", z.ZodTypeAny, {
855
+ field: string;
856
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
857
+ value?: string | number | string[] | number[] | undefined;
858
+ values?: (string | number)[] | undefined;
859
+ }, {
860
+ field: string;
861
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
862
+ value?: string | number | string[] | number[] | undefined;
863
+ values?: (string | number)[] | undefined;
864
+ }>, "many">;
865
+ }, "strip", z.ZodTypeAny, {
866
+ view_id: string;
867
+ filters: {
868
+ field: string;
869
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
870
+ value?: string | number | string[] | number[] | undefined;
871
+ values?: (string | number)[] | undefined;
872
+ }[];
873
+ }, {
874
+ view_id: string;
875
+ filters: {
876
+ field: string;
877
+ operator: "equals" | "not_equals" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "between" | "not_between" | "in" | "not_in" | "is_set" | "is_not_set";
878
+ value?: string | number | string[] | number[] | undefined;
879
+ values?: (string | number)[] | undefined;
880
+ }[];
881
+ }>;
882
+ export declare const SetViewGroupingSchema: z.ZodObject<{
883
+ view_id: z.ZodString;
884
+ grouping: z.ZodArray<z.ZodObject<{
885
+ field: z.ZodString;
886
+ collapsed: z.ZodDefault<z.ZodBoolean>;
887
+ order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
888
+ }, "strip", z.ZodTypeAny, {
889
+ collapsed: boolean;
890
+ field: string;
891
+ order: "asc" | "desc";
892
+ }, {
893
+ field: string;
894
+ collapsed?: boolean | undefined;
895
+ order?: "asc" | "desc" | undefined;
896
+ }>, "many">;
897
+ }, "strip", z.ZodTypeAny, {
898
+ view_id: string;
899
+ grouping: {
900
+ collapsed: boolean;
901
+ field: string;
902
+ order: "asc" | "desc";
903
+ }[];
904
+ }, {
905
+ view_id: string;
906
+ grouping: {
907
+ field: string;
908
+ collapsed?: boolean | undefined;
909
+ order?: "asc" | "desc" | undefined;
910
+ }[];
911
+ }>;
912
+ export declare const SetViewSortingSchema: z.ZodObject<{
913
+ view_id: z.ZodString;
914
+ sorting: z.ZodArray<z.ZodObject<{
915
+ field: z.ZodString;
916
+ order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
917
+ }, "strip", z.ZodTypeAny, {
918
+ field: string;
919
+ order: "asc" | "desc";
920
+ }, {
921
+ field: string;
922
+ order?: "asc" | "desc" | undefined;
923
+ }>, "many">;
924
+ }, "strip", z.ZodTypeAny, {
925
+ view_id: string;
926
+ sorting: {
927
+ field: string;
928
+ order: "asc" | "desc";
929
+ }[];
930
+ }, {
931
+ view_id: string;
932
+ sorting: {
933
+ field: string;
934
+ order?: "asc" | "desc" | undefined;
935
+ }[];
936
+ }>;
937
+ export declare const UpdateViewSettingsSchema: z.ZodObject<{
938
+ view_id: z.ZodString;
939
+ settings: z.ZodUnion<[z.ZodObject<{
940
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
941
+ id: z.ZodString;
942
+ name: z.ZodString;
943
+ color: z.ZodOptional<z.ZodString>;
944
+ orderindex: z.ZodOptional<z.ZodNumber>;
945
+ }, "strip", z.ZodTypeAny, {
946
+ id: string;
947
+ name: string;
948
+ color?: string | undefined;
949
+ orderindex?: number | undefined;
950
+ }, {
951
+ id: string;
952
+ name: string;
953
+ color?: string | undefined;
954
+ orderindex?: number | undefined;
955
+ }>, "many">>;
956
+ swimlanes: z.ZodOptional<z.ZodObject<{
957
+ field: z.ZodString;
958
+ collapsed: z.ZodDefault<z.ZodBoolean>;
959
+ }, "strip", z.ZodTypeAny, {
960
+ collapsed: boolean;
961
+ field: string;
962
+ }, {
963
+ field: string;
964
+ collapsed?: boolean | undefined;
965
+ }>>;
966
+ card_size: z.ZodDefault<z.ZodEnum<["small", "medium", "large"]>>;
967
+ }, "strip", z.ZodTypeAny, {
968
+ card_size: "small" | "medium" | "large";
969
+ columns?: {
970
+ id: string;
971
+ name: string;
972
+ color?: string | undefined;
973
+ orderindex?: number | undefined;
974
+ }[] | undefined;
975
+ swimlanes?: {
976
+ collapsed: boolean;
977
+ field: string;
978
+ } | undefined;
979
+ }, {
980
+ columns?: {
981
+ id: string;
982
+ name: string;
983
+ color?: string | undefined;
984
+ orderindex?: number | undefined;
985
+ }[] | undefined;
986
+ swimlanes?: {
987
+ field: string;
988
+ collapsed?: boolean | undefined;
989
+ } | undefined;
990
+ card_size?: "small" | "medium" | "large" | undefined;
991
+ }>, z.ZodObject<{
992
+ date_field: z.ZodString;
993
+ view_mode: z.ZodDefault<z.ZodEnum<["month", "week", "day"]>>;
994
+ show_weekends: z.ZodDefault<z.ZodBoolean>;
995
+ start_day: z.ZodDefault<z.ZodEnum<["sunday", "monday"]>>;
996
+ }, "strip", z.ZodTypeAny, {
997
+ date_field: string;
998
+ view_mode: "month" | "week" | "day";
999
+ show_weekends: boolean;
1000
+ start_day: "sunday" | "monday";
1001
+ }, {
1002
+ date_field: string;
1003
+ view_mode?: "month" | "week" | "day" | undefined;
1004
+ show_weekends?: boolean | undefined;
1005
+ start_day?: "sunday" | "monday" | undefined;
1006
+ }>, z.ZodObject<{
1007
+ start_date_field: z.ZodString;
1008
+ due_date_field: z.ZodString;
1009
+ show_dependencies: z.ZodDefault<z.ZodBoolean>;
1010
+ show_critical_path: z.ZodDefault<z.ZodBoolean>;
1011
+ zoom_level: z.ZodDefault<z.ZodEnum<["hours", "days", "weeks", "months"]>>;
1012
+ }, "strip", z.ZodTypeAny, {
1013
+ start_date_field: string;
1014
+ due_date_field: string;
1015
+ show_dependencies: boolean;
1016
+ show_critical_path: boolean;
1017
+ zoom_level: "days" | "hours" | "weeks" | "months";
1018
+ }, {
1019
+ start_date_field: string;
1020
+ due_date_field: string;
1021
+ show_dependencies?: boolean | undefined;
1022
+ show_critical_path?: boolean | undefined;
1023
+ zoom_level?: "days" | "hours" | "weeks" | "months" | undefined;
1024
+ }>, z.ZodObject<{
1025
+ columns: z.ZodArray<z.ZodObject<{
1026
+ field: z.ZodString;
1027
+ width: z.ZodOptional<z.ZodNumber>;
1028
+ visible: z.ZodDefault<z.ZodBoolean>;
1029
+ orderindex: z.ZodOptional<z.ZodNumber>;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ field: string;
1032
+ visible: boolean;
1033
+ orderindex?: number | undefined;
1034
+ width?: number | undefined;
1035
+ }, {
1036
+ field: string;
1037
+ orderindex?: number | undefined;
1038
+ width?: number | undefined;
1039
+ visible?: boolean | undefined;
1040
+ }>, "many">;
1041
+ row_height: z.ZodDefault<z.ZodEnum<["compact", "comfortable", "spacious"]>>;
1042
+ }, "strip", z.ZodTypeAny, {
1043
+ columns: {
1044
+ field: string;
1045
+ visible: boolean;
1046
+ orderindex?: number | undefined;
1047
+ width?: number | undefined;
1048
+ }[];
1049
+ row_height: "compact" | "comfortable" | "spacious";
1050
+ }, {
1051
+ columns: {
1052
+ field: string;
1053
+ orderindex?: number | undefined;
1054
+ width?: number | undefined;
1055
+ visible?: boolean | undefined;
1056
+ }[];
1057
+ row_height?: "compact" | "comfortable" | "spacious" | undefined;
1058
+ }>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ view_id: string;
1061
+ settings: {
1062
+ card_size: "small" | "medium" | "large";
1063
+ columns?: {
1064
+ id: string;
1065
+ name: string;
1066
+ color?: string | undefined;
1067
+ orderindex?: number | undefined;
1068
+ }[] | undefined;
1069
+ swimlanes?: {
1070
+ collapsed: boolean;
1071
+ field: string;
1072
+ } | undefined;
1073
+ } | {
1074
+ date_field: string;
1075
+ view_mode: "month" | "week" | "day";
1076
+ show_weekends: boolean;
1077
+ start_day: "sunday" | "monday";
1078
+ } | {
1079
+ start_date_field: string;
1080
+ due_date_field: string;
1081
+ show_dependencies: boolean;
1082
+ show_critical_path: boolean;
1083
+ zoom_level: "days" | "hours" | "weeks" | "months";
1084
+ } | {
1085
+ columns: {
1086
+ field: string;
1087
+ visible: boolean;
1088
+ orderindex?: number | undefined;
1089
+ width?: number | undefined;
1090
+ }[];
1091
+ row_height: "compact" | "comfortable" | "spacious";
1092
+ } | {};
1093
+ }, {
1094
+ view_id: string;
1095
+ settings: {
1096
+ columns?: {
1097
+ id: string;
1098
+ name: string;
1099
+ color?: string | undefined;
1100
+ orderindex?: number | undefined;
1101
+ }[] | undefined;
1102
+ swimlanes?: {
1103
+ field: string;
1104
+ collapsed?: boolean | undefined;
1105
+ } | undefined;
1106
+ card_size?: "small" | "medium" | "large" | undefined;
1107
+ } | {
1108
+ date_field: string;
1109
+ view_mode?: "month" | "week" | "day" | undefined;
1110
+ show_weekends?: boolean | undefined;
1111
+ start_day?: "sunday" | "monday" | undefined;
1112
+ } | {
1113
+ start_date_field: string;
1114
+ due_date_field: string;
1115
+ show_dependencies?: boolean | undefined;
1116
+ show_critical_path?: boolean | undefined;
1117
+ zoom_level?: "days" | "hours" | "weeks" | "months" | undefined;
1118
+ } | {
1119
+ columns: {
1120
+ field: string;
1121
+ orderindex?: number | undefined;
1122
+ width?: number | undefined;
1123
+ visible?: boolean | undefined;
1124
+ }[];
1125
+ row_height?: "compact" | "comfortable" | "spacious" | undefined;
1126
+ } | {};
1127
+ }>;
1128
+ export declare const ViewSharingSchema: z.ZodObject<{
1129
+ view_id: z.ZodString;
1130
+ access: z.ZodEnum<["private", "shared", "public"]>;
1131
+ password: z.ZodOptional<z.ZodString>;
1132
+ expires_at: z.ZodOptional<z.ZodNumber>;
1133
+ }, "strip", z.ZodTypeAny, {
1134
+ view_id: string;
1135
+ access: "private" | "shared" | "public";
1136
+ password?: string | undefined;
1137
+ expires_at?: number | undefined;
1138
+ }, {
1139
+ view_id: string;
1140
+ access: "private" | "shared" | "public";
1141
+ password?: string | undefined;
1142
+ expires_at?: number | undefined;
1143
+ }>;
1144
+ export type ViewType = z.infer<typeof ViewTypeSchema>;
1145
+ export type ViewAccess = z.infer<typeof ViewAccessSchema>;
1146
+ export type FilterOperator = z.infer<typeof FilterOperatorSchema>;
1147
+ export type ViewFilter = z.infer<typeof ViewFilterSchema>;
1148
+ export type ViewGrouping = z.infer<typeof ViewGroupingSchema>;
1149
+ export type ViewSorting = z.infer<typeof ViewSortingSchema>;
1150
+ export type BoardViewSettings = z.infer<typeof BoardViewSettingsSchema>;
1151
+ export type CalendarViewSettings = z.infer<typeof CalendarViewSettingsSchema>;
1152
+ export type GanttViewSettings = z.infer<typeof GanttViewSettingsSchema>;
1153
+ export type TableViewSettings = z.infer<typeof TableViewSettingsSchema>;
1154
+ export type ViewSettings = z.infer<typeof ViewSettingsSchema>;
1155
+ export type CreateViewRequest = z.infer<typeof CreateViewSchema>;
1156
+ export type UpdateViewRequest = z.infer<typeof UpdateViewSchema>;
1157
+ export type GetViewsFilter = z.infer<typeof GetViewsFilterSchema>;
1158
+ export type SetViewFiltersRequest = z.infer<typeof SetViewFiltersSchema>;
1159
+ export type SetViewGroupingRequest = z.infer<typeof SetViewGroupingSchema>;
1160
+ export type SetViewSortingRequest = z.infer<typeof SetViewSortingSchema>;
1161
+ export type UpdateViewSettingsRequest = z.infer<typeof UpdateViewSettingsSchema>;
1162
+ export type ViewSharingRequest = z.infer<typeof ViewSharingSchema>;
1163
+ export declare const createDefaultBoardSettings: () => BoardViewSettings;
1164
+ export declare const createDefaultCalendarSettings: (dateField: string) => CalendarViewSettings;
1165
+ export declare const createDefaultGanttSettings: (startField: string, dueField: string) => GanttViewSettings;
1166
+ export declare const createDefaultTableSettings: (fields: string[]) => TableViewSettings;
1167
+ export declare const validateFilterValue: (operator: FilterOperator, value: any) => boolean;
1168
+ export declare const getRequiredFilterFields: (viewType: ViewType) => string[];