lemmy-js-client 1.0.0-community-post-notifs.0 → 1.0.0-community-sidebar-summary.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 (321) hide show
  1. package/dist/http.d.ts +72 -88
  2. package/dist/http.js +62 -96
  3. package/dist/index.d.ts +22 -92
  4. package/dist/index.js +3 -0
  5. package/dist/other_types.d.ts +3 -6
  6. package/dist/types/AdminAllowInstanceParams.d.ts +1 -1
  7. package/dist/types/AdminBlockInstanceParams.d.ts +7 -2
  8. package/dist/types/AdminListUsers.d.ts +0 -1
  9. package/dist/types/{OAuthProvider.d.ts → AdminOAuthProvider.d.ts} +1 -1
  10. package/dist/types/AllLemmyErrors.d.ts +1 -0
  11. package/dist/types/AllLemmyErrors.js +117 -0
  12. package/dist/types/AuthenticateWithOauth.d.ts +4 -0
  13. package/dist/types/BanFromCommunity.d.ts +1 -1
  14. package/dist/types/BanPerson.d.ts +1 -1
  15. package/dist/types/ChangePassword.d.ts +4 -0
  16. package/dist/types/Comment.d.ts +4 -0
  17. package/dist/types/CommentActions.d.ts +6 -6
  18. package/dist/types/CommentReportView.d.ts +2 -0
  19. package/dist/types/CommentSortType.d.ts +1 -1
  20. package/dist/types/CommentView.d.ts +2 -0
  21. package/dist/types/Community.d.ts +3 -3
  22. package/dist/types/CommunityActions.d.ts +4 -4
  23. package/dist/types/CommunityFollowerState.d.ts +1 -1
  24. package/dist/types/CommunityNotificationsMode.d.ts +1 -1
  25. package/dist/types/CommunityReport.d.ts +1 -1
  26. package/dist/types/CommunityReportView.d.ts +2 -0
  27. package/dist/types/CommunitySortType.d.ts +1 -1
  28. package/dist/types/CommunityVisibility.d.ts +1 -1
  29. package/dist/types/CreateCommentLike.d.ts +2 -2
  30. package/dist/types/CreateCommunity.d.ts +3 -3
  31. package/dist/types/CreateCustomEmoji.d.ts +2 -1
  32. package/dist/types/CreateCustomEmoji.js +0 -1
  33. package/dist/types/CreatePostLike.d.ts +2 -2
  34. package/dist/types/CreateSite.d.ts +1 -2
  35. package/dist/types/EditCommunity.d.ts +3 -3
  36. package/dist/types/EditCustomEmoji.d.ts +7 -5
  37. package/dist/types/EditSite.d.ts +6 -6
  38. package/dist/types/FederatedInstanceView.d.ts +12 -0
  39. package/dist/types/FederationAllowList.d.ts +4 -0
  40. package/dist/types/FederationBlockList.d.ts +0 -2
  41. package/dist/types/FederationBlockList.js +1 -0
  42. package/dist/types/FederationMode.d.ts +1 -1
  43. package/dist/types/FederationQueueState.d.ts +18 -0
  44. package/dist/types/GetComments.d.ts +0 -1
  45. package/dist/types/GetFederatedInstances.d.ts +8 -0
  46. package/dist/types/GetFederatedInstancesKind.d.ts +1 -0
  47. package/dist/types/GetModlog.d.ts +2 -3
  48. package/dist/types/GetMultiCommunity.d.ts +2 -1
  49. package/dist/types/GetPersonDetailsResponse.d.ts +2 -0
  50. package/dist/types/GetPosts.d.ts +1 -1
  51. package/dist/types/GetSiteResponse.d.ts +8 -2
  52. package/dist/types/HideCommunity.d.ts +1 -1
  53. package/dist/types/LemmyErrorType.d.ts +24 -141
  54. package/dist/types/LemmyErrorType.js +1 -0
  55. package/dist/types/LikeType.d.ts +1 -1
  56. package/dist/types/LinkMetadata.d.ts +4 -0
  57. package/dist/types/ListCommentLikes.d.ts +0 -1
  58. package/dist/types/ListCommunities.d.ts +0 -1
  59. package/dist/types/ListCommunityPendingFollows.d.ts +1 -2
  60. package/dist/types/ListMedia.d.ts +0 -1
  61. package/dist/types/ListMultiCommunities.d.ts +12 -1
  62. package/dist/types/ListNotifications.d.ts +0 -1
  63. package/dist/types/ListPersonContent.d.ts +0 -1
  64. package/dist/types/ListPersonHidden.d.ts +0 -1
  65. package/dist/types/ListPersonLiked.d.ts +0 -1
  66. package/dist/types/ListPersonRead.d.ts +0 -1
  67. package/dist/types/ListPersonSaved.d.ts +0 -1
  68. package/dist/types/ListPostLikes.d.ts +0 -1
  69. package/dist/types/ListRegistrationApplications.d.ts +0 -1
  70. package/dist/types/ListReports.d.ts +0 -1
  71. package/dist/types/ListTaglines.d.ts +0 -1
  72. package/dist/types/ListingType.d.ts +1 -1
  73. package/dist/types/LocalSite.d.ts +1 -6
  74. package/dist/types/LocalUser.d.ts +10 -13
  75. package/dist/types/LocalUserView.d.ts +1 -0
  76. package/dist/types/LockComment.d.ts +9 -0
  77. package/dist/types/LockPost.d.ts +1 -1
  78. package/dist/types/Login.d.ts +4 -0
  79. package/dist/types/MarkManyPostsAsRead.d.ts +1 -0
  80. package/dist/types/Modlog.d.ts +10 -0
  81. package/dist/types/ModlogId.d.ts +1 -0
  82. package/dist/types/ModlogKind.d.ts +4 -0
  83. package/dist/types/ModlogView.d.ts +15 -0
  84. package/dist/types/MultiCommunity.d.ts +3 -0
  85. package/dist/types/MultiCommunityEntry.d.ts +6 -0
  86. package/dist/types/MultiCommunityListingType.d.ts +4 -0
  87. package/dist/types/MultiCommunityResponse.d.ts +4 -0
  88. package/dist/types/MultiCommunitySortType.d.ts +1 -0
  89. package/dist/types/MultiCommunityView.d.ts +2 -0
  90. package/dist/types/MyUserInfo.d.ts +2 -0
  91. package/dist/types/Notification.d.ts +4 -2
  92. package/dist/types/NotificationData.d.ts +7 -4
  93. package/dist/types/NotificationDataType.d.ts +1 -1
  94. package/dist/types/NotificationType.d.ts +4 -0
  95. package/dist/types/OpenGraphData.d.ts +4 -0
  96. package/dist/types/PagedResponse.d.ts +11 -0
  97. package/dist/types/PaginationCursor.d.ts +5 -1
  98. package/dist/types/PendingFollowerView.d.ts +9 -0
  99. package/dist/types/PersonContentType.d.ts +1 -1
  100. package/dist/types/PersonResponse.d.ts +7 -0
  101. package/dist/types/PersonView.d.ts +2 -1
  102. package/dist/types/PluginMetadata.d.ts +2 -2
  103. package/dist/types/Post.d.ts +6 -4
  104. package/dist/types/PostActions.d.ts +11 -11
  105. package/dist/types/{PersonSavedCombinedView.d.ts → PostCommentCombinedView.d.ts} +3 -3
  106. package/dist/types/PostFeatureType.d.ts +1 -1
  107. package/dist/types/PostListingMode.d.ts +1 -1
  108. package/dist/types/PostNotificationsMode.d.ts +1 -1
  109. package/dist/types/PostOrCommentOrPrivateMessage.d.ts +7 -7
  110. package/dist/types/PostReportView.d.ts +2 -0
  111. package/dist/types/PostSortType.d.ts +1 -1
  112. package/dist/types/PostView.d.ts +2 -0
  113. package/dist/types/PrivateMessageReportView.d.ts +1 -0
  114. package/dist/types/PublicOAuthProvider.d.ts +27 -2
  115. package/dist/types/PurgeComment.d.ts +1 -1
  116. package/dist/types/PurgeCommunity.d.ts +1 -1
  117. package/dist/types/PurgePerson.d.ts +1 -1
  118. package/dist/types/PurgePost.d.ts +1 -1
  119. package/dist/types/ReadableFederationState.d.ts +1 -1
  120. package/dist/types/Register.d.ts +4 -0
  121. package/dist/types/RegistrationApplication.d.ts +1 -0
  122. package/dist/types/RegistrationMode.d.ts +1 -1
  123. package/dist/types/RemoveComment.d.ts +1 -1
  124. package/dist/types/RemoveCommunity.d.ts +1 -1
  125. package/dist/types/RemovePost.d.ts +1 -1
  126. package/dist/types/ReportCombinedView.d.ts +4 -4
  127. package/dist/types/ReportType.d.ts +1 -1
  128. package/dist/types/SaveUserSettings.d.ts +5 -5
  129. package/dist/types/Search.d.ts +4 -1
  130. package/dist/types/SearchCombinedView.d.ts +5 -5
  131. package/dist/types/SearchResponse.d.ts +11 -1
  132. package/dist/types/SearchSortType.d.ts +1 -1
  133. package/dist/types/SearchType.d.ts +1 -1
  134. package/dist/types/Site.d.ts +3 -3
  135. package/dist/types/UnreadCountsResponse.d.ts +11 -0
  136. package/dist/types/UserSettingsBackup.d.ts +2 -4
  137. package/dist/types/VoteShow.d.ts +1 -1
  138. package/dist/types/VoteView.d.ts +4 -1
  139. package/package.json +4 -4
  140. package/dist/types/AdminAllowInstance.d.ts +0 -11
  141. package/dist/types/AdminAllowInstanceId.d.ts +0 -1
  142. package/dist/types/AdminAllowInstanceView.d.ts +0 -11
  143. package/dist/types/AdminBlockInstance.d.ts +0 -12
  144. package/dist/types/AdminBlockInstanceId.d.ts +0 -1
  145. package/dist/types/AdminBlockInstanceView.d.ts +0 -11
  146. package/dist/types/AdminListUsersResponse.d.ts +0 -10
  147. package/dist/types/AdminPurgeComment.d.ts +0 -13
  148. package/dist/types/AdminPurgeCommentId.d.ts +0 -1
  149. package/dist/types/AdminPurgeCommentView.d.ts +0 -11
  150. package/dist/types/AdminPurgeCommunity.d.ts +0 -11
  151. package/dist/types/AdminPurgeCommunityId.d.ts +0 -1
  152. package/dist/types/AdminPurgeCommunityView.d.ts +0 -9
  153. package/dist/types/AdminPurgePerson.d.ts +0 -11
  154. package/dist/types/AdminPurgePersonId.d.ts +0 -1
  155. package/dist/types/AdminPurgePersonView.d.ts +0 -9
  156. package/dist/types/AdminPurgePost.d.ts +0 -13
  157. package/dist/types/AdminPurgePostId.d.ts +0 -1
  158. package/dist/types/AdminPurgePostView.d.ts +0 -11
  159. package/dist/types/BanFromCommunityResponse.d.ts +0 -8
  160. package/dist/types/BanFromCommunityResponse.js +0 -2
  161. package/dist/types/BanPersonResponse.d.ts +0 -8
  162. package/dist/types/BanPersonResponse.js +0 -2
  163. package/dist/types/BlockCommunityResponse.d.ts +0 -8
  164. package/dist/types/BlockCommunityResponse.js +0 -2
  165. package/dist/types/BlockPersonResponse.d.ts +0 -8
  166. package/dist/types/BlockPersonResponse.js +0 -2
  167. package/dist/types/FederatedInstances.d.ts +0 -9
  168. package/dist/types/FederatedInstances.js +0 -2
  169. package/dist/types/FederationError.d.ts +0 -12
  170. package/dist/types/GetCommentsResponse.d.ts +0 -10
  171. package/dist/types/GetCommentsResponse.js +0 -2
  172. package/dist/types/GetCommentsSlimResponse.d.ts +0 -10
  173. package/dist/types/GetCommentsSlimResponse.js +0 -2
  174. package/dist/types/GetCommunityPendingFollowsCount.d.ts +0 -4
  175. package/dist/types/GetCommunityPendingFollowsCount.js +0 -2
  176. package/dist/types/GetCommunityPendingFollowsCountResponse.d.ts +0 -3
  177. package/dist/types/GetFederatedInstancesResponse.d.ts +0 -10
  178. package/dist/types/GetFederatedInstancesResponse.js +0 -2
  179. package/dist/types/GetModlogResponse.d.ts +0 -13
  180. package/dist/types/GetModlogResponse.js +0 -2
  181. package/dist/types/GetPostsResponse.d.ts +0 -13
  182. package/dist/types/GetPostsResponse.js +0 -2
  183. package/dist/types/GetReportCount.d.ts +0 -7
  184. package/dist/types/GetReportCount.js +0 -2
  185. package/dist/types/GetReportCountResponse.d.ts +0 -6
  186. package/dist/types/GetReportCountResponse.js +0 -3
  187. package/dist/types/GetUnreadCountResponse.d.ts +0 -6
  188. package/dist/types/GetUnreadCountResponse.js +0 -3
  189. package/dist/types/GetUnreadRegistrationApplicationCountResponse.d.ts +0 -6
  190. package/dist/types/GetUnreadRegistrationApplicationCountResponse.js +0 -3
  191. package/dist/types/ListCommentLikesResponse.d.ts +0 -13
  192. package/dist/types/ListCommentLikesResponse.js +0 -2
  193. package/dist/types/ListCommunitiesResponse.d.ts +0 -13
  194. package/dist/types/ListCommunitiesResponse.js +0 -2
  195. package/dist/types/ListCommunityPendingFollowsResponse.d.ts +0 -10
  196. package/dist/types/ListCommunityPendingFollowsResponse.js +0 -2
  197. package/dist/types/ListMediaResponse.d.ts +0 -10
  198. package/dist/types/ListMediaResponse.js +0 -2
  199. package/dist/types/ListMultiCommunitiesResponse.d.ts +0 -4
  200. package/dist/types/ListMultiCommunitiesResponse.js +0 -2
  201. package/dist/types/ListNotificationsResponse.d.ts +0 -13
  202. package/dist/types/ListNotificationsResponse.js +0 -2
  203. package/dist/types/ListPersonContentResponse.d.ts +0 -13
  204. package/dist/types/ListPersonContentResponse.js +0 -2
  205. package/dist/types/ListPersonHiddenResponse.d.ts +0 -13
  206. package/dist/types/ListPersonHiddenResponse.js +0 -2
  207. package/dist/types/ListPersonLikedResponse.d.ts +0 -13
  208. package/dist/types/ListPersonLikedResponse.js +0 -2
  209. package/dist/types/ListPersonReadResponse.d.ts +0 -13
  210. package/dist/types/ListPersonReadResponse.js +0 -2
  211. package/dist/types/ListPersonSavedResponse.d.ts +0 -13
  212. package/dist/types/ListPersonSavedResponse.js +0 -2
  213. package/dist/types/ListPostLikesResponse.d.ts +0 -13
  214. package/dist/types/ListPostLikesResponse.js +0 -2
  215. package/dist/types/ListRegistrationApplicationsResponse.d.ts +0 -13
  216. package/dist/types/ListRegistrationApplicationsResponse.js +0 -2
  217. package/dist/types/ListReportsResponse.d.ts +0 -13
  218. package/dist/types/ListReportsResponse.js +0 -2
  219. package/dist/types/ListTaglinesResponse.d.ts +0 -13
  220. package/dist/types/ListTaglinesResponse.js +0 -2
  221. package/dist/types/MarkPrivateMessageAsRead.d.ts +0 -8
  222. package/dist/types/MarkPrivateMessageAsRead.js +0 -2
  223. package/dist/types/ModAdd.d.ts +0 -12
  224. package/dist/types/ModAdd.js +0 -2
  225. package/dist/types/ModAddCommunity.d.ts +0 -14
  226. package/dist/types/ModAddCommunity.js +0 -2
  227. package/dist/types/ModAddCommunityId.d.ts +0 -1
  228. package/dist/types/ModAddCommunityId.js +0 -3
  229. package/dist/types/ModAddCommunityView.d.ts +0 -12
  230. package/dist/types/ModAddCommunityView.js +0 -2
  231. package/dist/types/ModAddId.d.ts +0 -1
  232. package/dist/types/ModAddId.js +0 -3
  233. package/dist/types/ModAddView.d.ts +0 -10
  234. package/dist/types/ModAddView.js +0 -2
  235. package/dist/types/ModBan.d.ts +0 -16
  236. package/dist/types/ModBan.js +0 -2
  237. package/dist/types/ModBanFromCommunity.d.ts +0 -16
  238. package/dist/types/ModBanFromCommunity.js +0 -2
  239. package/dist/types/ModBanFromCommunityId.d.ts +0 -1
  240. package/dist/types/ModBanFromCommunityId.js +0 -3
  241. package/dist/types/ModBanFromCommunityView.d.ts +0 -12
  242. package/dist/types/ModBanFromCommunityView.js +0 -2
  243. package/dist/types/ModBanId.d.ts +0 -1
  244. package/dist/types/ModBanId.js +0 -3
  245. package/dist/types/ModBanView.d.ts +0 -10
  246. package/dist/types/ModBanView.js +0 -2
  247. package/dist/types/ModChangeCommunityVisibility.d.ts +0 -11
  248. package/dist/types/ModChangeCommunityVisibility.js +0 -2
  249. package/dist/types/ModChangeCommunityVisibilityId.d.ts +0 -1
  250. package/dist/types/ModChangeCommunityVisibilityId.js +0 -3
  251. package/dist/types/ModChangeCommunityVisibilityView.d.ts +0 -11
  252. package/dist/types/ModChangeCommunityVisibilityView.js +0 -2
  253. package/dist/types/ModFeaturePost.d.ts +0 -14
  254. package/dist/types/ModFeaturePost.js +0 -2
  255. package/dist/types/ModFeaturePostId.d.ts +0 -1
  256. package/dist/types/ModFeaturePostId.js +0 -3
  257. package/dist/types/ModFeaturePostView.d.ts +0 -14
  258. package/dist/types/ModFeaturePostView.js +0 -2
  259. package/dist/types/ModLockPost.d.ts +0 -14
  260. package/dist/types/ModLockPost.js +0 -2
  261. package/dist/types/ModLockPostId.d.ts +0 -1
  262. package/dist/types/ModLockPostId.js +0 -3
  263. package/dist/types/ModLockPostView.d.ts +0 -14
  264. package/dist/types/ModLockPostView.js +0 -2
  265. package/dist/types/ModRemoveComment.d.ts +0 -14
  266. package/dist/types/ModRemoveComment.js +0 -2
  267. package/dist/types/ModRemoveCommentId.d.ts +0 -1
  268. package/dist/types/ModRemoveCommentId.js +0 -3
  269. package/dist/types/ModRemoveCommentView.d.ts +0 -16
  270. package/dist/types/ModRemoveCommentView.js +0 -2
  271. package/dist/types/ModRemoveCommunity.d.ts +0 -14
  272. package/dist/types/ModRemoveCommunity.js +0 -2
  273. package/dist/types/ModRemoveCommunityId.d.ts +0 -1
  274. package/dist/types/ModRemoveCommunityId.js +0 -3
  275. package/dist/types/ModRemoveCommunityView.d.ts +0 -11
  276. package/dist/types/ModRemoveCommunityView.js +0 -2
  277. package/dist/types/ModRemovePost.d.ts +0 -14
  278. package/dist/types/ModRemovePost.js +0 -2
  279. package/dist/types/ModRemovePostId.d.ts +0 -1
  280. package/dist/types/ModRemovePostId.js +0 -3
  281. package/dist/types/ModRemovePostView.d.ts +0 -14
  282. package/dist/types/ModRemovePostView.js +0 -2
  283. package/dist/types/ModTransferCommunity.d.ts +0 -13
  284. package/dist/types/ModTransferCommunity.js +0 -2
  285. package/dist/types/ModTransferCommunityId.d.ts +0 -1
  286. package/dist/types/ModTransferCommunityId.js +0 -3
  287. package/dist/types/ModTransferCommunityView.d.ts +0 -12
  288. package/dist/types/ModTransferCommunityView.js +0 -2
  289. package/dist/types/ModlogActionType.d.ts +0 -4
  290. package/dist/types/ModlogActionType.js +0 -3
  291. package/dist/types/ModlogCombinedView.d.ts +0 -52
  292. package/dist/types/ModlogCombinedView.js +0 -2
  293. package/dist/types/NotificationTypes.d.ts +0 -4
  294. package/dist/types/NotificationTypes.js +0 -3
  295. package/dist/types/OAuthProvider.js +0 -2
  296. package/dist/types/PersonContentCombinedView.d.ts +0 -7
  297. package/dist/types/PersonContentCombinedView.js +0 -2
  298. package/dist/types/PersonLikedCombinedView.d.ts +0 -7
  299. package/dist/types/PersonLikedCombinedView.js +0 -2
  300. package/dist/types/PersonSavedCombinedView.js +0 -2
  301. /package/dist/types/{AdminAllowInstance.js → AdminOAuthProvider.js} +0 -0
  302. /package/dist/types/{AdminAllowInstanceView.js → FederatedInstanceView.js} +0 -0
  303. /package/dist/types/{AdminAllowInstanceId.js → FederationAllowList.js} +0 -0
  304. /package/dist/types/{AdminBlockInstance.js → FederationQueueState.js} +0 -0
  305. /package/dist/types/{AdminBlockInstanceView.js → GetFederatedInstances.js} +0 -0
  306. /package/dist/types/{AdminBlockInstanceId.js → GetFederatedInstancesKind.js} +0 -0
  307. /package/dist/types/{AdminListUsersResponse.js → LockComment.js} +0 -0
  308. /package/dist/types/{AdminPurgeComment.js → Modlog.js} +0 -0
  309. /package/dist/types/{AdminPurgeCommentId.js → ModlogId.js} +0 -0
  310. /package/dist/types/{AdminPurgeCommunityId.js → ModlogKind.js} +0 -0
  311. /package/dist/types/{AdminPurgeCommentView.js → ModlogView.js} +0 -0
  312. /package/dist/types/{AdminPurgeCommunity.js → MultiCommunityEntry.js} +0 -0
  313. /package/dist/types/{AdminPurgePersonId.js → MultiCommunityListingType.js} +0 -0
  314. /package/dist/types/{AdminPurgeCommunityView.js → MultiCommunityResponse.js} +0 -0
  315. /package/dist/types/{AdminPurgePostId.js → MultiCommunitySortType.js} +0 -0
  316. /package/dist/types/{FederationError.js → NotificationType.js} +0 -0
  317. /package/dist/types/{AdminPurgePerson.js → PagedResponse.js} +0 -0
  318. /package/dist/types/{AdminPurgePersonView.js → PendingFollowerView.js} +0 -0
  319. /package/dist/types/{AdminPurgePost.js → PersonResponse.js} +0 -0
  320. /package/dist/types/{AdminPurgePostView.js → PostCommentCombinedView.js} +0 -0
  321. /package/dist/types/{GetCommunityPendingFollowsCountResponse.js → UnreadCountsResponse.js} +0 -0
