@panoptic-it-solutions/zoho-projects-client 0.1.4 → 0.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 (302) hide show
  1. package/dist/__tests__/fixtures/attachments.d.ts +126 -0
  2. package/dist/__tests__/fixtures/attachments.d.ts.map +1 -0
  3. package/dist/__tests__/fixtures/attachments.js +60 -0
  4. package/dist/__tests__/fixtures/attachments.js.map +1 -0
  5. package/dist/__tests__/fixtures/blueprints.d.ts +114 -0
  6. package/dist/__tests__/fixtures/blueprints.d.ts.map +1 -0
  7. package/dist/__tests__/fixtures/blueprints.js +102 -0
  8. package/dist/__tests__/fixtures/blueprints.js.map +1 -0
  9. package/dist/__tests__/fixtures/comments.d.ts +92 -0
  10. package/dist/__tests__/fixtures/comments.d.ts.map +1 -0
  11. package/dist/__tests__/fixtures/comments.js +42 -0
  12. package/dist/__tests__/fixtures/comments.js.map +1 -0
  13. package/dist/__tests__/fixtures/customviews.d.ts +5 -0
  14. package/dist/__tests__/fixtures/customviews.d.ts.map +1 -0
  15. package/dist/__tests__/fixtures/customviews.js +55 -0
  16. package/dist/__tests__/fixtures/customviews.js.map +1 -0
  17. package/dist/__tests__/fixtures/events.d.ts +133 -0
  18. package/dist/__tests__/fixtures/events.d.ts.map +1 -0
  19. package/dist/__tests__/fixtures/events.js +75 -0
  20. package/dist/__tests__/fixtures/events.js.map +1 -0
  21. package/dist/__tests__/fixtures/forums.d.ts +114 -0
  22. package/dist/__tests__/fixtures/forums.d.ts.map +1 -0
  23. package/dist/__tests__/fixtures/forums.js +53 -0
  24. package/dist/__tests__/fixtures/forums.js.map +1 -0
  25. package/dist/__tests__/fixtures/groups.d.ts +25 -0
  26. package/dist/__tests__/fixtures/groups.d.ts.map +1 -0
  27. package/dist/__tests__/fixtures/groups.js +36 -0
  28. package/dist/__tests__/fixtures/groups.js.map +1 -0
  29. package/dist/__tests__/fixtures/index.d.ts +22 -0
  30. package/dist/__tests__/fixtures/index.d.ts.map +1 -0
  31. package/dist/__tests__/fixtures/index.js +22 -0
  32. package/dist/__tests__/fixtures/index.js.map +1 -0
  33. package/dist/__tests__/fixtures/issues.d.ts +196 -0
  34. package/dist/__tests__/fixtures/issues.d.ts.map +1 -0
  35. package/dist/__tests__/fixtures/issues.js +80 -0
  36. package/dist/__tests__/fixtures/issues.js.map +1 -0
  37. package/dist/__tests__/fixtures/modules.d.ts +6 -0
  38. package/dist/__tests__/fixtures/modules.d.ts.map +1 -0
  39. package/dist/__tests__/fixtures/modules.js +103 -0
  40. package/dist/__tests__/fixtures/modules.js.map +1 -0
  41. package/dist/__tests__/fixtures/phases.d.ts +123 -0
  42. package/dist/__tests__/fixtures/phases.d.ts.map +1 -0
  43. package/dist/__tests__/fixtures/phases.js +68 -0
  44. package/dist/__tests__/fixtures/phases.js.map +1 -0
  45. package/dist/__tests__/fixtures/portals.d.ts +4 -0
  46. package/dist/__tests__/fixtures/portals.d.ts.map +1 -0
  47. package/dist/__tests__/fixtures/portals.js +48 -0
  48. package/dist/__tests__/fixtures/portals.js.map +1 -0
  49. package/dist/__tests__/fixtures/projects.d.ts +298 -0
  50. package/dist/__tests__/fixtures/projects.d.ts.map +1 -0
  51. package/dist/__tests__/fixtures/projects.js +44 -0
  52. package/dist/__tests__/fixtures/projects.js.map +1 -0
  53. package/dist/__tests__/fixtures/tags.d.ts +22 -0
  54. package/dist/__tests__/fixtures/tags.d.ts.map +1 -0
  55. package/dist/__tests__/fixtures/tags.js +33 -0
  56. package/dist/__tests__/fixtures/tags.js.map +1 -0
  57. package/dist/__tests__/fixtures/tasklists.d.ts +107 -0
  58. package/dist/__tests__/fixtures/tasklists.d.ts.map +1 -0
  59. package/dist/__tests__/fixtures/tasklists.js +31 -0
  60. package/dist/__tests__/fixtures/tasklists.js.map +1 -0
  61. package/dist/__tests__/fixtures/tasks.d.ts +209 -0
  62. package/dist/__tests__/fixtures/tasks.d.ts.map +1 -0
  63. package/dist/__tests__/fixtures/tasks.js +69 -0
  64. package/dist/__tests__/fixtures/tasks.js.map +1 -0
  65. package/dist/__tests__/fixtures/timelogs.d.ts +151 -0
  66. package/dist/__tests__/fixtures/timelogs.d.ts.map +1 -0
  67. package/dist/__tests__/fixtures/timelogs.js +79 -0
  68. package/dist/__tests__/fixtures/timelogs.js.map +1 -0
  69. package/dist/__tests__/fixtures/timers.d.ts +5 -0
  70. package/dist/__tests__/fixtures/timers.d.ts.map +1 -0
  71. package/dist/__tests__/fixtures/timers.js +50 -0
  72. package/dist/__tests__/fixtures/timers.js.map +1 -0
  73. package/dist/__tests__/fixtures/users.d.ts +55 -0
  74. package/dist/__tests__/fixtures/users.d.ts.map +1 -0
  75. package/dist/__tests__/fixtures/users.js +47 -0
  76. package/dist/__tests__/fixtures/users.js.map +1 -0
  77. package/dist/__tests__/integration/setup.d.ts +14 -0
  78. package/dist/__tests__/integration/setup.d.ts.map +1 -0
  79. package/dist/__tests__/integration/setup.js +52 -0
  80. package/dist/__tests__/integration/setup.js.map +1 -0
  81. package/dist/__tests__/mocks/handlers.d.ts +34 -0
  82. package/dist/__tests__/mocks/handlers.d.ts.map +1 -0
  83. package/dist/__tests__/mocks/handlers.js +49 -0
  84. package/dist/__tests__/mocks/handlers.js.map +1 -0
  85. package/dist/__tests__/mocks/server.d.ts +2 -0
  86. package/dist/__tests__/mocks/server.d.ts.map +1 -0
  87. package/dist/__tests__/mocks/server.js +7 -0
  88. package/dist/__tests__/mocks/server.js.map +1 -0
  89. package/dist/__tests__/setup.d.ts +2 -0
  90. package/dist/__tests__/setup.d.ts.map +1 -0
  91. package/dist/__tests__/setup.js +18 -0
  92. package/dist/__tests__/setup.js.map +1 -0
  93. package/dist/__tests__/unit/client/attachments.test.d.ts +2 -0
  94. package/dist/__tests__/unit/client/attachments.test.d.ts.map +1 -0
  95. package/dist/__tests__/unit/client/attachments.test.js +55 -0
  96. package/dist/__tests__/unit/client/attachments.test.js.map +1 -0
  97. package/dist/__tests__/unit/client/blueprints.test.d.ts +2 -0
  98. package/dist/__tests__/unit/client/blueprints.test.d.ts.map +1 -0
  99. package/dist/__tests__/unit/client/blueprints.test.js +127 -0
  100. package/dist/__tests__/unit/client/blueprints.test.js.map +1 -0
  101. package/dist/__tests__/unit/client/comments.test.d.ts +2 -0
  102. package/dist/__tests__/unit/client/comments.test.d.ts.map +1 -0
  103. package/dist/__tests__/unit/client/comments.test.js +95 -0
  104. package/dist/__tests__/unit/client/comments.test.js.map +1 -0
  105. package/dist/__tests__/unit/client/customviews.test.d.ts +2 -0
  106. package/dist/__tests__/unit/client/customviews.test.d.ts.map +1 -0
  107. package/dist/__tests__/unit/client/customviews.test.js +112 -0
  108. package/dist/__tests__/unit/client/customviews.test.js.map +1 -0
  109. package/dist/__tests__/unit/client/events.test.d.ts +2 -0
  110. package/dist/__tests__/unit/client/events.test.d.ts.map +1 -0
  111. package/dist/__tests__/unit/client/events.test.js +79 -0
  112. package/dist/__tests__/unit/client/events.test.js.map +1 -0
  113. package/dist/__tests__/unit/client/forums.test.d.ts +2 -0
  114. package/dist/__tests__/unit/client/forums.test.d.ts.map +1 -0
  115. package/dist/__tests__/unit/client/forums.test.js +75 -0
  116. package/dist/__tests__/unit/client/forums.test.js.map +1 -0
  117. package/dist/__tests__/unit/client/groups.test.d.ts +2 -0
  118. package/dist/__tests__/unit/client/groups.test.d.ts.map +1 -0
  119. package/dist/__tests__/unit/client/groups.test.js +74 -0
  120. package/dist/__tests__/unit/client/groups.test.js.map +1 -0
  121. package/dist/__tests__/unit/client/issues.test.d.ts +2 -0
  122. package/dist/__tests__/unit/client/issues.test.d.ts.map +1 -0
  123. package/dist/__tests__/unit/client/issues.test.js +75 -0
  124. package/dist/__tests__/unit/client/issues.test.js.map +1 -0
  125. package/dist/__tests__/unit/client/modules.test.d.ts +2 -0
  126. package/dist/__tests__/unit/client/modules.test.d.ts.map +1 -0
  127. package/dist/__tests__/unit/client/modules.test.js +92 -0
  128. package/dist/__tests__/unit/client/modules.test.js.map +1 -0
  129. package/dist/__tests__/unit/client/phases.test.d.ts +2 -0
  130. package/dist/__tests__/unit/client/phases.test.d.ts.map +1 -0
  131. package/dist/__tests__/unit/client/phases.test.js +79 -0
  132. package/dist/__tests__/unit/client/phases.test.js.map +1 -0
  133. package/dist/__tests__/unit/client/portals.test.d.ts +2 -0
  134. package/dist/__tests__/unit/client/portals.test.d.ts.map +1 -0
  135. package/dist/__tests__/unit/client/portals.test.js +54 -0
  136. package/dist/__tests__/unit/client/portals.test.js.map +1 -0
  137. package/dist/__tests__/unit/client/projects.test.d.ts +2 -0
  138. package/dist/__tests__/unit/client/projects.test.d.ts.map +1 -0
  139. package/dist/__tests__/unit/client/projects.test.js +171 -0
  140. package/dist/__tests__/unit/client/projects.test.js.map +1 -0
  141. package/dist/__tests__/unit/client/tags.test.d.ts +2 -0
  142. package/dist/__tests__/unit/client/tags.test.d.ts.map +1 -0
  143. package/dist/__tests__/unit/client/tags.test.js +99 -0
  144. package/dist/__tests__/unit/client/tags.test.js.map +1 -0
  145. package/dist/__tests__/unit/client/tasklists.test.d.ts +2 -0
  146. package/dist/__tests__/unit/client/tasklists.test.d.ts.map +1 -0
  147. package/dist/__tests__/unit/client/tasklists.test.js +75 -0
  148. package/dist/__tests__/unit/client/tasklists.test.js.map +1 -0
  149. package/dist/__tests__/unit/client/tasks.test.d.ts +2 -0
  150. package/dist/__tests__/unit/client/tasks.test.d.ts.map +1 -0
  151. package/dist/__tests__/unit/client/tasks.test.js +157 -0
  152. package/dist/__tests__/unit/client/tasks.test.js.map +1 -0
  153. package/dist/__tests__/unit/client/timers.test.d.ts +2 -0
  154. package/dist/__tests__/unit/client/timers.test.d.ts.map +1 -0
  155. package/dist/__tests__/unit/client/timers.test.js +122 -0
  156. package/dist/__tests__/unit/client/timers.test.js.map +1 -0
  157. package/dist/__tests__/unit/client/users.test.d.ts +2 -0
  158. package/dist/__tests__/unit/client/users.test.d.ts.map +1 -0
  159. package/dist/__tests__/unit/client/users.test.js +89 -0
  160. package/dist/__tests__/unit/client/users.test.js.map +1 -0
  161. package/dist/cli/init.d.ts +3 -0
  162. package/dist/cli/init.d.ts.map +1 -0
  163. package/dist/cli/init.js +130 -0
  164. package/dist/cli/init.js.map +1 -0
  165. package/dist/client.d.ts +2613 -1
  166. package/dist/client.d.ts.map +1 -1
  167. package/dist/client.js +1623 -1
  168. package/dist/client.js.map +1 -1
  169. package/dist/types/attachments.d.ts +1545 -0
  170. package/dist/types/attachments.d.ts.map +1 -0
  171. package/dist/types/attachments.js +78 -0
  172. package/dist/types/attachments.js.map +1 -0
  173. package/dist/types/blueprints.d.ts +5070 -0
  174. package/dist/types/blueprints.d.ts.map +1 -0
  175. package/dist/types/blueprints.js +111 -0
  176. package/dist/types/blueprints.js.map +1 -0
  177. package/dist/types/clients.d.ts +384 -0
  178. package/dist/types/clients.d.ts.map +1 -0
  179. package/dist/types/clients.js +77 -0
  180. package/dist/types/clients.js.map +1 -0
  181. package/dist/types/comments.d.ts +1111 -0
  182. package/dist/types/comments.d.ts.map +1 -0
  183. package/dist/types/comments.js +73 -0
  184. package/dist/types/comments.js.map +1 -0
  185. package/dist/types/contacts.d.ts +444 -0
  186. package/dist/types/contacts.d.ts.map +1 -0
  187. package/dist/types/contacts.js +86 -0
  188. package/dist/types/contacts.js.map +1 -0
  189. package/dist/types/customviews.d.ts +1593 -0
  190. package/dist/types/customviews.d.ts.map +1 -0
  191. package/dist/types/customviews.js +117 -0
  192. package/dist/types/customviews.js.map +1 -0
  193. package/dist/types/dashboards.d.ts +1675 -0
  194. package/dist/types/dashboards.d.ts.map +1 -0
  195. package/dist/types/dashboards.js +77 -0
  196. package/dist/types/dashboards.js.map +1 -0
  197. package/dist/types/documents.d.ts +2322 -0
  198. package/dist/types/documents.d.ts.map +1 -0
  199. package/dist/types/documents.js +121 -0
  200. package/dist/types/documents.js.map +1 -0
  201. package/dist/types/events.d.ts +1747 -0
  202. package/dist/types/events.d.ts.map +1 -0
  203. package/dist/types/events.js +122 -0
  204. package/dist/types/events.js.map +1 -0
  205. package/dist/types/followers.d.ts +198 -0
  206. package/dist/types/followers.d.ts.map +1 -0
  207. package/dist/types/followers.js +44 -0
  208. package/dist/types/followers.js.map +1 -0
  209. package/dist/types/forums.d.ts +1443 -0
  210. package/dist/types/forums.d.ts.map +1 -0
  211. package/dist/types/forums.js +89 -0
  212. package/dist/types/forums.js.map +1 -0
  213. package/dist/types/groups.d.ts +237 -0
  214. package/dist/types/groups.d.ts.map +1 -0
  215. package/dist/types/groups.js +52 -0
  216. package/dist/types/groups.js.map +1 -0
  217. package/dist/types/index.d.ts +31 -4
  218. package/dist/types/index.d.ts.map +1 -1
  219. package/dist/types/index.js +58 -4
  220. package/dist/types/index.js.map +1 -1
  221. package/dist/types/issues.d.ts +2600 -0
  222. package/dist/types/issues.d.ts.map +1 -0
  223. package/dist/types/issues.js +147 -0
  224. package/dist/types/issues.js.map +1 -0
  225. package/dist/types/leaves.d.ts +435 -0
  226. package/dist/types/leaves.d.ts.map +1 -0
  227. package/dist/types/leaves.js +92 -0
  228. package/dist/types/leaves.js.map +1 -0
  229. package/dist/types/modules.d.ts +469 -0
  230. package/dist/types/modules.d.ts.map +1 -0
  231. package/dist/types/modules.js +91 -0
  232. package/dist/types/modules.js.map +1 -0
  233. package/dist/types/phases.d.ts +1564 -0
  234. package/dist/types/phases.d.ts.map +1 -0
  235. package/dist/types/phases.js +98 -0
  236. package/dist/types/phases.js.map +1 -0
  237. package/dist/types/portals.d.ts +1050 -0
  238. package/dist/types/portals.d.ts.map +1 -0
  239. package/dist/types/portals.js +58 -0
  240. package/dist/types/portals.js.map +1 -0
  241. package/dist/types/profiles.d.ts +243 -0
  242. package/dist/types/profiles.d.ts.map +1 -0
  243. package/dist/types/profiles.js +59 -0
  244. package/dist/types/profiles.js.map +1 -0
  245. package/dist/types/projects.d.ts +128 -0
  246. package/dist/types/projects.d.ts.map +1 -1
  247. package/dist/types/projects.js +44 -0
  248. package/dist/types/projects.js.map +1 -1
  249. package/dist/types/reports.d.ts +2010 -0
  250. package/dist/types/reports.d.ts.map +1 -0
  251. package/dist/types/reports.js +110 -0
  252. package/dist/types/reports.js.map +1 -0
  253. package/dist/types/roles.d.ts +243 -0
  254. package/dist/types/roles.d.ts.map +1 -0
  255. package/dist/types/roles.js +59 -0
  256. package/dist/types/roles.js.map +1 -0
  257. package/dist/types/search.d.ts +1091 -0
  258. package/dist/types/search.d.ts.map +1 -0
  259. package/dist/types/search.js +83 -0
  260. package/dist/types/search.js.map +1 -0
  261. package/dist/types/tags.d.ts +198 -0
  262. package/dist/types/tags.d.ts.map +1 -0
  263. package/dist/types/tags.js +49 -0
  264. package/dist/types/tags.js.map +1 -0
  265. package/dist/types/tasklists.d.ts +1317 -0
  266. package/dist/types/tasklists.d.ts.map +1 -0
  267. package/dist/types/tasklists.js +78 -0
  268. package/dist/types/tasklists.js.map +1 -0
  269. package/dist/types/tasks.d.ts +182 -0
  270. package/dist/types/tasks.d.ts.map +1 -1
  271. package/dist/types/tasks.js +52 -0
  272. package/dist/types/tasks.js.map +1 -1
  273. package/dist/types/teams.d.ts +504 -0
  274. package/dist/types/teams.d.ts.map +1 -0
  275. package/dist/types/teams.js +75 -0
  276. package/dist/types/teams.js.map +1 -0
  277. package/dist/types/timelogs.d.ts +245 -0
  278. package/dist/types/timelogs.d.ts.map +1 -1
  279. package/dist/types/timelogs.js +53 -0
  280. package/dist/types/timelogs.js.map +1 -1
  281. package/dist/types/timers.d.ts +1334 -0
  282. package/dist/types/timers.d.ts.map +1 -0
  283. package/dist/types/timers.js +108 -0
  284. package/dist/types/timers.js.map +1 -0
  285. package/dist/types/trash.d.ts +1447 -0
  286. package/dist/types/trash.d.ts.map +1 -0
  287. package/dist/types/trash.js +77 -0
  288. package/dist/types/trash.js.map +1 -0
  289. package/dist/types/users.d.ts +100 -0
  290. package/dist/types/users.d.ts.map +1 -1
  291. package/dist/types/users.js +56 -0
  292. package/dist/types/users.js.map +1 -1
  293. package/dist/types/widgets.d.ts +1083 -0
  294. package/dist/types/widgets.d.ts.map +1 -0
  295. package/dist/types/widgets.js +87 -0
  296. package/dist/types/widgets.js.map +1 -0
  297. package/package.json +15 -3
  298. package/templates/CLAUDE.md +66 -0
  299. package/templates/commands/zoho-auth.md +195 -0
  300. package/templates/commands/zoho-examples.md +375 -0
  301. package/templates/commands/zoho-projects.md +183 -0
  302. package/templates/types/zoho-projects-api.d.ts +364 -0
