@panoptic-it-solutions/zoho-projects-client 0.1.4 → 0.2.1

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 (402) 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/clients.d.ts +4 -0
  10. package/dist/__tests__/fixtures/clients.d.ts.map +1 -0
  11. package/dist/__tests__/fixtures/clients.js +38 -0
  12. package/dist/__tests__/fixtures/clients.js.map +1 -0
  13. package/dist/__tests__/fixtures/comments.d.ts +92 -0
  14. package/dist/__tests__/fixtures/comments.d.ts.map +1 -0
  15. package/dist/__tests__/fixtures/comments.js +42 -0
  16. package/dist/__tests__/fixtures/comments.js.map +1 -0
  17. package/dist/__tests__/fixtures/contacts.d.ts +4 -0
  18. package/dist/__tests__/fixtures/contacts.d.ts.map +1 -0
  19. package/dist/__tests__/fixtures/contacts.js +40 -0
  20. package/dist/__tests__/fixtures/contacts.js.map +1 -0
  21. package/dist/__tests__/fixtures/customviews.d.ts +5 -0
  22. package/dist/__tests__/fixtures/customviews.d.ts.map +1 -0
  23. package/dist/__tests__/fixtures/customviews.js +55 -0
  24. package/dist/__tests__/fixtures/customviews.js.map +1 -0
  25. package/dist/__tests__/fixtures/dashboards.d.ts +4 -0
  26. package/dist/__tests__/fixtures/dashboards.d.ts.map +1 -0
  27. package/dist/__tests__/fixtures/dashboards.js +42 -0
  28. package/dist/__tests__/fixtures/dashboards.js.map +1 -0
  29. package/dist/__tests__/fixtures/events.d.ts +133 -0
  30. package/dist/__tests__/fixtures/events.d.ts.map +1 -0
  31. package/dist/__tests__/fixtures/events.js +75 -0
  32. package/dist/__tests__/fixtures/events.js.map +1 -0
  33. package/dist/__tests__/fixtures/followers.d.ts +4 -0
  34. package/dist/__tests__/fixtures/followers.d.ts.map +1 -0
  35. package/dist/__tests__/fixtures/followers.js +33 -0
  36. package/dist/__tests__/fixtures/followers.js.map +1 -0
  37. package/dist/__tests__/fixtures/forums.d.ts +114 -0
  38. package/dist/__tests__/fixtures/forums.d.ts.map +1 -0
  39. package/dist/__tests__/fixtures/forums.js +53 -0
  40. package/dist/__tests__/fixtures/forums.js.map +1 -0
  41. package/dist/__tests__/fixtures/groups.d.ts +25 -0
  42. package/dist/__tests__/fixtures/groups.d.ts.map +1 -0
  43. package/dist/__tests__/fixtures/groups.js +36 -0
  44. package/dist/__tests__/fixtures/groups.js.map +1 -0
  45. package/dist/__tests__/fixtures/index.d.ts +34 -0
  46. package/dist/__tests__/fixtures/index.d.ts.map +1 -0
  47. package/dist/__tests__/fixtures/index.js +34 -0
  48. package/dist/__tests__/fixtures/index.js.map +1 -0
  49. package/dist/__tests__/fixtures/issues.d.ts +196 -0
  50. package/dist/__tests__/fixtures/issues.d.ts.map +1 -0
  51. package/dist/__tests__/fixtures/issues.js +80 -0
  52. package/dist/__tests__/fixtures/issues.js.map +1 -0
  53. package/dist/__tests__/fixtures/leaves.d.ts +4 -0
  54. package/dist/__tests__/fixtures/leaves.d.ts.map +1 -0
  55. package/dist/__tests__/fixtures/leaves.js +45 -0
  56. package/dist/__tests__/fixtures/leaves.js.map +1 -0
  57. package/dist/__tests__/fixtures/modules.d.ts +6 -0
  58. package/dist/__tests__/fixtures/modules.d.ts.map +1 -0
  59. package/dist/__tests__/fixtures/modules.js +103 -0
  60. package/dist/__tests__/fixtures/modules.js.map +1 -0
  61. package/dist/__tests__/fixtures/phases.d.ts +123 -0
  62. package/dist/__tests__/fixtures/phases.d.ts.map +1 -0
  63. package/dist/__tests__/fixtures/phases.js +68 -0
  64. package/dist/__tests__/fixtures/phases.js.map +1 -0
  65. package/dist/__tests__/fixtures/portals.d.ts +4 -0
  66. package/dist/__tests__/fixtures/portals.d.ts.map +1 -0
  67. package/dist/__tests__/fixtures/portals.js +48 -0
  68. package/dist/__tests__/fixtures/portals.js.map +1 -0
  69. package/dist/__tests__/fixtures/profiles.d.ts +4 -0
  70. package/dist/__tests__/fixtures/profiles.d.ts.map +1 -0
  71. package/dist/__tests__/fixtures/profiles.js +35 -0
  72. package/dist/__tests__/fixtures/profiles.js.map +1 -0
  73. package/dist/__tests__/fixtures/projects.d.ts +298 -0
  74. package/dist/__tests__/fixtures/projects.d.ts.map +1 -0
  75. package/dist/__tests__/fixtures/projects.js +44 -0
  76. package/dist/__tests__/fixtures/projects.js.map +1 -0
  77. package/dist/__tests__/fixtures/reports.d.ts +5 -0
  78. package/dist/__tests__/fixtures/reports.d.ts.map +1 -0
  79. package/dist/__tests__/fixtures/reports.js +70 -0
  80. package/dist/__tests__/fixtures/reports.js.map +1 -0
  81. package/dist/__tests__/fixtures/roles.d.ts +4 -0
  82. package/dist/__tests__/fixtures/roles.d.ts.map +1 -0
  83. package/dist/__tests__/fixtures/roles.js +38 -0
  84. package/dist/__tests__/fixtures/roles.js.map +1 -0
  85. package/dist/__tests__/fixtures/search.d.ts +5 -0
  86. package/dist/__tests__/fixtures/search.d.ts.map +1 -0
  87. package/dist/__tests__/fixtures/search.js +61 -0
  88. package/dist/__tests__/fixtures/search.js.map +1 -0
  89. package/dist/__tests__/fixtures/tags.d.ts +22 -0
  90. package/dist/__tests__/fixtures/tags.d.ts.map +1 -0
  91. package/dist/__tests__/fixtures/tags.js +33 -0
  92. package/dist/__tests__/fixtures/tags.js.map +1 -0
  93. package/dist/__tests__/fixtures/tasklists.d.ts +107 -0
  94. package/dist/__tests__/fixtures/tasklists.d.ts.map +1 -0
  95. package/dist/__tests__/fixtures/tasklists.js +31 -0
  96. package/dist/__tests__/fixtures/tasklists.js.map +1 -0
  97. package/dist/__tests__/fixtures/tasks.d.ts +209 -0
  98. package/dist/__tests__/fixtures/tasks.d.ts.map +1 -0
  99. package/dist/__tests__/fixtures/tasks.js +69 -0
  100. package/dist/__tests__/fixtures/tasks.js.map +1 -0
  101. package/dist/__tests__/fixtures/teams.d.ts +5 -0
  102. package/dist/__tests__/fixtures/teams.d.ts.map +1 -0
  103. package/dist/__tests__/fixtures/teams.js +40 -0
  104. package/dist/__tests__/fixtures/teams.js.map +1 -0
  105. package/dist/__tests__/fixtures/timelogs.d.ts +151 -0
  106. package/dist/__tests__/fixtures/timelogs.d.ts.map +1 -0
  107. package/dist/__tests__/fixtures/timelogs.js +79 -0
  108. package/dist/__tests__/fixtures/timelogs.js.map +1 -0
  109. package/dist/__tests__/fixtures/timers.d.ts +5 -0
  110. package/dist/__tests__/fixtures/timers.d.ts.map +1 -0
  111. package/dist/__tests__/fixtures/timers.js +50 -0
  112. package/dist/__tests__/fixtures/timers.js.map +1 -0
  113. package/dist/__tests__/fixtures/trash.d.ts +5 -0
  114. package/dist/__tests__/fixtures/trash.d.ts.map +1 -0
  115. package/dist/__tests__/fixtures/trash.js +62 -0
  116. package/dist/__tests__/fixtures/trash.js.map +1 -0
  117. package/dist/__tests__/fixtures/users.d.ts +55 -0
  118. package/dist/__tests__/fixtures/users.d.ts.map +1 -0
  119. package/dist/__tests__/fixtures/users.js +47 -0
  120. package/dist/__tests__/fixtures/users.js.map +1 -0
  121. package/dist/__tests__/fixtures/widgets.d.ts +4 -0
  122. package/dist/__tests__/fixtures/widgets.d.ts.map +1 -0
  123. package/dist/__tests__/fixtures/widgets.js +51 -0
  124. package/dist/__tests__/fixtures/widgets.js.map +1 -0
  125. package/dist/__tests__/integration/setup.d.ts +14 -0
  126. package/dist/__tests__/integration/setup.d.ts.map +1 -0
  127. package/dist/__tests__/integration/setup.js +52 -0
  128. package/dist/__tests__/integration/setup.js.map +1 -0
  129. package/dist/__tests__/mocks/handlers.d.ts +34 -0
  130. package/dist/__tests__/mocks/handlers.d.ts.map +1 -0
  131. package/dist/__tests__/mocks/handlers.js +49 -0
  132. package/dist/__tests__/mocks/handlers.js.map +1 -0
  133. package/dist/__tests__/mocks/server.d.ts +2 -0
  134. package/dist/__tests__/mocks/server.d.ts.map +1 -0
  135. package/dist/__tests__/mocks/server.js +7 -0
  136. package/dist/__tests__/mocks/server.js.map +1 -0
  137. package/dist/__tests__/setup.d.ts +2 -0
  138. package/dist/__tests__/setup.d.ts.map +1 -0
  139. package/dist/__tests__/setup.js +18 -0
  140. package/dist/__tests__/setup.js.map +1 -0
  141. package/dist/__tests__/unit/client/attachments.test.d.ts +2 -0
  142. package/dist/__tests__/unit/client/attachments.test.d.ts.map +1 -0
  143. package/dist/__tests__/unit/client/attachments.test.js +55 -0
  144. package/dist/__tests__/unit/client/attachments.test.js.map +1 -0
  145. package/dist/__tests__/unit/client/blueprints.test.d.ts +2 -0
  146. package/dist/__tests__/unit/client/blueprints.test.d.ts.map +1 -0
  147. package/dist/__tests__/unit/client/blueprints.test.js +127 -0
  148. package/dist/__tests__/unit/client/blueprints.test.js.map +1 -0
  149. package/dist/__tests__/unit/client/clients.test.d.ts +2 -0
  150. package/dist/__tests__/unit/client/clients.test.d.ts.map +1 -0
  151. package/dist/__tests__/unit/client/clients.test.js +87 -0
  152. package/dist/__tests__/unit/client/clients.test.js.map +1 -0
  153. package/dist/__tests__/unit/client/comments.test.d.ts +2 -0
  154. package/dist/__tests__/unit/client/comments.test.d.ts.map +1 -0
  155. package/dist/__tests__/unit/client/comments.test.js +95 -0
  156. package/dist/__tests__/unit/client/comments.test.js.map +1 -0
  157. package/dist/__tests__/unit/client/contacts.test.d.ts +2 -0
  158. package/dist/__tests__/unit/client/contacts.test.d.ts.map +1 -0
  159. package/dist/__tests__/unit/client/contacts.test.js +89 -0
  160. package/dist/__tests__/unit/client/contacts.test.js.map +1 -0
  161. package/dist/__tests__/unit/client/customviews.test.d.ts +2 -0
  162. package/dist/__tests__/unit/client/customviews.test.d.ts.map +1 -0
  163. package/dist/__tests__/unit/client/customviews.test.js +112 -0
  164. package/dist/__tests__/unit/client/customviews.test.js.map +1 -0
  165. package/dist/__tests__/unit/client/dashboards.test.d.ts +2 -0
  166. package/dist/__tests__/unit/client/dashboards.test.d.ts.map +1 -0
  167. package/dist/__tests__/unit/client/dashboards.test.js +87 -0
  168. package/dist/__tests__/unit/client/dashboards.test.js.map +1 -0
  169. package/dist/__tests__/unit/client/events.test.d.ts +2 -0
  170. package/dist/__tests__/unit/client/events.test.d.ts.map +1 -0
  171. package/dist/__tests__/unit/client/events.test.js +79 -0
  172. package/dist/__tests__/unit/client/events.test.js.map +1 -0
  173. package/dist/__tests__/unit/client/followers.test.d.ts +2 -0
  174. package/dist/__tests__/unit/client/followers.test.d.ts.map +1 -0
  175. package/dist/__tests__/unit/client/followers.test.js +109 -0
  176. package/dist/__tests__/unit/client/followers.test.js.map +1 -0
  177. package/dist/__tests__/unit/client/forums.test.d.ts +2 -0
  178. package/dist/__tests__/unit/client/forums.test.d.ts.map +1 -0
  179. package/dist/__tests__/unit/client/forums.test.js +75 -0
  180. package/dist/__tests__/unit/client/forums.test.js.map +1 -0
  181. package/dist/__tests__/unit/client/groups.test.d.ts +2 -0
  182. package/dist/__tests__/unit/client/groups.test.d.ts.map +1 -0
  183. package/dist/__tests__/unit/client/groups.test.js +74 -0
  184. package/dist/__tests__/unit/client/groups.test.js.map +1 -0
  185. package/dist/__tests__/unit/client/issues.test.d.ts +2 -0
  186. package/dist/__tests__/unit/client/issues.test.d.ts.map +1 -0
  187. package/dist/__tests__/unit/client/issues.test.js +75 -0
  188. package/dist/__tests__/unit/client/issues.test.js.map +1 -0
  189. package/dist/__tests__/unit/client/leaves.test.d.ts +2 -0
  190. package/dist/__tests__/unit/client/leaves.test.d.ts.map +1 -0
  191. package/dist/__tests__/unit/client/leaves.test.js +91 -0
  192. package/dist/__tests__/unit/client/leaves.test.js.map +1 -0
  193. package/dist/__tests__/unit/client/modules.test.d.ts +2 -0
  194. package/dist/__tests__/unit/client/modules.test.d.ts.map +1 -0
  195. package/dist/__tests__/unit/client/modules.test.js +92 -0
  196. package/dist/__tests__/unit/client/modules.test.js.map +1 -0
  197. package/dist/__tests__/unit/client/phases.test.d.ts +2 -0
  198. package/dist/__tests__/unit/client/phases.test.d.ts.map +1 -0
  199. package/dist/__tests__/unit/client/phases.test.js +79 -0
  200. package/dist/__tests__/unit/client/phases.test.js.map +1 -0
  201. package/dist/__tests__/unit/client/portals.test.d.ts +2 -0
  202. package/dist/__tests__/unit/client/portals.test.d.ts.map +1 -0
  203. package/dist/__tests__/unit/client/portals.test.js +54 -0
  204. package/dist/__tests__/unit/client/portals.test.js.map +1 -0
  205. package/dist/__tests__/unit/client/profiles.test.d.ts +2 -0
  206. package/dist/__tests__/unit/client/profiles.test.d.ts.map +1 -0
  207. package/dist/__tests__/unit/client/profiles.test.js +86 -0
  208. package/dist/__tests__/unit/client/profiles.test.js.map +1 -0
  209. package/dist/__tests__/unit/client/projects.test.d.ts +2 -0
  210. package/dist/__tests__/unit/client/projects.test.d.ts.map +1 -0
  211. package/dist/__tests__/unit/client/projects.test.js +171 -0
  212. package/dist/__tests__/unit/client/projects.test.js.map +1 -0
  213. package/dist/__tests__/unit/client/reports.test.d.ts +2 -0
  214. package/dist/__tests__/unit/client/reports.test.d.ts.map +1 -0
  215. package/dist/__tests__/unit/client/reports.test.js +86 -0
  216. package/dist/__tests__/unit/client/reports.test.js.map +1 -0
  217. package/dist/__tests__/unit/client/roles.test.d.ts +2 -0
  218. package/dist/__tests__/unit/client/roles.test.d.ts.map +1 -0
  219. package/dist/__tests__/unit/client/roles.test.js +86 -0
  220. package/dist/__tests__/unit/client/roles.test.js.map +1 -0
  221. package/dist/__tests__/unit/client/search.test.d.ts +2 -0
  222. package/dist/__tests__/unit/client/search.test.d.ts.map +1 -0
  223. package/dist/__tests__/unit/client/search.test.js +106 -0
  224. package/dist/__tests__/unit/client/search.test.js.map +1 -0
  225. package/dist/__tests__/unit/client/tags.test.d.ts +2 -0
  226. package/dist/__tests__/unit/client/tags.test.d.ts.map +1 -0
  227. package/dist/__tests__/unit/client/tags.test.js +99 -0
  228. package/dist/__tests__/unit/client/tags.test.js.map +1 -0
  229. package/dist/__tests__/unit/client/tasklists.test.d.ts +2 -0
  230. package/dist/__tests__/unit/client/tasklists.test.d.ts.map +1 -0
  231. package/dist/__tests__/unit/client/tasklists.test.js +75 -0
  232. package/dist/__tests__/unit/client/tasklists.test.js.map +1 -0
  233. package/dist/__tests__/unit/client/tasks.test.d.ts +2 -0
  234. package/dist/__tests__/unit/client/tasks.test.d.ts.map +1 -0
  235. package/dist/__tests__/unit/client/tasks.test.js +157 -0
  236. package/dist/__tests__/unit/client/tasks.test.js.map +1 -0
  237. package/dist/__tests__/unit/client/teams.test.d.ts +2 -0
  238. package/dist/__tests__/unit/client/teams.test.d.ts.map +1 -0
  239. package/dist/__tests__/unit/client/teams.test.js +115 -0
  240. package/dist/__tests__/unit/client/teams.test.js.map +1 -0
  241. package/dist/__tests__/unit/client/timelogs.test.d.ts +2 -0
  242. package/dist/__tests__/unit/client/timelogs.test.d.ts.map +1 -0
  243. package/dist/__tests__/unit/client/timelogs.test.js +112 -0
  244. package/dist/__tests__/unit/client/timelogs.test.js.map +1 -0
  245. package/dist/__tests__/unit/client/timers.test.d.ts +2 -0
  246. package/dist/__tests__/unit/client/timers.test.d.ts.map +1 -0
  247. package/dist/__tests__/unit/client/timers.test.js +122 -0
  248. package/dist/__tests__/unit/client/timers.test.js.map +1 -0
  249. package/dist/__tests__/unit/client/trash.test.d.ts +2 -0
  250. package/dist/__tests__/unit/client/trash.test.d.ts.map +1 -0
  251. package/dist/__tests__/unit/client/trash.test.js +103 -0
  252. package/dist/__tests__/unit/client/trash.test.js.map +1 -0
  253. package/dist/__tests__/unit/client/users.test.d.ts +2 -0
  254. package/dist/__tests__/unit/client/users.test.d.ts.map +1 -0
  255. package/dist/__tests__/unit/client/users.test.js +89 -0
  256. package/dist/__tests__/unit/client/users.test.js.map +1 -0
  257. package/dist/__tests__/unit/client/widgets.test.d.ts +2 -0
  258. package/dist/__tests__/unit/client/widgets.test.d.ts.map +1 -0
  259. package/dist/__tests__/unit/client/widgets.test.js +91 -0
  260. package/dist/__tests__/unit/client/widgets.test.js.map +1 -0
  261. package/dist/cli/init.d.ts +3 -0
  262. package/dist/cli/init.d.ts.map +1 -0
  263. package/dist/cli/init.js +130 -0
  264. package/dist/cli/init.js.map +1 -0
  265. package/dist/client.d.ts +2613 -1
  266. package/dist/client.d.ts.map +1 -1
  267. package/dist/client.js +1623 -1
  268. package/dist/client.js.map +1 -1
  269. package/dist/types/attachments.d.ts +1545 -0
  270. package/dist/types/attachments.d.ts.map +1 -0
  271. package/dist/types/attachments.js +78 -0
  272. package/dist/types/attachments.js.map +1 -0
  273. package/dist/types/blueprints.d.ts +5070 -0
  274. package/dist/types/blueprints.d.ts.map +1 -0
  275. package/dist/types/blueprints.js +111 -0
  276. package/dist/types/blueprints.js.map +1 -0
  277. package/dist/types/clients.d.ts +384 -0
  278. package/dist/types/clients.d.ts.map +1 -0
  279. package/dist/types/clients.js +77 -0
  280. package/dist/types/clients.js.map +1 -0
  281. package/dist/types/comments.d.ts +1111 -0
  282. package/dist/types/comments.d.ts.map +1 -0
  283. package/dist/types/comments.js +73 -0
  284. package/dist/types/comments.js.map +1 -0
  285. package/dist/types/contacts.d.ts +444 -0
  286. package/dist/types/contacts.d.ts.map +1 -0
  287. package/dist/types/contacts.js +86 -0
  288. package/dist/types/contacts.js.map +1 -0
  289. package/dist/types/customviews.d.ts +1593 -0
  290. package/dist/types/customviews.d.ts.map +1 -0
  291. package/dist/types/customviews.js +117 -0
  292. package/dist/types/customviews.js.map +1 -0
  293. package/dist/types/dashboards.d.ts +1675 -0
  294. package/dist/types/dashboards.d.ts.map +1 -0
  295. package/dist/types/dashboards.js +77 -0
  296. package/dist/types/dashboards.js.map +1 -0
  297. package/dist/types/documents.d.ts +2322 -0
  298. package/dist/types/documents.d.ts.map +1 -0
  299. package/dist/types/documents.js +121 -0
  300. package/dist/types/documents.js.map +1 -0
  301. package/dist/types/events.d.ts +1747 -0
  302. package/dist/types/events.d.ts.map +1 -0
  303. package/dist/types/events.js +122 -0
  304. package/dist/types/events.js.map +1 -0
  305. package/dist/types/followers.d.ts +198 -0
  306. package/dist/types/followers.d.ts.map +1 -0
  307. package/dist/types/followers.js +44 -0
  308. package/dist/types/followers.js.map +1 -0
  309. package/dist/types/forums.d.ts +1443 -0
  310. package/dist/types/forums.d.ts.map +1 -0
  311. package/dist/types/forums.js +89 -0
  312. package/dist/types/forums.js.map +1 -0
  313. package/dist/types/groups.d.ts +237 -0
  314. package/dist/types/groups.d.ts.map +1 -0
  315. package/dist/types/groups.js +52 -0
  316. package/dist/types/groups.js.map +1 -0
  317. package/dist/types/index.d.ts +31 -4
  318. package/dist/types/index.d.ts.map +1 -1
  319. package/dist/types/index.js +58 -4
  320. package/dist/types/index.js.map +1 -1
  321. package/dist/types/issues.d.ts +2600 -0
  322. package/dist/types/issues.d.ts.map +1 -0
  323. package/dist/types/issues.js +147 -0
  324. package/dist/types/issues.js.map +1 -0
  325. package/dist/types/leaves.d.ts +435 -0
  326. package/dist/types/leaves.d.ts.map +1 -0
  327. package/dist/types/leaves.js +92 -0
  328. package/dist/types/leaves.js.map +1 -0
  329. package/dist/types/modules.d.ts +469 -0
  330. package/dist/types/modules.d.ts.map +1 -0
  331. package/dist/types/modules.js +91 -0
  332. package/dist/types/modules.js.map +1 -0
  333. package/dist/types/phases.d.ts +1564 -0
  334. package/dist/types/phases.d.ts.map +1 -0
  335. package/dist/types/phases.js +98 -0
  336. package/dist/types/phases.js.map +1 -0
  337. package/dist/types/portals.d.ts +1050 -0
  338. package/dist/types/portals.d.ts.map +1 -0
  339. package/dist/types/portals.js +58 -0
  340. package/dist/types/portals.js.map +1 -0
  341. package/dist/types/profiles.d.ts +243 -0
  342. package/dist/types/profiles.d.ts.map +1 -0
  343. package/dist/types/profiles.js +59 -0
  344. package/dist/types/profiles.js.map +1 -0
  345. package/dist/types/projects.d.ts +128 -0
  346. package/dist/types/projects.d.ts.map +1 -1
  347. package/dist/types/projects.js +44 -0
  348. package/dist/types/projects.js.map +1 -1
  349. package/dist/types/reports.d.ts +2010 -0
  350. package/dist/types/reports.d.ts.map +1 -0
  351. package/dist/types/reports.js +110 -0
  352. package/dist/types/reports.js.map +1 -0
  353. package/dist/types/roles.d.ts +243 -0
  354. package/dist/types/roles.d.ts.map +1 -0
  355. package/dist/types/roles.js +59 -0
  356. package/dist/types/roles.js.map +1 -0
  357. package/dist/types/search.d.ts +1091 -0
  358. package/dist/types/search.d.ts.map +1 -0
  359. package/dist/types/search.js +83 -0
  360. package/dist/types/search.js.map +1 -0
  361. package/dist/types/tags.d.ts +198 -0
  362. package/dist/types/tags.d.ts.map +1 -0
  363. package/dist/types/tags.js +49 -0
  364. package/dist/types/tags.js.map +1 -0
  365. package/dist/types/tasklists.d.ts +1317 -0
  366. package/dist/types/tasklists.d.ts.map +1 -0
  367. package/dist/types/tasklists.js +78 -0
  368. package/dist/types/tasklists.js.map +1 -0
  369. package/dist/types/tasks.d.ts +182 -0
  370. package/dist/types/tasks.d.ts.map +1 -1
  371. package/dist/types/tasks.js +52 -0
  372. package/dist/types/tasks.js.map +1 -1
  373. package/dist/types/teams.d.ts +504 -0
  374. package/dist/types/teams.d.ts.map +1 -0
  375. package/dist/types/teams.js +75 -0
  376. package/dist/types/teams.js.map +1 -0
  377. package/dist/types/timelogs.d.ts +245 -0
  378. package/dist/types/timelogs.d.ts.map +1 -1
  379. package/dist/types/timelogs.js +53 -0
  380. package/dist/types/timelogs.js.map +1 -1
  381. package/dist/types/timers.d.ts +1334 -0
  382. package/dist/types/timers.d.ts.map +1 -0
  383. package/dist/types/timers.js +108 -0
  384. package/dist/types/timers.js.map +1 -0
  385. package/dist/types/trash.d.ts +1447 -0
  386. package/dist/types/trash.d.ts.map +1 -0
  387. package/dist/types/trash.js +77 -0
  388. package/dist/types/trash.js.map +1 -0
  389. package/dist/types/users.d.ts +100 -0
  390. package/dist/types/users.d.ts.map +1 -1
  391. package/dist/types/users.js +56 -0
  392. package/dist/types/users.js.map +1 -1
  393. package/dist/types/widgets.d.ts +1083 -0
  394. package/dist/types/widgets.d.ts.map +1 -0
  395. package/dist/types/widgets.js +87 -0
  396. package/dist/types/widgets.js.map +1 -0
  397. package/package.json +15 -3
  398. package/templates/CLAUDE.md +66 -0
  399. package/templates/commands/zoho-auth.md +195 -0
  400. package/templates/commands/zoho-examples.md +375 -0
  401. package/templates/commands/zoho-projects.md +183 -0
  402. package/templates/types/zoho-projects-api.d.ts +364 -0