package/dist/http.d.ts CHANGED
@@ -1,19 +1,15 @@
1
1
  import { Controller } from "@tsoa/runtime";
2
- import { AdminListUsersI, CommunityIdQueryI, DeleteImageParamsI, GetCommentI, GetCommentsI, GetCommunityI, GetCommunityPendingFollowsCountI, GetModlogI, GetMultiCommunityI, GetPersonDetailsI, GetPostI, GetPostsI, GetRandomCommunityI, GetRegistrationApplicationI, GetReportCountI, GetSiteMetadataI, ListCommentLikesI, ListCommunitiesI, ListCommunityPendingFollowsI, ListCustomEmojisI, ListNotificationsI, ListMediaI, ListMultiCommunitiesI, ListPersonContentI, ListPersonHiddenI, ListPersonLikedI, ListPersonReadI, ListPersonSavedI, ListPostLikesI, ListRegistrationApplicationsI, ListReportsI, ListTaglinesI, ResolveObjectI, SearchI, UploadImage } from "./other_types";
2
+ import { AdminListUsersI, CommunityIdQueryI, DeleteImageParamsI, GetCommentI, GetCommentsI, GetCommunityI, GetModlogI, GetMultiCommunityI, GetPersonDetailsI, GetPostI, GetPostsI, GetRandomCommunityI, GetRegistrationApplicationI, GetSiteMetadataI, ListCommentLikesI, ListCommunitiesI, ListCommunityPendingFollowsI, ListCustomEmojisI, ListNotificationsI, ListMediaI, ListMultiCommunitiesI, ListPersonContentI, ListPersonHiddenI, ListPersonLikedI, ListPersonReadI, ListPersonSavedI, ListPostLikesI, ListRegistrationApplicationsI, ListReportsI, ListTaglinesI, ResolveObjectI, SearchI, UploadImage, GetFederatedInstancesI } from "./other_types";
3
3
  import { AddAdmin } from "./types/AddAdmin";
