@blorp-labs/piefed-api-client 0.0.0-7e59b13 → 0.0.0-90bfbe5

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 (777) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +61 -10
  3. package/dist/client/admin/admin.d.ts +3 -41
  4. package/dist/client/admin/admin.d.ts.map +1 -1
  5. package/dist/client/admin/admin.js +20 -7
  6. package/dist/client/admin/admin.js.map +1 -1
  7. package/dist/client/comment/comment.d.ts +15 -285
  8. package/dist/client/comment/comment.d.ts.map +1 -1
  9. package/dist/client/comment/comment.js +116 -43
  10. package/dist/client/comment/comment.js.map +1 -1
  11. package/dist/client/community/community.d.ts +18 -341
  12. package/dist/client/community/community.d.ts.map +1 -1
  13. package/dist/client/community/community.js +140 -52
  14. package/dist/client/community/community.js.map +1 -1
  15. package/dist/client/feed/feed.d.ts +7 -125
  16. package/dist/client/feed/feed.d.ts.map +1 -1
  17. package/dist/client/feed/feed.js +52 -19
  18. package/dist/client/feed/feed.js.map +1 -1
  19. package/dist/client/misc/misc.d.ts +6 -101
  20. package/dist/client/misc/misc.d.ts.map +1 -1
  21. package/dist/client/misc/misc.js +44 -16
  22. package/dist/client/misc/misc.js.map +1 -1
  23. package/dist/client/post/post.d.ts +21 -405
  24. package/dist/client/post/post.d.ts.map +1 -1
  25. package/dist/client/post/post.js +164 -61
  26. package/dist/client/post/post.js.map +1 -1
  27. package/dist/client/private-message/private-message.d.ts +9 -165
  28. package/dist/client/private-message/private-message.d.ts.map +1 -1
  29. package/dist/client/private-message/private-message.js +68 -25
  30. package/dist/client/private-message/private-message.js.map +1 -1
  31. package/dist/client/site/site.d.ts +6 -89
  32. package/dist/client/site/site.d.ts.map +1 -1
  33. package/dist/client/site/site.js +44 -16
  34. package/dist/client/site/site.js.map +1 -1
  35. package/dist/client/topic/topic.d.ts +2 -21
  36. package/dist/client/topic/topic.d.ts.map +1 -1
  37. package/dist/client/topic/topic.js +12 -4
  38. package/dist/client/topic/topic.js.map +1 -1
  39. package/dist/client/upload/upload.d.ts +5 -97
  40. package/dist/client/upload/upload.d.ts.map +1 -1
  41. package/dist/client/upload/upload.js +36 -13
  42. package/dist/client/upload/upload.js.map +1 -1
  43. package/dist/client/user/user.d.ts +22 -405
  44. package/dist/client/user/user.d.ts.map +1 -1
  45. package/dist/client/user/user.js +172 -64
  46. package/dist/client/user/user.js.map +1 -1
  47. package/dist/create-client.d.ts +15 -214
  48. package/dist/create-client.d.ts.map +1 -1
  49. package/dist/create-client.js +69 -30
  50. package/dist/create-client.js.map +1 -1
  51. package/dist/index.d.ts +1 -12
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +22 -15
  54. package/dist/index.js.map +1 -1
  55. package/dist/mutator/custom-fetch.d.ts +5 -3
  56. package/dist/mutator/custom-fetch.d.ts.map +1 -1
  57. package/dist/mutator/custom-fetch.js +31 -7
  58. package/dist/mutator/custom-fetch.js.map +1 -1
  59. package/dist/schemas/adminPurgeComment.js +2 -1
  60. package/dist/schemas/adminPurgeCommentReason.js +2 -1
  61. package/dist/schemas/adminPurgeCommentReason.js.map +1 -1
  62. package/dist/schemas/adminPurgeCommentView.js +2 -1
  63. package/dist/schemas/adminPurgeCommunity.js +2 -1
  64. package/dist/schemas/adminPurgeCommunityReason.js +2 -1
  65. package/dist/schemas/adminPurgeCommunityReason.js.map +1 -1
  66. package/dist/schemas/adminPurgeCommunityView.js +2 -1
  67. package/dist/schemas/adminPurgePerson.js +2 -1
  68. package/dist/schemas/adminPurgePersonReason.js +2 -1
  69. package/dist/schemas/adminPurgePersonReason.js.map +1 -1
  70. package/dist/schemas/adminPurgePersonView.js +2 -1
  71. package/dist/schemas/adminPurgePost.js +2 -1
  72. package/dist/schemas/adminPurgePostCommunityId.js +2 -1
  73. package/dist/schemas/adminPurgePostCommunityId.js.map +1 -1
  74. package/dist/schemas/adminPurgePostReason.js +2 -1
  75. package/dist/schemas/adminPurgePostReason.js.map +1 -1
  76. package/dist/schemas/adminPurgePostView.js +2 -1
  77. package/dist/schemas/blockCommunityRequest.js +2 -1
  78. package/dist/schemas/blockCommunityRequest.js.map +1 -1
  79. package/dist/schemas/blockCommunityResponse.js +2 -1
  80. package/dist/schemas/blockInstanceRequest.js +2 -1
  81. package/dist/schemas/blockInstanceRequest.js.map +1 -1
  82. package/dist/schemas/blockInstanceResponse.js +2 -1
  83. package/dist/schemas/blockInstanceResponse.js.map +1 -1
  84. package/dist/schemas/comment.js +2 -1
  85. package/dist/schemas/commentAggregates.js +2 -1
  86. package/dist/schemas/commentAggregates.js.map +1 -1
  87. package/dist/schemas/commentEmojiReactions.js +2 -1
  88. package/dist/schemas/commentLikeView.js +2 -1
  89. package/dist/schemas/commentReply.js +2 -1
  90. package/dist/schemas/commentReply.js.map +1 -1
  91. package/dist/schemas/commentReplyView.js +2 -1
  92. package/dist/schemas/commentReplyViewSubscribed.js +4 -1
  93. package/dist/schemas/commentReplyViewSubscribed.js.map +1 -1
  94. package/dist/schemas/commentReport.js +2 -1
  95. package/dist/schemas/commentReport.js.map +1 -1
  96. package/dist/schemas/commentReportView.js +2 -1
  97. package/dist/schemas/commentReportViewSubscribed.js +4 -1
  98. package/dist/schemas/commentReportViewSubscribed.js.map +1 -1
  99. package/dist/schemas/commentView.js +2 -1
  100. package/dist/schemas/commentViewSubscribed.js +4 -1
  101. package/dist/schemas/commentViewSubscribed.js.map +1 -1
  102. package/dist/schemas/community.js +2 -1
  103. package/dist/schemas/communityAggregates.js +2 -1
  104. package/dist/schemas/communityAggregates.js.map +1 -1
  105. package/dist/schemas/communityBanner.js +2 -1
  106. package/dist/schemas/communityBanner.js.map +1 -1
  107. package/dist/schemas/communityBlockView.js +2 -1
  108. package/dist/schemas/communityFlair.js +2 -1
  109. package/dist/schemas/communityFlairApId.js +2 -1
  110. package/dist/schemas/communityFlairApId.js.map +1 -1
  111. package/dist/schemas/communityFlairCreateRequest.js +2 -1
  112. package/dist/schemas/communityFlairCreateRequest.js.map +1 -1
  113. package/dist/schemas/communityFlairCreateResponse.js +2 -1
  114. package/dist/schemas/communityFlairCreateResponseApId.js +2 -1
  115. package/dist/schemas/communityFlairCreateResponseApId.js.map +1 -1
  116. package/dist/schemas/communityFlairDeleteRequest.js +2 -1
  117. package/dist/schemas/communityFlairDeleteRequest.js.map +1 -1
  118. package/dist/schemas/communityFlairDeleteResponse.js +2 -1
  119. package/dist/schemas/communityFlairEditRequest.js +2 -1
  120. package/dist/schemas/communityFlairEditRequest.js.map +1 -1
  121. package/dist/schemas/communityFlairEditResponse.js +2 -1
  122. package/dist/schemas/communityFlairEditResponseApId.js +2 -1
  123. package/dist/schemas/communityFlairEditResponseApId.js.map +1 -1
  124. package/dist/schemas/communityFollowerView.js +2 -1
  125. package/dist/schemas/communityIcon.js +2 -1
  126. package/dist/schemas/communityIcon.js.map +1 -1
  127. package/dist/schemas/communityModerationBanItem.js +2 -1
  128. package/dist/schemas/communityModerationBanItemExpiredAt.js +2 -1
  129. package/dist/schemas/communityModerationBanItemExpiredAt.js.map +1 -1
  130. package/dist/schemas/communityModerationBanItemExpiresAt.js +2 -1
  131. package/dist/schemas/communityModerationBanItemExpiresAt.js.map +1 -1
  132. package/dist/schemas/communityModerationBanRequest.js +2 -1
  133. package/dist/schemas/communityModerationBanRequest.js.map +1 -1
  134. package/dist/schemas/communityModerationBansListResponse.js +2 -1
  135. package/dist/schemas/communityModerationBansListResponseNextPage.js +2 -1
  136. package/dist/schemas/communityModerationBansListResponseNextPage.js.map +1 -1
  137. package/dist/schemas/communityModerationNsfwRequest.js +2 -1
  138. package/dist/schemas/communityModerationNsfwRequest.js.map +1 -1
  139. package/dist/schemas/communityModerationUnbanRequest.js +2 -1
  140. package/dist/schemas/communityModerationUnbanRequest.js.map +1 -1
  141. package/dist/schemas/communityModeratorView.js +2 -1
  142. package/dist/schemas/communityPostingWarning.js +2 -1
  143. package/dist/schemas/communityPostingWarning.js.map +1 -1
  144. package/dist/schemas/communityResponse.js +2 -1
  145. package/dist/schemas/communityView.js +2 -1
  146. package/dist/schemas/communityViewSubscribed.js +4 -1
  147. package/dist/schemas/communityViewSubscribed.js.map +1 -1
  148. package/dist/schemas/createCommentRequest.js +2 -1
  149. package/dist/schemas/createCommentRequest.js.map +1 -1
  150. package/dist/schemas/createCommunityRequest.js +2 -1
  151. package/dist/schemas/createCommunityRequestBannerUrl.js +2 -1
  152. package/dist/schemas/createCommunityRequestBannerUrl.js.map +1 -1
  153. package/dist/schemas/createCommunityRequestIconUrl.js +2 -1
  154. package/dist/schemas/createCommunityRequestIconUrl.js.map +1 -1
  155. package/dist/schemas/createFeedRequest.js +2 -1
  156. package/dist/schemas/createFeedRequestBannerUrl.js +2 -1
  157. package/dist/schemas/createFeedRequestBannerUrl.js.map +1 -1
  158. package/dist/schemas/createFeedRequestIconUrl.js +2 -1
  159. package/dist/schemas/createFeedRequestIconUrl.js.map +1 -1
  160. package/dist/schemas/createFeedRequestParentFeedId.js +2 -1
  161. package/dist/schemas/createFeedRequestParentFeedId.js.map +1 -1
  162. package/dist/schemas/createPostRequest.js +2 -1
  163. package/dist/schemas/createPostRequestEvent.js +2 -1
  164. package/dist/schemas/createPostRequestPoll.js +2 -1
  165. package/dist/schemas/createPrivateMessageRequest.js +2 -1
  166. package/dist/schemas/createPrivateMessageRequest.js.map +1 -1
  167. package/dist/schemas/defaultError.js +2 -1
  168. package/dist/schemas/defaultError.js.map +1 -1
  169. package/dist/schemas/deleteCommentRequest.js +2 -1
  170. package/dist/schemas/deleteCommentRequest.js.map +1 -1
  171. package/dist/schemas/deleteCommunityRequest.js +2 -1
  172. package/dist/schemas/deleteCommunityRequest.js.map +1 -1
  173. package/dist/schemas/deleteFeedRequest.js +2 -1
  174. package/dist/schemas/deleteFeedRequest.js.map +1 -1
  175. package/dist/schemas/deletePostRequest.js +2 -1
  176. package/dist/schemas/deletePostRequest.js.map +1 -1
  177. package/dist/schemas/deletePrivateMessageRequest.js +2 -1
  178. package/dist/schemas/deletePrivateMessageRequest.js.map +1 -1
  179. package/dist/schemas/domainBlockRequest.js +2 -1
  180. package/dist/schemas/domainBlockRequest.js.map +1 -1
  181. package/dist/schemas/domainBlockResponse.js +2 -1
  182. package/dist/schemas/domainBlockResponse.js.map +1 -1
  183. package/dist/schemas/editCommentRequest.js +2 -1
  184. package/dist/schemas/editCommentRequest.js.map +1 -1
  185. package/dist/schemas/editCommunityRequest.js +2 -1
  186. package/dist/schemas/editCommunityRequestBannerUrl.js +2 -1
  187. package/dist/schemas/editCommunityRequestBannerUrl.js.map +1 -1
  188. package/dist/schemas/editCommunityRequestIconUrl.js +2 -1
  189. package/dist/schemas/editCommunityRequestIconUrl.js.map +1 -1
  190. package/dist/schemas/editFeedRequest.js +2 -1
  191. package/dist/schemas/editFeedRequestBannerUrl.js +2 -1
  192. package/dist/schemas/editFeedRequestBannerUrl.js.map +1 -1
  193. package/dist/schemas/editFeedRequestIconUrl.js +2 -1
  194. package/dist/schemas/editFeedRequestIconUrl.js.map +1 -1
  195. package/dist/schemas/editFeedRequestParentFeedId.js +2 -1
  196. package/dist/schemas/editFeedRequestParentFeedId.js.map +1 -1
  197. package/dist/schemas/editPostRequest.js +2 -1
  198. package/dist/schemas/editPostRequestAltText.js +2 -1
  199. package/dist/schemas/editPostRequestAltText.js.map +1 -1
  200. package/dist/schemas/editPostRequestEvent.js +2 -1
  201. package/dist/schemas/editPostRequestFlair.js +2 -1
  202. package/dist/schemas/editPostRequestFlair.js.map +1 -1
  203. package/dist/schemas/editPostRequestPoll.js +2 -1
  204. package/dist/schemas/editPostRequestTags.js +2 -1
  205. package/dist/schemas/editPostRequestTags.js.map +1 -1
  206. package/dist/schemas/editPostRequestUrl.js +2 -1
  207. package/dist/schemas/editPostRequestUrl.js.map +1 -1
  208. package/dist/schemas/editPrivateMessageRequest.js +2 -1
  209. package/dist/schemas/editPrivateMessageRequest.js.map +1 -1
  210. package/dist/schemas/error.js +2 -1
  211. package/dist/schemas/errorErrors.js +2 -1
  212. package/dist/schemas/errorErrors.js.map +1 -1
  213. package/dist/schemas/featurePostRequest.js +2 -1
  214. package/dist/schemas/featurePostRequestFeatureType.js +4 -1
  215. package/dist/schemas/featurePostRequestFeatureType.js.map +1 -1
  216. package/dist/schemas/federatedInstancesView.js +2 -1
  217. package/dist/schemas/feedListResponse.js +2 -1
  218. package/dist/schemas/feedView.js +2 -1
  219. package/dist/schemas/feedViewBanner.js +2 -1
  220. package/dist/schemas/feedViewBanner.js.map +1 -1
  221. package/dist/schemas/feedViewDescription.js +2 -1
  222. package/dist/schemas/feedViewDescription.js.map +1 -1
  223. package/dist/schemas/feedViewDescriptionHtml.js +2 -1
  224. package/dist/schemas/feedViewDescriptionHtml.js.map +1 -1
  225. package/dist/schemas/feedViewIcon.js +2 -1
  226. package/dist/schemas/feedViewIcon.js.map +1 -1
  227. package/dist/schemas/feedViewParentFeedId.js +2 -1
  228. package/dist/schemas/feedViewParentFeedId.js.map +1 -1
  229. package/dist/schemas/followCommunityRequest.js +2 -1
  230. package/dist/schemas/followCommunityRequest.js.map +1 -1
  231. package/dist/schemas/followFeedRequest.js +2 -1
  232. package/dist/schemas/followFeedRequest.js.map +1 -1
  233. package/dist/schemas/getApiAlphaAdminRegistrationApplicationListParams.js +2 -1
  234. package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.js +4 -1
  235. package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.js.map +1 -1
  236. package/dist/schemas/getApiAlphaCommentLikeListParams.js +2 -1
  237. package/dist/schemas/getApiAlphaCommentLikeListParams.js.map +1 -1
  238. package/dist/schemas/getApiAlphaCommentListParams.js +2 -1
  239. package/dist/schemas/getApiAlphaCommentListSort.js +4 -1
  240. package/dist/schemas/getApiAlphaCommentListSort.js.map +1 -1
  241. package/dist/schemas/getApiAlphaCommentParams.js +2 -1
  242. package/dist/schemas/getApiAlphaCommentParams.js.map +1 -1
  243. package/dist/schemas/getApiAlphaCommunityListParams.js +2 -1
  244. package/dist/schemas/getApiAlphaCommunityListSort.js +4 -1
  245. package/dist/schemas/getApiAlphaCommunityListSort.js.map +1 -1
  246. package/dist/schemas/getApiAlphaCommunityListType.js +4 -1
  247. package/dist/schemas/getApiAlphaCommunityListType.js.map +1 -1
  248. package/dist/schemas/getApiAlphaCommunityModerateBansParams.js +2 -1
  249. package/dist/schemas/getApiAlphaCommunityModerateBansParams.js.map +1 -1
  250. package/dist/schemas/getApiAlphaCommunityParams.js +2 -1
  251. package/dist/schemas/getApiAlphaCommunityParams.js.map +1 -1
  252. package/dist/schemas/getApiAlphaFeedListParams.js +2 -1
  253. package/dist/schemas/getApiAlphaFeedListParams.js.map +1 -1
  254. package/dist/schemas/getApiAlphaFeedParams.js +2 -1
  255. package/dist/schemas/getApiAlphaFeedParams.js.map +1 -1
  256. package/dist/schemas/getApiAlphaModlogParams.js +2 -1
  257. package/dist/schemas/getApiAlphaModlogType.js +4 -1
  258. package/dist/schemas/getApiAlphaModlogType.js.map +1 -1
  259. package/dist/schemas/getApiAlphaPostLikeListParams.js +2 -1
  260. package/dist/schemas/getApiAlphaPostLikeListParams.js.map +1 -1
  261. package/dist/schemas/getApiAlphaPostList2Params.js +2 -1
  262. package/dist/schemas/getApiAlphaPostList2Sort.js +4 -1
  263. package/dist/schemas/getApiAlphaPostList2Sort.js.map +1 -1
  264. package/dist/schemas/getApiAlphaPostList2Type.js +4 -1
  265. package/dist/schemas/getApiAlphaPostList2Type.js.map +1 -1
  266. package/dist/schemas/getApiAlphaPostListParams.js +2 -1
  267. package/dist/schemas/getApiAlphaPostListSort.js +4 -1
  268. package/dist/schemas/getApiAlphaPostListSort.js.map +1 -1
  269. package/dist/schemas/getApiAlphaPostListType.js +4 -1
  270. package/dist/schemas/getApiAlphaPostListType.js.map +1 -1
  271. package/dist/schemas/getApiAlphaPostParams.js +2 -1
  272. package/dist/schemas/getApiAlphaPostParams.js.map +1 -1
  273. package/dist/schemas/getApiAlphaPostRepliesParams.js +2 -1
  274. package/dist/schemas/getApiAlphaPostRepliesSort.js +4 -1
  275. package/dist/schemas/getApiAlphaPostRepliesSort.js.map +1 -1
  276. package/dist/schemas/getApiAlphaPostSiteMetadataParams.js +2 -1
  277. package/dist/schemas/getApiAlphaPostSiteMetadataParams.js.map +1 -1
  278. package/dist/schemas/getApiAlphaPrivateMessageConversationParams.js +2 -1
  279. package/dist/schemas/getApiAlphaPrivateMessageConversationParams.js.map +1 -1
  280. package/dist/schemas/getApiAlphaPrivateMessageListParams.js +2 -1
  281. package/dist/schemas/getApiAlphaPrivateMessageListParams.js.map +1 -1
  282. package/dist/schemas/getApiAlphaResolveObjectParams.js +2 -1
  283. package/dist/schemas/getApiAlphaResolveObjectParams.js.map +1 -1
  284. package/dist/schemas/getApiAlphaSearchListingType.js +4 -1
  285. package/dist/schemas/getApiAlphaSearchListingType.js.map +1 -1
  286. package/dist/schemas/getApiAlphaSearchNsfw.js +4 -1
  287. package/dist/schemas/getApiAlphaSearchNsfw.js.map +1 -1
  288. package/dist/schemas/getApiAlphaSearchParams.js +2 -1
  289. package/dist/schemas/getApiAlphaSearchSort.js +4 -1
  290. package/dist/schemas/getApiAlphaSearchSort.js.map +1 -1
  291. package/dist/schemas/getApiAlphaSearchType.js +4 -1
  292. package/dist/schemas/getApiAlphaSearchType.js.map +1 -1
  293. package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.js +2 -1
  294. package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.js.map +1 -1
  295. package/dist/schemas/getApiAlphaSuggestCompletionParams.js +2 -1
  296. package/dist/schemas/getApiAlphaSuggestCompletionParams.js.map +1 -1
  297. package/dist/schemas/getApiAlphaTopicListParams.js +2 -1
  298. package/dist/schemas/getApiAlphaTopicListParams.js.map +1 -1
  299. package/dist/schemas/getApiAlphaUserMediaParams.js +2 -1
  300. package/dist/schemas/getApiAlphaUserMediaSort.js +4 -1
  301. package/dist/schemas/getApiAlphaUserMediaSort.js.map +1 -1
  302. package/dist/schemas/getApiAlphaUserMentionsParams.js +2 -1
  303. package/dist/schemas/getApiAlphaUserMentionsSort.js +4 -1
  304. package/dist/schemas/getApiAlphaUserMentionsSort.js.map +1 -1
  305. package/dist/schemas/getApiAlphaUserNotificationsParams.js +2 -1
  306. package/dist/schemas/getApiAlphaUserNotificationsStatus.js +4 -1
  307. package/dist/schemas/getApiAlphaUserNotificationsStatus.js.map +1 -1
  308. package/dist/schemas/getApiAlphaUserParams.js +2 -1
  309. package/dist/schemas/getApiAlphaUserRepliesParams.js +2 -1
  310. package/dist/schemas/getApiAlphaUserRepliesSort.js +4 -1
  311. package/dist/schemas/getApiAlphaUserRepliesSort.js.map +1 -1
  312. package/dist/schemas/getApiAlphaUserSort.js +4 -1
  313. package/dist/schemas/getApiAlphaUserSort.js.map +1 -1
  314. package/dist/schemas/getCommentReplyResponse.js +2 -1
  315. package/dist/schemas/getCommentReportResponse.js +2 -1
  316. package/dist/schemas/getCommentResponse.js +2 -1
  317. package/dist/schemas/getCommunityResponse.js +2 -1
  318. package/dist/schemas/getFederatedInstancesResponse.js +2 -1
  319. package/dist/schemas/getModLogResponse.js +2 -1
  320. package/dist/schemas/getPostRepliesResponse.js +2 -1
  321. package/dist/schemas/getPostRepliesResponseNextPage.js +2 -1
  322. package/dist/schemas/getPostRepliesResponseNextPage.js.map +1 -1
  323. package/dist/schemas/getPostResponse.js +2 -1
  324. package/dist/schemas/getPrivateMessageConversationResponse.js +2 -1
  325. package/dist/schemas/getRegistrationListResponse.js +2 -1
  326. package/dist/schemas/getSiteInstanceChooserResponse.js +2 -1
  327. package/dist/schemas/getSiteInstanceChooserSearchResponse.js +2 -1
  328. package/dist/schemas/getSiteInstanceChooserSearchResponseItem.js +2 -1
  329. package/dist/schemas/getSiteInstanceChooserSearchResponseItem.js.map +1 -1
  330. package/dist/schemas/getSiteMetadataResponse.js +2 -1
  331. package/dist/schemas/getSiteResponse.js +2 -1
  332. package/dist/schemas/getSiteVersionResponse.js +2 -1
  333. package/dist/schemas/getSiteVersionResponse.js.map +1 -1
  334. package/dist/schemas/getSuggestCompletionResponse.js +2 -1
  335. package/dist/schemas/getSuggestCompletionResponse.js.map +1 -1
  336. package/dist/schemas/getUserResponse.js +2 -1
  337. package/dist/schemas/hidePostRequest.js +2 -1
  338. package/dist/schemas/hidePostRequest.js.map +1 -1
  339. package/dist/schemas/imageDeleteRequest.js +2 -1
  340. package/dist/schemas/imageDeleteRequest.js.map +1 -1
  341. package/dist/schemas/imageDeleteResponse.js +2 -1
  342. package/dist/schemas/imageDeleteResponse.js.map +1 -1
  343. package/dist/schemas/imageUploadRequest.js +2 -1
  344. package/dist/schemas/imageUploadRequest.js.map +1 -1
  345. package/dist/schemas/imageUploadResponse.js +2 -1
  346. package/dist/schemas/imageUploadResponse.js.map +1 -1
  347. package/dist/schemas/index.js +442 -426
  348. package/dist/schemas/index.js.map +1 -1
  349. package/dist/schemas/instance.js +2 -1
  350. package/dist/schemas/instance.js.map +1 -1
  351. package/dist/schemas/instanceBlockView.js +2 -1
  352. package/dist/schemas/instanceWithoutFederationState.js +2 -1
  353. package/dist/schemas/instanceWithoutFederationState.js.map +1 -1
  354. package/dist/schemas/languageView.js +2 -1
  355. package/dist/schemas/languageView.js.map +1 -1
  356. package/dist/schemas/leaveConversationRequest.js +2 -1
  357. package/dist/schemas/leaveConversationRequest.js.map +1 -1
  358. package/dist/schemas/likeCommentRequest.js +2 -1
  359. package/dist/schemas/likeCommentRequest.js.map +1 -1
  360. package/dist/schemas/likePostRequest.js +2 -1
  361. package/dist/schemas/likePostRequest.js.map +1 -1
  362. package/dist/schemas/listCommentLikesResponse.js +2 -1
  363. package/dist/schemas/listCommentLikesResponseNextPage.js +2 -1
  364. package/dist/schemas/listCommentLikesResponseNextPage.js.map +1 -1
  365. package/dist/schemas/listCommentsResponse.js +2 -1
  366. package/dist/schemas/listCommentsResponseNextPage.js +2 -1
  367. package/dist/schemas/listCommentsResponseNextPage.js.map +1 -1
  368. package/dist/schemas/listCommunitiesResponse.js +2 -1
  369. package/dist/schemas/listCommunitiesResponseNextPage.js +2 -1
  370. package/dist/schemas/listCommunitiesResponseNextPage.js.map +1 -1
  371. package/dist/schemas/listPostLikesResponse.js +2 -1
  372. package/dist/schemas/listPostLikesResponseNextPage.js +2 -1
  373. package/dist/schemas/listPostLikesResponseNextPage.js.map +1 -1
  374. package/dist/schemas/listPostsResponse.js +2 -1
  375. package/dist/schemas/listPostsResponseNextPage.js +2 -1
  376. package/dist/schemas/listPostsResponseNextPage.js.map +1 -1
  377. package/dist/schemas/listPrivateMessagesResponse.js +2 -1
  378. package/dist/schemas/localUser.js +2 -1
  379. package/dist/schemas/localUserAcceptPrivateMessages.js +4 -1
  380. package/dist/schemas/localUserAcceptPrivateMessages.js.map +1 -1
  381. package/dist/schemas/localUserAiVisibility.js +4 -1
  382. package/dist/schemas/localUserAiVisibility.js.map +1 -1
  383. package/dist/schemas/localUserBotVisibility.js +4 -1
  384. package/dist/schemas/localUserBotVisibility.js.map +1 -1
  385. package/dist/schemas/localUserDefaultCommentSortType.js +4 -1
  386. package/dist/schemas/localUserDefaultCommentSortType.js.map +1 -1
  387. package/dist/schemas/localUserDefaultListingType.js +4 -1
  388. package/dist/schemas/localUserDefaultListingType.js.map +1 -1
  389. package/dist/schemas/localUserDefaultSortType.js +4 -1
  390. package/dist/schemas/localUserDefaultSortType.js.map +1 -1
  391. package/dist/schemas/localUserNsflVisibility.js +4 -1
  392. package/dist/schemas/localUserNsflVisibility.js.map +1 -1
  393. package/dist/schemas/localUserNsfwVisibility.js +4 -1
  394. package/dist/schemas/localUserNsfwVisibility.js.map +1 -1
  395. package/dist/schemas/localUserView.js +2 -1
  396. package/dist/schemas/lockCommentRequest.js +2 -1
  397. package/dist/schemas/lockCommentRequest.js.map +1 -1
  398. package/dist/schemas/lockPostRequest.js +2 -1
  399. package/dist/schemas/lockPostRequest.js.map +1 -1
  400. package/dist/schemas/markCommentAsAnswerRequest.js +2 -1
  401. package/dist/schemas/markCommentAsAnswerRequest.js.map +1 -1
  402. package/dist/schemas/markCommentAsReadRequest.js +2 -1
  403. package/dist/schemas/markCommentAsReadRequest.js.map +1 -1
  404. package/dist/schemas/markPostAsReadRequest.js +2 -1
  405. package/dist/schemas/markPostAsReadRequest.js.map +1 -1
  406. package/dist/schemas/markPrivateMessageAsReadRequest.js +2 -1
  407. package/dist/schemas/markPrivateMessageAsReadRequest.js.map +1 -1
  408. package/dist/schemas/mediaView.js +2 -1
  409. package/dist/schemas/mediaView.js.map +1 -1
  410. package/dist/schemas/miniCrossPosts.js +2 -1
  411. package/dist/schemas/miniCrossPosts.js.map +1 -1
  412. package/dist/schemas/modAdd.js +2 -1
  413. package/dist/schemas/modAddCommunity.js +2 -1
  414. package/dist/schemas/modAddCommunityCommunityId.js +2 -1
  415. package/dist/schemas/modAddCommunityCommunityId.js.map +1 -1
  416. package/dist/schemas/modAddCommunityModPersonId.js +2 -1
  417. package/dist/schemas/modAddCommunityModPersonId.js.map +1 -1
  418. package/dist/schemas/modAddCommunityOtherPersonId.js +2 -1
  419. package/dist/schemas/modAddCommunityOtherPersonId.js.map +1 -1
  420. package/dist/schemas/modAddCommunityView.js +2 -1
  421. package/dist/schemas/modAddCommunityViewCommunity.js +2 -1
  422. package/dist/schemas/modAddCommunityViewModdedPerson.js +2 -1
  423. package/dist/schemas/modAddCommunityViewModerator.js +2 -1
  424. package/dist/schemas/modAddModPersonId.js +2 -1
  425. package/dist/schemas/modAddModPersonId.js.map +1 -1
  426. package/dist/schemas/modAddOtherPersonId.js +2 -1
  427. package/dist/schemas/modAddOtherPersonId.js.map +1 -1
  428. package/dist/schemas/modAddView.js +2 -1
  429. package/dist/schemas/modAddViewModdedPerson.js +2 -1
  430. package/dist/schemas/modAddViewModerator.js +2 -1
  431. package/dist/schemas/modBan.js +2 -1
  432. package/dist/schemas/modBanExpires.js +2 -1
  433. package/dist/schemas/modBanExpires.js.map +1 -1
  434. package/dist/schemas/modBanFromCommunity.js +2 -1
  435. package/dist/schemas/modBanFromCommunityCommunityId.js +2 -1
  436. package/dist/schemas/modBanFromCommunityCommunityId.js.map +1 -1
  437. package/dist/schemas/modBanFromCommunityExpires.js +2 -1
  438. package/dist/schemas/modBanFromCommunityExpires.js.map +1 -1
  439. package/dist/schemas/modBanFromCommunityModPersonId.js +2 -1
  440. package/dist/schemas/modBanFromCommunityModPersonId.js.map +1 -1
  441. package/dist/schemas/modBanFromCommunityOtherPersonId.js +2 -1
  442. package/dist/schemas/modBanFromCommunityOtherPersonId.js.map +1 -1
  443. package/dist/schemas/modBanFromCommunityReason.js +2 -1
  444. package/dist/schemas/modBanFromCommunityReason.js.map +1 -1
  445. package/dist/schemas/modBanFromCommunityView.js +2 -1
  446. package/dist/schemas/modBanFromCommunityViewBannedPerson.js +2 -1
  447. package/dist/schemas/modBanFromCommunityViewCommunity.js +2 -1
  448. package/dist/schemas/modBanFromCommunityViewModerator.js +2 -1
  449. package/dist/schemas/modBanModPersonId.js +2 -1
  450. package/dist/schemas/modBanModPersonId.js.map +1 -1
  451. package/dist/schemas/modBanOtherPersonId.js +2 -1
  452. package/dist/schemas/modBanOtherPersonId.js.map +1 -1
  453. package/dist/schemas/modBanReason.js +2 -1
  454. package/dist/schemas/modBanReason.js.map +1 -1
  455. package/dist/schemas/modBanView.js +2 -1
  456. package/dist/schemas/modBanViewBannedPerson.js +2 -1
  457. package/dist/schemas/modBanViewModerator.js +2 -1
  458. package/dist/schemas/modCommunityRequest.js +2 -1
  459. package/dist/schemas/modCommunityRequest.js.map +1 -1
  460. package/dist/schemas/modCommunityResponse.js +2 -1
  461. package/dist/schemas/modFeaturePost.js +2 -1
  462. package/dist/schemas/modFeaturePostModPersonId.js +2 -1
  463. package/dist/schemas/modFeaturePostModPersonId.js.map +1 -1
  464. package/dist/schemas/modFeaturePostPostId.js +2 -1
  465. package/dist/schemas/modFeaturePostPostId.js.map +1 -1
  466. package/dist/schemas/modFeaturePostView.js +2 -1
  467. package/dist/schemas/modFeaturePostViewCommunity.js +2 -1
  468. package/dist/schemas/modFeaturePostViewModerator.js +2 -1
  469. package/dist/schemas/modFeaturePostViewPost.js +2 -1
  470. package/dist/schemas/modHideCommunity.js +2 -1
  471. package/dist/schemas/modHideCommunityCommunityId.js +2 -1
  472. package/dist/schemas/modHideCommunityCommunityId.js.map +1 -1
  473. package/dist/schemas/modHideCommunityModPersonId.js +2 -1
  474. package/dist/schemas/modHideCommunityModPersonId.js.map +1 -1
  475. package/dist/schemas/modHideCommunityReason.js +2 -1
  476. package/dist/schemas/modHideCommunityReason.js.map +1 -1
  477. package/dist/schemas/modHideCommunityView.js +2 -1
  478. package/dist/schemas/modLockPost.js +2 -1
  479. package/dist/schemas/modLockPostModPersonId.js +2 -1
  480. package/dist/schemas/modLockPostModPersonId.js.map +1 -1
  481. package/dist/schemas/modLockPostPostId.js +2 -1
  482. package/dist/schemas/modLockPostPostId.js.map +1 -1
  483. package/dist/schemas/modLockPostView.js +2 -1
  484. package/dist/schemas/modLockPostViewCommunity.js +2 -1
  485. package/dist/schemas/modLockPostViewModerator.js +2 -1
  486. package/dist/schemas/modLockPostViewPost.js +2 -1
  487. package/dist/schemas/modRemoveComment.js +2 -1
  488. package/dist/schemas/modRemoveCommentCommentId.js +2 -1
  489. package/dist/schemas/modRemoveCommentCommentId.js.map +1 -1
  490. package/dist/schemas/modRemoveCommentModPersonId.js +2 -1
  491. package/dist/schemas/modRemoveCommentModPersonId.js.map +1 -1
  492. package/dist/schemas/modRemoveCommentReason.js +2 -1
  493. package/dist/schemas/modRemoveCommentReason.js.map +1 -1
  494. package/dist/schemas/modRemoveCommentView.js +2 -1
  495. package/dist/schemas/modRemoveCommentViewComment.js +2 -1
  496. package/dist/schemas/modRemoveCommentViewCommenter.js +2 -1
  497. package/dist/schemas/modRemoveCommentViewCommunity.js +2 -1
  498. package/dist/schemas/modRemoveCommentViewModerator.js +2 -1
  499. package/dist/schemas/modRemoveCommentViewPost.js +2 -1
  500. package/dist/schemas/modRemoveCommunity.js +2 -1
  501. package/dist/schemas/modRemoveCommunityCommunityId.js +2 -1
  502. package/dist/schemas/modRemoveCommunityCommunityId.js.map +1 -1
  503. package/dist/schemas/modRemoveCommunityModPersonId.js +2 -1
  504. package/dist/schemas/modRemoveCommunityModPersonId.js.map +1 -1
  505. package/dist/schemas/modRemoveCommunityReason.js +2 -1
  506. package/dist/schemas/modRemoveCommunityReason.js.map +1 -1
  507. package/dist/schemas/modRemoveCommunityView.js +2 -1
  508. package/dist/schemas/modRemoveCommunityViewCommunity.js +2 -1
  509. package/dist/schemas/modRemoveCommunityViewModerator.js +2 -1
  510. package/dist/schemas/modRemovePost.js +2 -1
  511. package/dist/schemas/modRemovePostModPersonId.js +2 -1
  512. package/dist/schemas/modRemovePostModPersonId.js.map +1 -1
  513. package/dist/schemas/modRemovePostPostId.js +2 -1
  514. package/dist/schemas/modRemovePostPostId.js.map +1 -1
  515. package/dist/schemas/modRemovePostReason.js +2 -1
  516. package/dist/schemas/modRemovePostReason.js.map +1 -1
  517. package/dist/schemas/modRemovePostView.js +2 -1
  518. package/dist/schemas/modRemovePostViewCommunity.js +2 -1
  519. package/dist/schemas/modRemovePostViewModerator.js +2 -1
  520. package/dist/schemas/modRemovePostViewPost.js +2 -1
  521. package/dist/schemas/modTransferCommunity.js +2 -1
  522. package/dist/schemas/modTransferCommunityCommunityId.js +2 -1
  523. package/dist/schemas/modTransferCommunityCommunityId.js.map +1 -1
  524. package/dist/schemas/modTransferCommunityModPersonId.js +2 -1
  525. package/dist/schemas/modTransferCommunityModPersonId.js.map +1 -1
  526. package/dist/schemas/modTransferCommunityOtherPersonId.js +2 -1
  527. package/dist/schemas/modTransferCommunityOtherPersonId.js.map +1 -1
  528. package/dist/schemas/modTransferCommunityView.js +2 -1
  529. package/dist/schemas/modTransferCommunityViewModdedPerson.js +2 -1
  530. package/dist/schemas/modTransferCommunityViewModerator.js +2 -1
  531. package/dist/schemas/myUserInfo.js +2 -1
  532. package/dist/schemas/newUserExtraField.js +2 -1
  533. package/dist/schemas/newUserExtraFieldId.js +2 -1
  534. package/dist/schemas/newUserExtraFieldId.js.map +1 -1
  535. package/dist/schemas/newUserExtraFieldLabel.js +2 -1
  536. package/dist/schemas/newUserExtraFieldLabel.js.map +1 -1
  537. package/dist/schemas/newUserExtraFieldText.js +2 -1
  538. package/dist/schemas/newUserExtraFieldText.js.map +1 -1
  539. package/dist/schemas/paginationMetadata.js +2 -1
  540. package/dist/schemas/paginationMetadata.js.map +1 -1
  541. package/dist/schemas/person.js +2 -1
  542. package/dist/schemas/personAggregates.js +2 -1
  543. package/dist/schemas/personAggregates.js.map +1 -1
  544. package/dist/schemas/personAvatar.js +2 -1
  545. package/dist/schemas/personAvatar.js.map +1 -1
  546. package/dist/schemas/personBanner.js +2 -1
  547. package/dist/schemas/personBanner.js.map +1 -1
  548. package/dist/schemas/personBlockView.js +2 -1
  549. package/dist/schemas/personTitle.js +2 -1
  550. package/dist/schemas/personTitle.js.map +1 -1
  551. package/dist/schemas/personView.js +2 -1
  552. package/dist/schemas/pollChoice.js +2 -1
  553. package/dist/schemas/pollChoice.js.map +1 -1
  554. package/dist/schemas/pollVoteRequest.js +2 -1
  555. package/dist/schemas/pollVoteRequest.js.map +1 -1
  556. package/dist/schemas/pollVoteResponse.js +2 -1
  557. package/dist/schemas/post.js +2 -1
  558. package/dist/schemas/postAggregates.js +2 -1
  559. package/dist/schemas/postAggregates.js.map +1 -1
  560. package/dist/schemas/postEmojiReactions.js +2 -1
  561. package/dist/schemas/postEvent.js +2 -1
  562. package/dist/schemas/postEventBuyTicketsLink.js +2 -1
  563. package/dist/schemas/postEventBuyTicketsLink.js.map +1 -1
  564. package/dist/schemas/postEventExternalParticipationUrl.js +2 -1
  565. package/dist/schemas/postEventExternalParticipationUrl.js.map +1 -1
  566. package/dist/schemas/postEventLocation.js +2 -1
  567. package/dist/schemas/postEventLocationAnyOf.js +2 -1
  568. package/dist/schemas/postEventLocationAnyOf.js.map +1 -1
  569. package/dist/schemas/postEventOnlineLink.js +2 -1
  570. package/dist/schemas/postEventOnlineLink.js.map +1 -1
  571. package/dist/schemas/postFlair.js +2 -1
  572. package/dist/schemas/postFlair.js.map +1 -1
  573. package/dist/schemas/postLikeView.js +2 -1
  574. package/dist/schemas/postPoll.js +2 -1
  575. package/dist/schemas/postPollMode.js +4 -1
  576. package/dist/schemas/postPollMode.js.map +1 -1
  577. package/dist/schemas/postPostType.js +4 -1
  578. package/dist/schemas/postPostType.js.map +1 -1
  579. package/dist/schemas/postReplyView.js +2 -1
  580. package/dist/schemas/postReplyViewSubscribed.js +4 -1
  581. package/dist/schemas/postReplyViewSubscribed.js.map +1 -1
  582. package/dist/schemas/postReport.js +2 -1
  583. package/dist/schemas/postReport.js.map +1 -1
  584. package/dist/schemas/postReportResponse.js +2 -1
  585. package/dist/schemas/postReportView.js +2 -1
  586. package/dist/schemas/postReportViewSubscribed.js +4 -1
  587. package/dist/schemas/postReportViewSubscribed.js.map +1 -1
  588. package/dist/schemas/postSetFlairRequest.js +2 -1
  589. package/dist/schemas/postSetFlairRequestFlairIdList.js +2 -1
  590. package/dist/schemas/postSetFlairRequestFlairIdList.js.map +1 -1
  591. package/dist/schemas/postSetFlairResponse.js +2 -1
  592. package/dist/schemas/postSetFlairResponseSubscribed.js +4 -1
  593. package/dist/schemas/postSetFlairResponseSubscribed.js.map +1 -1
  594. package/dist/schemas/postTags.js +2 -1
  595. package/dist/schemas/postTags.js.map +1 -1
  596. package/dist/schemas/postView.js +2 -1
  597. package/dist/schemas/postViewSubscribed.js +4 -1
  598. package/dist/schemas/postViewSubscribed.js.map +1 -1
  599. package/dist/schemas/privateMessage.js +2 -1
  600. package/dist/schemas/privateMessage.js.map +1 -1
  601. package/dist/schemas/privateMessageResponse.js +2 -1
  602. package/dist/schemas/privateMessageView.js +2 -1
  603. package/dist/schemas/reactions.js +2 -1
  604. package/dist/schemas/reactionsUrl.js +2 -1
  605. package/dist/schemas/reactionsUrl.js.map +1 -1
  606. package/dist/schemas/registrationApproveRequest.js +2 -1
  607. package/dist/schemas/registrationApproveRequest.js.map +1 -1
  608. package/dist/schemas/removeCommentRequest.js +2 -1
  609. package/dist/schemas/removeCommentRequest.js.map +1 -1
  610. package/dist/schemas/removePostRequest.js +2 -1
  611. package/dist/schemas/removePostRequest.js.map +1 -1
  612. package/dist/schemas/reportCommentRequest.js +2 -1
  613. package/dist/schemas/reportCommentRequest.js.map +1 -1
  614. package/dist/schemas/reportPostRequest.js +2 -1
  615. package/dist/schemas/reportPostRequest.js.map +1 -1
  616. package/dist/schemas/reportPrivateMessageRequest.js +2 -1
  617. package/dist/schemas/reportPrivateMessageRequest.js.map +1 -1
  618. package/dist/schemas/resolveObjectResponse.js +2 -1
  619. package/dist/schemas/saveCommentRequest.js +2 -1
  620. package/dist/schemas/saveCommentRequest.js.map +1 -1
  621. package/dist/schemas/savePostRequest.js +2 -1
  622. package/dist/schemas/savePostRequest.js.map +1 -1
  623. package/dist/schemas/searchResponse.js +2 -1
  624. package/dist/schemas/searchResponseType.js +4 -1
  625. package/dist/schemas/searchResponseType.js.map +1 -1
  626. package/dist/schemas/site.js +2 -1
  627. package/dist/schemas/siteIcon.js +2 -1
  628. package/dist/schemas/siteIcon.js.map +1 -1
  629. package/dist/schemas/siteMetadataView.js +2 -1
  630. package/dist/schemas/siteMetadataView.js.map +1 -1
  631. package/dist/schemas/siteRegistrationMode.js +4 -1
  632. package/dist/schemas/siteRegistrationMode.js.map +1 -1
  633. package/dist/schemas/subscribeCommentRequest.js +2 -1
  634. package/dist/schemas/subscribeCommentRequest.js.map +1 -1
  635. package/dist/schemas/subscribeCommunityRequest.js +2 -1
  636. package/dist/schemas/subscribeCommunityRequest.js.map +1 -1
  637. package/dist/schemas/subscribePostRequest.js +2 -1
  638. package/dist/schemas/subscribePostRequest.js.map +1 -1
  639. package/dist/schemas/successResponse.js +2 -1
  640. package/dist/schemas/successResponse.js.map +1 -1
  641. package/dist/schemas/topicListResponse.js +2 -1
  642. package/dist/schemas/topicView.js +2 -1
  643. package/dist/schemas/topicViewParentTopicId.js +2 -1
  644. package/dist/schemas/topicViewParentTopicId.js.map +1 -1
  645. package/dist/schemas/unprocessableEntityResponse.js +2 -1
  646. package/dist/schemas/userBanRequest.js +2 -1
  647. package/dist/schemas/userBanRequestBanIpAddress.js +2 -1
  648. package/dist/schemas/userBanRequestBanIpAddress.js.map +1 -1
  649. package/dist/schemas/userBanRequestPurgeContent.js +2 -1
  650. package/dist/schemas/userBanRequestPurgeContent.js.map +1 -1
  651. package/dist/schemas/userBanRequestReason.js +2 -1
  652. package/dist/schemas/userBanRequestReason.js.map +1 -1
  653. package/dist/schemas/userBanResponse.js +2 -1
  654. package/dist/schemas/userBlockRequest.js +2 -1
  655. package/dist/schemas/userBlockRequest.js.map +1 -1
  656. package/dist/schemas/userBlockResponse.js +2 -1
  657. package/dist/schemas/userExtraField.js +2 -1
  658. package/dist/schemas/userExtraField.js.map +1 -1
  659. package/dist/schemas/userLoginRequest.js +2 -1
  660. package/dist/schemas/userLoginRequest.js.map +1 -1
  661. package/dist/schemas/userLoginResponse.js +2 -1
  662. package/dist/schemas/userLoginResponse.js.map +1 -1
  663. package/dist/schemas/userMarkAllNotifsReadResponse.js +2 -1
  664. package/dist/schemas/userMarkAllNotifsReadResponse.js.map +1 -1
  665. package/dist/schemas/userMarkAllReadResponse.js +2 -1
  666. package/dist/schemas/userMeResponse.js +2 -1
  667. package/dist/schemas/userMediaResponse.js +2 -1
  668. package/dist/schemas/userMediaResponseNextPage.js +2 -1
  669. package/dist/schemas/userMediaResponseNextPage.js.map +1 -1
  670. package/dist/schemas/userMentionsResponse.js +2 -1
  671. package/dist/schemas/userMentionsResponseNextPage.js +2 -1
  672. package/dist/schemas/userMentionsResponseNextPage.js.map +1 -1
  673. package/dist/schemas/userNotificationItemView.js +2 -1
  674. package/dist/schemas/userNotificationItemViewStatus.js +4 -1
  675. package/dist/schemas/userNotificationItemViewStatus.js.map +1 -1
  676. package/dist/schemas/userNotificationStateRequest.js +2 -1
  677. package/dist/schemas/userNotificationStateRequest.js.map +1 -1
  678. package/dist/schemas/userNotificationsCountResponse.js +2 -1
  679. package/dist/schemas/userNotificationsCountResponse.js.map +1 -1
  680. package/dist/schemas/userNotificationsCounts.js +2 -1
  681. package/dist/schemas/userNotificationsCounts.js.map +1 -1
  682. package/dist/schemas/userNotificationsResponse.js +2 -1
  683. package/dist/schemas/userNotificationsResponseNextPage.js +2 -1
  684. package/dist/schemas/userNotificationsResponseNextPage.js.map +1 -1
  685. package/dist/schemas/userNotificationsResponseStatus.js +4 -1
  686. package/dist/schemas/userNotificationsResponseStatus.js.map +1 -1
  687. package/dist/schemas/userRegistration.js +2 -1
  688. package/dist/schemas/userRegistrationAnswer.js +2 -1
  689. package/dist/schemas/userRegistrationAnswer.js.map +1 -1
  690. package/dist/schemas/userRegistrationEmail.js +2 -1
  691. package/dist/schemas/userRegistrationEmail.js.map +1 -1
  692. package/dist/schemas/userRegistrationIpAddress.js +2 -1
  693. package/dist/schemas/userRegistrationIpAddress.js.map +1 -1
  694. package/dist/schemas/userRegistrationStatus.js +4 -1
  695. package/dist/schemas/userRegistrationStatus.js.map +1 -1
  696. package/dist/schemas/userRepliesResponse.js +2 -1
  697. package/dist/schemas/userRepliesResponseNextPage.js +2 -1
  698. package/dist/schemas/userRepliesResponseNextPage.js.map +1 -1
  699. package/dist/schemas/userSaveSettingsRequest.js +2 -1
  700. package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.js +4 -1
  701. package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.js.map +1 -1
  702. package/dist/schemas/userSaveSettingsRequestAvatar.js +2 -1
  703. package/dist/schemas/userSaveSettingsRequestAvatar.js.map +1 -1
  704. package/dist/schemas/userSaveSettingsRequestBotVisibility.js +4 -1
  705. package/dist/schemas/userSaveSettingsRequestBotVisibility.js.map +1 -1
  706. package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.js +2 -1
  707. package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.js.map +1 -1
  708. package/dist/schemas/userSaveSettingsRequestCover.js +2 -1
  709. package/dist/schemas/userSaveSettingsRequestCover.js.map +1 -1
  710. package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.js +4 -1
  711. package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.js.map +1 -1
  712. package/dist/schemas/userSaveSettingsRequestDefaultSortType.js +4 -1
  713. package/dist/schemas/userSaveSettingsRequestDefaultSortType.js.map +1 -1
  714. package/dist/schemas/userSaveSettingsRequestGenaiVisibility.js +4 -1
  715. package/dist/schemas/userSaveSettingsRequestGenaiVisibility.js.map +1 -1
  716. package/dist/schemas/userSaveSettingsRequestNsflVisibility.js +4 -1
  717. package/dist/schemas/userSaveSettingsRequestNsflVisibility.js.map +1 -1
  718. package/dist/schemas/userSaveSettingsRequestNsfwVisibility.js +4 -1
  719. package/dist/schemas/userSaveSettingsRequestNsfwVisibility.js.map +1 -1
  720. package/dist/schemas/userSaveSettingsResponse.js +2 -1
  721. package/dist/schemas/userSetFlairRequest.js +2 -1
  722. package/dist/schemas/userSetFlairRequestFlairText.js +2 -1
  723. package/dist/schemas/userSetFlairRequestFlairText.js.map +1 -1
  724. package/dist/schemas/userSetFlairResponse.js +2 -1
  725. package/dist/schemas/userSetNoteRequest.js +2 -1
  726. package/dist/schemas/userSetNoteRequestNote.js +2 -1
  727. package/dist/schemas/userSetNoteRequestNote.js.map +1 -1
  728. package/dist/schemas/userSetNoteResponse.js +2 -1
  729. package/dist/schemas/userSubscribeRequest.js +2 -1
  730. package/dist/schemas/userSubscribeRequest.js.map +1 -1
  731. package/dist/schemas/userSubscribeResponse.js +2 -1
  732. package/dist/schemas/userUnbanRequest.js +2 -1
  733. package/dist/schemas/userUnbanRequest.js.map +1 -1
  734. package/dist/schemas/userUnreadCountsResponse.js +2 -1
  735. package/dist/schemas/userUnreadCountsResponse.js.map +1 -1
  736. package/dist/schemas/widthHeight.js +2 -1
  737. package/dist/schemas/widthHeight.js.map +1 -1
  738. package/dist/zod/admin/admin.js +52 -16
  739. package/dist/zod/admin/admin.js.map +1 -1
  740. package/dist/zod/comment/comment.js +280 -241
  741. package/dist/zod/comment/comment.js.map +1 -1
  742. package/dist/zod/community/community.js +158 -121
  743. package/dist/zod/community/community.js.map +1 -1
  744. package/dist/zod/feed/feed.js +54 -18
  745. package/dist/zod/feed/feed.js.map +1 -1
  746. package/dist/zod/misc/misc.js +246 -208
  747. package/dist/zod/misc/misc.js.map +1 -1
  748. package/dist/zod/post/post.js +578 -534
  749. package/dist/zod/post/post.js.map +1 -1
  750. package/dist/zod/private-message/private-message.js +112 -76
  751. package/dist/zod/private-message/private-message.js.map +1 -1
  752. package/dist/zod/site/site.js +76 -40
  753. package/dist/zod/site/site.js.map +1 -1
  754. package/dist/zod/topic/topic.js +41 -5
  755. package/dist/zod/topic/topic.js.map +1 -1
  756. package/dist/zod/upload/upload.js +45 -9
  757. package/dist/zod/upload/upload.js.map +1 -1
  758. package/dist/zod/user/user.js +351 -311
  759. package/dist/zod/user/user.js.map +1 -1
  760. package/dist/zod-index.js +27 -11
  761. package/dist/zod-index.js.map +1 -1
  762. package/package.json +7 -4
  763. package/src/__tests__/create-client.test.ts +317 -0
  764. package/src/client/admin/admin.ts +5 -55
  765. package/src/client/comment/comment.ts +29 -372
  766. package/src/client/community/community.ts +34 -444
  767. package/src/client/feed/feed.ts +13 -164
  768. package/src/client/misc/misc.ts +11 -133
  769. package/src/client/post/post.ts +41 -528
  770. package/src/client/private-message/private-message.ts +17 -216
  771. package/src/client/site/site.ts +11 -118
  772. package/src/client/topic/topic.ts +3 -29
  773. package/src/client/upload/upload.ts +9 -127
  774. package/src/client/user/user.ts +42 -528
  775. package/src/create-client.ts +35 -19
  776. package/src/index.ts +1 -14
  777. package/src/mutator/custom-fetch.ts +20 -6