@@ -0,0 +1,1443 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Forum category
4
+ */
5
+ export declare const ForumCategorySchema: z.ZodObject<{
6
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
7
+ name: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ id: string | number;
10
+ name: string;
11
+ }, {
12
+ id: string | number;
13
+ name: string;
14
+ }>;
15
+ export type ForumCategory = z.infer<typeof ForumCategorySchema>;
16
+ /**
17
+ * Forum (Discussion) from Zoho Projects API
18
+ */
19
+ export declare const ForumSchema: z.ZodObject<{
20
+ id: z.ZodNumber;
21
+ id_string: z.ZodString;
22
+ name: z.ZodString;
23
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ category: z.ZodOptional<z.ZodObject<{
25
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
26
+ name: z.ZodString;
27
+ }, "strip", z.ZodTypeAny, {
28
+ id: string | number;
29
+ name: string;
30
+ }, {
31
+ id: string | number;
32
+ name: string;
33
+ }>>;
34
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
35
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
36
+ is_closed: z.ZodOptional<z.ZodBoolean>;
37
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
38
+ posted_by: z.ZodOptional<z.ZodObject<{
39
+ id: z.ZodString;
40
+ name: z.ZodString;
41
+ email: z.ZodOptional<z.ZodString>;
42
+ zpuid: z.ZodOptional<z.ZodString>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ id: string;
45
+ name: string;
46
+ email?: string | undefined;
47
+ zpuid?: string | undefined;
48
+ }, {
49
+ id: string;
50
+ name: string;
51
+ email?: string | undefined;
52
+ zpuid?: string | undefined;
53
+ }>>;
54
+ posted_person: z.ZodOptional<z.ZodString>;
55
+ comment_count: z.ZodOptional<z.ZodNumber>;
56
+ view_count: z.ZodOptional<z.ZodNumber>;
57
+ project: z.ZodOptional<z.ZodObject<{
58
+ id: z.ZodNumber;
59
+ id_string: z.ZodOptional<z.ZodString>;
60
+ name: z.ZodString;
61
+ }, "strip", z.ZodTypeAny, {
62
+ id: number;
63
+ name: string;
64
+ id_string?: string | undefined;
65
+ }, {
66
+ id: number;
67
+ name: string;
68
+ id_string?: string | undefined;
69
+ }>>;
70
+ link: z.ZodOptional<z.ZodObject<{
71
+ self: z.ZodOptional<z.ZodObject<{
72
+ url: z.ZodString;
73
+ }, "strip", z.ZodTypeAny, {
74
+ url: string;
75
+ }, {
76
+ url: string;
77
+ }>>;
78
+ comment: z.ZodOptional<z.ZodObject<{
79
+ url: z.ZodString;
80
+ }, "strip", z.ZodTypeAny, {
81
+ url: string;
82
+ }, {
83
+ url: string;
84
+ }>>;
85
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
86
+ self: z.ZodOptional<z.ZodObject<{
87
+ url: z.ZodString;
88
+ }, "strip", z.ZodTypeAny, {
89
+ url: string;
90
+ }, {
91
+ url: string;
92
+ }>>;
93
+ comment: z.ZodOptional<z.ZodObject<{
94
+ url: z.ZodString;
95
+ }, "strip", z.ZodTypeAny, {
96
+ url: string;
97
+ }, {
98
+ url: string;
99
+ }>>;
100
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
101
+ self: z.ZodOptional<z.ZodObject<{
102
+ url: z.ZodString;
103
+ }, "strip", z.ZodTypeAny, {
104
+ url: string;
105
+ }, {
106
+ url: string;
107
+ }>>;
108
+ comment: z.ZodOptional<z.ZodObject<{
109
+ url: z.ZodString;
110
+ }, "strip", z.ZodTypeAny, {
111
+ url: string;
112
+ }, {
113
+ url: string;
114
+ }>>;
115
+ }, z.ZodTypeAny, "passthrough">>>;
116
+ posted_time: z.ZodOptional<z.ZodString>;
117
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
118
+ last_updated_time: z.ZodOptional<z.ZodString>;
119
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
120
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
121
+ id: z.ZodNumber;
122
+ id_string: z.ZodString;
123
+ name: z.ZodString;
124
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
+ category: z.ZodOptional<z.ZodObject<{
126
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
127
+ name: z.ZodString;
128
+ }, "strip", z.ZodTypeAny, {
129
+ id: string | number;
130
+ name: string;
131
+ }, {
132
+ id: string | number;
133
+ name: string;
134
+ }>>;
135
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
136
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
137
+ is_closed: z.ZodOptional<z.ZodBoolean>;
138
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
139
+ posted_by: z.ZodOptional<z.ZodObject<{
140
+ id: z.ZodString;
141
+ name: z.ZodString;
142
+ email: z.ZodOptional<z.ZodString>;
143
+ zpuid: z.ZodOptional<z.ZodString>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ id: string;
146
+ name: string;
147
+ email?: string | undefined;
148
+ zpuid?: string | undefined;
149
+ }, {
150
+ id: string;
151
+ name: string;
152
+ email?: string | undefined;
153
+ zpuid?: string | undefined;
154
+ }>>;
155
+ posted_person: z.ZodOptional<z.ZodString>;
156
+ comment_count: z.ZodOptional<z.ZodNumber>;
157
+ view_count: z.ZodOptional<z.ZodNumber>;
158
+ project: z.ZodOptional<z.ZodObject<{
159
+ id: z.ZodNumber;
160
+ id_string: z.ZodOptional<z.ZodString>;
161
+ name: z.ZodString;
162
+ }, "strip", z.ZodTypeAny, {
163
+ id: number;
164
+ name: string;
165
+ id_string?: string | undefined;
166
+ }, {
167
+ id: number;
168
+ name: string;
169
+ id_string?: string | undefined;
170
+ }>>;
171
+ link: z.ZodOptional<z.ZodObject<{
172
+ self: z.ZodOptional<z.ZodObject<{
173
+ url: z.ZodString;
174
+ }, "strip", z.ZodTypeAny, {
175
+ url: string;
176
+ }, {
177
+ url: string;
178
+ }>>;
179
+ comment: z.ZodOptional<z.ZodObject<{
180
+ url: z.ZodString;
181
+ }, "strip", z.ZodTypeAny, {
182
+ url: string;
183
+ }, {
184
+ url: string;
185
+ }>>;
186
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
187
+ self: z.ZodOptional<z.ZodObject<{
188
+ url: z.ZodString;
189
+ }, "strip", z.ZodTypeAny, {
190
+ url: string;
191
+ }, {
192
+ url: string;
193
+ }>>;
194
+ comment: z.ZodOptional<z.ZodObject<{
195
+ url: z.ZodString;
196
+ }, "strip", z.ZodTypeAny, {
197
+ url: string;
198
+ }, {
199
+ url: string;
200
+ }>>;
201
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
202
+ self: z.ZodOptional<z.ZodObject<{
203
+ url: z.ZodString;
204
+ }, "strip", z.ZodTypeAny, {
205
+ url: string;
206
+ }, {
207
+ url: string;
208
+ }>>;
209
+ comment: z.ZodOptional<z.ZodObject<{
210
+ url: z.ZodString;
211
+ }, "strip", z.ZodTypeAny, {
212
+ url: string;
213
+ }, {
214
+ url: string;
215
+ }>>;
216
+ }, z.ZodTypeAny, "passthrough">>>;
217
+ posted_time: z.ZodOptional<z.ZodString>;
218
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
219
+ last_updated_time: z.ZodOptional<z.ZodString>;
220
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
221
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
222
+ id: z.ZodNumber;
223
+ id_string: z.ZodString;
224
+ name: z.ZodString;
225
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
+ category: z.ZodOptional<z.ZodObject<{
227
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
228
+ name: z.ZodString;
229
+ }, "strip", z.ZodTypeAny, {
230
+ id: string | number;
231
+ name: string;
232
+ }, {
233
+ id: string | number;
234
+ name: string;
235
+ }>>;
236
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
237
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
238
+ is_closed: z.ZodOptional<z.ZodBoolean>;
239
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
240
+ posted_by: z.ZodOptional<z.ZodObject<{
241
+ id: z.ZodString;
242
+ name: z.ZodString;
243
+ email: z.ZodOptional<z.ZodString>;
244
+ zpuid: z.ZodOptional<z.ZodString>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ id: string;
247
+ name: string;
248
+ email?: string | undefined;
249
+ zpuid?: string | undefined;
250
+ }, {
251
+ id: string;
252
+ name: string;
253
+ email?: string | undefined;
254
+ zpuid?: string | undefined;
255
+ }>>;
256
+ posted_person: z.ZodOptional<z.ZodString>;
257
+ comment_count: z.ZodOptional<z.ZodNumber>;
258
+ view_count: z.ZodOptional<z.ZodNumber>;
259
+ project: z.ZodOptional<z.ZodObject<{
260
+ id: z.ZodNumber;
261
+ id_string: z.ZodOptional<z.ZodString>;
262
+ name: z.ZodString;
263
+ }, "strip", z.ZodTypeAny, {
264
+ id: number;
265
+ name: string;
266
+ id_string?: string | undefined;
267
+ }, {
268
+ id: number;
269
+ name: string;
270
+ id_string?: string | undefined;
271
+ }>>;
272
+ link: z.ZodOptional<z.ZodObject<{
273
+ self: z.ZodOptional<z.ZodObject<{
274
+ url: z.ZodString;
275
+ }, "strip", z.ZodTypeAny, {
276
+ url: string;
277
+ }, {
278
+ url: string;
279
+ }>>;
280
+ comment: z.ZodOptional<z.ZodObject<{
281
+ url: z.ZodString;
282
+ }, "strip", z.ZodTypeAny, {
283
+ url: string;
284
+ }, {
285
+ url: string;
286
+ }>>;
287
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
288
+ self: z.ZodOptional<z.ZodObject<{
289
+ url: z.ZodString;
290
+ }, "strip", z.ZodTypeAny, {
291
+ url: string;
292
+ }, {
293
+ url: string;
294
+ }>>;
295
+ comment: z.ZodOptional<z.ZodObject<{
296
+ url: z.ZodString;
297
+ }, "strip", z.ZodTypeAny, {
298
+ url: string;
299
+ }, {
300
+ url: string;
301
+ }>>;
302
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
303
+ self: z.ZodOptional<z.ZodObject<{
304
+ url: z.ZodString;
305
+ }, "strip", z.ZodTypeAny, {
306
+ url: string;
307
+ }, {
308
+ url: string;
309
+ }>>;
310
+ comment: z.ZodOptional<z.ZodObject<{
311
+ url: z.ZodString;
312
+ }, "strip", z.ZodTypeAny, {
313
+ url: string;
314
+ }, {
315
+ url: string;
316
+ }>>;
317
+ }, z.ZodTypeAny, "passthrough">>>;
318
+ posted_time: z.ZodOptional<z.ZodString>;
319
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
320
+ last_updated_time: z.ZodOptional<z.ZodString>;
321
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
322
+ }, z.ZodTypeAny, "passthrough">>;
323
+ export type Forum = z.infer<typeof ForumSchema>;
324
+ export declare const ForumListResponseSchema: z.ZodObject<{
325
+ forums: z.ZodArray<z.ZodObject<{
326
+ id: z.ZodNumber;
327
+ id_string: z.ZodString;
328
+ name: z.ZodString;
329
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
330
+ category: z.ZodOptional<z.ZodObject<{
331
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
332
+ name: z.ZodString;
333
+ }, "strip", z.ZodTypeAny, {
334
+ id: string | number;
335
+ name: string;
336
+ }, {
337
+ id: string | number;
338
+ name: string;
339
+ }>>;
340
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
341
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
342
+ is_closed: z.ZodOptional<z.ZodBoolean>;
343
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
344
+ posted_by: z.ZodOptional<z.ZodObject<{
345
+ id: z.ZodString;
346
+ name: z.ZodString;
347
+ email: z.ZodOptional<z.ZodString>;
348
+ zpuid: z.ZodOptional<z.ZodString>;
349
+ }, "strip", z.ZodTypeAny, {
350
+ id: string;
351
+ name: string;
352
+ email?: string | undefined;
353
+ zpuid?: string | undefined;
354
+ }, {
355
+ id: string;
356
+ name: string;
357
+ email?: string | undefined;
358
+ zpuid?: string | undefined;
359
+ }>>;
360
+ posted_person: z.ZodOptional<z.ZodString>;
361
+ comment_count: z.ZodOptional<z.ZodNumber>;
362
+ view_count: z.ZodOptional<z.ZodNumber>;
363
+ project: z.ZodOptional<z.ZodObject<{
364
+ id: z.ZodNumber;
365
+ id_string: z.ZodOptional<z.ZodString>;
366
+ name: z.ZodString;
367
+ }, "strip", z.ZodTypeAny, {
368
+ id: number;
369
+ name: string;
370
+ id_string?: string | undefined;
371
+ }, {
372
+ id: number;
373
+ name: string;
374
+ id_string?: string | undefined;
375
+ }>>;
376
+ link: z.ZodOptional<z.ZodObject<{
377
+ self: z.ZodOptional<z.ZodObject<{
378
+ url: z.ZodString;
379
+ }, "strip", z.ZodTypeAny, {
380
+ url: string;
381
+ }, {
382
+ url: string;
383
+ }>>;
384
+ comment: z.ZodOptional<z.ZodObject<{
385
+ url: z.ZodString;
386
+ }, "strip", z.ZodTypeAny, {
387
+ url: string;
388
+ }, {
389
+ url: string;
390
+ }>>;
391
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
392
+ self: z.ZodOptional<z.ZodObject<{
393
+ url: z.ZodString;
394
+ }, "strip", z.ZodTypeAny, {
395
+ url: string;
396
+ }, {
397
+ url: string;
398
+ }>>;
399
+ comment: z.ZodOptional<z.ZodObject<{
400
+ url: z.ZodString;
401
+ }, "strip", z.ZodTypeAny, {
402
+ url: string;
403
+ }, {
404
+ url: string;
405
+ }>>;
406
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
407
+ self: z.ZodOptional<z.ZodObject<{
408
+ url: z.ZodString;
409
+ }, "strip", z.ZodTypeAny, {
410
+ url: string;
411
+ }, {
412
+ url: string;
413
+ }>>;
414
+ comment: z.ZodOptional<z.ZodObject<{
415
+ url: z.ZodString;
416
+ }, "strip", z.ZodTypeAny, {
417
+ url: string;
418
+ }, {
419
+ url: string;
420
+ }>>;
421
+ }, z.ZodTypeAny, "passthrough">>>;
422
+ posted_time: z.ZodOptional<z.ZodString>;
423
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
424
+ last_updated_time: z.ZodOptional<z.ZodString>;
425
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
426
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
427
+ id: z.ZodNumber;
428
+ id_string: z.ZodString;
429
+ name: z.ZodString;
430
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
431
+ category: z.ZodOptional<z.ZodObject<{
432
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
433
+ name: z.ZodString;
434
+ }, "strip", z.ZodTypeAny, {
435
+ id: string | number;
436
+ name: string;
437
+ }, {
438
+ id: string | number;
439
+ name: string;
440
+ }>>;
441
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
442
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
443
+ is_closed: z.ZodOptional<z.ZodBoolean>;
444
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
445
+ posted_by: z.ZodOptional<z.ZodObject<{
446
+ id: z.ZodString;
447
+ name: z.ZodString;
448
+ email: z.ZodOptional<z.ZodString>;
449
+ zpuid: z.ZodOptional<z.ZodString>;
450
+ }, "strip", z.ZodTypeAny, {
451
+ id: string;
452
+ name: string;
453
+ email?: string | undefined;
454
+ zpuid?: string | undefined;
455
+ }, {
456
+ id: string;
457
+ name: string;
458
+ email?: string | undefined;
459
+ zpuid?: string | undefined;
460
+ }>>;
461
+ posted_person: z.ZodOptional<z.ZodString>;
462
+ comment_count: z.ZodOptional<z.ZodNumber>;
463
+ view_count: z.ZodOptional<z.ZodNumber>;
464
+ project: z.ZodOptional<z.ZodObject<{
465
+ id: z.ZodNumber;
466
+ id_string: z.ZodOptional<z.ZodString>;
467
+ name: z.ZodString;
468
+ }, "strip", z.ZodTypeAny, {
469
+ id: number;
470
+ name: string;
471
+ id_string?: string | undefined;
472
+ }, {
473
+ id: number;
474
+ name: string;
475
+ id_string?: string | undefined;
476
+ }>>;
477
+ link: z.ZodOptional<z.ZodObject<{
478
+ self: z.ZodOptional<z.ZodObject<{
479
+ url: z.ZodString;
480
+ }, "strip", z.ZodTypeAny, {
481
+ url: string;
482
+ }, {
483
+ url: string;
484
+ }>>;
485
+ comment: z.ZodOptional<z.ZodObject<{
486
+ url: z.ZodString;
487
+ }, "strip", z.ZodTypeAny, {
488
+ url: string;
489
+ }, {
490
+ url: string;
491
+ }>>;
492
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
493
+ self: z.ZodOptional<z.ZodObject<{
494
+ url: z.ZodString;
495
+ }, "strip", z.ZodTypeAny, {
496
+ url: string;
497
+ }, {
498
+ url: string;
499
+ }>>;
500
+ comment: z.ZodOptional<z.ZodObject<{
501
+ url: z.ZodString;
502
+ }, "strip", z.ZodTypeAny, {
503
+ url: string;
504
+ }, {
505
+ url: string;
506
+ }>>;
507
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
508
+ self: z.ZodOptional<z.ZodObject<{
509
+ url: z.ZodString;
510
+ }, "strip", z.ZodTypeAny, {
511
+ url: string;
512
+ }, {
513
+ url: string;
514
+ }>>;
515
+ comment: z.ZodOptional<z.ZodObject<{
516
+ url: z.ZodString;
517
+ }, "strip", z.ZodTypeAny, {
518
+ url: string;
519
+ }, {
520
+ url: string;
521
+ }>>;
522
+ }, z.ZodTypeAny, "passthrough">>>;
523
+ posted_time: z.ZodOptional<z.ZodString>;
524
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
525
+ last_updated_time: z.ZodOptional<z.ZodString>;
526
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
527
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
528
+ id: z.ZodNumber;
529
+ id_string: z.ZodString;
530
+ name: z.ZodString;
531
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
532
+ category: z.ZodOptional<z.ZodObject<{
533
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
534
+ name: z.ZodString;
535
+ }, "strip", z.ZodTypeAny, {
536
+ id: string | number;
537
+ name: string;
538
+ }, {
539
+ id: string | number;
540
+ name: string;
541
+ }>>;
542
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
543
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
544
+ is_closed: z.ZodOptional<z.ZodBoolean>;
545
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
546
+ posted_by: z.ZodOptional<z.ZodObject<{
547
+ id: z.ZodString;
548
+ name: z.ZodString;
549
+ email: z.ZodOptional<z.ZodString>;
550
+ zpuid: z.ZodOptional<z.ZodString>;
551
+ }, "strip", z.ZodTypeAny, {
552
+ id: string;
553
+ name: string;
554
+ email?: string | undefined;
555
+ zpuid?: string | undefined;
556
+ }, {
557
+ id: string;
558
+ name: string;
559
+ email?: string | undefined;
560
+ zpuid?: string | undefined;
561
+ }>>;
562
+ posted_person: z.ZodOptional<z.ZodString>;
563
+ comment_count: z.ZodOptional<z.ZodNumber>;
564
+ view_count: z.ZodOptional<z.ZodNumber>;
565
+ project: z.ZodOptional<z.ZodObject<{
566
+ id: z.ZodNumber;
567
+ id_string: z.ZodOptional<z.ZodString>;
568
+ name: z.ZodString;
569
+ }, "strip", z.ZodTypeAny, {
570
+ id: number;
571
+ name: string;
572
+ id_string?: string | undefined;
573
+ }, {
574
+ id: number;
575
+ name: string;
576
+ id_string?: string | undefined;
577
+ }>>;
578
+ link: z.ZodOptional<z.ZodObject<{
579
+ self: z.ZodOptional<z.ZodObject<{
580
+ url: z.ZodString;
581
+ }, "strip", z.ZodTypeAny, {
582
+ url: string;
583
+ }, {
584
+ url: string;
585
+ }>>;
586
+ comment: z.ZodOptional<z.ZodObject<{
587
+ url: z.ZodString;
588
+ }, "strip", z.ZodTypeAny, {
589
+ url: string;
590
+ }, {
591
+ url: string;
592
+ }>>;
593
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
594
+ self: z.ZodOptional<z.ZodObject<{
595
+ url: z.ZodString;
596
+ }, "strip", z.ZodTypeAny, {
597
+ url: string;
598
+ }, {
599
+ url: string;
600
+ }>>;
601
+ comment: z.ZodOptional<z.ZodObject<{
602
+ url: z.ZodString;
603
+ }, "strip", z.ZodTypeAny, {
604
+ url: string;
605
+ }, {
606
+ url: string;
607
+ }>>;
608
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
609
+ self: z.ZodOptional<z.ZodObject<{
610
+ url: z.ZodString;
611
+ }, "strip", z.ZodTypeAny, {
612
+ url: string;
613
+ }, {
614
+ url: string;
615
+ }>>;
616
+ comment: z.ZodOptional<z.ZodObject<{
617
+ url: z.ZodString;
618
+ }, "strip", z.ZodTypeAny, {
619
+ url: string;
620
+ }, {
621
+ url: string;
622
+ }>>;
623
+ }, z.ZodTypeAny, "passthrough">>>;
624
+ posted_time: z.ZodOptional<z.ZodString>;
625
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
626
+ last_updated_time: z.ZodOptional<z.ZodString>;
627
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
628
+ }, z.ZodTypeAny, "passthrough">>, "many">;
629
+ page_info: z.ZodOptional<z.ZodObject<{
630
+ page: z.ZodNumber;
631
+ per_page: z.ZodNumber;
632
+ total_count: z.ZodOptional<z.ZodNumber>;
633
+ has_more_page: z.ZodOptional<z.ZodBoolean>;
634
+ }, "strip", z.ZodTypeAny, {
635
+ page: number;
636
+ per_page: number;
637
+ total_count?: number | undefined;
638
+ has_more_page?: boolean | undefined;
639
+ }, {
640
+ page: number;
641
+ per_page: number;
642
+ total_count?: number | undefined;
643
+ has_more_page?: boolean | undefined;
644
+ }>>;
645
+ }, "strip", z.ZodTypeAny, {
646
+ forums: z.objectOutputType<{
647
+ id: z.ZodNumber;
648
+ id_string: z.ZodString;
649
+ name: z.ZodString;
650
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
651
+ category: z.ZodOptional<z.ZodObject<{
652
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
653
+ name: z.ZodString;
654
+ }, "strip", z.ZodTypeAny, {
655
+ id: string | number;
656
+ name: string;
657
+ }, {
658
+ id: string | number;
659
+ name: string;
660
+ }>>;
661
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
662
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
663
+ is_closed: z.ZodOptional<z.ZodBoolean>;
664
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
665
+ posted_by: z.ZodOptional<z.ZodObject<{
666
+ id: z.ZodString;
667
+ name: z.ZodString;
668
+ email: z.ZodOptional<z.ZodString>;
669
+ zpuid: z.ZodOptional<z.ZodString>;
670
+ }, "strip", z.ZodTypeAny, {
671
+ id: string;
672
+ name: string;
673
+ email?: string | undefined;
674
+ zpuid?: string | undefined;
675
+ }, {
676
+ id: string;
677
+ name: string;
678
+ email?: string | undefined;
679
+ zpuid?: string | undefined;
680
+ }>>;
681
+ posted_person: z.ZodOptional<z.ZodString>;
682
+ comment_count: z.ZodOptional<z.ZodNumber>;
683
+ view_count: z.ZodOptional<z.ZodNumber>;
684
+ project: z.ZodOptional<z.ZodObject<{
685
+ id: z.ZodNumber;
686
+ id_string: z.ZodOptional<z.ZodString>;
687
+ name: z.ZodString;
688
+ }, "strip", z.ZodTypeAny, {
689
+ id: number;
690
+ name: string;
691
+ id_string?: string | undefined;
692
+ }, {
693
+ id: number;
694
+ name: string;
695
+ id_string?: string | undefined;
696
+ }>>;
697
+ link: z.ZodOptional<z.ZodObject<{
698
+ self: z.ZodOptional<z.ZodObject<{
699
+ url: z.ZodString;
700
+ }, "strip", z.ZodTypeAny, {
701
+ url: string;
702
+ }, {
703
+ url: string;
704
+ }>>;
705
+ comment: z.ZodOptional<z.ZodObject<{
706
+ url: z.ZodString;
707
+ }, "strip", z.ZodTypeAny, {
708
+ url: string;
709
+ }, {
710
+ url: string;
711
+ }>>;
712
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
713
+ self: z.ZodOptional<z.ZodObject<{
714
+ url: z.ZodString;
715
+ }, "strip", z.ZodTypeAny, {
716
+ url: string;
717
+ }, {
718
+ url: string;
719
+ }>>;
720
+ comment: z.ZodOptional<z.ZodObject<{
721
+ url: z.ZodString;
722
+ }, "strip", z.ZodTypeAny, {
723
+ url: string;
724
+ }, {
725
+ url: string;
726
+ }>>;
727
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
728
+ self: z.ZodOptional<z.ZodObject<{
729
+ url: z.ZodString;
730
+ }, "strip", z.ZodTypeAny, {
731
+ url: string;
732
+ }, {
733
+ url: string;
734
+ }>>;
735
+ comment: z.ZodOptional<z.ZodObject<{
736
+ url: z.ZodString;
737
+ }, "strip", z.ZodTypeAny, {
738
+ url: string;
739
+ }, {
740
+ url: string;
741
+ }>>;
742
+ }, z.ZodTypeAny, "passthrough">>>;
743
+ posted_time: z.ZodOptional<z.ZodString>;
744
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
745
+ last_updated_time: z.ZodOptional<z.ZodString>;
746
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
747
+ }, z.ZodTypeAny, "passthrough">[];
748
+ page_info?: {
749
+ page: number;
750
+ per_page: number;
751
+ total_count?: number | undefined;
752
+ has_more_page?: boolean | undefined;
753
+ } | undefined;
754
+ }, {
755
+ forums: z.objectInputType<{
756
+ id: z.ZodNumber;
757
+ id_string: z.ZodString;
758
+ name: z.ZodString;
759
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
760
+ category: z.ZodOptional<z.ZodObject<{
761
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
762
+ name: z.ZodString;
763
+ }, "strip", z.ZodTypeAny, {
764
+ id: string | number;
765
+ name: string;
766
+ }, {
767
+ id: string | number;
768
+ name: string;
769
+ }>>;
770
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
771
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
772
+ is_closed: z.ZodOptional<z.ZodBoolean>;
773
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
774
+ posted_by: z.ZodOptional<z.ZodObject<{
775
+ id: z.ZodString;
776
+ name: z.ZodString;
777
+ email: z.ZodOptional<z.ZodString>;
778
+ zpuid: z.ZodOptional<z.ZodString>;
779
+ }, "strip", z.ZodTypeAny, {
780
+ id: string;
781
+ name: string;
782
+ email?: string | undefined;
783
+ zpuid?: string | undefined;
784
+ }, {
785
+ id: string;
786
+ name: string;
787
+ email?: string | undefined;
788
+ zpuid?: string | undefined;
789
+ }>>;
790
+ posted_person: z.ZodOptional<z.ZodString>;
791
+ comment_count: z.ZodOptional<z.ZodNumber>;
792
+ view_count: z.ZodOptional<z.ZodNumber>;
793
+ project: z.ZodOptional<z.ZodObject<{
794
+ id: z.ZodNumber;
795
+ id_string: z.ZodOptional<z.ZodString>;
796
+ name: z.ZodString;
797
+ }, "strip", z.ZodTypeAny, {
798
+ id: number;
799
+ name: string;
800
+ id_string?: string | undefined;
801
+ }, {
802
+ id: number;
803
+ name: string;
804
+ id_string?: string | undefined;
805
+ }>>;
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
+ comment: z.ZodOptional<z.ZodObject<{
815
+ url: z.ZodString;
816
+ }, "strip", z.ZodTypeAny, {
817
+ url: string;
818
+ }, {
819
+ url: string;
820
+ }>>;
821
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
822
+ self: z.ZodOptional<z.ZodObject<{
823
+ url: z.ZodString;
824
+ }, "strip", z.ZodTypeAny, {
825
+ url: string;
826
+ }, {
827
+ url: string;
828
+ }>>;
829
+ comment: z.ZodOptional<z.ZodObject<{
830
+ url: z.ZodString;
831
+ }, "strip", z.ZodTypeAny, {
832
+ url: string;
833
+ }, {
834
+ url: string;
835
+ }>>;
836
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
837
+ self: z.ZodOptional<z.ZodObject<{
838
+ url: z.ZodString;
839
+ }, "strip", z.ZodTypeAny, {
840
+ url: string;
841
+ }, {
842
+ url: string;
843
+ }>>;
844
+ comment: z.ZodOptional<z.ZodObject<{
845
+ url: z.ZodString;
846
+ }, "strip", z.ZodTypeAny, {
847
+ url: string;
848
+ }, {
849
+ url: string;
850
+ }>>;
851
+ }, z.ZodTypeAny, "passthrough">>>;
852
+ posted_time: z.ZodOptional<z.ZodString>;
853
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
854
+ last_updated_time: z.ZodOptional<z.ZodString>;
855
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
856
+ }, z.ZodTypeAny, "passthrough">[];
857
+ page_info?: {
858
+ page: number;
859
+ per_page: number;
860
+ total_count?: number | undefined;
861
+ has_more_page?: boolean | undefined;
862
+ } | undefined;
863
+ }>;
864
+ export type ForumListResponse = z.infer<typeof ForumListResponseSchema>;
865
+ export declare const ForumResponseSchema: z.ZodObject<{
866
+ forums: z.ZodArray<z.ZodObject<{
867
+ id: z.ZodNumber;
868
+ id_string: z.ZodString;
869
+ name: z.ZodString;
870
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
+ category: z.ZodOptional<z.ZodObject<{
872
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
873
+ name: z.ZodString;
874
+ }, "strip", z.ZodTypeAny, {
875
+ id: string | number;
876
+ name: string;
877
+ }, {
878
+ id: string | number;
879
+ name: string;
880
+ }>>;
881
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
882
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
883
+ is_closed: z.ZodOptional<z.ZodBoolean>;
884
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
885
+ posted_by: z.ZodOptional<z.ZodObject<{
886
+ id: z.ZodString;
887
+ name: z.ZodString;
888
+ email: z.ZodOptional<z.ZodString>;
889
+ zpuid: z.ZodOptional<z.ZodString>;
890
+ }, "strip", z.ZodTypeAny, {
891
+ id: string;
892
+ name: string;
893
+ email?: string | undefined;
894
+ zpuid?: string | undefined;
895
+ }, {
896
+ id: string;
897
+ name: string;
898
+ email?: string | undefined;
899
+ zpuid?: string | undefined;
900
+ }>>;
901
+ posted_person: z.ZodOptional<z.ZodString>;
902
+ comment_count: z.ZodOptional<z.ZodNumber>;
903
+ view_count: z.ZodOptional<z.ZodNumber>;
904
+ project: z.ZodOptional<z.ZodObject<{
905
+ id: z.ZodNumber;
906
+ id_string: z.ZodOptional<z.ZodString>;
907
+ name: z.ZodString;
908
+ }, "strip", z.ZodTypeAny, {
909
+ id: number;
910
+ name: string;
911
+ id_string?: string | undefined;
912
+ }, {
913
+ id: number;
914
+ name: string;
915
+ id_string?: string | undefined;
916
+ }>>;
917
+ link: z.ZodOptional<z.ZodObject<{
918
+ self: z.ZodOptional<z.ZodObject<{
919
+ url: z.ZodString;
920
+ }, "strip", z.ZodTypeAny, {
921
+ url: string;
922
+ }, {
923
+ url: string;
924
+ }>>;
925
+ comment: z.ZodOptional<z.ZodObject<{
926
+ url: z.ZodString;
927
+ }, "strip", z.ZodTypeAny, {
928
+ url: string;
929
+ }, {
930
+ url: string;
931
+ }>>;
932
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
933
+ self: z.ZodOptional<z.ZodObject<{
934
+ url: z.ZodString;
935
+ }, "strip", z.ZodTypeAny, {
936
+ url: string;
937
+ }, {
938
+ url: string;
939
+ }>>;
940
+ comment: z.ZodOptional<z.ZodObject<{
941
+ url: z.ZodString;
942
+ }, "strip", z.ZodTypeAny, {
943
+ url: string;
944
+ }, {
945
+ url: string;
946
+ }>>;
947
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
948
+ self: z.ZodOptional<z.ZodObject<{
949
+ url: z.ZodString;
950
+ }, "strip", z.ZodTypeAny, {
951
+ url: string;
952
+ }, {
953
+ url: string;
954
+ }>>;
955
+ comment: z.ZodOptional<z.ZodObject<{
956
+ url: z.ZodString;
957
+ }, "strip", z.ZodTypeAny, {
958
+ url: string;
959
+ }, {
960
+ url: string;
961
+ }>>;
962
+ }, z.ZodTypeAny, "passthrough">>>;
963
+ posted_time: z.ZodOptional<z.ZodString>;
964
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
965
+ last_updated_time: z.ZodOptional<z.ZodString>;
966
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
967
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
968
+ id: z.ZodNumber;
969
+ id_string: z.ZodString;
970
+ name: z.ZodString;
971
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
972
+ category: z.ZodOptional<z.ZodObject<{
973
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
974
+ name: z.ZodString;
975
+ }, "strip", z.ZodTypeAny, {
976
+ id: string | number;
977
+ name: string;
978
+ }, {
979
+ id: string | number;
980
+ name: string;
981
+ }>>;
982
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
983
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
984
+ is_closed: z.ZodOptional<z.ZodBoolean>;
985
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
986
+ posted_by: z.ZodOptional<z.ZodObject<{
987
+ id: z.ZodString;
988
+ name: z.ZodString;
989
+ email: z.ZodOptional<z.ZodString>;
990
+ zpuid: z.ZodOptional<z.ZodString>;
991
+ }, "strip", z.ZodTypeAny, {
992
+ id: string;
993
+ name: string;
994
+ email?: string | undefined;
995
+ zpuid?: string | undefined;
996
+ }, {
997
+ id: string;
998
+ name: string;
999
+ email?: string | undefined;
1000
+ zpuid?: string | undefined;
1001
+ }>>;
1002
+ posted_person: z.ZodOptional<z.ZodString>;
1003
+ comment_count: z.ZodOptional<z.ZodNumber>;
1004
+ view_count: z.ZodOptional<z.ZodNumber>;
1005
+ project: z.ZodOptional<z.ZodObject<{
1006
+ id: z.ZodNumber;
1007
+ id_string: z.ZodOptional<z.ZodString>;
1008
+ name: z.ZodString;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ id: number;
1011
+ name: string;
1012
+ id_string?: string | undefined;
1013
+ }, {
1014
+ id: number;
1015
+ name: string;
1016
+ id_string?: string | undefined;
1017
+ }>>;
1018
+ link: z.ZodOptional<z.ZodObject<{
1019
+ self: z.ZodOptional<z.ZodObject<{
1020
+ url: z.ZodString;
1021
+ }, "strip", z.ZodTypeAny, {
1022
+ url: string;
1023
+ }, {
1024
+ url: string;
1025
+ }>>;
1026
+ comment: z.ZodOptional<z.ZodObject<{
1027
+ url: z.ZodString;
1028
+ }, "strip", z.ZodTypeAny, {
1029
+ url: string;
1030
+ }, {
1031
+ url: string;
1032
+ }>>;
1033
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1034
+ self: z.ZodOptional<z.ZodObject<{
1035
+ url: z.ZodString;
1036
+ }, "strip", z.ZodTypeAny, {
1037
+ url: string;
1038
+ }, {
1039
+ url: string;
1040
+ }>>;
1041
+ comment: z.ZodOptional<z.ZodObject<{
1042
+ url: z.ZodString;
1043
+ }, "strip", z.ZodTypeAny, {
1044
+ url: string;
1045
+ }, {
1046
+ url: string;
1047
+ }>>;
1048
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1049
+ self: z.ZodOptional<z.ZodObject<{
1050
+ url: z.ZodString;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ url: string;
1053
+ }, {
1054
+ url: string;
1055
+ }>>;
1056
+ comment: z.ZodOptional<z.ZodObject<{
1057
+ url: z.ZodString;
1058
+ }, "strip", z.ZodTypeAny, {
1059
+ url: string;
1060
+ }, {
1061
+ url: string;
1062
+ }>>;
1063
+ }, z.ZodTypeAny, "passthrough">>>;
1064
+ posted_time: z.ZodOptional<z.ZodString>;
1065
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
1066
+ last_updated_time: z.ZodOptional<z.ZodString>;
1067
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
1068
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1069
+ id: z.ZodNumber;
1070
+ id_string: z.ZodString;
1071
+ name: z.ZodString;
1072
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1073
+ category: z.ZodOptional<z.ZodObject<{
1074
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1075
+ name: z.ZodString;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ id: string | number;
1078
+ name: string;
1079
+ }, {
1080
+ id: string | number;
1081
+ name: string;
1082
+ }>>;
1083
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
1084
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
1085
+ is_closed: z.ZodOptional<z.ZodBoolean>;
1086
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
1087
+ posted_by: z.ZodOptional<z.ZodObject<{
1088
+ id: z.ZodString;
1089
+ name: z.ZodString;
1090
+ email: z.ZodOptional<z.ZodString>;
1091
+ zpuid: z.ZodOptional<z.ZodString>;
1092
+ }, "strip", z.ZodTypeAny, {
1093
+ id: string;
1094
+ name: string;
1095
+ email?: string | undefined;
1096
+ zpuid?: string | undefined;
1097
+ }, {
1098
+ id: string;
1099
+ name: string;
1100
+ email?: string | undefined;
1101
+ zpuid?: string | undefined;
1102
+ }>>;
1103
+ posted_person: z.ZodOptional<z.ZodString>;
1104
+ comment_count: z.ZodOptional<z.ZodNumber>;
1105
+ view_count: z.ZodOptional<z.ZodNumber>;
1106
+ project: z.ZodOptional<z.ZodObject<{
1107
+ id: z.ZodNumber;
1108
+ id_string: z.ZodOptional<z.ZodString>;
1109
+ name: z.ZodString;
1110
+ }, "strip", z.ZodTypeAny, {
1111
+ id: number;
1112
+ name: string;
1113
+ id_string?: string | undefined;
1114
+ }, {
1115
+ id: number;
1116
+ name: string;
1117
+ id_string?: string | undefined;
1118
+ }>>;
1119
+ link: z.ZodOptional<z.ZodObject<{
1120
+ self: z.ZodOptional<z.ZodObject<{
1121
+ url: z.ZodString;
1122
+ }, "strip", z.ZodTypeAny, {
1123
+ url: string;
1124
+ }, {
1125
+ url: string;
1126
+ }>>;
1127
+ comment: z.ZodOptional<z.ZodObject<{
1128
+ url: z.ZodString;
1129
+ }, "strip", z.ZodTypeAny, {
1130
+ url: string;
1131
+ }, {
1132
+ url: string;
1133
+ }>>;
1134
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1135
+ self: z.ZodOptional<z.ZodObject<{
1136
+ url: z.ZodString;
1137
+ }, "strip", z.ZodTypeAny, {
1138
+ url: string;
1139
+ }, {
1140
+ url: string;
1141
+ }>>;
1142
+ comment: z.ZodOptional<z.ZodObject<{
1143
+ url: z.ZodString;
1144
+ }, "strip", z.ZodTypeAny, {
1145
+ url: string;
1146
+ }, {
1147
+ url: string;
1148
+ }>>;
1149
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1150
+ self: z.ZodOptional<z.ZodObject<{
1151
+ url: z.ZodString;
1152
+ }, "strip", z.ZodTypeAny, {
1153
+ url: string;
1154
+ }, {
1155
+ url: string;
1156
+ }>>;
1157
+ comment: z.ZodOptional<z.ZodObject<{
1158
+ url: z.ZodString;
1159
+ }, "strip", z.ZodTypeAny, {
1160
+ url: string;
1161
+ }, {
1162
+ url: string;
1163
+ }>>;
1164
+ }, z.ZodTypeAny, "passthrough">>>;
1165
+ posted_time: z.ZodOptional<z.ZodString>;
1166
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
1167
+ last_updated_time: z.ZodOptional<z.ZodString>;
1168
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
1169
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1170
+ }, "strip", z.ZodTypeAny, {
1171
+ forums: z.objectOutputType<{
1172
+ id: z.ZodNumber;
1173
+ id_string: z.ZodString;
1174
+ name: z.ZodString;
1175
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1176
+ category: z.ZodOptional<z.ZodObject<{
1177
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1178
+ name: z.ZodString;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ id: string | number;
1181
+ name: string;
1182
+ }, {
1183
+ id: string | number;
1184
+ name: string;
1185
+ }>>;
1186
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
1187
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
1188
+ is_closed: z.ZodOptional<z.ZodBoolean>;
1189
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
1190
+ posted_by: z.ZodOptional<z.ZodObject<{
1191
+ id: z.ZodString;
1192
+ name: z.ZodString;
1193
+ email: z.ZodOptional<z.ZodString>;
1194
+ zpuid: z.ZodOptional<z.ZodString>;
1195
+ }, "strip", z.ZodTypeAny, {
1196
+ id: string;
1197
+ name: string;
1198
+ email?: string | undefined;
1199
+ zpuid?: string | undefined;
1200
+ }, {
1201
+ id: string;
1202
+ name: string;
1203
+ email?: string | undefined;
1204
+ zpuid?: string | undefined;
1205
+ }>>;
1206
+ posted_person: z.ZodOptional<z.ZodString>;
1207
+ comment_count: z.ZodOptional<z.ZodNumber>;
1208
+ view_count: z.ZodOptional<z.ZodNumber>;
1209
+ project: z.ZodOptional<z.ZodObject<{
1210
+ id: z.ZodNumber;
1211
+ id_string: z.ZodOptional<z.ZodString>;
1212
+ name: z.ZodString;
1213
+ }, "strip", z.ZodTypeAny, {
1214
+ id: number;
1215
+ name: string;
1216
+ id_string?: string | undefined;
1217
+ }, {
1218
+ id: number;
1219
+ name: string;
1220
+ id_string?: string | undefined;
1221
+ }>>;
1222
+ link: z.ZodOptional<z.ZodObject<{
1223
+ self: z.ZodOptional<z.ZodObject<{
1224
+ url: z.ZodString;
1225
+ }, "strip", z.ZodTypeAny, {
1226
+ url: string;
1227
+ }, {
1228
+ url: string;
1229
+ }>>;
1230
+ comment: z.ZodOptional<z.ZodObject<{
1231
+ url: z.ZodString;
1232
+ }, "strip", z.ZodTypeAny, {
1233
+ url: string;
1234
+ }, {
1235
+ url: string;
1236
+ }>>;
1237
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1238
+ self: z.ZodOptional<z.ZodObject<{
1239
+ url: z.ZodString;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ url: string;
1242
+ }, {
1243
+ url: string;
1244
+ }>>;
1245
+ comment: z.ZodOptional<z.ZodObject<{
1246
+ url: z.ZodString;
1247
+ }, "strip", z.ZodTypeAny, {
1248
+ url: string;
1249
+ }, {
1250
+ url: string;
1251
+ }>>;
1252
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1253
+ self: z.ZodOptional<z.ZodObject<{
1254
+ url: z.ZodString;
1255
+ }, "strip", z.ZodTypeAny, {
1256
+ url: string;
1257
+ }, {
1258
+ url: string;
1259
+ }>>;
1260
+ comment: z.ZodOptional<z.ZodObject<{
1261
+ url: z.ZodString;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ url: string;
1264
+ }, {
1265
+ url: string;
1266
+ }>>;
1267
+ }, z.ZodTypeAny, "passthrough">>>;
1268
+ posted_time: z.ZodOptional<z.ZodString>;
1269
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
1270
+ last_updated_time: z.ZodOptional<z.ZodString>;
1271
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
1272
+ }, z.ZodTypeAny, "passthrough">[];
1273
+ }, {
1274
+ forums: z.objectInputType<{
1275
+ id: z.ZodNumber;
1276
+ id_string: z.ZodString;
1277
+ name: z.ZodString;
1278
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1279
+ category: z.ZodOptional<z.ZodObject<{
1280
+ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1281
+ name: z.ZodString;
1282
+ }, "strip", z.ZodTypeAny, {
1283
+ id: string | number;
1284
+ name: string;
1285
+ }, {
1286
+ id: string | number;
1287
+ name: string;
1288
+ }>>;
1289
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
1290
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
1291
+ is_closed: z.ZodOptional<z.ZodBoolean>;
1292
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
1293
+ posted_by: z.ZodOptional<z.ZodObject<{
1294
+ id: z.ZodString;
1295
+ name: z.ZodString;
1296
+ email: z.ZodOptional<z.ZodString>;
1297
+ zpuid: z.ZodOptional<z.ZodString>;
1298
+ }, "strip", z.ZodTypeAny, {
1299
+ id: string;
1300
+ name: string;
1301
+ email?: string | undefined;
1302
+ zpuid?: string | undefined;
1303
+ }, {
1304
+ id: string;
1305
+ name: string;
1306
+ email?: string | undefined;
1307
+ zpuid?: string | undefined;
1308
+ }>>;
1309
+ posted_person: z.ZodOptional<z.ZodString>;
1310
+ comment_count: z.ZodOptional<z.ZodNumber>;
1311
+ view_count: z.ZodOptional<z.ZodNumber>;
1312
+ project: z.ZodOptional<z.ZodObject<{
1313
+ id: z.ZodNumber;
1314
+ id_string: z.ZodOptional<z.ZodString>;
1315
+ name: z.ZodString;
1316
+ }, "strip", z.ZodTypeAny, {
1317
+ id: number;
1318
+ name: string;
1319
+ id_string?: string | undefined;
1320
+ }, {
1321
+ id: number;
1322
+ name: string;
1323
+ id_string?: string | undefined;
1324
+ }>>;
1325
+ link: z.ZodOptional<z.ZodObject<{
1326
+ self: z.ZodOptional<z.ZodObject<{
1327
+ url: z.ZodString;
1328
+ }, "strip", z.ZodTypeAny, {
1329
+ url: string;
1330
+ }, {
1331
+ url: string;
1332
+ }>>;
1333
+ comment: z.ZodOptional<z.ZodObject<{
1334
+ url: z.ZodString;
1335
+ }, "strip", z.ZodTypeAny, {
1336
+ url: string;
1337
+ }, {
1338
+ url: string;
1339
+ }>>;
1340
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1341
+ self: z.ZodOptional<z.ZodObject<{
1342
+ url: z.ZodString;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ url: string;
1345
+ }, {
1346
+ url: string;
1347
+ }>>;
1348
+ comment: z.ZodOptional<z.ZodObject<{
1349
+ url: z.ZodString;
1350
+ }, "strip", z.ZodTypeAny, {
1351
+ url: string;
1352
+ }, {
1353
+ url: string;
1354
+ }>>;
1355
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1356
+ self: z.ZodOptional<z.ZodObject<{
1357
+ url: z.ZodString;
1358
+ }, "strip", z.ZodTypeAny, {
1359
+ url: string;
1360
+ }, {
1361
+ url: string;
1362
+ }>>;
1363
+ comment: z.ZodOptional<z.ZodObject<{
1364
+ url: z.ZodString;
1365
+ }, "strip", z.ZodTypeAny, {
1366
+ url: string;
1367
+ }, {
1368
+ url: string;
1369
+ }>>;
1370
+ }, z.ZodTypeAny, "passthrough">>>;
1371
+ posted_time: z.ZodOptional<z.ZodString>;
1372
+ posted_time_long: z.ZodOptional<z.ZodNumber>;
1373
+ last_updated_time: z.ZodOptional<z.ZodString>;
1374
+ last_updated_time_long: z.ZodOptional<z.ZodNumber>;
1375
+ }, z.ZodTypeAny, "passthrough">[];
1376
+ }>;
1377
+ export type ForumResponse = z.infer<typeof ForumResponseSchema>;
1378
+ /**
1379
+ * Input schema for creating a forum/discussion
1380
+ */
1381
+ export declare const CreateForumInputSchema: z.ZodObject<{
1382
+ /** Forum title (required) */
1383
+ name: z.ZodString;
1384
+ /** Forum content/body */
1385
+ content: z.ZodOptional<z.ZodString>;
1386
+ /** Category ID */
1387
+ category_id: z.ZodOptional<z.ZodString>;
1388
+ /** Whether to pin the forum */
1389
+ is_sticky: z.ZodOptional<z.ZodBoolean>;
1390
+ /** Whether this is an announcement */
1391
+ is_announcement: z.ZodOptional<z.ZodBoolean>;
1392
+ /** Flag: internal or external */
1393
+ flag: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
1394
+ /** Users to notify (comma-separated IDs) */
1395
+ notify: z.ZodOptional<z.ZodString>;
1396
+ }, "strip", z.ZodTypeAny, {
1397
+ name: string;
1398
+ flag?: "internal" | "external" | undefined;
1399
+ content?: string | undefined;
1400
+ is_sticky?: boolean | undefined;
1401
+ is_announcement?: boolean | undefined;
1402
+ category_id?: string | undefined;
1403
+ notify?: string | undefined;
1404
+ }, {
1405
+ name: string;
1406
+ flag?: "internal" | "external" | undefined;
1407
+ content?: string | undefined;
1408
+ is_sticky?: boolean | undefined;
1409
+ is_announcement?: boolean | undefined;
1410
+ category_id?: string | undefined;
1411
+ notify?: string | undefined;
1412
+ }>;
1413
+ export type CreateForumInput = z.infer<typeof CreateForumInputSchema>;
1414
+ /**
1415
+ * Input schema for updating a forum/discussion
1416
+ */
1417
+ export declare const UpdateForumInputSchema: z.ZodObject<{
1418
+ name: z.ZodOptional<z.ZodString>;
1419
+ content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1420
+ category_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1421
+ is_sticky: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1422
+ is_announcement: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1423
+ flag: z.ZodOptional<z.ZodOptional<z.ZodEnum<["internal", "external"]>>>;
1424
+ notify: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1425
+ }, "strip", z.ZodTypeAny, {
1426
+ name?: string | undefined;
1427
+ flag?: "internal" | "external" | undefined;
1428
+ content?: string | undefined;
1429
+ is_sticky?: boolean | undefined;
1430
+ is_announcement?: boolean | undefined;
1431
+ category_id?: string | undefined;
1432
+ notify?: string | undefined;
1433
+ }, {
1434
+ name?: string | undefined;
1435
+ flag?: "internal" | "external" | undefined;
1436
+ content?: string | undefined;
1437
+ is_sticky?: boolean | undefined;
1438
+ is_announcement?: boolean | undefined;
1439
+ category_id?: string | undefined;
1440
+ notify?: string | undefined;
1441
+ }>;
1442
+ export type UpdateForumInput = z.infer<typeof UpdateForumInputSchema>;
1443
+ //# sourceMappingURL=forums.d.ts.map