@@ -0,0 +1,1111 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Comment from Zoho Projects API
4
+ * Comments can be attached to tasks, bugs, forums, milestones, and events
5
+ */
6
+ export declare const CommentSchema: z.ZodObject<{
7
+ id: z.ZodNumber;
8
+ id_string: z.ZodString;
9
+ content: z.ZodString;
10
+ posted_by: z.ZodOptional<z.ZodObject<{
11
+ id: z.ZodString;
12
+ name: z.ZodString;
13
+ email: z.ZodOptional<z.ZodString>;
14
+ zpuid: z.ZodOptional<z.ZodString>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ id: string;
17
+ name: string;
18
+ email?: string | undefined;
19
+ zpuid?: string | undefined;
20
+ }, {
21
+ id: string;
22
+ name: string;
23
+ email?: string | undefined;
24
+ zpuid?: string | undefined;
25
+ }>>;
26
+ posted_person: z.ZodOptional<z.ZodString>;
27
+ author_name: z.ZodOptional<z.ZodString>;
28
+ entity_type: z.ZodOptional<z.ZodString>;
29
+ entity_id: z.ZodOptional<z.ZodString>;
30
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
+ id: z.ZodNumber;
32
+ id_string: z.ZodOptional<z.ZodString>;
33
+ name: z.ZodString;
34
+ url: z.ZodOptional<z.ZodString>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ id: number;
37
+ name: string;
38
+ url?: string | undefined;
39
+ id_string?: string | undefined;
40
+ }, {
41
+ id: number;
42
+ name: string;
43
+ url?: string | undefined;
44
+ id_string?: string | undefined;
45
+ }>, "many">>;
46
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
47
+ id: z.ZodString;
48
+ name: z.ZodString;
49
+ }, "strip", z.ZodTypeAny, {
50
+ id: string;
51
+ name: string;
52
+ }, {
53
+ id: string;
54
+ name: string;
55
+ }>, "many">>;
56
+ link: z.ZodOptional<z.ZodObject<{
57
+ self: z.ZodOptional<z.ZodObject<{
58
+ url: z.ZodString;
59
+ }, "strip", z.ZodTypeAny, {
60
+ url: string;
61
+ }, {
62
+ url: string;
63
+ }>>;
64
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
65
+ self: z.ZodOptional<z.ZodObject<{
66
+ url: z.ZodString;
67
+ }, "strip", z.ZodTypeAny, {
68
+ url: string;
69
+ }, {
70
+ url: string;
71
+ }>>;
72
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
73
+ self: z.ZodOptional<z.ZodObject<{
74
+ url: z.ZodString;
75
+ }, "strip", z.ZodTypeAny, {
76
+ url: string;
77
+ }, {
78
+ url: string;
79
+ }>>;
80
+ }, z.ZodTypeAny, "passthrough">>>;
81
+ posted_time: z.ZodOptional<z.ZodString>;
82
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
83
+ last_modified_time: z.ZodOptional<z.ZodString>;
84
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
85
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
86
+ id: z.ZodNumber;
87
+ id_string: z.ZodString;
88
+ content: z.ZodString;
89
+ posted_by: z.ZodOptional<z.ZodObject<{
90
+ id: z.ZodString;
91
+ name: z.ZodString;
92
+ email: z.ZodOptional<z.ZodString>;
93
+ zpuid: z.ZodOptional<z.ZodString>;
94
+ }, "strip", z.ZodTypeAny, {
95
+ id: string;
96
+ name: string;
97
+ email?: string | undefined;
98
+ zpuid?: string | undefined;
99
+ }, {
100
+ id: string;
101
+ name: string;
102
+ email?: string | undefined;
103
+ zpuid?: string | undefined;
104
+ }>>;
105
+ posted_person: z.ZodOptional<z.ZodString>;
106
+ author_name: z.ZodOptional<z.ZodString>;
107
+ entity_type: z.ZodOptional<z.ZodString>;
108
+ entity_id: z.ZodOptional<z.ZodString>;
109
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
110
+ id: z.ZodNumber;
111
+ id_string: z.ZodOptional<z.ZodString>;
112
+ name: z.ZodString;
113
+ url: z.ZodOptional<z.ZodString>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ id: number;
116
+ name: string;
117
+ url?: string | undefined;
118
+ id_string?: string | undefined;
119
+ }, {
120
+ id: number;
121
+ name: string;
122
+ url?: string | undefined;
123
+ id_string?: string | undefined;
124
+ }>, "many">>;
125
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
126
+ id: z.ZodString;
127
+ name: z.ZodString;
128
+ }, "strip", z.ZodTypeAny, {
129
+ id: string;
130
+ name: string;
131
+ }, {
132
+ id: string;
133
+ name: string;
134
+ }>, "many">>;
135
+ link: z.ZodOptional<z.ZodObject<{
136
+ self: z.ZodOptional<z.ZodObject<{
137
+ url: z.ZodString;
138
+ }, "strip", z.ZodTypeAny, {
139
+ url: string;
140
+ }, {
141
+ url: string;
142
+ }>>;
143
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
144
+ self: z.ZodOptional<z.ZodObject<{
145
+ url: z.ZodString;
146
+ }, "strip", z.ZodTypeAny, {
147
+ url: string;
148
+ }, {
149
+ url: string;
150
+ }>>;
151
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
152
+ self: z.ZodOptional<z.ZodObject<{
153
+ url: z.ZodString;
154
+ }, "strip", z.ZodTypeAny, {
155
+ url: string;
156
+ }, {
157
+ url: string;
158
+ }>>;
159
+ }, z.ZodTypeAny, "passthrough">>>;
160
+ posted_time: z.ZodOptional<z.ZodString>;
161
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
162
+ last_modified_time: z.ZodOptional<z.ZodString>;
163
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
164
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
165
+ id: z.ZodNumber;
166
+ id_string: z.ZodString;
167
+ content: z.ZodString;
168
+ posted_by: z.ZodOptional<z.ZodObject<{
169
+ id: z.ZodString;
170
+ name: z.ZodString;
171
+ email: z.ZodOptional<z.ZodString>;
172
+ zpuid: z.ZodOptional<z.ZodString>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ id: string;
175
+ name: string;
176
+ email?: string | undefined;
177
+ zpuid?: string | undefined;
178
+ }, {
179
+ id: string;
180
+ name: string;
181
+ email?: string | undefined;
182
+ zpuid?: string | undefined;
183
+ }>>;
184
+ posted_person: z.ZodOptional<z.ZodString>;
185
+ author_name: z.ZodOptional<z.ZodString>;
186
+ entity_type: z.ZodOptional<z.ZodString>;
187
+ entity_id: z.ZodOptional<z.ZodString>;
188
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
189
+ id: z.ZodNumber;
190
+ id_string: z.ZodOptional<z.ZodString>;
191
+ name: z.ZodString;
192
+ url: z.ZodOptional<z.ZodString>;
193
+ }, "strip", z.ZodTypeAny, {
194
+ id: number;
195
+ name: string;
196
+ url?: string | undefined;
197
+ id_string?: string | undefined;
198
+ }, {
199
+ id: number;
200
+ name: string;
201
+ url?: string | undefined;
202
+ id_string?: string | undefined;
203
+ }>, "many">>;
204
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
205
+ id: z.ZodString;
206
+ name: z.ZodString;
207
+ }, "strip", z.ZodTypeAny, {
208
+ id: string;
209
+ name: string;
210
+ }, {
211
+ id: string;
212
+ name: string;
213
+ }>, "many">>;
214
+ link: z.ZodOptional<z.ZodObject<{
215
+ self: z.ZodOptional<z.ZodObject<{
216
+ url: z.ZodString;
217
+ }, "strip", z.ZodTypeAny, {
218
+ url: string;
219
+ }, {
220
+ url: string;
221
+ }>>;
222
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
223
+ self: z.ZodOptional<z.ZodObject<{
224
+ url: z.ZodString;
225
+ }, "strip", z.ZodTypeAny, {
226
+ url: string;
227
+ }, {
228
+ url: string;
229
+ }>>;
230
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
231
+ self: z.ZodOptional<z.ZodObject<{
232
+ url: z.ZodString;
233
+ }, "strip", z.ZodTypeAny, {
234
+ url: string;
235
+ }, {
236
+ url: string;
237
+ }>>;
238
+ }, z.ZodTypeAny, "passthrough">>>;
239
+ posted_time: z.ZodOptional<z.ZodString>;
240
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
241
+ last_modified_time: z.ZodOptional<z.ZodString>;
242
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
243
+ }, z.ZodTypeAny, "passthrough">>;
244
+ export type Comment = z.infer<typeof CommentSchema>;
245
+ export declare const CommentListResponseSchema: z.ZodObject<{
246
+ comments: z.ZodArray<z.ZodObject<{
247
+ id: z.ZodNumber;
248
+ id_string: z.ZodString;
249
+ content: z.ZodString;
250
+ posted_by: z.ZodOptional<z.ZodObject<{
251
+ id: z.ZodString;
252
+ name: z.ZodString;
253
+ email: z.ZodOptional<z.ZodString>;
254
+ zpuid: z.ZodOptional<z.ZodString>;
255
+ }, "strip", z.ZodTypeAny, {
256
+ id: string;
257
+ name: string;
258
+ email?: string | undefined;
259
+ zpuid?: string | undefined;
260
+ }, {
261
+ id: string;
262
+ name: string;
263
+ email?: string | undefined;
264
+ zpuid?: string | undefined;
265
+ }>>;
266
+ posted_person: z.ZodOptional<z.ZodString>;
267
+ author_name: z.ZodOptional<z.ZodString>;
268
+ entity_type: z.ZodOptional<z.ZodString>;
269
+ entity_id: z.ZodOptional<z.ZodString>;
270
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
271
+ id: z.ZodNumber;
272
+ id_string: z.ZodOptional<z.ZodString>;
273
+ name: z.ZodString;
274
+ url: z.ZodOptional<z.ZodString>;
275
+ }, "strip", z.ZodTypeAny, {
276
+ id: number;
277
+ name: string;
278
+ url?: string | undefined;
279
+ id_string?: string | undefined;
280
+ }, {
281
+ id: number;
282
+ name: string;
283
+ url?: string | undefined;
284
+ id_string?: string | undefined;
285
+ }>, "many">>;
286
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
287
+ id: z.ZodString;
288
+ name: z.ZodString;
289
+ }, "strip", z.ZodTypeAny, {
290
+ id: string;
291
+ name: string;
292
+ }, {
293
+ id: string;
294
+ name: string;
295
+ }>, "many">>;
296
+ link: z.ZodOptional<z.ZodObject<{
297
+ self: z.ZodOptional<z.ZodObject<{
298
+ url: z.ZodString;
299
+ }, "strip", z.ZodTypeAny, {
300
+ url: string;
301
+ }, {
302
+ url: string;
303
+ }>>;
304
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
305
+ self: z.ZodOptional<z.ZodObject<{
306
+ url: z.ZodString;
307
+ }, "strip", z.ZodTypeAny, {
308
+ url: string;
309
+ }, {
310
+ url: string;
311
+ }>>;
312
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
313
+ self: z.ZodOptional<z.ZodObject<{
314
+ url: z.ZodString;
315
+ }, "strip", z.ZodTypeAny, {
316
+ url: string;
317
+ }, {
318
+ url: string;
319
+ }>>;
320
+ }, z.ZodTypeAny, "passthrough">>>;
321
+ posted_time: z.ZodOptional<z.ZodString>;
322
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
323
+ last_modified_time: z.ZodOptional<z.ZodString>;
324
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
325
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
326
+ id: z.ZodNumber;
327
+ id_string: z.ZodString;
328
+ content: z.ZodString;
329
+ posted_by: z.ZodOptional<z.ZodObject<{
330
+ id: z.ZodString;
331
+ name: z.ZodString;
332
+ email: z.ZodOptional<z.ZodString>;
333
+ zpuid: z.ZodOptional<z.ZodString>;
334
+ }, "strip", z.ZodTypeAny, {
335
+ id: string;
336
+ name: string;
337
+ email?: string | undefined;
338
+ zpuid?: string | undefined;
339
+ }, {
340
+ id: string;
341
+ name: string;
342
+ email?: string | undefined;
343
+ zpuid?: string | undefined;
344
+ }>>;
345
+ posted_person: z.ZodOptional<z.ZodString>;
346
+ author_name: z.ZodOptional<z.ZodString>;
347
+ entity_type: z.ZodOptional<z.ZodString>;
348
+ entity_id: z.ZodOptional<z.ZodString>;
349
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
350
+ id: z.ZodNumber;
351
+ id_string: z.ZodOptional<z.ZodString>;
352
+ name: z.ZodString;
353
+ url: z.ZodOptional<z.ZodString>;
354
+ }, "strip", z.ZodTypeAny, {
355
+ id: number;
356
+ name: string;
357
+ url?: string | undefined;
358
+ id_string?: string | undefined;
359
+ }, {
360
+ id: number;
361
+ name: string;
362
+ url?: string | undefined;
363
+ id_string?: string | undefined;
364
+ }>, "many">>;
365
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
366
+ id: z.ZodString;
367
+ name: z.ZodString;
368
+ }, "strip", z.ZodTypeAny, {
369
+ id: string;
370
+ name: string;
371
+ }, {
372
+ id: string;
373
+ name: string;
374
+ }>, "many">>;
375
+ link: z.ZodOptional<z.ZodObject<{
376
+ self: z.ZodOptional<z.ZodObject<{
377
+ url: z.ZodString;
378
+ }, "strip", z.ZodTypeAny, {
379
+ url: string;
380
+ }, {
381
+ url: string;
382
+ }>>;
383
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
384
+ self: z.ZodOptional<z.ZodObject<{
385
+ url: z.ZodString;
386
+ }, "strip", z.ZodTypeAny, {
387
+ url: string;
388
+ }, {
389
+ url: string;
390
+ }>>;
391
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
392
+ self: z.ZodOptional<z.ZodObject<{
393
+ url: z.ZodString;
394
+ }, "strip", z.ZodTypeAny, {
395
+ url: string;
396
+ }, {
397
+ url: string;
398
+ }>>;
399
+ }, z.ZodTypeAny, "passthrough">>>;
400
+ posted_time: z.ZodOptional<z.ZodString>;
401
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
402
+ last_modified_time: z.ZodOptional<z.ZodString>;
403
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
404
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
405
+ id: z.ZodNumber;
406
+ id_string: z.ZodString;
407
+ content: z.ZodString;
408
+ posted_by: z.ZodOptional<z.ZodObject<{
409
+ id: z.ZodString;
410
+ name: z.ZodString;
411
+ email: z.ZodOptional<z.ZodString>;
412
+ zpuid: z.ZodOptional<z.ZodString>;
413
+ }, "strip", z.ZodTypeAny, {
414
+ id: string;
415
+ name: string;
416
+ email?: string | undefined;
417
+ zpuid?: string | undefined;
418
+ }, {
419
+ id: string;
420
+ name: string;
421
+ email?: string | undefined;
422
+ zpuid?: string | undefined;
423
+ }>>;
424
+ posted_person: z.ZodOptional<z.ZodString>;
425
+ author_name: z.ZodOptional<z.ZodString>;
426
+ entity_type: z.ZodOptional<z.ZodString>;
427
+ entity_id: z.ZodOptional<z.ZodString>;
428
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
429
+ id: z.ZodNumber;
430
+ id_string: z.ZodOptional<z.ZodString>;
431
+ name: z.ZodString;
432
+ url: z.ZodOptional<z.ZodString>;
433
+ }, "strip", z.ZodTypeAny, {
434
+ id: number;
435
+ name: string;
436
+ url?: string | undefined;
437
+ id_string?: string | undefined;
438
+ }, {
439
+ id: number;
440
+ name: string;
441
+ url?: string | undefined;
442
+ id_string?: string | undefined;
443
+ }>, "many">>;
444
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
445
+ id: z.ZodString;
446
+ name: z.ZodString;
447
+ }, "strip", z.ZodTypeAny, {
448
+ id: string;
449
+ name: string;
450
+ }, {
451
+ id: string;
452
+ name: string;
453
+ }>, "many">>;
454
+ link: z.ZodOptional<z.ZodObject<{
455
+ self: z.ZodOptional<z.ZodObject<{
456
+ url: z.ZodString;
457
+ }, "strip", z.ZodTypeAny, {
458
+ url: string;
459
+ }, {
460
+ url: string;
461
+ }>>;
462
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
463
+ self: z.ZodOptional<z.ZodObject<{
464
+ url: z.ZodString;
465
+ }, "strip", z.ZodTypeAny, {
466
+ url: string;
467
+ }, {
468
+ url: string;
469
+ }>>;
470
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
471
+ self: z.ZodOptional<z.ZodObject<{
472
+ url: z.ZodString;
473
+ }, "strip", z.ZodTypeAny, {
474
+ url: string;
475
+ }, {
476
+ url: string;
477
+ }>>;
478
+ }, z.ZodTypeAny, "passthrough">>>;
479
+ posted_time: z.ZodOptional<z.ZodString>;
480
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
481
+ last_modified_time: z.ZodOptional<z.ZodString>;
482
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
483
+ }, z.ZodTypeAny, "passthrough">>, "many">;
484
+ page_info: z.ZodOptional<z.ZodObject<{
485
+ page: z.ZodNumber;
486
+ per_page: z.ZodNumber;
487
+ total_count: z.ZodOptional<z.ZodNumber>;
488
+ has_more_page: z.ZodOptional<z.ZodBoolean>;
489
+ }, "strip", z.ZodTypeAny, {
490
+ page: number;
491
+ per_page: number;
492
+ total_count?: number | undefined;
493
+ has_more_page?: boolean | undefined;
494
+ }, {
495
+ page: number;
496
+ per_page: number;
497
+ total_count?: number | undefined;
498
+ has_more_page?: boolean | undefined;
499
+ }>>;
500
+ }, "strip", z.ZodTypeAny, {
501
+ comments: z.objectOutputType<{
502
+ id: z.ZodNumber;
503
+ id_string: z.ZodString;
504
+ content: z.ZodString;
505
+ posted_by: z.ZodOptional<z.ZodObject<{
506
+ id: z.ZodString;
507
+ name: z.ZodString;
508
+ email: z.ZodOptional<z.ZodString>;
509
+ zpuid: z.ZodOptional<z.ZodString>;
510
+ }, "strip", z.ZodTypeAny, {
511
+ id: string;
512
+ name: string;
513
+ email?: string | undefined;
514
+ zpuid?: string | undefined;
515
+ }, {
516
+ id: string;
517
+ name: string;
518
+ email?: string | undefined;
519
+ zpuid?: string | undefined;
520
+ }>>;
521
+ posted_person: z.ZodOptional<z.ZodString>;
522
+ author_name: z.ZodOptional<z.ZodString>;
523
+ entity_type: z.ZodOptional<z.ZodString>;
524
+ entity_id: z.ZodOptional<z.ZodString>;
525
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
526
+ id: z.ZodNumber;
527
+ id_string: z.ZodOptional<z.ZodString>;
528
+ name: z.ZodString;
529
+ url: z.ZodOptional<z.ZodString>;
530
+ }, "strip", z.ZodTypeAny, {
531
+ id: number;
532
+ name: string;
533
+ url?: string | undefined;
534
+ id_string?: string | undefined;
535
+ }, {
536
+ id: number;
537
+ name: string;
538
+ url?: string | undefined;
539
+ id_string?: string | undefined;
540
+ }>, "many">>;
541
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
542
+ id: z.ZodString;
543
+ name: z.ZodString;
544
+ }, "strip", z.ZodTypeAny, {
545
+ id: string;
546
+ name: string;
547
+ }, {
548
+ id: string;
549
+ name: string;
550
+ }>, "many">>;
551
+ link: z.ZodOptional<z.ZodObject<{
552
+ self: z.ZodOptional<z.ZodObject<{
553
+ url: z.ZodString;
554
+ }, "strip", z.ZodTypeAny, {
555
+ url: string;
556
+ }, {
557
+ url: string;
558
+ }>>;
559
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
560
+ self: z.ZodOptional<z.ZodObject<{
561
+ url: z.ZodString;
562
+ }, "strip", z.ZodTypeAny, {
563
+ url: string;
564
+ }, {
565
+ url: string;
566
+ }>>;
567
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
568
+ self: z.ZodOptional<z.ZodObject<{
569
+ url: z.ZodString;
570
+ }, "strip", z.ZodTypeAny, {
571
+ url: string;
572
+ }, {
573
+ url: string;
574
+ }>>;
575
+ }, z.ZodTypeAny, "passthrough">>>;
576
+ posted_time: z.ZodOptional<z.ZodString>;
577
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
578
+ last_modified_time: z.ZodOptional<z.ZodString>;
579
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
580
+ }, z.ZodTypeAny, "passthrough">[];
581
+ page_info?: {
582
+ page: number;
583
+ per_page: number;
584
+ total_count?: number | undefined;
585
+ has_more_page?: boolean | undefined;
586
+ } | undefined;
587
+ }, {
588
+ comments: z.objectInputType<{
589
+ id: z.ZodNumber;
590
+ id_string: z.ZodString;
591
+ content: z.ZodString;
592
+ posted_by: z.ZodOptional<z.ZodObject<{
593
+ id: z.ZodString;
594
+ name: z.ZodString;
595
+ email: z.ZodOptional<z.ZodString>;
596
+ zpuid: z.ZodOptional<z.ZodString>;
597
+ }, "strip", z.ZodTypeAny, {
598
+ id: string;
599
+ name: string;
600
+ email?: string | undefined;
601
+ zpuid?: string | undefined;
602
+ }, {
603
+ id: string;
604
+ name: string;
605
+ email?: string | undefined;
606
+ zpuid?: string | undefined;
607
+ }>>;
608
+ posted_person: z.ZodOptional<z.ZodString>;
609
+ author_name: z.ZodOptional<z.ZodString>;
610
+ entity_type: z.ZodOptional<z.ZodString>;
611
+ entity_id: z.ZodOptional<z.ZodString>;
612
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
613
+ id: z.ZodNumber;
614
+ id_string: z.ZodOptional<z.ZodString>;
615
+ name: z.ZodString;
616
+ url: z.ZodOptional<z.ZodString>;
617
+ }, "strip", z.ZodTypeAny, {
618
+ id: number;
619
+ name: string;
620
+ url?: string | undefined;
621
+ id_string?: string | undefined;
622
+ }, {
623
+ id: number;
624
+ name: string;
625
+ url?: string | undefined;
626
+ id_string?: string | undefined;
627
+ }>, "many">>;
628
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
629
+ id: z.ZodString;
630
+ name: z.ZodString;
631
+ }, "strip", z.ZodTypeAny, {
632
+ id: string;
633
+ name: string;
634
+ }, {
635
+ id: string;
636
+ name: string;
637
+ }>, "many">>;
638
+ link: z.ZodOptional<z.ZodObject<{
639
+ self: z.ZodOptional<z.ZodObject<{
640
+ url: z.ZodString;
641
+ }, "strip", z.ZodTypeAny, {
642
+ url: string;
643
+ }, {
644
+ url: string;
645
+ }>>;
646
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
647
+ self: z.ZodOptional<z.ZodObject<{
648
+ url: z.ZodString;
649
+ }, "strip", z.ZodTypeAny, {
650
+ url: string;
651
+ }, {
652
+ url: string;
653
+ }>>;
654
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
655
+ self: z.ZodOptional<z.ZodObject<{
656
+ url: z.ZodString;
657
+ }, "strip", z.ZodTypeAny, {
658
+ url: string;
659
+ }, {
660
+ url: string;
661
+ }>>;
662
+ }, z.ZodTypeAny, "passthrough">>>;
663
+ posted_time: z.ZodOptional<z.ZodString>;
664
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
665
+ last_modified_time: z.ZodOptional<z.ZodString>;
666
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
667
+ }, z.ZodTypeAny, "passthrough">[];
668
+ page_info?: {
669
+ page: number;
670
+ per_page: number;
671
+ total_count?: number | undefined;
672
+ has_more_page?: boolean | undefined;
673
+ } | undefined;
674
+ }>;
675
+ export type CommentListResponse = z.infer<typeof CommentListResponseSchema>;
676
+ export declare const CommentResponseSchema: z.ZodObject<{
677
+ comments: z.ZodArray<z.ZodObject<{
678
+ id: z.ZodNumber;
679
+ id_string: z.ZodString;
680
+ content: z.ZodString;
681
+ posted_by: z.ZodOptional<z.ZodObject<{
682
+ id: z.ZodString;
683
+ name: z.ZodString;
684
+ email: z.ZodOptional<z.ZodString>;
685
+ zpuid: z.ZodOptional<z.ZodString>;
686
+ }, "strip", z.ZodTypeAny, {
687
+ id: string;
688
+ name: string;
689
+ email?: string | undefined;
690
+ zpuid?: string | undefined;
691
+ }, {
692
+ id: string;
693
+ name: string;
694
+ email?: string | undefined;
695
+ zpuid?: string | undefined;
696
+ }>>;
697
+ posted_person: z.ZodOptional<z.ZodString>;
698
+ author_name: z.ZodOptional<z.ZodString>;
699
+ entity_type: z.ZodOptional<z.ZodString>;
700
+ entity_id: z.ZodOptional<z.ZodString>;
701
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
702
+ id: z.ZodNumber;
703
+ id_string: z.ZodOptional<z.ZodString>;
704
+ name: z.ZodString;
705
+ url: z.ZodOptional<z.ZodString>;
706
+ }, "strip", z.ZodTypeAny, {
707
+ id: number;
708
+ name: string;
709
+ url?: string | undefined;
710
+ id_string?: string | undefined;
711
+ }, {
712
+ id: number;
713
+ name: string;
714
+ url?: string | undefined;
715
+ id_string?: string | undefined;
716
+ }>, "many">>;
717
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
718
+ id: z.ZodString;
719
+ name: z.ZodString;
720
+ }, "strip", z.ZodTypeAny, {
721
+ id: string;
722
+ name: string;
723
+ }, {
724
+ id: string;
725
+ name: string;
726
+ }>, "many">>;
727
+ link: z.ZodOptional<z.ZodObject<{
728
+ self: z.ZodOptional<z.ZodObject<{
729
+ url: z.ZodString;
730
+ }, "strip", z.ZodTypeAny, {
731
+ url: string;
732
+ }, {
733
+ url: string;
734
+ }>>;
735
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
736
+ self: z.ZodOptional<z.ZodObject<{
737
+ url: z.ZodString;
738
+ }, "strip", z.ZodTypeAny, {
739
+ url: string;
740
+ }, {
741
+ url: string;
742
+ }>>;
743
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
744
+ self: z.ZodOptional<z.ZodObject<{
745
+ url: z.ZodString;
746
+ }, "strip", z.ZodTypeAny, {
747
+ url: string;
748
+ }, {
749
+ url: string;
750
+ }>>;
751
+ }, z.ZodTypeAny, "passthrough">>>;
752
+ posted_time: z.ZodOptional<z.ZodString>;
753
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
754
+ last_modified_time: z.ZodOptional<z.ZodString>;
755
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
756
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
757
+ id: z.ZodNumber;
758
+ id_string: z.ZodString;
759
+ content: z.ZodString;
760
+ posted_by: z.ZodOptional<z.ZodObject<{
761
+ id: z.ZodString;
762
+ name: z.ZodString;
763
+ email: z.ZodOptional<z.ZodString>;
764
+ zpuid: z.ZodOptional<z.ZodString>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ id: string;
767
+ name: string;
768
+ email?: string | undefined;
769
+ zpuid?: string | undefined;
770
+ }, {
771
+ id: string;
772
+ name: string;
773
+ email?: string | undefined;
774
+ zpuid?: string | undefined;
775
+ }>>;
776
+ posted_person: z.ZodOptional<z.ZodString>;
777
+ author_name: z.ZodOptional<z.ZodString>;
778
+ entity_type: z.ZodOptional<z.ZodString>;
779
+ entity_id: z.ZodOptional<z.ZodString>;
780
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
781
+ id: z.ZodNumber;
782
+ id_string: z.ZodOptional<z.ZodString>;
783
+ name: z.ZodString;
784
+ url: z.ZodOptional<z.ZodString>;
785
+ }, "strip", z.ZodTypeAny, {
786
+ id: number;
787
+ name: string;
788
+ url?: string | undefined;
789
+ id_string?: string | undefined;
790
+ }, {
791
+ id: number;
792
+ name: string;
793
+ url?: string | undefined;
794
+ id_string?: string | undefined;
795
+ }>, "many">>;
796
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
797
+ id: z.ZodString;
798
+ name: z.ZodString;
799
+ }, "strip", z.ZodTypeAny, {
800
+ id: string;
801
+ name: string;
802
+ }, {
803
+ id: string;
804
+ name: string;
805
+ }>, "many">>;
806
+ link: z.ZodOptional<z.ZodObject<{
807
+ self: z.ZodOptional<z.ZodObject<{
808
+ url: z.ZodString;
809
+ }, "strip", z.ZodTypeAny, {
810
+ url: string;
811
+ }, {
812
+ url: string;
813
+ }>>;
814
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
815
+ self: z.ZodOptional<z.ZodObject<{
816
+ url: z.ZodString;
817
+ }, "strip", z.ZodTypeAny, {
818
+ url: string;
819
+ }, {
820
+ url: string;
821
+ }>>;
822
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
823
+ self: z.ZodOptional<z.ZodObject<{
824
+ url: z.ZodString;
825
+ }, "strip", z.ZodTypeAny, {
826
+ url: string;
827
+ }, {
828
+ url: string;
829
+ }>>;
830
+ }, z.ZodTypeAny, "passthrough">>>;
831
+ posted_time: z.ZodOptional<z.ZodString>;
832
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
833
+ last_modified_time: z.ZodOptional<z.ZodString>;
834
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
835
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
836
+ id: z.ZodNumber;
837
+ id_string: z.ZodString;
838
+ content: z.ZodString;
839
+ posted_by: z.ZodOptional<z.ZodObject<{
840
+ id: z.ZodString;
841
+ name: z.ZodString;
842
+ email: z.ZodOptional<z.ZodString>;
843
+ zpuid: z.ZodOptional<z.ZodString>;
844
+ }, "strip", z.ZodTypeAny, {
845
+ id: string;
846
+ name: string;
847
+ email?: string | undefined;
848
+ zpuid?: string | undefined;
849
+ }, {
850
+ id: string;
851
+ name: string;
852
+ email?: string | undefined;
853
+ zpuid?: string | undefined;
854
+ }>>;
855
+ posted_person: z.ZodOptional<z.ZodString>;
856
+ author_name: z.ZodOptional<z.ZodString>;
857
+ entity_type: z.ZodOptional<z.ZodString>;
858
+ entity_id: z.ZodOptional<z.ZodString>;
859
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
860
+ id: z.ZodNumber;
861
+ id_string: z.ZodOptional<z.ZodString>;
862
+ name: z.ZodString;
863
+ url: z.ZodOptional<z.ZodString>;
864
+ }, "strip", z.ZodTypeAny, {
865
+ id: number;
866
+ name: string;
867
+ url?: string | undefined;
868
+ id_string?: string | undefined;
869
+ }, {
870
+ id: number;
871
+ name: string;
872
+ url?: string | undefined;
873
+ id_string?: string | undefined;
874
+ }>, "many">>;
875
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
876
+ id: z.ZodString;
877
+ name: z.ZodString;
878
+ }, "strip", z.ZodTypeAny, {
879
+ id: string;
880
+ name: string;
881
+ }, {
882
+ id: string;
883
+ name: string;
884
+ }>, "many">>;
885
+ link: z.ZodOptional<z.ZodObject<{
886
+ self: z.ZodOptional<z.ZodObject<{
887
+ url: z.ZodString;
888
+ }, "strip", z.ZodTypeAny, {
889
+ url: string;
890
+ }, {
891
+ url: string;
892
+ }>>;
893
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
894
+ self: z.ZodOptional<z.ZodObject<{
895
+ url: z.ZodString;
896
+ }, "strip", z.ZodTypeAny, {
897
+ url: string;
898
+ }, {
899
+ url: string;
900
+ }>>;
901
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
902
+ self: z.ZodOptional<z.ZodObject<{
903
+ url: z.ZodString;
904
+ }, "strip", z.ZodTypeAny, {
905
+ url: string;
906
+ }, {
907
+ url: string;
908
+ }>>;
909
+ }, z.ZodTypeAny, "passthrough">>>;
910
+ posted_time: z.ZodOptional<z.ZodString>;
911
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
912
+ last_modified_time: z.ZodOptional<z.ZodString>;
913
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
914
+ }, z.ZodTypeAny, "passthrough">>, "many">;
915
+ }, "strip", z.ZodTypeAny, {
916
+ comments: z.objectOutputType<{
917
+ id: z.ZodNumber;
918
+ id_string: z.ZodString;
919
+ content: z.ZodString;
920
+ posted_by: z.ZodOptional<z.ZodObject<{
921
+ id: z.ZodString;
922
+ name: z.ZodString;
923
+ email: z.ZodOptional<z.ZodString>;
924
+ zpuid: z.ZodOptional<z.ZodString>;
925
+ }, "strip", z.ZodTypeAny, {
926
+ id: string;
927
+ name: string;
928
+ email?: string | undefined;
929
+ zpuid?: string | undefined;
930
+ }, {
931
+ id: string;
932
+ name: string;
933
+ email?: string | undefined;
934
+ zpuid?: string | undefined;
935
+ }>>;
936
+ posted_person: z.ZodOptional<z.ZodString>;
937
+ author_name: z.ZodOptional<z.ZodString>;
938
+ entity_type: z.ZodOptional<z.ZodString>;
939
+ entity_id: z.ZodOptional<z.ZodString>;
940
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
941
+ id: z.ZodNumber;
942
+ id_string: z.ZodOptional<z.ZodString>;
943
+ name: z.ZodString;
944
+ url: z.ZodOptional<z.ZodString>;
945
+ }, "strip", z.ZodTypeAny, {
946
+ id: number;
947
+ name: string;
948
+ url?: string | undefined;
949
+ id_string?: string | undefined;
950
+ }, {
951
+ id: number;
952
+ name: string;
953
+ url?: string | undefined;
954
+ id_string?: string | undefined;
955
+ }>, "many">>;
956
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
957
+ id: z.ZodString;
958
+ name: z.ZodString;
959
+ }, "strip", z.ZodTypeAny, {
960
+ id: string;
961
+ name: string;
962
+ }, {
963
+ id: string;
964
+ name: string;
965
+ }>, "many">>;
966
+ link: z.ZodOptional<z.ZodObject<{
967
+ self: z.ZodOptional<z.ZodObject<{
968
+ url: z.ZodString;
969
+ }, "strip", z.ZodTypeAny, {
970
+ url: string;
971
+ }, {
972
+ url: string;
973
+ }>>;
974
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
975
+ self: z.ZodOptional<z.ZodObject<{
976
+ url: z.ZodString;
977
+ }, "strip", z.ZodTypeAny, {
978
+ url: string;
979
+ }, {
980
+ url: string;
981
+ }>>;
982
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
983
+ self: z.ZodOptional<z.ZodObject<{
984
+ url: z.ZodString;
985
+ }, "strip", z.ZodTypeAny, {
986
+ url: string;
987
+ }, {
988
+ url: string;
989
+ }>>;
990
+ }, z.ZodTypeAny, "passthrough">>>;
991
+ posted_time: z.ZodOptional<z.ZodString>;
992
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
993
+ last_modified_time: z.ZodOptional<z.ZodString>;
994
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
995
+ }, z.ZodTypeAny, "passthrough">[];
996
+ }, {
997
+ comments: z.objectInputType<{
998
+ id: z.ZodNumber;
999
+ id_string: z.ZodString;
1000
+ content: z.ZodString;
1001
+ posted_by: z.ZodOptional<z.ZodObject<{
1002
+ id: z.ZodString;
1003
+ name: z.ZodString;
1004
+ email: z.ZodOptional<z.ZodString>;
1005
+ zpuid: z.ZodOptional<z.ZodString>;
1006
+ }, "strip", z.ZodTypeAny, {
1007
+ id: string;
1008
+ name: string;
1009
+ email?: string | undefined;
1010
+ zpuid?: string | undefined;
1011
+ }, {
1012
+ id: string;
1013
+ name: string;
1014
+ email?: string | undefined;
1015
+ zpuid?: string | undefined;
1016
+ }>>;
1017
+ posted_person: z.ZodOptional<z.ZodString>;
1018
+ author_name: z.ZodOptional<z.ZodString>;
1019
+ entity_type: z.ZodOptional<z.ZodString>;
1020
+ entity_id: z.ZodOptional<z.ZodString>;
1021
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1022
+ id: z.ZodNumber;
1023
+ id_string: z.ZodOptional<z.ZodString>;
1024
+ name: z.ZodString;
1025
+ url: z.ZodOptional<z.ZodString>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ id: number;
1028
+ name: string;
1029
+ url?: string | undefined;
1030
+ id_string?: string | undefined;
1031
+ }, {
1032
+ id: number;
1033
+ name: string;
1034
+ url?: string | undefined;
1035
+ id_string?: string | undefined;
1036
+ }>, "many">>;
1037
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1038
+ id: z.ZodString;
1039
+ name: z.ZodString;
1040
+ }, "strip", z.ZodTypeAny, {
1041
+ id: string;
1042
+ name: string;
1043
+ }, {
1044
+ id: string;
1045
+ name: string;
1046
+ }>, "many">>;
1047
+ link: z.ZodOptional<z.ZodObject<{
1048
+ self: z.ZodOptional<z.ZodObject<{
1049
+ url: z.ZodString;
1050
+ }, "strip", z.ZodTypeAny, {
1051
+ url: string;
1052
+ }, {
1053
+ url: string;
1054
+ }>>;
1055
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1056
+ self: z.ZodOptional<z.ZodObject<{
1057
+ url: z.ZodString;
1058
+ }, "strip", z.ZodTypeAny, {
1059
+ url: string;
1060
+ }, {
1061
+ url: string;
1062
+ }>>;
1063
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1064
+ self: z.ZodOptional<z.ZodObject<{
1065
+ url: z.ZodString;
1066
+ }, "strip", z.ZodTypeAny, {
1067
+ url: string;
1068
+ }, {
1069
+ url: string;
1070
+ }>>;
1071
+ }, z.ZodTypeAny, "passthrough">>>;
1072
+ posted_time: z.ZodOptional<z.ZodString>;
1073
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
1074
+ last_modified_time: z.ZodOptional<z.ZodString>;
1075
+ last_modified_time_long: z.ZodOptional<z.ZodNumber>;
1076
+ }, z.ZodTypeAny, "passthrough">[];
1077
+ }>;
1078
+ export type CommentResponse = z.infer<typeof CommentResponseSchema>;
1079
+ /**
1080
+ * Input schema for creating a comment
1081
+ */
1082
+ export declare const CreateCommentInputSchema: z.ZodObject<{
1083
+ /** Comment content (required) */
1084
+ content: z.ZodString;
1085
+ /** User IDs to mention (comma-separated) */
1086
+ mentions: z.ZodOptional<z.ZodString>;
1087
+ }, "strip", z.ZodTypeAny, {
1088
+ content: string;
1089
+ mentions?: string | undefined;
1090
+ }, {
1091
+ content: string;
1092
+ mentions?: string | undefined;
1093
+ }>;
1094
+ export type CreateCommentInput = z.infer<typeof CreateCommentInputSchema>;
1095
+ /**
1096
+ * Input schema for updating a comment
1097
+ */
1098
+ export declare const UpdateCommentInputSchema: z.ZodObject<{
1099
+ /** Updated comment content */
1100
+ content: z.ZodString;
1101
+ }, "strip", z.ZodTypeAny, {
1102
+ content: string;
1103
+ }, {
1104
+ content: string;
1105
+ }>;
1106
+ export type UpdateCommentInput = z.infer<typeof UpdateCommentInputSchema>;
1107
+ /**
1108
+ * Entity types that support comments
1109
+ */
1110
+ export type CommentableEntityType = "tasks" | "bugs" | "forums" | "milestones" | "events";
1111
+ //# sourceMappingURL=comments.d.ts.map