@@ -6,7 +6,6 @@
6
6
  */
7
7
  import type {
8
8
  CreateCommentRequest,
9
- DefaultError,
10
9
  DeleteCommentRequest,
11
10
  EditCommentRequest,
12
11
  GetApiAlphaCommentLikeListParams,
@@ -24,8 +23,7 @@ import type {
24
23
  RemoveCommentRequest,
25
24
  ReportCommentRequest,
26
25
  SaveCommentRequest,
27
- SubscribeCommentRequest,
28
- UnprocessableEntityResponse
26
+ SubscribeCommentRequest
29
27
  } from '../../schemas';
30
28
 
31
29
  import { customFetch } from '../../mutator/custom-fetch';
@@ -33,30 +31,6 @@ import { customFetch } from '../../mutator/custom-fetch';
33
31
  /**
34
32
  * @summary List comments, with various filters.
35
33
  */
36
- export type getApiAlphaCommentListResponse200 = {
37
- data: ListCommentsResponse
38
- status: 200
39
- }
40
-
41
- export type getApiAlphaCommentListResponse400 = {
42
- data: DefaultError
43
- status: 400
44
- }
45
-
46
- export type getApiAlphaCommentListResponse422 = {
47
- data: UnprocessableEntityResponse
48
- status: 422
49
- }
50
-
51
- export type getApiAlphaCommentListResponseSuccess = (getApiAlphaCommentListResponse200) & {
52
- headers: Headers;
53
- };
54
- export type getApiAlphaCommentListResponseError = (getApiAlphaCommentListResponse400 | getApiAlphaCommentListResponse422) & {
55
- headers: Headers;
56
- };
57
-
58
- export type getApiAlphaCommentListResponse = (getApiAlphaCommentListResponseSuccess | getApiAlphaCommentListResponseError)
59
-
60
34
  export const getGetApiAlphaCommentListUrl = (params?: GetApiAlphaCommentListParams,) => {
61
35
  const normalizedParams = new URLSearchParams();
62
36
 
@@ -72,9 +46,9 @@ export const getGetApiAlphaCommentListUrl = (params?: GetApiAlphaCommentListPara
72
46
  return stringifiedParams.length > 0 ? `/api/alpha/comment/list?${stringifiedParams}` : `/api/alpha/comment/list`
73
47
  }
74
48
 
75
- export const getApiAlphaCommentList = async (params?: GetApiAlphaCommentListParams, options?: RequestInit): Promise<getApiAlphaCommentListResponse> => {
49
+ export const getApiAlphaCommentList = async (params?: GetApiAlphaCommentListParams, options?: RequestInit): Promise<ListCommentsResponse> => {
76
50
 
77
- return customFetch<getApiAlphaCommentListResponse>(getGetApiAlphaCommentListUrl(params),
51
+ return customFetch<ListCommentsResponse>(getGetApiAlphaCommentListUrl(params),
78
52
  {
79
53
  ...options,
80
54
  method: 'GET'
@@ -87,30 +61,6 @@ export const getApiAlphaCommentList = async (params?: GetApiAlphaCommentListPara
87
61
  /**
88
62
  * @summary Like / vote on a comment.
89
63
  */
90
- export type postApiAlphaCommentLikeResponse200 = {
91
- data: GetCommentResponse
92
- status: 200
93
- }
94
-
95
- export type postApiAlphaCommentLikeResponse400 = {
96
- data: DefaultError
97
- status: 400
98
- }
99
-
100
- export type postApiAlphaCommentLikeResponse422 = {
101
- data: UnprocessableEntityResponse
102
- status: 422
103
- }
104
-
105
- export type postApiAlphaCommentLikeResponseSuccess = (postApiAlphaCommentLikeResponse200) & {
106
- headers: Headers;
107
- };
108
- export type postApiAlphaCommentLikeResponseError = (postApiAlphaCommentLikeResponse400 | postApiAlphaCommentLikeResponse422) & {
109
- headers: Headers;
110
- };
111
-
112
- export type postApiAlphaCommentLikeResponse = (postApiAlphaCommentLikeResponseSuccess | postApiAlphaCommentLikeResponseError)
113
-
114
64
  export const getPostApiAlphaCommentLikeUrl = () => {
115
65
 
116
66
 
@@ -119,9 +69,9 @@ export const getPostApiAlphaCommentLikeUrl = () => {
119
69
  return `/api/alpha/comment/like`
120
70
  }
121
71
 
122
- export const postApiAlphaCommentLike = async (likeCommentRequest: LikeCommentRequest, options?: RequestInit): Promise<postApiAlphaCommentLikeResponse> => {
72
+ export const postApiAlphaCommentLike = async (likeCommentRequest: LikeCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
123
73
 
124
- return customFetch<postApiAlphaCommentLikeResponse>(getPostApiAlphaCommentLikeUrl(),
74
+ return customFetch<GetCommentResponse>(getPostApiAlphaCommentLikeUrl(),
125
75
  {
126
76
  ...options,
127
77
  method: 'POST',
@@ -135,30 +85,6 @@ export const postApiAlphaCommentLike = async (likeCommentRequest: LikeCommentReq
135
85
  /**
136
86
  * @summary Save a comment.
137
87
  */
138
- export type putApiAlphaCommentSaveResponse200 = {
139
- data: GetCommentResponse
140
- status: 200
141
- }
142
-
143
- export type putApiAlphaCommentSaveResponse400 = {
144
- data: DefaultError
145
- status: 400
146
- }
147
-
148
- export type putApiAlphaCommentSaveResponse422 = {
149
- data: UnprocessableEntityResponse
150
- status: 422
151
- }
152
-
153
- export type putApiAlphaCommentSaveResponseSuccess = (putApiAlphaCommentSaveResponse200) & {
154
- headers: Headers;
155
- };
156
- export type putApiAlphaCommentSaveResponseError = (putApiAlphaCommentSaveResponse400 | putApiAlphaCommentSaveResponse422) & {
157
- headers: Headers;
158
- };
159
-
160
- export type putApiAlphaCommentSaveResponse = (putApiAlphaCommentSaveResponseSuccess | putApiAlphaCommentSaveResponseError)
161
-
162
88
  export const getPutApiAlphaCommentSaveUrl = () => {
163
89
 
164
90
 
@@ -167,9 +93,9 @@ export const getPutApiAlphaCommentSaveUrl = () => {
167
93
  return `/api/alpha/comment/save`
168
94
  }
169
95
 
170
- export const putApiAlphaCommentSave = async (saveCommentRequest: SaveCommentRequest, options?: RequestInit): Promise<putApiAlphaCommentSaveResponse> => {
96
+ export const putApiAlphaCommentSave = async (saveCommentRequest: SaveCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
171
97
 
172
- return customFetch<putApiAlphaCommentSaveResponse>(getPutApiAlphaCommentSaveUrl(),
98
+ return customFetch<GetCommentResponse>(getPutApiAlphaCommentSaveUrl(),
173
99
  {
174
100
  ...options,
175
101
  method: 'PUT',
@@ -183,30 +109,6 @@ export const putApiAlphaCommentSave = async (saveCommentRequest: SaveCommentRequ
183
109
  /**
184
110
  * @summary Subscribe to a comment.
185
111
  */
186
- export type putApiAlphaCommentSubscribeResponse200 = {
187
- data: GetCommentResponse
188
- status: 200
189
- }
190
-
191
- export type putApiAlphaCommentSubscribeResponse400 = {
192
- data: DefaultError
193
- status: 400
194
- }
195
-
196
- export type putApiAlphaCommentSubscribeResponse422 = {
197
- data: UnprocessableEntityResponse
198
- status: 422
199
- }
200
-
201
- export type putApiAlphaCommentSubscribeResponseSuccess = (putApiAlphaCommentSubscribeResponse200) & {
202
- headers: Headers;
203
- };
204
- export type putApiAlphaCommentSubscribeResponseError = (putApiAlphaCommentSubscribeResponse400 | putApiAlphaCommentSubscribeResponse422) & {
205
- headers: Headers;
206
- };
207
-
208
- export type putApiAlphaCommentSubscribeResponse = (putApiAlphaCommentSubscribeResponseSuccess | putApiAlphaCommentSubscribeResponseError)
209
-
210
112
  export const getPutApiAlphaCommentSubscribeUrl = () => {
211
113
 
212
114
 
@@ -215,9 +117,9 @@ export const getPutApiAlphaCommentSubscribeUrl = () => {
215
117
  return `/api/alpha/comment/subscribe`
216
118
  }
217
119
 
218
- export const putApiAlphaCommentSubscribe = async (subscribeCommentRequest: SubscribeCommentRequest, options?: RequestInit): Promise<putApiAlphaCommentSubscribeResponse> => {
120
+ export const putApiAlphaCommentSubscribe = async (subscribeCommentRequest: SubscribeCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
219
121
 
220
- return customFetch<putApiAlphaCommentSubscribeResponse>(getPutApiAlphaCommentSubscribeUrl(),
122
+ return customFetch<GetCommentResponse>(getPutApiAlphaCommentSubscribeUrl(),
221
123
  {
222
124
  ...options,
223
125
  method: 'PUT',
@@ -231,35 +133,6 @@ export const putApiAlphaCommentSubscribe = async (subscribeCommentRequest: Subsc
231
133
  /**
232
134
  * @summary Create a comment.
233
135
  */
234
- export type postApiAlphaCommentResponse200 = {
235
- data: GetCommentResponse
236
- status: 200
237
- }
238
-
239
- export type postApiAlphaCommentResponse400 = {
240
- data: DefaultError
241
- status: 400
242
- }
243
-
244
- export type postApiAlphaCommentResponse422 = {
245
- data: UnprocessableEntityResponse
246
- status: 422
247
- }
248
-
249
- export type postApiAlphaCommentResponse429 = {
250
- data: DefaultError
251
- status: 429
252
- }
253
-
254
- export type postApiAlphaCommentResponseSuccess = (postApiAlphaCommentResponse200) & {
255
- headers: Headers;
256
- };
257
- export type postApiAlphaCommentResponseError = (postApiAlphaCommentResponse400 | postApiAlphaCommentResponse422 | postApiAlphaCommentResponse429) & {
258
- headers: Headers;
259
- };
260
-
261
- export type postApiAlphaCommentResponse = (postApiAlphaCommentResponseSuccess | postApiAlphaCommentResponseError)
262
-
263
136
  export const getPostApiAlphaCommentUrl = () => {
264
137
 
265
138
 
@@ -268,9 +141,9 @@ export const getPostApiAlphaCommentUrl = () => {
268
141
  return `/api/alpha/comment`
269
142
  }
270
143
 
271
- export const postApiAlphaComment = async (createCommentRequest: CreateCommentRequest, options?: RequestInit): Promise<postApiAlphaCommentResponse> => {
144
+ export const postApiAlphaComment = async (createCommentRequest: CreateCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
272
145
 
273
- return customFetch<postApiAlphaCommentResponse>(getPostApiAlphaCommentUrl(),
146
+ return customFetch<GetCommentResponse>(getPostApiAlphaCommentUrl(),
274
147
  {
275
148
  ...options,
276
149
  method: 'POST',
@@ -284,30 +157,6 @@ export const postApiAlphaComment = async (createCommentRequest: CreateCommentReq
284
157
  /**
285
158
  * @summary Edit a comment.
286
159
  */
287
- export type putApiAlphaCommentResponse200 = {
288
- data: GetCommentResponse
289
- status: 200
290
- }
291
-
292
- export type putApiAlphaCommentResponse400 = {
293
- data: DefaultError
294
- status: 400
295
- }
296
-
297
- export type putApiAlphaCommentResponse422 = {
298
- data: UnprocessableEntityResponse
299
- status: 422
300
- }
301
-
302
- export type putApiAlphaCommentResponseSuccess = (putApiAlphaCommentResponse200) & {
303
- headers: Headers;
304
- };
305
- export type putApiAlphaCommentResponseError = (putApiAlphaCommentResponse400 | putApiAlphaCommentResponse422) & {
306
- headers: Headers;
307
- };
308
-
309
- export type putApiAlphaCommentResponse = (putApiAlphaCommentResponseSuccess | putApiAlphaCommentResponseError)
310
-
311
160
  export const getPutApiAlphaCommentUrl = () => {
312
161
 
313
162
 
@@ -316,9 +165,9 @@ export const getPutApiAlphaCommentUrl = () => {
316
165
  return `/api/alpha/comment`
317
166
  }
318
167
 
319
- export const putApiAlphaComment = async (editCommentRequest: EditCommentRequest, options?: RequestInit): Promise<putApiAlphaCommentResponse> => {
168
+ export const putApiAlphaComment = async (editCommentRequest: EditCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
320
169
 
321
- return customFetch<putApiAlphaCommentResponse>(getPutApiAlphaCommentUrl(),
170
+ return customFetch<GetCommentResponse>(getPutApiAlphaCommentUrl(),
322
171
  {
323
172
  ...options,
324
173
  method: 'PUT',
@@ -332,30 +181,6 @@ export const putApiAlphaComment = async (editCommentRequest: EditCommentRequest,
332
181
  /**
333
182
  * @summary Get / fetch a comment.
334
183
  */
335
- export type getApiAlphaCommentResponse200 = {
336
- data: GetCommentResponse
337
- status: 200
338
- }
339
-
340
- export type getApiAlphaCommentResponse400 = {
341
- data: DefaultError
342
- status: 400
343
- }
344
-
345
- export type getApiAlphaCommentResponse422 = {
346
- data: UnprocessableEntityResponse
347
- status: 422
348
- }
349
-
350
- export type getApiAlphaCommentResponseSuccess = (getApiAlphaCommentResponse200) & {
351
- headers: Headers;
352
- };
353
- export type getApiAlphaCommentResponseError = (getApiAlphaCommentResponse400 | getApiAlphaCommentResponse422) & {
354
- headers: Headers;
355
- };
356
-
357
- export type getApiAlphaCommentResponse = (getApiAlphaCommentResponseSuccess | getApiAlphaCommentResponseError)
358
-
359
184
  export const getGetApiAlphaCommentUrl = (params: GetApiAlphaCommentParams,) => {
360
185
  const normalizedParams = new URLSearchParams();
361
186
 
@@ -371,9 +196,9 @@ export const getGetApiAlphaCommentUrl = (params: GetApiAlphaCommentParams,) => {
371
196
  return stringifiedParams.length > 0 ? `/api/alpha/comment?${stringifiedParams}` : `/api/alpha/comment`
372
197
  }
373
198
 
374
- export const getApiAlphaComment = async (params: GetApiAlphaCommentParams, options?: RequestInit): Promise<getApiAlphaCommentResponse> => {
199
+ export const getApiAlphaComment = async (params: GetApiAlphaCommentParams, options?: RequestInit): Promise<GetCommentResponse> => {
375
200
 
376
- return customFetch<getApiAlphaCommentResponse>(getGetApiAlphaCommentUrl(params),
201
+ return customFetch<GetCommentResponse>(getGetApiAlphaCommentUrl(params),
377
202
  {
378
203
  ...options,
379
204
  method: 'GET'
@@ -386,30 +211,6 @@ export const getApiAlphaComment = async (params: GetApiAlphaCommentParams, optio
386
211
  /**
387
212
  * @summary Delete a comment.
388
213
  */
389
- export type postApiAlphaCommentDeleteResponse200 = {
390
- data: GetCommentResponse
391
- status: 200
392
- }
393
-
394
- export type postApiAlphaCommentDeleteResponse400 = {
395
- data: DefaultError
396
- status: 400
397
- }
398
-
399
- export type postApiAlphaCommentDeleteResponse422 = {
400
- data: UnprocessableEntityResponse
401
- status: 422
402
- }
403
-
404
- export type postApiAlphaCommentDeleteResponseSuccess = (postApiAlphaCommentDeleteResponse200) & {
405
- headers: Headers;
406
- };
407
- export type postApiAlphaCommentDeleteResponseError = (postApiAlphaCommentDeleteResponse400 | postApiAlphaCommentDeleteResponse422) & {
408
- headers: Headers;
409
- };
410
-
411
- export type postApiAlphaCommentDeleteResponse = (postApiAlphaCommentDeleteResponseSuccess | postApiAlphaCommentDeleteResponseError)
412
-
413
214
  export const getPostApiAlphaCommentDeleteUrl = () => {
414
215
 
415
216
 
@@ -418,9 +219,9 @@ export const getPostApiAlphaCommentDeleteUrl = () => {
418
219
  return `/api/alpha/comment/delete`
419
220
  }
420
221
 
421
- export const postApiAlphaCommentDelete = async (deleteCommentRequest: DeleteCommentRequest, options?: RequestInit): Promise<postApiAlphaCommentDeleteResponse> => {
222
+ export const postApiAlphaCommentDelete = async (deleteCommentRequest: DeleteCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
422
223
 
423
- return customFetch<postApiAlphaCommentDeleteResponse>(getPostApiAlphaCommentDeleteUrl(),
224
+ return customFetch<GetCommentResponse>(getPostApiAlphaCommentDeleteUrl(),
424
225
  {
425
226
  ...options,
426
227
  method: 'POST',
@@ -434,30 +235,6 @@ export const postApiAlphaCommentDelete = async (deleteCommentRequest: DeleteComm
434
235
  /**
435
236
  * @summary Report a comment.
436
237
  */
437
- export type postApiAlphaCommentReportResponse200 = {
438
- data: GetCommentReportResponse
439
- status: 200
440
- }
441
-
442
- export type postApiAlphaCommentReportResponse400 = {
443
- data: DefaultError
444
- status: 400
445
- }
446
-
447
- export type postApiAlphaCommentReportResponse422 = {
448
- data: UnprocessableEntityResponse
449
- status: 422
450
- }
451
-
452
- export type postApiAlphaCommentReportResponseSuccess = (postApiAlphaCommentReportResponse200) & {
453
- headers: Headers;
454
- };
455
- export type postApiAlphaCommentReportResponseError = (postApiAlphaCommentReportResponse400 | postApiAlphaCommentReportResponse422) & {
456
- headers: Headers;
457
- };
458
-
459
- export type postApiAlphaCommentReportResponse = (postApiAlphaCommentReportResponseSuccess | postApiAlphaCommentReportResponseError)
460
-
461
238
  export const getPostApiAlphaCommentReportUrl = () => {
462
239
 
463
240
 
@@ -466,9 +243,9 @@ export const getPostApiAlphaCommentReportUrl = () => {
466
243
  return `/api/alpha/comment/report`
467
244
  }
468
245
 
469
- export const postApiAlphaCommentReport = async (reportCommentRequest: ReportCommentRequest, options?: RequestInit): Promise<postApiAlphaCommentReportResponse> => {
246
+ export const postApiAlphaCommentReport = async (reportCommentRequest: ReportCommentRequest, options?: RequestInit): Promise<GetCommentReportResponse> => {
470
247
 
471
- return customFetch<postApiAlphaCommentReportResponse>(getPostApiAlphaCommentReportUrl(),
248
+ return customFetch<GetCommentReportResponse>(getPostApiAlphaCommentReportUrl(),
472
249
  {
473
250
  ...options,
474
251
  method: 'POST',
@@ -482,30 +259,6 @@ export const postApiAlphaCommentReport = async (reportCommentRequest: ReportComm
482
259
  /**
483
260
  * @summary Remove a comment as a moderator.
484
261
  */
485
- export type postApiAlphaCommentRemoveResponse200 = {
486
- data: GetCommentResponse
487
- status: 200
488
- }
489
-
490
- export type postApiAlphaCommentRemoveResponse400 = {
491
- data: DefaultError
492
- status: 400
493
- }
494
-
495
- export type postApiAlphaCommentRemoveResponse422 = {
496
- data: UnprocessableEntityResponse
497
- status: 422
498
- }
499
-
500
- export type postApiAlphaCommentRemoveResponseSuccess = (postApiAlphaCommentRemoveResponse200) & {
501
- headers: Headers;
502
- };
503
- export type postApiAlphaCommentRemoveResponseError = (postApiAlphaCommentRemoveResponse400 | postApiAlphaCommentRemoveResponse422) & {
504
- headers: Headers;
505
- };
506
-
507
- export type postApiAlphaCommentRemoveResponse = (postApiAlphaCommentRemoveResponseSuccess | postApiAlphaCommentRemoveResponseError)
508
-
509
262
  export const getPostApiAlphaCommentRemoveUrl = () => {
510
263
 
511
264
 
@@ -514,9 +267,9 @@ export const getPostApiAlphaCommentRemoveUrl = () => {
514
267
  return `/api/alpha/comment/remove`
515
268
  }
516
269
 
517
- export const postApiAlphaCommentRemove = async (removeCommentRequest: RemoveCommentRequest, options?: RequestInit): Promise<postApiAlphaCommentRemoveResponse> => {
270
+ export const postApiAlphaCommentRemove = async (removeCommentRequest: RemoveCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
518
271
 
519
- return customFetch<postApiAlphaCommentRemoveResponse>(getPostApiAlphaCommentRemoveUrl(),
272
+ return customFetch<GetCommentResponse>(getPostApiAlphaCommentRemoveUrl(),
520
273
  {
521
274
  ...options,
522
275
  method: 'POST',
@@ -530,30 +283,6 @@ export const postApiAlphaCommentRemove = async (removeCommentRequest: RemoveComm
530
283
  /**
531
284
  * @summary Mark a comment reply as read.
532
285
  */
533
- export type postApiAlphaCommentMarkAsReadResponse200 = {
534
- data: GetCommentReplyResponse
535
- status: 200
536
- }
537
-
538
- export type postApiAlphaCommentMarkAsReadResponse400 = {
539
- data: DefaultError
540
- status: 400
541
- }
542
-
543
- export type postApiAlphaCommentMarkAsReadResponse422 = {
544
- data: UnprocessableEntityResponse
545
- status: 422
546
- }
547
-
548
- export type postApiAlphaCommentMarkAsReadResponseSuccess = (postApiAlphaCommentMarkAsReadResponse200) & {
549
- headers: Headers;
550
- };
551
- export type postApiAlphaCommentMarkAsReadResponseError = (postApiAlphaCommentMarkAsReadResponse400 | postApiAlphaCommentMarkAsReadResponse422) & {
552
- headers: Headers;
553
- };
554
-
555
- export type postApiAlphaCommentMarkAsReadResponse = (postApiAlphaCommentMarkAsReadResponseSuccess | postApiAlphaCommentMarkAsReadResponseError)
556
-
557
286
  export const getPostApiAlphaCommentMarkAsReadUrl = () => {
558
287
 
559
288
 
@@ -562,9 +291,9 @@ export const getPostApiAlphaCommentMarkAsReadUrl = () => {
562
291
  return `/api/alpha/comment/mark_as_read`
563
292
  }
564
293
 
565
- export const postApiAlphaCommentMarkAsRead = async (markCommentAsReadRequest: MarkCommentAsReadRequest, options?: RequestInit): Promise<postApiAlphaCommentMarkAsReadResponse> => {
294
+ export const postApiAlphaCommentMarkAsRead = async (markCommentAsReadRequest: MarkCommentAsReadRequest, options?: RequestInit): Promise<GetCommentReplyResponse> => {
566
295
 
567
- return customFetch<postApiAlphaCommentMarkAsReadResponse>(getPostApiAlphaCommentMarkAsReadUrl(),
296
+ return customFetch<GetCommentReplyResponse>(getPostApiAlphaCommentMarkAsReadUrl(),
568
297
  {
569
298
  ...options,
570
299
  method: 'POST',
@@ -578,30 +307,6 @@ export const postApiAlphaCommentMarkAsRead = async (markCommentAsReadRequest: Ma
578
307
  /**
579
308
  * @summary Mark a comment as the preferred answer to a question.
580
309
  */
581
- export type postApiAlphaCommentMarkAsAnswerResponse200 = {
582
- data: GetCommentReplyResponse
583
- status: 200
584
- }
585
-
586
- export type postApiAlphaCommentMarkAsAnswerResponse400 = {
587
- data: DefaultError
588
- status: 400
589
- }
590
-
591
- export type postApiAlphaCommentMarkAsAnswerResponse422 = {
592
- data: UnprocessableEntityResponse
593
- status: 422
594
- }
595
-
596
- export type postApiAlphaCommentMarkAsAnswerResponseSuccess = (postApiAlphaCommentMarkAsAnswerResponse200) & {
597
- headers: Headers;
598
- };
599
- export type postApiAlphaCommentMarkAsAnswerResponseError = (postApiAlphaCommentMarkAsAnswerResponse400 | postApiAlphaCommentMarkAsAnswerResponse422) & {
600
- headers: Headers;
601
- };
602
-
603
- export type postApiAlphaCommentMarkAsAnswerResponse = (postApiAlphaCommentMarkAsAnswerResponseSuccess | postApiAlphaCommentMarkAsAnswerResponseError)
604
-
605
310
  export const getPostApiAlphaCommentMarkAsAnswerUrl = () => {
606
311
 
607
312
 
@@ -610,9 +315,9 @@ export const getPostApiAlphaCommentMarkAsAnswerUrl = () => {
610
315
  return `/api/alpha/comment/mark_as_answer`
611
316
  }
612
317
 
613
- export const postApiAlphaCommentMarkAsAnswer = async (markCommentAsAnswerRequest: MarkCommentAsAnswerRequest, options?: RequestInit): Promise<postApiAlphaCommentMarkAsAnswerResponse> => {
318
+ export const postApiAlphaCommentMarkAsAnswer = async (markCommentAsAnswerRequest: MarkCommentAsAnswerRequest, options?: RequestInit): Promise<GetCommentReplyResponse> => {
614
319
 
615
- return customFetch<postApiAlphaCommentMarkAsAnswerResponse>(getPostApiAlphaCommentMarkAsAnswerUrl(),
320
+ return customFetch<GetCommentReplyResponse>(getPostApiAlphaCommentMarkAsAnswerUrl(),
616
321
  {
617
322
  ...options,
618
323
  method: 'POST',
@@ -626,30 +331,6 @@ export const postApiAlphaCommentMarkAsAnswer = async (markCommentAsAnswerRequest
626
331
  /**
627
332
  * @summary Lock a comment chain as a moderator.
628
333
  */
629
- export type postApiAlphaCommentLockResponse200 = {
630
- data: GetCommentResponse
631
- status: 200
632
- }
633
-
634
- export type postApiAlphaCommentLockResponse400 = {
635
- data: DefaultError
636
- status: 400
637
- }
638
-
639
- export type postApiAlphaCommentLockResponse422 = {
640
- data: UnprocessableEntityResponse
641
- status: 422
642
- }
643
-
644
- export type postApiAlphaCommentLockResponseSuccess = (postApiAlphaCommentLockResponse200) & {
645
- headers: Headers;
646
- };
647
- export type postApiAlphaCommentLockResponseError = (postApiAlphaCommentLockResponse400 | postApiAlphaCommentLockResponse422) & {
648
- headers: Headers;
649
- };
650
-
651
- export type postApiAlphaCommentLockResponse = (postApiAlphaCommentLockResponseSuccess | postApiAlphaCommentLockResponseError)
652
-
653
334
  export const getPostApiAlphaCommentLockUrl = () => {
654
335
 
655
336
 
@@ -658,9 +339,9 @@ export const getPostApiAlphaCommentLockUrl = () => {
658
339
  return `/api/alpha/comment/lock`
659
340
  }
660
341
 
661
- export const postApiAlphaCommentLock = async (lockCommentRequest: LockCommentRequest, options?: RequestInit): Promise<postApiAlphaCommentLockResponse> => {
342
+ export const postApiAlphaCommentLock = async (lockCommentRequest: LockCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
662
343
 
663
- return customFetch<postApiAlphaCommentLockResponse>(getPostApiAlphaCommentLockUrl(),
344
+ return customFetch<GetCommentResponse>(getPostApiAlphaCommentLockUrl(),
664
345
  {
665
346
  ...options,
666
347
  method: 'POST',
@@ -674,30 +355,6 @@ export const postApiAlphaCommentLock = async (lockCommentRequest: LockCommentReq
674
355
  /**
675
356
  * @summary View comment votes as a moderator.
676
357
  */
677
- export type getApiAlphaCommentLikeListResponse200 = {
678
- data: ListCommentLikesResponse
679
- status: 200
680
- }
681
-
682
- export type getApiAlphaCommentLikeListResponse400 = {
683
- data: DefaultError
684
- status: 400
685
- }
686
-
687
- export type getApiAlphaCommentLikeListResponse422 = {
688
- data: UnprocessableEntityResponse
689
- status: 422
690
- }
691
-
692
- export type getApiAlphaCommentLikeListResponseSuccess = (getApiAlphaCommentLikeListResponse200) & {
693
- headers: Headers;
694
- };
695
- export type getApiAlphaCommentLikeListResponseError = (getApiAlphaCommentLikeListResponse400 | getApiAlphaCommentLikeListResponse422) & {
696
- headers: Headers;
697
- };
698
-
699
- export type getApiAlphaCommentLikeListResponse = (getApiAlphaCommentLikeListResponseSuccess | getApiAlphaCommentLikeListResponseError)
700
-
701
358
  export const getGetApiAlphaCommentLikeListUrl = (params: GetApiAlphaCommentLikeListParams,) => {
702
359
  const normalizedParams = new URLSearchParams();
703
360
 
@@ -713,9 +370,9 @@ export const getGetApiAlphaCommentLikeListUrl = (params: GetApiAlphaCommentLikeL
713
370
  return stringifiedParams.length > 0 ? `/api/alpha/comment/like/list?${stringifiedParams}` : `/api/alpha/comment/like/list`
714
371
  }
715
372
 
716
- export const getApiAlphaCommentLikeList = async (params: GetApiAlphaCommentLikeListParams, options?: RequestInit): Promise<getApiAlphaCommentLikeListResponse> => {
373
+ export const getApiAlphaCommentLikeList = async (params: GetApiAlphaCommentLikeListParams, options?: RequestInit): Promise<ListCommentLikesResponse> => {
717
374
 
718
- return customFetch<getApiAlphaCommentLikeListResponse>(getGetApiAlphaCommentLikeListUrl(params),
375
+ return customFetch<ListCommentLikesResponse>(getGetApiAlphaCommentLikeListUrl(params),
719
376
  {
720
377
  ...options,
721
378
  method: 'GET'