4
4
  import { AddAdminResponse } from "./types/AddAdminResponse";
5
5
  import { AddModToCommunity } from "./types/AddModToCommunity";
6
6
  import { AddModToCommunityResponse } from "./types/AddModToCommunityResponse";
7
7
  import { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication";
8
8
  import { BanFromCommunity } from "./types/BanFromCommunity";
9
- import { BanFromCommunityResponse } from "./types/BanFromCommunityResponse";
10
9
  import { MarkManyPostsAsRead } from "./types/MarkManyPostsAsRead";
11
10
  import { BanPerson } from "./types/BanPerson";
12
- import { BanPersonResponse } from "./types/BanPersonResponse";
13
11
  import { BlockCommunity } from "./types/BlockCommunity";
14
- import { BlockCommunityResponse } from "./types/BlockCommunityResponse";
15
12
  import { BlockPerson } from "./types/BlockPerson";
16
- import { BlockPersonResponse } from "./types/BlockPersonResponse";
17
13
  import { ChangePassword } from "./types/ChangePassword";
18
14
  import { CommentReportResponse } from "./types/CommentReportResponse";
19
15
  import { CommentResponse } from "./types/CommentResponse";
@@ -51,29 +47,19 @@ import { EditOAuthProvider } from "./types/EditOAuthProvider";
51
47
  import { EditPost } from "./types/EditPost";
52
48
  import { EditPrivateMessage } from "./types/EditPrivateMessage";
53
49
  import { EditSite } from "./types/EditSite";
54
- import { OAuthProvider } from "./types/OAuthProvider";
55
50
  import { FeaturePost } from "./types/FeaturePost";
56
51
  import { FollowCommunity } from "./types/FollowCommunity";
57
52
  import { GetCaptchaResponse } from "./types/GetCaptchaResponse";
58
- import { GetCommentsResponse } from "./types/GetCommentsResponse";
59
53
  import { GetCommunityResponse } from "./types/GetCommunityResponse";
60
- import { GetFederatedInstancesResponse } from "./types/GetFederatedInstancesResponse";
61
- import { GetModlogResponse } from "./types/GetModlogResponse";
62
54
  import { GetPersonDetailsResponse } from "./types/GetPersonDetailsResponse";
63
55
  import { GetPostResponse } from "./types/GetPostResponse";
64
- import { GetPostsResponse } from "./types/GetPostsResponse";
65
- import { GetReportCountResponse } from "./types/GetReportCountResponse";
66
56
  import { GetSiteMetadataResponse } from "./types/GetSiteMetadataResponse";
67
57
  import { GetSiteResponse } from "./types/GetSiteResponse";
68
- import { GetUnreadCountResponse } from "./types/GetUnreadCountResponse";
69
- import { GetUnreadRegistrationApplicationCountResponse } from "./types/GetUnreadRegistrationApplicationCountResponse";
70
- import { ListCommunitiesResponse } from "./types/ListCommunitiesResponse";
71
- import { ListRegistrationApplicationsResponse } from "./types/ListRegistrationApplicationsResponse";
72
58
  import { LockPost } from "./types/LockPost";
59
+ import { LockComment } from "./types/LockComment";
73
60
  import { Login } from "./types/Login";
74
61
  import { LoginResponse } from "./types/LoginResponse";
75
62
  import { MarkPostAsRead } from "./types/MarkPostAsRead";
76
- import { MarkPrivateMessageAsRead } from "./types/MarkPrivateMessageAsRead";
77
63
  import { PasswordChangeAfterReset } from "./types/PasswordChangeAfterReset";
78
64
  import { PasswordReset } from "./types/PasswordReset";
79
65
  import { PostReportResponse } from "./types/PostReportResponse";
@@ -105,50 +91,55 @@ import { GenerateTotpSecretResponse } from "./types/GenerateTotpSecretResponse";
105
91
  import { UpdateTotp } from "./types/UpdateTotp";
106
92
  import { UpdateTotpResponse } from "./types/UpdateTotpResponse";
107
93
  import { SuccessResponse } from "./types/SuccessResponse";
108
- import { ListPostLikesResponse } from "./types/ListPostLikesResponse";
109
- import { ListCommentLikesResponse } from "./types/ListCommentLikesResponse";
110
94
  import { HidePost } from "./types/HidePost";
111
- import { ListMediaResponse } from "./types/ListMediaResponse";
112
95
  import { AuthenticateWithOauth } from "./types/AuthenticateWithOauth";
113
96
  import { CreateTagline } from "./types/CreateTagline";
114
97
  import { TaglineResponse } from "./types/TaglineResponse";
115
98
  import { UpdateTagline } from "./types/UpdateTagline";
116
99
  import { DeleteTagline } from "./types/DeleteTagline";
117
- import { ListTaglinesResponse } from "./types/ListTaglinesResponse";
118
100
  import { ListCustomEmojisResponse } from "./types/ListCustomEmojisResponse";
119
101
  import { ApproveCommunityPendingFollower } from "./types/ApproveCommunityPendingFollower";
120
- import { GetCommunityPendingFollowsCountResponse } from "./types/GetCommunityPendingFollowsCountResponse";
121
- import { ListCommunityPendingFollowsResponse } from "./types/ListCommunityPendingFollowsResponse";
122
- import { ListReportsResponse } from "./types/ListReportsResponse";
123
102
  import { MyUserInfo } from "./types/MyUserInfo";
124
103
  import { AdminAllowInstanceParams } from "./types/AdminAllowInstanceParams";
125
104
  import { AdminBlockInstanceParams } from "./types/AdminBlockInstanceParams";
126
- import { ListPersonContentResponse } from "./types/ListPersonContentResponse";
127
- import { ListPersonSavedResponse } from "./types/ListPersonSavedResponse";
128
105
  import { UploadImageResponse } from "./types/UploadImageResponse";
129
- import { GetCommentsSlimResponse } from "./types/GetCommentsSlimResponse";
130
106
  import { Tag } from "./types/Tag";
131
107
  import { ResendVerificationEmail } from "./types/ResendVerificationEmail";
132
- import { ListPersonReadResponse } from "./types/ListPersonReadResponse";
133
- import { ListPersonHiddenResponse } from "./types/ListPersonHiddenResponse";
134
108
  import { CommunityIdQuery } from "./types/CommunityIdQuery";
135
109
  import { CreateMultiCommunity } from "./types/CreateMultiCommunity";
136
110
  import { UpdateMultiCommunity } from "./types/UpdateMultiCommunity";
137
- import { ListMultiCommunitiesResponse } from "./types/ListMultiCommunitiesResponse";
138
- import { AdminListUsersResponse } from "./types/AdminListUsersResponse";
139
111
  import { CreateOrDeleteMultiCommunityEntry } from "./types/CreateOrDeleteMultiCommunityEntry";
140
112
  import { GetMultiCommunityResponse } from "./types/GetMultiCommunityResponse";
141
113
  import { FollowMultiCommunity } from "./types/FollowMultiCommunity";
142
114
  import { ListLoginsResponse } from "./types/ListLoginsResponse";
143
- import { ListPersonLikedResponse } from "./types/ListPersonLikedResponse";
144
115
  import { NotePerson } from "./types/NotePerson";
145
116
  import { UserBlockInstanceCommunitiesParams } from "./types/UserBlockInstanceCommunitiesParams";
146
117
  import { UserBlockInstancePersonsParams } from "./types/UserBlockInstancePersonsParams";
147
118
  import { MarkNotificationAsRead } from "./types/MarkNotificationAsRead";
148
- import { ListNotificationsResponse } from "./types/ListNotificationsResponse";
149
119
  import { ModEditPost } from "./types/ModEditPost";
150
120
  import { UpdateCommunityNotifications } from "./types/UpdateCommunityNotifications";
151
121
  import { UpdatePostNotifications } from "./types/UpdatePostNotifications";
122
+ import { MultiCommunityResponse } from "./types/MultiCommunityResponse";
123
+ import { PersonResponse } from "./types/PersonResponse";
124
+ import { LocalImageView } from "./types/LocalImageView";
125
+ import { PagedResponse } from "./types/PagedResponse";
126
+ import { ModlogView } from "./types/ModlogView";
127
+ import { CommunityView } from "./types/CommunityView";
128
+ import { PendingFollowerView } from "./types/PendingFollowerView";
129
+ import { PostView } from "./types/PostView";
130
+ import { VoteView } from "./types/VoteView";
131
+ import { CommentView } from "./types/CommentView";
132
+ import { CommentSlimView } from "./types/CommentSlimView";
133
+ import { LocalUserView } from "./types/LocalUserView";
134
+ import { NotificationView } from "./types/NotificationView";
135
+ import { RegistrationApplicationView } from "./types/RegistrationApplicationView";
136
+ import { Tagline } from "./types/Tagline";
137
+ import { ReportCombinedView } from "./types/ReportCombinedView";
138
+ import { FederatedInstanceView } from "./types/FederatedInstanceView";
139
+ import { MultiCommunityView } from "./types/MultiCommunityView";
140
+ import { PostCommentCombinedView } from "./types/PostCommentCombinedView";
141
+ import { UnreadCountsResponse } from "./types/UnreadCountsResponse";
142
+ import { AdminOAuthProvider } from "./types/AdminOAuthProvider";
152
143
  type RequestOptions = Pick<RequestInit, "signal">;
153
144
  /**
154
145
  * Helps build lemmy HTTP requests.
@@ -215,7 +206,7 @@ export declare class LemmyHttp extends Controller {
215
206
  /**
216
207
  * @summary List all the media for your account.
217
208
  */
218
- listMedia(form?: ListMediaI, options?: RequestOptions): Promise<ListMediaResponse>;
209
+ listMedia(form?: ListMediaI, options?: RequestOptions): Promise<PagedResponse<LocalImageView>>;
219
210
  /**
220
211
  * @summary Delete media for your account.
221
212
  */
@@ -227,7 +218,7 @@ export declare class LemmyHttp extends Controller {
227
218
  /**
228
219
  * @summary List all the media known to your instance.
229
220
  */
230
- listMediaAdmin(form?: ListMediaI, options?: RequestOptions): Promise<ListMediaResponse>;
221
+ listMediaAdmin(form?: ListMediaI, options?: RequestOptions): Promise<PagedResponse<LocalImageView>>;
231
222
  /**
232
223
  * @summary Enable / Disable TOTP / two-factor authentication.
233
224
  *
@@ -239,7 +230,7 @@ export declare class LemmyHttp extends Controller {
239
230
  /**
240
231
  * @summary Get the modlog.
241
232
  */
242
- getModlog(form?: GetModlogI, options?: RequestOptions): Promise<GetModlogResponse>;
233
+ getModlog(form?: GetModlogI, options?: RequestOptions): Promise<PagedResponse<ModlogView>>;
243
234
  /**
244
235
  * @summary Search lemmy. If `search_term` is a url it also attempts to fetch it, just like `resolve_object`.
245
236
  */
@@ -263,19 +254,20 @@ export declare class LemmyHttp extends Controller {
263
254
  /**
264
255
  * @summary List communities, with various filters.
265
256
  */
266
- listCommunities(form?: ListCommunitiesI, options?: RequestOptions): Promise<ListCommunitiesResponse>;
257
+ listCommunities(form?: ListCommunitiesI, options?: RequestOptions): Promise<PagedResponse<CommunityView>>;
267
258
  /**
268
259
  * @summary Follow / subscribe to a community.
269
260
  */
270
261
  followCommunity(form: FollowCommunity, options?: RequestOptions): Promise<CommunityResponse>;
271
262
  /**
272
- * @summary Get a community's pending follows count.
263
+ * @summary Returns the amount of unread items of various types. For normal users this means * the number of unread notifications, mods and admins get additional unread counts for
264
+ * reports, registration applications and pending follows to private communities.
273
265
  */
274
- getCommunityPendingFollowsCount(form: GetCommunityPendingFollowsCountI, options?: RequestOptions): Promise<GetCommunityPendingFollowsCountResponse>;
266
+ getUnreadCounts(options?: RequestOptions): Promise<UnreadCountsResponse>;
275
267
  /**
276
268
  * @summary Get a community's pending followers.
277
269
  */
278
- listCommunityPendingFollows(form: ListCommunityPendingFollowsI, options?: RequestOptions): Promise<ListCommunityPendingFollowsResponse>;
270
+ listCommunityPendingFollows(form: ListCommunityPendingFollowsI, options?: RequestOptions): Promise<PagedResponse<PendingFollowerView>>;
279
271
  /**
280
272
  * @summary Approve a community pending follow request.
281
273
  */
@@ -283,7 +275,7 @@ export declare class LemmyHttp extends Controller {
283
275
  /**
284
276
  * @summary Block a community.
285
277
  */
286
- blockCommunity(form: BlockCommunity, options?: RequestOptions): Promise<BlockCommunityResponse>;
278
+ blockCommunity(form: BlockCommunity, options?: RequestOptions): Promise<CommunityResponse>;
287
279
  /**
288
280
  * @summary Delete a community.
289
281
  */
@@ -303,7 +295,7 @@ export declare class LemmyHttp extends Controller {
303
295
  /**
304
296
  * @summary Ban a user from a community.
305
297
  */
306
- banFromCommunity(form: BanFromCommunity, options?: RequestOptions): Promise<BanFromCommunityResponse>;
298
+ banFromCommunity(form: BanFromCommunity, options?: RequestOptions): Promise<PersonResponse>;
307
299
  /**
308
300
  * @summary Add a moderator to your community.
309
301
  */
@@ -355,7 +347,7 @@ export declare class LemmyHttp extends Controller {
355
347
  /**
356
348
  * @summary Hide a post from list views.
357
349
  */
358
- hidePost(form: HidePost, options?: RequestOptions): Promise<SuccessResponse>;
350
+ hidePost(form: HidePost, options?: RequestOptions): Promise<PostResponse>;
359
351
  /**
360
352
  * @summary A moderator can lock a post ( IE disable new comments ).
361
353
  */
@@ -367,7 +359,7 @@ export declare class LemmyHttp extends Controller {
367
359
  /**
368
360
  * @summary Get / fetch posts, with various filters.
369
361
  */
370
- getPosts(form?: GetPostsI, options?: RequestOptions): Promise<GetPostsResponse>;
362
+ getPosts(form?: GetPostsI, options?: RequestOptions): Promise<PagedResponse<PostView>>;
371
363
  /**
372
364
  * @summary Like / vote on a post.
373
365
  */
@@ -375,7 +367,7 @@ export declare class LemmyHttp extends Controller {
375
367
  /**
376
368
  * @summary List a post's likes. Admin-only.
377
369
  */
378
- listPostLikes(form: ListPostLikesI, options?: RequestOptions): Promise<ListPostLikesResponse>;
370
+ listPostLikes(form: ListPostLikesI, options?: RequestOptions): Promise<PagedResponse<VoteView>>;
379
371
  /**
380
372
  * @summary Save a post.
381
373
  */
@@ -409,13 +401,17 @@ export declare class LemmyHttp extends Controller {
409
401
  */
410
402
  removeComment(form: RemoveComment, options?: RequestOptions): Promise<CommentResponse>;
411
403
  /**
412
- * @summary Like / vote on a comment.
404
+ * @summary A moderator can lock a comment (IE disable replies).
405
+ */
406
+ lockComment(form: LockComment, options?: RequestOptions): Promise<CommentResponse>;
407
+ /**
408
+ * @Summary Like / vote on a comment.
413
409
  */
414
410
  likeComment(form: CreateCommentLike, options?: RequestOptions): Promise<CommentResponse>;
415
411
  /**
416
412
  * @summary List a comment's likes. Admin-only.
417
413
  */
418
- listCommentLikes(form: ListCommentLikesI, options?: RequestOptions): Promise<ListCommentLikesResponse>;
414
+ listCommentLikes(form: ListCommentLikesI, options?: RequestOptions): Promise<PagedResponse<VoteView>>;
419
415
  /**
420
416
  * @summary Save a comment.
421
417
  */
@@ -427,11 +423,11 @@ export declare class LemmyHttp extends Controller {
427
423
  /**
428
424
  * @summary Get / fetch comments.
429
425
  */
430
- getComments(form?: GetCommentsI, options?: RequestOptions): Promise<GetCommentsResponse>;
426
+ getComments(form?: GetCommentsI, options?: RequestOptions): Promise<PagedResponse<CommentView>>;
431
427
  /**
432
428
  * @summary Get / fetch comments, but without the post or community.
433
429
  */
434
- getCommentsSlim(form?: GetCommentsI, options?: RequestOptions): Promise<GetCommentsSlimResponse>;
430
+ getCommentsSlim(form?: GetCommentsI, options?: RequestOptions): Promise<PagedResponse<CommentSlimView>>;
435
431
  /**
436
432
  * @summary Get / fetch comment.
437
433
  */
@@ -456,10 +452,6 @@ export declare class LemmyHttp extends Controller {
456
452
  * @summary Delete a private message.
457
453
  */
458
454
  deletePrivateMessage(form: DeletePrivateMessage, options?: RequestOptions): Promise<PrivateMessageResponse>;
459
- /**
460
- * @summary Mark a private message as read.
461
- */
462
- markPrivateMessageAsRead(form: MarkPrivateMessageAsRead, options?: RequestOptions): Promise<SuccessResponse>;
463
455
  /**
464
456
  * @summary Create a report for a private message.
465
457
  */
@@ -487,7 +479,7 @@ export declare class LemmyHttp extends Controller {
487
479
  /**
488
480
  * @summary List the content for a person.
489
481
  */
490
- listPersonContent(form?: ListPersonContentI, options?: RequestOptions): Promise<ListPersonContentResponse>;
482
+ listPersonContent(form?: ListPersonContentI, options?: RequestOptions): Promise<PagedResponse<PostCommentCombinedView>>;
491
483
  /**
492
484
  * @summary Make a note for a person.
493
485
  */
@@ -495,15 +487,15 @@ export declare class LemmyHttp extends Controller {
495
487
  /**
496
488
  * @summary Ban a person from your site.
497
489
  */
498
- banPerson(form: BanPerson, options?: RequestOptions): Promise<BanPersonResponse>;
490
+ banPerson(form: BanPerson, options?: RequestOptions): Promise<PersonResponse>;
499
491
  /**
500
492
  * @summary Get a list of users.
501
493
  */
502
- listUsers(form?: AdminListUsersI, options?: RequestOptions): Promise<AdminListUsersResponse>;
494
+ listUsers(form?: AdminListUsersI, options?: RequestOptions): Promise<PagedResponse<LocalUserView>>;
503
495
  /**
504
496
  * @summary Block a person.
505
497
  */
506
- blockPerson(form: BlockPerson, options?: RequestOptions): Promise<BlockPersonResponse>;
498
+ blockPerson(form: BlockPerson, options?: RequestOptions): Promise<PersonResponse>;
507
499
  /**
508
500
  * @summary Fetch a Captcha.
509
501
  */
@@ -521,11 +513,11 @@ export declare class LemmyHttp extends Controller {
521
513
  */
522
514
  passwordChangeAfterReset(form: PasswordChangeAfterReset, options?: RequestOptions): Promise<SuccessResponse>;
523
515
  /**
524
- * @summary Mark all replies as read.
516
+ * @summary Mark all notifications as read.
525
517
  */
526
518
  markAllNotificationsAsRead(options?: RequestOptions): Promise<SuccessResponse>;
527
519
  /**
528
- * @summary Mark a comment as read.
520
+ * @summary Mark a notification as read.
529
521
  */
530
522
  markNotificationAsRead(form: MarkNotificationAsRead, options?: RequestOptions): Promise<SuccessResponse>;
531
523
  /**
@@ -536,18 +528,10 @@ export declare class LemmyHttp extends Controller {
536
528
  * @summary Change your user password.
537
529
  */
538
530
  changePassword(form: ChangePassword, options?: RequestOptions): Promise<LoginResponse>;
539
- /**
540
- * @summary Get counts for your reports.
541
- */
542
- getReportCount(form: GetReportCountI, options?: RequestOptions): Promise<GetReportCountResponse>;
543
- /**
544
- * @summary Get your unread counts.
545
- */
546
- getUnreadCount(options?: RequestOptions): Promise<GetUnreadCountResponse>;
547
531
  /**
548
532
  * @summary Get your inbox (replies, comment mentions, post mentions, and messages)
549
533
  */
550
- listNotifications(form: ListNotificationsI, options?: RequestOptions): Promise<ListNotificationsResponse>;
534
+ listNotifications(form: ListNotificationsI, options?: RequestOptions): Promise<PagedResponse<NotificationView>>;
551
535
  /**
552
536
  * @summary Verify your email
553
537
  */
@@ -559,31 +543,27 @@ export declare class LemmyHttp extends Controller {
559
543
  /**
560
544
  * @summary List your saved content.
561
545
  */
562
- listPersonSaved(form: ListPersonSavedI, options?: RequestOptions): Promise<ListPersonSavedResponse>;
546
+ listPersonSaved(form: ListPersonSavedI, options?: RequestOptions): Promise<PagedResponse<PostCommentCombinedView>>;
563
547
  /**
564
548
  * @summary List your read content.
565
549
  */
566
- listPersonRead(form: ListPersonReadI, options?: RequestOptions): Promise<ListPersonReadResponse>;
550
+ listPersonRead(form: ListPersonReadI, options?: RequestOptions): Promise<PagedResponse<PostView>>;
567
551
  /**
568
552
  * @summary List your hidden content.
569
553
  */
570
- listPersonHidden(form: ListPersonHiddenI, options?: RequestOptions): Promise<ListPersonHiddenResponse>;
554
+ listPersonHidden(form: ListPersonHiddenI, options?: RequestOptions): Promise<PagedResponse<PostView>>;
571
555
  /**
572
556
  * @summary List your liked content.
573
557
  */
574
- listPersonLiked(form: ListPersonLikedI, options?: RequestOptions): Promise<ListPersonLikedResponse>;
558
+ listPersonLiked(form: ListPersonLikedI, options?: RequestOptions): Promise<PagedResponse<PostCommentCombinedView>>;
575
559
  /**
576
560
  * @summary Add an admin to your site.
577
561
  */
578
562
  addAdmin(form: AddAdmin, options?: RequestOptions): Promise<AddAdminResponse>;
579
- /**
580
- * @summary Get the unread registration applications count.
581
- */
582
- getUnreadRegistrationApplicationCount(options?: RequestOptions): Promise<GetUnreadRegistrationApplicationCountResponse>;
583
563
  /**
584
564
  * @summary List the registration applications.
585
565
  */
586
- listRegistrationApplications(form: ListRegistrationApplicationsI, options?: RequestOptions): Promise<ListRegistrationApplicationsResponse>;
566
+ listRegistrationApplications(form: ListRegistrationApplicationsI, options?: RequestOptions): Promise<PagedResponse<RegistrationApplicationView>>;
587
567
  /**
588
568
  * @summary Approve a registration application
589
569
  */
@@ -639,7 +619,7 @@ export declare class LemmyHttp extends Controller {
639
619
  /**
640
620
  * @summary List taglines.
641
621
  */
642
- listTaglines(form: ListTaglinesI, options?: RequestOptions): Promise<ListTaglinesResponse>;
622
+ listTaglines(form: ListTaglinesI, options?: RequestOptions): Promise<PagedResponse<Tagline>>;
643
623
  /**
644
624
  * @summary Create a community post tag.
645
625
  */
@@ -655,11 +635,11 @@ export declare class LemmyHttp extends Controller {
655
635
  /**
656
636
  * @summary Create a new oauth provider method
657
637
  */
658
- createOAuthProvider(form: CreateOAuthProvider, options?: RequestOptions): Promise<OAuthProvider>;
638
+ createOAuthProvider(form: CreateOAuthProvider, options?: RequestOptions): Promise<AdminOAuthProvider>;
659
639
  /**
660
640
  * @summary Edit an existing oauth provider method
661
641
  */
662
- editOAuthProvider(form: EditOAuthProvider, options?: RequestOptions): Promise<OAuthProvider>;
642
+ editOAuthProvider(form: EditOAuthProvider, options?: RequestOptions): Promise<AdminOAuthProvider>;
663
643
  /**
664
644
  * @summary Delete an oauth provider method
665
645
  */
@@ -671,11 +651,11 @@ export declare class LemmyHttp extends Controller {
671
651
  /**
672
652
  * @summary Fetch federated instances.
673
653
  */
674
- getFederatedInstances(options?: RequestOptions): Promise<GetFederatedInstancesResponse>;
654
+ getFederatedInstances(form: GetFederatedInstancesI, options?: RequestOptions): Promise<PagedResponse<FederatedInstanceView>>;
675
655
  /**
676
656
  * @summary List user reports.
677
657
  */
678
- listReports(form: ListReportsI, options?: RequestOptions): Promise<ListReportsResponse>;
658
+ listReports(form: ListReportsI, options?: RequestOptions): Promise<PagedResponse<ReportCombinedView>>;
679
659
  /**
680
660
  * @summary Block an instance's communities as a user.
681
661
  */
@@ -752,13 +732,13 @@ export declare class LemmyHttp extends Controller {
752
732
  * Mark donation dialog as shown, so it isn't displayed anymore.
753
733
  */
754
734
  donationDialogShown(options?: RequestOptions): Promise<SuccessResponse>;
755
- createMultiCommunity(form: CreateMultiCommunity, options?: RequestOptions): Promise<GetMultiCommunityResponse>;
756
- updateMultiCommunity(form: UpdateMultiCommunity, options?: RequestOptions): Promise<SuccessResponse>;
735
+ createMultiCommunity(form: CreateMultiCommunity, options?: RequestOptions): Promise<MultiCommunityResponse>;
736
+ updateMultiCommunity(form: UpdateMultiCommunity, options?: RequestOptions): Promise<MultiCommunityResponse>;
757
737
  getMultiCommunity(form: GetMultiCommunityI, options?: RequestOptions): Promise<GetMultiCommunityResponse>;
758
- createMultiCommunityEntry(form: CreateOrDeleteMultiCommunityEntry, options?: RequestOptions): Promise<SuccessResponse>;
738
+ createMultiCommunityEntry(form: CreateOrDeleteMultiCommunityEntry, options?: RequestOptions): Promise<CommunityResponse>;
759
739
  deleteMultiCommunityEntry(form: CreateOrDeleteMultiCommunityEntry, options?: RequestOptions): Promise<SuccessResponse>;
760
- listMultiCommunities(form: ListMultiCommunitiesI, options?: RequestOptions): Promise<ListMultiCommunitiesResponse>;
761
- followMultiCommunity(form: FollowMultiCommunity, options?: RequestOptions): Promise<SuccessResponse>;
740
+ listMultiCommunities(form: ListMultiCommunitiesI, options?: RequestOptions): Promise<PagedResponse<MultiCommunityView>>;
741
+ followMultiCommunity(form: FollowMultiCommunity, options?: RequestOptions): Promise<MultiCommunityResponse>;
762
742
  /**
763
743
  * @summary Change notification settings for a community
764
744
  */
@@ -778,9 +758,13 @@ export declare class LemmyHttp extends Controller {
778
758
  * A Lemmy error type.
779
759
  *
780
760
  * The name is the i18n translatable error code.
781
- * The msg is either an empty string, or extra non-translatable info.
761
+ * The message is either an empty string, or extra non-translatable info.
782
762
  */
783
763
  export declare class LemmyError extends Error {
784
- constructor(name: string, msg?: string);
764
+ name: string;
765
+ status: number;
766
+ message: string;
767
+ cause: any;
768
+ constructor(name: string, status: number, message?: string, cause?: any);
785
769
  }
786
770
  export {};