lemmy-js-client 1.0.0-remove-page-limit.1 → 1.0.0-remove-ban-person-response.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.
- package/README.md +6 -0
 - package/dist/http.d.ts +112 -52
 - package/dist/http.js +284 -87
 - package/dist/index.d.ts +71 -40
 - package/dist/index.js +3 -0
 - package/dist/other_types.d.ts +25 -7
 - package/dist/types/AdminAdd.d.ts +12 -0
 - package/dist/types/AdminAddId.d.ts +1 -0
 - package/dist/types/{ModAddView.d.ts → AdminAddView.d.ts} +3 -3
 - package/dist/types/AdminAllowInstance.d.ts +2 -2
 - package/dist/types/AdminAllowInstanceParams.d.ts +1 -1
 - package/dist/types/{ModBan.d.ts → AdminBan.d.ts} +6 -6
 - package/dist/types/AdminBanId.d.ts +1 -0
 - package/dist/types/{ModBanView.d.ts → AdminBanView.d.ts} +3 -3
 - package/dist/types/AdminBlockInstance.d.ts +3 -3
 - package/dist/types/AdminBlockInstanceParams.d.ts +7 -2
 - package/dist/types/AdminListUsers.d.ts +7 -0
 - package/dist/types/AdminListUsersResponse.d.ts +10 -0
 - package/dist/types/AdminPurgeComment.d.ts +2 -2
 - package/dist/types/AdminPurgeCommunity.d.ts +2 -2
 - package/dist/types/AdminPurgePerson.d.ts +2 -2
 - package/dist/types/AdminPurgePost.d.ts +2 -2
 - package/dist/types/{ModRemoveCommunity.d.ts → AdminRemoveCommunity.d.ts} +5 -5
 - package/dist/types/AdminRemoveCommunityId.d.ts +1 -0
 - package/dist/types/AdminRemoveCommunityView.d.ts +11 -0
 - package/dist/types/AllLemmyErrors.d.ts +1 -0
 - package/dist/types/AllLemmyErrors.js +117 -0
 - package/dist/types/AuthenticateWithOauth.d.ts +4 -0
 - package/dist/types/BanFromCommunity.d.ts +2 -2
 - package/dist/types/BanPerson.d.ts +2 -2
 - package/dist/types/ChangePassword.d.ts +4 -0
 - package/dist/types/Comment.d.ts +6 -2
 - package/dist/types/CommentActions.d.ts +6 -10
 - package/dist/types/CommentActions.js +1 -0
 - package/dist/types/CommentReport.d.ts +2 -2
 - package/dist/types/CommentReportView.d.ts +5 -1
 - package/dist/types/CommentResponse.d.ts +0 -2
 - package/dist/types/CommentSlimView.d.ts +2 -6
 - package/dist/types/CommentSortType.d.ts +1 -1
 - package/dist/types/CommentView.d.ts +4 -5
 - package/dist/types/Community.d.ts +2 -2
 - package/dist/types/CommunityActions.d.ts +11 -17
 - package/dist/types/CommunityFollowerState.d.ts +1 -1
 - package/dist/types/CommunityIdQuery.d.ts +8 -0
 - package/dist/types/CommunityNotificationsMode.d.ts +4 -0
 - package/dist/types/CommunityReport.d.ts +2 -2
 - package/dist/types/CommunityReportView.d.ts +6 -0
 - package/dist/types/CommunitySortType.d.ts +1 -1
 - package/dist/types/CommunityView.d.ts +0 -2
 - package/dist/types/CommunityVisibility.d.ts +1 -1
 - package/dist/types/CreateCommentLike.d.ts +2 -2
 - package/dist/types/CreateCommunityTag.d.ts +3 -1
 - package/dist/types/CreateCustomEmoji.d.ts +2 -1
 - package/dist/types/CreateCustomEmoji.js +0 -1
 - package/dist/types/CreateMultiCommunity.d.ts +5 -0
 - package/dist/types/CreateOrDeleteMultiCommunityEntry.d.ts +6 -0
 - package/dist/types/CreatePost.d.ts +1 -1
 - package/dist/types/CreatePostLike.d.ts +2 -2
 - package/dist/types/CreateSite.d.ts +17 -14
 - package/dist/types/CustomEmoji.d.ts +2 -2
 - package/dist/types/EditCustomEmoji.d.ts +7 -5
 - package/dist/types/EditPost.d.ts +1 -1
 - package/dist/types/EditSite.d.ts +30 -20
 - package/dist/types/ExportDataResponse.d.ts +13 -0
 - package/dist/types/FederatedInstanceView.d.ts +12 -0
 - package/dist/types/FederationAllowList.d.ts +4 -0
 - package/dist/types/FederationBlockList.d.ts +3 -5
 - package/dist/types/FederationBlockList.js +1 -0
 - package/dist/types/FederationMode.d.ts +1 -1
 - package/dist/types/FederationQueueState.d.ts +18 -0
 - package/dist/types/FollowMultiCommunity.d.ts +5 -0
 - package/dist/types/GetComments.d.ts +0 -2
 - package/dist/types/GetFederatedInstances.d.ts +9 -0
 - package/dist/types/GetFederatedInstancesKind.d.ts +1 -0
 - package/dist/types/GetFederatedInstancesResponse.d.ts +5 -5
 - package/dist/types/GetMultiCommunity.d.ts +5 -0
 - package/dist/types/GetMultiCommunityResponse.d.ts +6 -0
 - package/dist/types/GetPosts.d.ts +2 -2
 - package/dist/types/HideCommunity.d.ts +1 -1
 - package/dist/types/Instance.d.ts +4 -3
 - package/dist/types/InstanceActions.d.ts +8 -8
 - package/dist/types/InstanceActions.js +1 -0
 - package/dist/types/InstanceWithFederationState.d.ts +2 -2
 - package/dist/types/LemmyErrorType.d.ts +28 -146
 - package/dist/types/LikeType.d.ts +4 -0
 - package/dist/types/LinkMetadata.d.ts +4 -0
 - package/dist/types/ListCommunityPendingFollows.d.ts +1 -1
 - package/dist/types/ListCommunityPendingFollowsResponse.d.ts +2 -2
 - package/dist/types/ListMultiCommunities.d.ts +5 -0
 - package/dist/types/ListMultiCommunitiesResponse.d.ts +4 -0
 - package/dist/types/{ListInbox.d.ts → ListNotifications.d.ts} +3 -3
 - package/dist/types/{ListInboxResponse.d.ts → ListNotificationsResponse.d.ts} +3 -3
 - package/dist/types/{ListBannedPersons.d.ts → ListPersonHidden.d.ts} +2 -2
 - package/dist/types/{BannedPersonsResponse.d.ts → ListPersonHiddenResponse.d.ts} +4 -4
 - package/dist/types/ListPersonLiked.d.ts +13 -0
 - package/dist/types/ListPersonLikedResponse.d.ts +13 -0
 - package/dist/types/ListPersonRead.d.ts +9 -0
 - package/dist/types/ListPersonReadResponse.d.ts +13 -0
 - package/dist/types/ListingType.d.ts +1 -1
 - package/dist/types/LocalImage.d.ts +8 -3
 - package/dist/types/LocalImageView.d.ts +2 -0
 - package/dist/types/LocalSite.d.ts +9 -10
 - package/dist/types/LocalSiteRateLimit.d.ts +16 -16
 - package/dist/types/LocalSiteUrlBlocklist.d.ts +2 -2
 - package/dist/types/LocalUser.d.ts +13 -14
 - package/dist/types/LocalUserView.d.ts +2 -2
 - package/dist/types/LockComment.d.ts +9 -0
 - package/dist/types/LockPost.d.ts +1 -0
 - package/dist/types/Login.d.ts +7 -0
 - package/dist/types/LoginToken.d.ts +1 -1
 - package/dist/types/MarkManyPostsAsRead.d.ts +1 -0
 - package/dist/types/MarkNotificationAsRead.d.ts +8 -0
 - package/dist/types/{ModAddCommunity.d.ts → ModAddToCommunity.d.ts} +4 -4
 - package/dist/types/ModAddToCommunityId.d.ts +1 -0
 - package/dist/types/{ModAddCommunityView.d.ts → ModAddToCommunityView.d.ts} +3 -3
 - package/dist/types/ModBanFromCommunity.d.ts +3 -3
 - package/dist/types/ModChangeCommunityVisibility.d.ts +1 -2
 - package/dist/types/ModEditPost.d.ts +10 -0
 - package/dist/types/ModEditPost.js +2 -0
 - package/dist/types/ModFeaturePost.d.ts +1 -1
 - package/dist/types/ModLockComment.d.ts +14 -0
 - package/dist/types/ModLockComment.js +2 -0
 - package/dist/types/ModLockCommentId.d.ts +1 -0
 - package/dist/types/ModLockCommentId.js +3 -0
 - package/dist/types/ModLockCommentView.d.ts +16 -0
 - package/dist/types/ModLockCommentView.js +2 -0
 - package/dist/types/ModLockPost.d.ts +2 -1
 - package/dist/types/ModRemoveComment.d.ts +2 -2
 - package/dist/types/ModRemovePost.d.ts +2 -2
 - package/dist/types/ModTransferCommunity.d.ts +1 -1
 - package/dist/types/ModlogActionType.d.ts +1 -1
 - package/dist/types/ModlogCombinedView.d.ts +29 -26
 - package/dist/types/MultiCommunity.d.ts +17 -0
 - package/dist/types/MultiCommunity.js +2 -0
 - package/dist/types/MultiCommunityEntry.d.ts +6 -0
 - package/dist/types/MultiCommunityEntry.js +2 -0
 - package/dist/types/MultiCommunityFollow.d.ts +8 -0
 - package/dist/types/MultiCommunityFollow.js +2 -0
 - package/dist/types/MultiCommunityId.d.ts +1 -0
 - package/dist/types/MultiCommunityId.js +3 -0
 - package/dist/types/MultiCommunityResponse.d.ts +4 -0
 - package/dist/types/MultiCommunityResponse.js +2 -0
 - package/dist/types/MultiCommunityView.d.ts +8 -0
 - package/dist/types/MultiCommunityView.js +2 -0
 - package/dist/types/MyUserInfo.d.ts +2 -1
 - package/dist/types/NotePerson.d.ts +10 -0
 - package/dist/types/NotePerson.js +2 -0
 - package/dist/types/Notification.d.ts +36 -0
 - package/dist/types/Notification.js +2 -0
 - package/dist/types/NotificationData.d.ts +40 -0
 - package/dist/types/NotificationData.js +2 -0
 - package/dist/types/NotificationDataType.d.ts +4 -0
 - package/dist/types/NotificationDataType.js +3 -0
 - package/dist/types/NotificationId.d.ts +1 -0
 - package/dist/types/NotificationId.js +3 -0
 - package/dist/types/NotificationType.d.ts +4 -0
 - package/dist/types/NotificationType.js +3 -0
 - package/dist/types/NotificationView.d.ts +6 -0
 - package/dist/types/NotificationView.js +2 -0
 - package/dist/types/OAuthAccount.d.ts +2 -2
 - package/dist/types/OAuthProvider.d.ts +2 -2
 - package/dist/types/OpenGraphData.d.ts +4 -0
 - package/dist/types/PendingFollowerView.d.ts +9 -0
 - package/dist/types/PendingFollowerView.js +2 -0
 - package/dist/types/Person.d.ts +2 -2
 - package/dist/types/PersonActions.d.ts +21 -4
 - package/dist/types/PersonActions.js +1 -0
 - package/dist/types/PersonContentCombinedView.d.ts +2 -2
 - package/dist/types/PersonContentType.d.ts +1 -1
 - package/dist/types/PersonLikedCombinedView.d.ts +7 -0
 - package/dist/types/PersonLikedCombinedView.js +2 -0
 - package/dist/types/PersonResponse.d.ts +7 -0
 - package/dist/types/PersonResponse.js +2 -0
 - package/dist/types/PersonSavedCombinedView.d.ts +2 -2
 - package/dist/types/PersonView.d.ts +4 -4
 - package/dist/types/Post.d.ts +9 -7
 - package/dist/types/PostActions.d.ts +15 -17
 - package/dist/types/PostFeatureType.d.ts +1 -1
 - package/dist/types/PostListingMode.d.ts +1 -1
 - package/dist/types/PostNotificationsMode.d.ts +4 -0
 - package/dist/types/PostNotificationsMode.js +3 -0
 - package/dist/types/PostOrCommentOrPrivateMessage.d.ts +10 -0
 - package/dist/types/PostOrCommentOrPrivateMessage.js +2 -0
 - package/dist/types/PostReport.d.ts +2 -2
 - package/dist/types/PostReportView.d.ts +5 -1
 - package/dist/types/PostSortType.d.ts +1 -1
 - package/dist/types/PostView.d.ts +4 -5
 - package/dist/types/PrivateMessage.d.ts +2 -3
 - package/dist/types/PrivateMessageReport.d.ts +2 -2
 - package/dist/types/PrivateMessageReportView.d.ts +3 -0
 - package/dist/types/PurgeComment.d.ts +1 -1
 - package/dist/types/PurgeCommunity.d.ts +1 -1
 - package/dist/types/PurgePerson.d.ts +1 -1
 - package/dist/types/PurgePost.d.ts +1 -1
 - package/dist/types/ReadableFederationState.d.ts +3 -3
 - package/dist/types/Register.d.ts +4 -0
 - package/dist/types/RegistrationApplication.d.ts +1 -1
 - package/dist/types/RegistrationMode.d.ts +1 -1
 - package/dist/types/RemoveComment.d.ts +1 -1
 - package/dist/types/RemoveCommunity.d.ts +1 -1
 - package/dist/types/RemovePost.d.ts +1 -1
 - package/dist/types/ReportCombinedView.d.ts +4 -4
 - package/dist/types/ReportType.d.ts +1 -1
 - package/dist/types/SaveUserSettings.d.ts +11 -6
 - package/dist/types/Search.d.ts +5 -1
 - package/dist/types/SearchCombinedView.d.ts +8 -5
 - package/dist/types/SearchSortType.d.ts +1 -1
 - package/dist/types/SearchType.d.ts +1 -1
 - package/dist/types/Site.d.ts +4 -3
 - package/dist/types/SiteResponse.d.ts +0 -4
 - package/dist/types/Tag.d.ts +8 -16
 - package/dist/types/Tagline.d.ts +2 -2
 - package/dist/types/TagsView.d.ts +1 -1
 - package/dist/types/UntranslatedError.d.ts +14 -0
 - package/dist/types/UntranslatedError.js +3 -0
 - package/dist/types/UpdateCommunityNotifications.d.ts +9 -0
 - package/dist/types/UpdateCommunityNotifications.js +2 -0
 - package/dist/types/UpdateCommunityTag.d.ts +3 -2
 - package/dist/types/UpdateMultiCommunity.d.ts +7 -0
 - package/dist/types/UpdateMultiCommunity.js +2 -0
 - package/dist/types/UpdatePostNotifications.d.ts +9 -0
 - package/dist/types/UpdatePostNotifications.js +2 -0
 - package/dist/types/UserBlockInstanceCommunitiesParams.d.ts +8 -0
 - package/dist/types/UserBlockInstanceCommunitiesParams.js +2 -0
 - package/dist/types/{UserBlockInstanceParams.d.ts → UserBlockInstancePersonsParams.d.ts} +2 -2
 - package/dist/types/UserBlockInstancePersonsParams.js +2 -0
 - package/dist/types/UserSettingsBackup.d.ts +29 -0
 - package/dist/types/UserSettingsBackup.js +2 -0
 - package/dist/types/VoteShow.d.ts +4 -0
 - package/dist/types/VoteShow.js +3 -0
 - package/dist/types/VoteView.d.ts +5 -2
 - package/package.json +7 -6
 - package/dist/types/BanFromCommunityResponse.d.ts +0 -8
 - package/dist/types/BanPersonResponse.d.ts +0 -8
 - package/dist/types/BlockCommunityResponse.d.ts +0 -8
 - package/dist/types/BlockPersonResponse.d.ts +0 -8
 - package/dist/types/CommentReply.d.ts +0 -13
 - package/dist/types/CommentReplyId.d.ts +0 -4
 - package/dist/types/CommentReplyView.d.ts +0 -32
 - package/dist/types/FederatedInstances.d.ts +0 -9
 - package/dist/types/FederationError.d.ts +0 -10
 - package/dist/types/GetCommunityPendingFollowsCount.d.ts +0 -4
 - package/dist/types/InboxCombinedView.d.ts +0 -13
 - package/dist/types/InboxDataType.d.ts +0 -4
 - package/dist/types/MarkCommentReplyAsRead.d.ts +0 -8
 - package/dist/types/MarkPersonCommentMentionAsRead.d.ts +0 -8
 - package/dist/types/MarkPersonPostMentionAsRead.d.ts +0 -8
 - package/dist/types/MarkPrivateMessageAsRead.d.ts +0 -8
 - package/dist/types/ModAdd.d.ts +0 -12
 - package/dist/types/ModAddCommunityId.d.ts +0 -1
 - package/dist/types/ModAddId.d.ts +0 -1
 - package/dist/types/ModBanId.d.ts +0 -1
 - package/dist/types/ModRemoveCommunityId.d.ts +0 -1
 - package/dist/types/ModRemoveCommunityView.d.ts +0 -11
 - package/dist/types/PersonCommentMention.d.ts +0 -13
 - package/dist/types/PersonCommentMentionId.d.ts +0 -4
 - package/dist/types/PersonCommentMentionView.d.ts +0 -30
 - package/dist/types/PersonPostMention.d.ts +0 -13
 - package/dist/types/PersonPostMentionId.d.ts +0 -4
 - package/dist/types/PersonPostMentionView.d.ts +0 -32
 - package/dist/types/ResolveObjectResponse.d.ts +0 -13
 - /package/dist/types/{BanFromCommunityResponse.js → AdminAdd.js} +0 -0
 - /package/dist/types/{CommentReplyId.js → AdminAddId.js} +0 -0
 - /package/dist/types/{BanPersonResponse.js → AdminAddView.js} +0 -0
 - /package/dist/types/{BannedPersonsResponse.js → AdminBan.js} +0 -0
 - /package/dist/types/{FederationError.js → AdminBanId.js} +0 -0
 - /package/dist/types/{BlockCommunityResponse.js → AdminBanView.js} +0 -0
 - /package/dist/types/{BlockPersonResponse.js → AdminListUsers.js} +0 -0
 - /package/dist/types/{CommentReply.js → AdminListUsersResponse.js} +0 -0
 - /package/dist/types/{CommentReplyView.js → AdminRemoveCommunity.js} +0 -0
 - /package/dist/types/{InboxDataType.js → AdminRemoveCommunityId.js} +0 -0
 - /package/dist/types/{FederatedInstances.js → AdminRemoveCommunityView.js} +0 -0
 - /package/dist/types/{GetCommunityPendingFollowsCount.js → CommunityIdQuery.js} +0 -0
 - /package/dist/types/{ModAddCommunityId.js → CommunityNotificationsMode.js} +0 -0
 - /package/dist/types/{ModAddId.js → CreateMultiCommunity.js} +0 -0
 - /package/dist/types/{InboxCombinedView.js → CreateOrDeleteMultiCommunityEntry.js} +0 -0
 - /package/dist/types/{ListBannedPersons.js → ExportDataResponse.js} +0 -0
 - /package/dist/types/{ListInbox.js → FederatedInstanceView.js} +0 -0
 - /package/dist/types/{ModBanId.js → FederationAllowList.js} +0 -0
 - /package/dist/types/{ListInboxResponse.js → FederationQueueState.js} +0 -0
 - /package/dist/types/{MarkCommentReplyAsRead.js → FollowMultiCommunity.js} +0 -0
 - /package/dist/types/{MarkPersonCommentMentionAsRead.js → GetFederatedInstances.js} +0 -0
 - /package/dist/types/{ModRemoveCommunityId.js → GetFederatedInstancesKind.js} +0 -0
 - /package/dist/types/{MarkPersonPostMentionAsRead.js → GetMultiCommunity.js} +0 -0
 - /package/dist/types/{MarkPrivateMessageAsRead.js → GetMultiCommunityResponse.js} +0 -0
 - /package/dist/types/{PersonCommentMentionId.js → LikeType.js} +0 -0
 - /package/dist/types/{ModAdd.js → ListMultiCommunities.js} +0 -0
 - /package/dist/types/{ModAddCommunity.js → ListMultiCommunitiesResponse.js} +0 -0
 - /package/dist/types/{ModAddCommunityView.js → ListNotifications.js} +0 -0
 - /package/dist/types/{ModAddView.js → ListNotificationsResponse.js} +0 -0
 - /package/dist/types/{ModBan.js → ListPersonHidden.js} +0 -0
 - /package/dist/types/{ModBanView.js → ListPersonHiddenResponse.js} +0 -0
 - /package/dist/types/{ModRemoveCommunity.js → ListPersonLiked.js} +0 -0
 - /package/dist/types/{ModRemoveCommunityView.js → ListPersonLikedResponse.js} +0 -0
 - /package/dist/types/{PersonCommentMention.js → ListPersonRead.js} +0 -0
 - /package/dist/types/{PersonCommentMentionView.js → ListPersonReadResponse.js} +0 -0
 - /package/dist/types/{PersonPostMention.js → LockComment.js} +0 -0
 - /package/dist/types/{PersonPostMentionView.js → MarkNotificationAsRead.js} +0 -0
 - /package/dist/types/{ResolveObjectResponse.js → ModAddToCommunity.js} +0 -0
 - /package/dist/types/{PersonPostMentionId.js → ModAddToCommunityId.js} +0 -0
 - /package/dist/types/{UserBlockInstanceParams.js → ModAddToCommunityView.js} +0 -0
 
    
        package/README.md
    CHANGED
    
    | 
         @@ -52,6 +52,12 @@ Use `pnpm add` to develop and test changes locally: 
     | 
|
| 
       52 
52 
     | 
    
         | 
| 
       53 
53 
     | 
    
         
             
            `pnpm add path/to/lemmy-js-client`
         
     | 
| 
       54 
54 
     | 
    
         | 
| 
      
 55 
     | 
    
         
            +
            Alternatively, use `yalc publish` and `yalc add lemmy-js-client`
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
            ## Generating typescript types from lemmy structs
         
     | 
| 
      
 58 
     | 
    
         
            +
             
     | 
| 
      
 59 
     | 
    
         
            +
            Run `./scripts/copy_generated_types_from_lemmy.sh`
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
       55 
61 
     | 
    
         
             
            ## OpenAPI
         
     | 
| 
       56 
62 
     | 
    
         | 
| 
       57 
63 
     | 
    
         
             
            To generate OpenAPI docs, run `pnpm tsoa`
         
     | 
    
        package/dist/http.d.ts
    CHANGED
    
    | 
         @@ -1,29 +1,27 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import { Controller } from "@tsoa/runtime";
         
     | 
| 
       2 
     | 
    
         
            -
            import { DeleteImageParamsI, GetCommentI, GetCommentsI, GetCommunityI,  
     | 
| 
      
 2 
     | 
    
         
            +
            import { AdminListUsersI, CommunityIdQueryI, DeleteImageParamsI, GetCommentI, GetCommentsI, GetCommunityI, 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, 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 
     | 
    
         
            -
            import { BannedPersonsResponse } from "./types/BannedPersonsResponse";
         
     | 
| 
       14 
11 
     | 
    
         
             
            import { BlockCommunity } from "./types/BlockCommunity";
         
     | 
| 
       15 
     | 
    
         
            -
            import { BlockCommunityResponse } from "./types/BlockCommunityResponse";
         
     | 
| 
       16 
12 
     | 
    
         
             
            import { BlockPerson } from "./types/BlockPerson";
         
     | 
| 
       17 
     | 
    
         
            -
            import { BlockPersonResponse } from "./types/BlockPersonResponse";
         
     | 
| 
       18 
13 
     | 
    
         
             
            import { ChangePassword } from "./types/ChangePassword";
         
     | 
| 
       19 
14 
     | 
    
         
             
            import { CommentReportResponse } from "./types/CommentReportResponse";
         
     | 
| 
       20 
15 
     | 
    
         
             
            import { CommentResponse } from "./types/CommentResponse";
         
     | 
| 
      
 16 
     | 
    
         
            +
            import { CommunityReportResponse } from "./types/CommunityReportResponse";
         
     | 
| 
       21 
17 
     | 
    
         
             
            import { CommunityResponse } from "./types/CommunityResponse";
         
     | 
| 
       22 
18 
     | 
    
         
             
            import { CreateComment } from "./types/CreateComment";
         
     | 
| 
       23 
19 
     | 
    
         
             
            import { CreateCommentLike } from "./types/CreateCommentLike";
         
     | 
| 
       24 
20 
     | 
    
         
             
            import { CreateCommentReport } from "./types/CreateCommentReport";
         
     | 
| 
       25 
21 
     | 
    
         
             
            import { CreateCommunity } from "./types/CreateCommunity";
         
     | 
| 
      
 22 
     | 
    
         
            +
            import { CreateCommunityReport } from "./types/CreateCommunityReport";
         
     | 
| 
       26 
23 
     | 
    
         
             
            import { CreateCommunityTag } from "./types/CreateCommunityTag";
         
     | 
| 
      
 24 
     | 
    
         
            +
            import { UpdateCommunityTag } from "./types/UpdateCommunityTag";
         
     | 
| 
       27 
25 
     | 
    
         
             
            import { CreateCustomEmoji } from "./types/CreateCustomEmoji";
         
     | 
| 
       28 
26 
     | 
    
         
             
            import { CreateOAuthProvider } from "./types/CreateOAuthProvider";
         
     | 
| 
       29 
27 
     | 
    
         
             
            import { CreatePost } from "./types/CreatePost";
         
     | 
| 
         @@ -68,11 +66,10 @@ import { GetUnreadRegistrationApplicationCountResponse } from "./types/GetUnread 
     | 
|
| 
       68 
66 
     | 
    
         
             
            import { ListCommunitiesResponse } from "./types/ListCommunitiesResponse";
         
     | 
| 
       69 
67 
     | 
    
         
             
            import { ListRegistrationApplicationsResponse } from "./types/ListRegistrationApplicationsResponse";
         
     | 
| 
       70 
68 
     | 
    
         
             
            import { LockPost } from "./types/LockPost";
         
     | 
| 
      
 69 
     | 
    
         
            +
            import { LockComment } from "./types/LockComment";
         
     | 
| 
       71 
70 
     | 
    
         
             
            import { Login } from "./types/Login";
         
     | 
| 
       72 
71 
     | 
    
         
             
            import { LoginResponse } from "./types/LoginResponse";
         
     | 
| 
       73 
     | 
    
         
            -
            import { MarkCommentReplyAsRead } from "./types/MarkCommentReplyAsRead";
         
     | 
| 
       74 
72 
     | 
    
         
             
            import { MarkPostAsRead } from "./types/MarkPostAsRead";
         
     | 
| 
       75 
     | 
    
         
            -
            import { MarkPrivateMessageAsRead } from "./types/MarkPrivateMessageAsRead";
         
     | 
| 
       76 
73 
     | 
    
         
             
            import { PasswordChangeAfterReset } from "./types/PasswordChangeAfterReset";
         
     | 
| 
       77 
74 
     | 
    
         
             
            import { PasswordReset } from "./types/PasswordReset";
         
     | 
| 
       78 
75 
     | 
    
         
             
            import { PostReportResponse } from "./types/PostReportResponse";
         
     | 
| 
         @@ -89,7 +86,7 @@ import { RemoveComment } from "./types/RemoveComment"; 
     | 
|
| 
       89 
86 
     | 
    
         
             
            import { RemoveCommunity } from "./types/RemoveCommunity";
         
     | 
| 
       90 
87 
     | 
    
         
             
            import { RemovePost } from "./types/RemovePost";
         
     | 
| 
       91 
88 
     | 
    
         
             
            import { ResolveCommentReport } from "./types/ResolveCommentReport";
         
     | 
| 
       92 
     | 
    
         
            -
            import {  
     | 
| 
      
 89 
     | 
    
         
            +
            import { ResolveCommunityReport } from "./types/ResolveCommunityReport";
         
     | 
| 
       93 
90 
     | 
    
         
             
            import { ResolvePostReport } from "./types/ResolvePostReport";
         
     | 
| 
       94 
91 
     | 
    
         
             
            import { ResolvePrivateMessageReport } from "./types/ResolvePrivateMessageReport";
         
     | 
| 
       95 
92 
     | 
    
         
             
            import { SaveComment } from "./types/SaveComment";
         
     | 
| 
         @@ -98,14 +95,12 @@ import { SaveUserSettings } from "./types/SaveUserSettings"; 
     | 
|
| 
       98 
95 
     | 
    
         
             
            import { SearchResponse } from "./types/SearchResponse";
         
     | 
| 
       99 
96 
     | 
    
         
             
            import { SiteResponse } from "./types/SiteResponse";
         
     | 
| 
       100 
97 
     | 
    
         
             
            import { TransferCommunity } from "./types/TransferCommunity";
         
     | 
| 
       101 
     | 
    
         
            -
            import { UpdateCommunityTag } from "./types/UpdateCommunityTag";
         
     | 
| 
       102 
98 
     | 
    
         
             
            import { VerifyEmail } from "./types/VerifyEmail";
         
     | 
| 
       103 
99 
     | 
    
         
             
            import { HideCommunity } from "./types/HideCommunity";
         
     | 
| 
       104 
100 
     | 
    
         
             
            import { GenerateTotpSecretResponse } from "./types/GenerateTotpSecretResponse";
         
     | 
| 
       105 
101 
     | 
    
         
             
            import { UpdateTotp } from "./types/UpdateTotp";
         
     | 
| 
       106 
102 
     | 
    
         
             
            import { UpdateTotpResponse } from "./types/UpdateTotpResponse";
         
     | 
| 
       107 
103 
     | 
    
         
             
            import { SuccessResponse } from "./types/SuccessResponse";
         
     | 
| 
       108 
     | 
    
         
            -
            import { LoginToken } from "./types/LoginToken";
         
     | 
| 
       109 
104 
     | 
    
         
             
            import { ListPostLikesResponse } from "./types/ListPostLikesResponse";
         
     | 
| 
       110 
105 
     | 
    
         
             
            import { ListCommentLikesResponse } from "./types/ListCommentLikesResponse";
         
     | 
| 
       111 
106 
     | 
    
         
             
            import { HidePost } from "./types/HidePost";
         
     | 
| 
         @@ -122,18 +117,36 @@ import { GetCommunityPendingFollowsCountResponse } from "./types/GetCommunityPen 
     | 
|
| 
       122 
117 
     | 
    
         
             
            import { ListCommunityPendingFollowsResponse } from "./types/ListCommunityPendingFollowsResponse";
         
     | 
| 
       123 
118 
     | 
    
         
             
            import { ListReportsResponse } from "./types/ListReportsResponse";
         
     | 
| 
       124 
119 
     | 
    
         
             
            import { MyUserInfo } from "./types/MyUserInfo";
         
     | 
| 
       125 
     | 
    
         
            -
            import { UserBlockInstanceParams } from "./types/UserBlockInstanceParams";
         
     | 
| 
       126 
120 
     | 
    
         
             
            import { AdminAllowInstanceParams } from "./types/AdminAllowInstanceParams";
         
     | 
| 
       127 
121 
     | 
    
         
             
            import { AdminBlockInstanceParams } from "./types/AdminBlockInstanceParams";
         
     | 
| 
       128 
122 
     | 
    
         
             
            import { ListPersonContentResponse } from "./types/ListPersonContentResponse";
         
     | 
| 
       129 
123 
     | 
    
         
             
            import { ListPersonSavedResponse } from "./types/ListPersonSavedResponse";
         
     | 
| 
       130 
124 
     | 
    
         
             
            import { UploadImageResponse } from "./types/UploadImageResponse";
         
     | 
| 
       131 
     | 
    
         
            -
            import { ListInboxResponse } from "./types/ListInboxResponse";
         
     | 
| 
       132 
     | 
    
         
            -
            import { MarkPersonCommentMentionAsRead } from "./types/MarkPersonCommentMentionAsRead";
         
     | 
| 
       133 
     | 
    
         
            -
            import { MarkPersonPostMentionAsRead } from "./types/MarkPersonPostMentionAsRead";
         
     | 
| 
       134 
125 
     | 
    
         
             
            import { GetCommentsSlimResponse } from "./types/GetCommentsSlimResponse";
         
     | 
| 
       135 
126 
     | 
    
         
             
            import { Tag } from "./types/Tag";
         
     | 
| 
       136 
127 
     | 
    
         
             
            import { ResendVerificationEmail } from "./types/ResendVerificationEmail";
         
     | 
| 
      
 128 
     | 
    
         
            +
            import { ListPersonReadResponse } from "./types/ListPersonReadResponse";
         
     | 
| 
      
 129 
     | 
    
         
            +
            import { ListPersonHiddenResponse } from "./types/ListPersonHiddenResponse";
         
     | 
| 
      
 130 
     | 
    
         
            +
            import { CommunityIdQuery } from "./types/CommunityIdQuery";
         
     | 
| 
      
 131 
     | 
    
         
            +
            import { CreateMultiCommunity } from "./types/CreateMultiCommunity";
         
     | 
| 
      
 132 
     | 
    
         
            +
            import { UpdateMultiCommunity } from "./types/UpdateMultiCommunity";
         
     | 
| 
      
 133 
     | 
    
         
            +
            import { ListMultiCommunitiesResponse } from "./types/ListMultiCommunitiesResponse";
         
     | 
| 
      
 134 
     | 
    
         
            +
            import { AdminListUsersResponse } from "./types/AdminListUsersResponse";
         
     | 
| 
      
 135 
     | 
    
         
            +
            import { CreateOrDeleteMultiCommunityEntry } from "./types/CreateOrDeleteMultiCommunityEntry";
         
     | 
| 
      
 136 
     | 
    
         
            +
            import { GetMultiCommunityResponse } from "./types/GetMultiCommunityResponse";
         
     | 
| 
      
 137 
     | 
    
         
            +
            import { FollowMultiCommunity } from "./types/FollowMultiCommunity";
         
     | 
| 
      
 138 
     | 
    
         
            +
            import { ListLoginsResponse } from "./types/ListLoginsResponse";
         
     | 
| 
      
 139 
     | 
    
         
            +
            import { ListPersonLikedResponse } from "./types/ListPersonLikedResponse";
         
     | 
| 
      
 140 
     | 
    
         
            +
            import { NotePerson } from "./types/NotePerson";
         
     | 
| 
      
 141 
     | 
    
         
            +
            import { UserBlockInstanceCommunitiesParams } from "./types/UserBlockInstanceCommunitiesParams";
         
     | 
| 
      
 142 
     | 
    
         
            +
            import { UserBlockInstancePersonsParams } from "./types/UserBlockInstancePersonsParams";
         
     | 
| 
      
 143 
     | 
    
         
            +
            import { MarkNotificationAsRead } from "./types/MarkNotificationAsRead";
         
     | 
| 
      
 144 
     | 
    
         
            +
            import { ListNotificationsResponse } from "./types/ListNotificationsResponse";
         
     | 
| 
      
 145 
     | 
    
         
            +
            import { ModEditPost } from "./types/ModEditPost";
         
     | 
| 
      
 146 
     | 
    
         
            +
            import { UpdateCommunityNotifications } from "./types/UpdateCommunityNotifications";
         
     | 
| 
      
 147 
     | 
    
         
            +
            import { UpdatePostNotifications } from "./types/UpdatePostNotifications";
         
     | 
| 
      
 148 
     | 
    
         
            +
            import { MultiCommunityResponse } from "./types/MultiCommunityResponse";
         
     | 
| 
      
 149 
     | 
    
         
            +
            import { PersonResponse } from "./types/PersonResponse";
         
     | 
| 
       137 
150 
     | 
    
         
             
            type RequestOptions = Pick<RequestInit, "signal">;
         
     | 
| 
       138 
151 
     | 
    
         
             
            /**
         
     | 
| 
       139 
152 
     | 
    
         
             
             * Helps build lemmy HTTP requests.
         
     | 
| 
         @@ -192,7 +205,7 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       192 
205 
     | 
    
         
             
                /**
         
     | 
| 
       193 
206 
     | 
    
         
             
                 * @summary List login tokens for your user
         
     | 
| 
       194 
207 
     | 
    
         
             
                 */
         
     | 
| 
       195 
     | 
    
         
            -
                listLogins(options?: RequestOptions): Promise< 
     | 
| 
      
 208 
     | 
    
         
            +
                listLogins(options?: RequestOptions): Promise<ListLoginsResponse>;
         
     | 
| 
       196 
209 
     | 
    
         
             
                /**
         
     | 
| 
       197 
210 
     | 
    
         
             
                 * @summary Returns an error message if your auth token is invalid
         
     | 
| 
       198 
211 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -226,13 +239,13 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       226 
239 
     | 
    
         
             
                 */
         
     | 
| 
       227 
240 
     | 
    
         
             
                getModlog(form?: GetModlogI, options?: RequestOptions): Promise<GetModlogResponse>;
         
     | 
| 
       228 
241 
     | 
    
         
             
                /**
         
     | 
| 
       229 
     | 
    
         
            -
                 * @summary Search lemmy.
         
     | 
| 
      
 242 
     | 
    
         
            +
                 * @summary Search lemmy. If `search_term` is a url it also attempts to fetch it, just like `resolve_object`.
         
     | 
| 
       230 
243 
     | 
    
         
             
                 */
         
     | 
| 
       231 
244 
     | 
    
         
             
                search(form: SearchI, options?: RequestOptions): Promise<SearchResponse>;
         
     | 
| 
       232 
245 
     | 
    
         
             
                /**
         
     | 
| 
       233 
246 
     | 
    
         
             
                 * @summary Fetch a non-local / federated object.
         
     | 
| 
       234 
247 
     | 
    
         
             
                 */
         
     | 
| 
       235 
     | 
    
         
            -
                resolveObject(form: ResolveObjectI, options?: RequestOptions): Promise< 
     | 
| 
      
 248 
     | 
    
         
            +
                resolveObject(form: ResolveObjectI, options?: RequestOptions): Promise<SearchResponse>;
         
     | 
| 
       236 
249 
     | 
    
         
             
                /**
         
     | 
| 
       237 
250 
     | 
    
         
             
                 * @summary Create a new community.
         
     | 
| 
       238 
251 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -256,7 +269,7 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       256 
269 
     | 
    
         
             
                /**
         
     | 
| 
       257 
270 
     | 
    
         
             
                 * @summary Get a community's pending follows count.
         
     | 
| 
       258 
271 
     | 
    
         
             
                 */
         
     | 
| 
       259 
     | 
    
         
            -
                getCommunityPendingFollowsCount( 
     | 
| 
      
 272 
     | 
    
         
            +
                getCommunityPendingFollowsCount(options?: RequestOptions): Promise<GetCommunityPendingFollowsCountResponse>;
         
     | 
| 
       260 
273 
     | 
    
         
             
                /**
         
     | 
| 
       261 
274 
     | 
    
         
             
                 * @summary Get a community's pending followers.
         
     | 
| 
       262 
275 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -268,7 +281,7 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       268 
281 
     | 
    
         
             
                /**
         
     | 
| 
       269 
282 
     | 
    
         
             
                 * @summary Block a community.
         
     | 
| 
       270 
283 
     | 
    
         
             
                 */
         
     | 
| 
       271 
     | 
    
         
            -
                blockCommunity(form: BlockCommunity, options?: RequestOptions): Promise< 
     | 
| 
      
 284 
     | 
    
         
            +
                blockCommunity(form: BlockCommunity, options?: RequestOptions): Promise<CommunityResponse>;
         
     | 
| 
       272 
285 
     | 
    
         
             
                /**
         
     | 
| 
       273 
286 
     | 
    
         
             
                 * @summary Delete a community.
         
     | 
| 
       274 
287 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -288,7 +301,7 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       288 
301 
     | 
    
         
             
                /**
         
     | 
| 
       289 
302 
     | 
    
         
             
                 * @summary Ban a user from a community.
         
     | 
| 
       290 
303 
     | 
    
         
             
                 */
         
     | 
| 
       291 
     | 
    
         
            -
                banFromCommunity(form: BanFromCommunity, options?: RequestOptions): Promise< 
     | 
| 
      
 304 
     | 
    
         
            +
                banFromCommunity(form: BanFromCommunity, options?: RequestOptions): Promise<PersonResponse>;
         
     | 
| 
       292 
305 
     | 
    
         
             
                /**
         
     | 
| 
       293 
306 
     | 
    
         
             
                 * @summary Add a moderator to your community.
         
     | 
| 
       294 
307 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -297,6 +310,14 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       297 
310 
     | 
    
         
             
                 * @summary Get a random community.
         
     | 
| 
       298 
311 
     | 
    
         
             
                 */
         
     | 
| 
       299 
312 
     | 
    
         
             
                getRandomCommunity(form: GetRandomCommunityI, options?: RequestOptions): Promise<CommunityResponse>;
         
     | 
| 
      
 313 
     | 
    
         
            +
                /**
         
     | 
| 
      
 314 
     | 
    
         
            +
                 * @summary Create a report for a community.
         
     | 
| 
      
 315 
     | 
    
         
            +
                 */
         
     | 
| 
      
 316 
     | 
    
         
            +
                createCommunityReport(form: CreateCommunityReport, options?: RequestOptions): Promise<CommunityReportResponse>;
         
     | 
| 
      
 317 
     | 
    
         
            +
                /**
         
     | 
| 
      
 318 
     | 
    
         
            +
                 * @summary Resolve a report for a private message.
         
     | 
| 
      
 319 
     | 
    
         
            +
                 */
         
     | 
| 
      
 320 
     | 
    
         
            +
                resolveCommunityReport(form: ResolveCommunityReport, options?: RequestOptions): Promise<CommunityReportResponse>;
         
     | 
| 
       300 
321 
     | 
    
         
             
                /**
         
     | 
| 
       301 
322 
     | 
    
         
             
                 * @summary Create a post.
         
     | 
| 
       302 
323 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -309,6 +330,10 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       309 
330 
     | 
    
         
             
                 * @summary Edit a post.
         
     | 
| 
       310 
331 
     | 
    
         
             
                 */
         
     | 
| 
       311 
332 
     | 
    
         
             
                editPost(form: EditPost, options?: RequestOptions): Promise<PostResponse>;
         
     | 
| 
      
 333 
     | 
    
         
            +
                /**
         
     | 
| 
      
 334 
     | 
    
         
            +
                 * @summary Mods can change nsfw flag and tags for a post
         
     | 
| 
      
 335 
     | 
    
         
            +
                 */
         
     | 
| 
      
 336 
     | 
    
         
            +
                modEditPost(form: ModEditPost, options?: RequestOptions): Promise<PostResponse>;
         
     | 
| 
       312 
337 
     | 
    
         
             
                /**
         
     | 
| 
       313 
338 
     | 
    
         
             
                 * @summary Delete a post.
         
     | 
| 
       314 
339 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -320,7 +345,7 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       320 
345 
     | 
    
         
             
                /**
         
     | 
| 
       321 
346 
     | 
    
         
             
                 * @summary Mark a post as read.
         
     | 
| 
       322 
347 
     | 
    
         
             
                 */
         
     | 
| 
       323 
     | 
    
         
            -
                markPostAsRead(form: MarkPostAsRead, options?: RequestOptions): Promise< 
     | 
| 
      
 348 
     | 
    
         
            +
                markPostAsRead(form: MarkPostAsRead, options?: RequestOptions): Promise<PostResponse>;
         
     | 
| 
       324 
349 
     | 
    
         
             
                /**
         
     | 
| 
       325 
350 
     | 
    
         
             
                 * @summary Mark multiple posts as read.
         
     | 
| 
       326 
351 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -328,7 +353,7 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       328 
353 
     | 
    
         
             
                /**
         
     | 
| 
       329 
354 
     | 
    
         
             
                 * @summary Hide a post from list views.
         
     | 
| 
       330 
355 
     | 
    
         
             
                 */
         
     | 
| 
       331 
     | 
    
         
            -
                hidePost(form: HidePost, options?: RequestOptions): Promise< 
     | 
| 
      
 356 
     | 
    
         
            +
                hidePost(form: HidePost, options?: RequestOptions): Promise<PostResponse>;
         
     | 
| 
       332 
357 
     | 
    
         
             
                /**
         
     | 
| 
       333 
358 
     | 
    
         
             
                 * @summary A moderator can lock a post ( IE disable new comments ).
         
     | 
| 
       334 
359 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -382,11 +407,11 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       382 
407 
     | 
    
         
             
                 */
         
     | 
| 
       383 
408 
     | 
    
         
             
                removeComment(form: RemoveComment, options?: RequestOptions): Promise<CommentResponse>;
         
     | 
| 
       384 
409 
     | 
    
         
             
                /**
         
     | 
| 
       385 
     | 
    
         
            -
                 * @summary  
     | 
| 
      
 410 
     | 
    
         
            +
                 * @summary A moderator can lock a comment (IE disable replies).
         
     | 
| 
       386 
411 
     | 
    
         
             
                 */
         
     | 
| 
       387 
     | 
    
         
            -
                 
     | 
| 
      
 412 
     | 
    
         
            +
                lockComment(form: LockComment, options?: RequestOptions): Promise<CommentResponse>;
         
     | 
| 
       388 
413 
     | 
    
         
             
                /**
         
     | 
| 
       389 
     | 
    
         
            -
                 * @ 
     | 
| 
      
 414 
     | 
    
         
            +
                 * @Summary Like / vote on a comment.
         
     | 
| 
       390 
415 
     | 
    
         
             
                 */
         
     | 
| 
       391 
416 
     | 
    
         
             
                likeComment(form: CreateCommentLike, options?: RequestOptions): Promise<CommentResponse>;
         
     | 
| 
       392 
417 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -433,10 +458,6 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       433 
458 
     | 
    
         
             
                 * @summary Delete a private message.
         
     | 
| 
       434 
459 
     | 
    
         
             
                 */
         
     | 
| 
       435 
460 
     | 
    
         
             
                deletePrivateMessage(form: DeletePrivateMessage, options?: RequestOptions): Promise<PrivateMessageResponse>;
         
     | 
| 
       436 
     | 
    
         
            -
                /**
         
     | 
| 
       437 
     | 
    
         
            -
                 * @summary Mark a private message as read.
         
     | 
| 
       438 
     | 
    
         
            -
                 */
         
     | 
| 
       439 
     | 
    
         
            -
                markPrivateMessageAsRead(form: MarkPrivateMessageAsRead, options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
       440 
461 
     | 
    
         
             
                /**
         
     | 
| 
       441 
462 
     | 
    
         
             
                 * @summary Create a report for a private message.
         
     | 
| 
       442 
463 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -466,25 +487,21 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       466 
487 
     | 
    
         
             
                 */
         
     | 
| 
       467 
488 
     | 
    
         
             
                listPersonContent(form?: ListPersonContentI, options?: RequestOptions): Promise<ListPersonContentResponse>;
         
     | 
| 
       468 
489 
     | 
    
         
             
                /**
         
     | 
| 
       469 
     | 
    
         
            -
                 * @summary  
     | 
| 
       470 
     | 
    
         
            -
                 */
         
     | 
| 
       471 
     | 
    
         
            -
                markCommentMentionAsRead(form: MarkPersonCommentMentionAsRead, options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
       472 
     | 
    
         
            -
                /**
         
     | 
| 
       473 
     | 
    
         
            -
                 * @summary Mark a person post body mention as read.
         
     | 
| 
      
 490 
     | 
    
         
            +
                 * @summary Make a note for a person.
         
     | 
| 
       474 
491 
     | 
    
         
             
                 */
         
     | 
| 
       475 
     | 
    
         
            -
                 
     | 
| 
      
 492 
     | 
    
         
            +
                notePerson(form: NotePerson, options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
       476 
493 
     | 
    
         
             
                /**
         
     | 
| 
       477 
494 
     | 
    
         
             
                 * @summary Ban a person from your site.
         
     | 
| 
       478 
495 
     | 
    
         
             
                 */
         
     | 
| 
       479 
     | 
    
         
            -
                banPerson(form: BanPerson, options?: RequestOptions): Promise< 
     | 
| 
      
 496 
     | 
    
         
            +
                banPerson(form: BanPerson, options?: RequestOptions): Promise<PersonResponse>;
         
     | 
| 
       480 
497 
     | 
    
         
             
                /**
         
     | 
| 
       481 
     | 
    
         
            -
                 * @summary Get a list of  
     | 
| 
      
 498 
     | 
    
         
            +
                 * @summary Get a list of users.
         
     | 
| 
       482 
499 
     | 
    
         
             
                 */
         
     | 
| 
       483 
     | 
    
         
            -
                 
     | 
| 
      
 500 
     | 
    
         
            +
                listUsers(form?: AdminListUsersI, options?: RequestOptions): Promise<AdminListUsersResponse>;
         
     | 
| 
       484 
501 
     | 
    
         
             
                /**
         
     | 
| 
       485 
502 
     | 
    
         
             
                 * @summary Block a person.
         
     | 
| 
       486 
503 
     | 
    
         
             
                 */
         
     | 
| 
       487 
     | 
    
         
            -
                blockPerson(form: BlockPerson, options?: RequestOptions): Promise< 
     | 
| 
      
 504 
     | 
    
         
            +
                blockPerson(form: BlockPerson, options?: RequestOptions): Promise<PersonResponse>;
         
     | 
| 
       488 
505 
     | 
    
         
             
                /**
         
     | 
| 
       489 
506 
     | 
    
         
             
                 * @summary Fetch a Captcha.
         
     | 
| 
       490 
507 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -505,6 +522,10 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       505 
522 
     | 
    
         
             
                 * @summary Mark all replies as read.
         
     | 
| 
       506 
523 
     | 
    
         
             
                 */
         
     | 
| 
       507 
524 
     | 
    
         
             
                markAllNotificationsAsRead(options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
      
 525 
     | 
    
         
            +
                /**
         
     | 
| 
      
 526 
     | 
    
         
            +
                 * @summary Mark a notification as read.
         
     | 
| 
      
 527 
     | 
    
         
            +
                 */
         
     | 
| 
      
 528 
     | 
    
         
            +
                markNotificationAsRead(form: MarkNotificationAsRead, options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
       508 
529 
     | 
    
         
             
                /**
         
     | 
| 
       509 
530 
     | 
    
         
             
                 * @summary Save your user settings.
         
     | 
| 
       510 
531 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -524,7 +545,7 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       524 
545 
     | 
    
         
             
                /**
         
     | 
| 
       525 
546 
     | 
    
         
             
                 * @summary Get your inbox (replies, comment mentions, post mentions, and messages)
         
     | 
| 
       526 
547 
     | 
    
         
             
                 */
         
     | 
| 
       527 
     | 
    
         
            -
                 
     | 
| 
      
 548 
     | 
    
         
            +
                listNotifications(form: ListNotificationsI, options?: RequestOptions): Promise<ListNotificationsResponse>;
         
     | 
| 
       528 
549 
     | 
    
         
             
                /**
         
     | 
| 
       529 
550 
     | 
    
         
             
                 * @summary Verify your email
         
     | 
| 
       530 
551 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -537,6 +558,18 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       537 
558 
     | 
    
         
             
                 * @summary List your saved content.
         
     | 
| 
       538 
559 
     | 
    
         
             
                 */
         
     | 
| 
       539 
560 
     | 
    
         
             
                listPersonSaved(form: ListPersonSavedI, options?: RequestOptions): Promise<ListPersonSavedResponse>;
         
     | 
| 
      
 561 
     | 
    
         
            +
                /**
         
     | 
| 
      
 562 
     | 
    
         
            +
                 * @summary List your read content.
         
     | 
| 
      
 563 
     | 
    
         
            +
                 */
         
     | 
| 
      
 564 
     | 
    
         
            +
                listPersonRead(form: ListPersonReadI, options?: RequestOptions): Promise<ListPersonReadResponse>;
         
     | 
| 
      
 565 
     | 
    
         
            +
                /**
         
     | 
| 
      
 566 
     | 
    
         
            +
                 * @summary List your hidden content.
         
     | 
| 
      
 567 
     | 
    
         
            +
                 */
         
     | 
| 
      
 568 
     | 
    
         
            +
                listPersonHidden(form: ListPersonHiddenI, options?: RequestOptions): Promise<ListPersonHiddenResponse>;
         
     | 
| 
      
 569 
     | 
    
         
            +
                /**
         
     | 
| 
      
 570 
     | 
    
         
            +
                 * @summary List your liked content.
         
     | 
| 
      
 571 
     | 
    
         
            +
                 */
         
     | 
| 
      
 572 
     | 
    
         
            +
                listPersonLiked(form: ListPersonLikedI, options?: RequestOptions): Promise<ListPersonLikedResponse>;
         
     | 
| 
       540 
573 
     | 
    
         
             
                /**
         
     | 
| 
       541 
574 
     | 
    
         
             
                 * @summary Add an admin to your site.
         
     | 
| 
       542 
575 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -610,7 +643,7 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       610 
643 
     | 
    
         
             
                 */
         
     | 
| 
       611 
644 
     | 
    
         
             
                createCommunityTag(form: CreateCommunityTag, options?: RequestOptions): Promise<Tag>;
         
     | 
| 
       612 
645 
     | 
    
         
             
                /**
         
     | 
| 
       613 
     | 
    
         
            -
                 * @summary  
     | 
| 
      
 646 
     | 
    
         
            +
                 * @summary Edit a community post tag.
         
     | 
| 
       614 
647 
     | 
    
         
             
                 */
         
     | 
| 
       615 
648 
     | 
    
         
             
                updateCommunityTag(form: UpdateCommunityTag, options?: RequestOptions): Promise<Tag>;
         
     | 
| 
       616 
649 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -636,15 +669,19 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       636 
669 
     | 
    
         
             
                /**
         
     | 
| 
       637 
670 
     | 
    
         
             
                 * @summary Fetch federated instances.
         
     | 
| 
       638 
671 
     | 
    
         
             
                 */
         
     | 
| 
       639 
     | 
    
         
            -
                getFederatedInstances(options?: RequestOptions): Promise<GetFederatedInstancesResponse>;
         
     | 
| 
      
 672 
     | 
    
         
            +
                getFederatedInstances(form: GetFederatedInstancesI, options?: RequestOptions): Promise<GetFederatedInstancesResponse>;
         
     | 
| 
       640 
673 
     | 
    
         
             
                /**
         
     | 
| 
       641 
674 
     | 
    
         
             
                 * @summary List user reports.
         
     | 
| 
       642 
675 
     | 
    
         
             
                 */
         
     | 
| 
       643 
676 
     | 
    
         
             
                listReports(form: ListReportsI, options?: RequestOptions): Promise<ListReportsResponse>;
         
     | 
| 
       644 
677 
     | 
    
         
             
                /**
         
     | 
| 
       645 
     | 
    
         
            -
                 * @summary Block an instance as user.
         
     | 
| 
      
 678 
     | 
    
         
            +
                 * @summary Block an instance's communities as a user.
         
     | 
| 
      
 679 
     | 
    
         
            +
                 */
         
     | 
| 
      
 680 
     | 
    
         
            +
                userBlockInstanceCommunities(form: UserBlockInstanceCommunitiesParams, options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
      
 681 
     | 
    
         
            +
                /**
         
     | 
| 
      
 682 
     | 
    
         
            +
                 * @summary Block an instance's persons as a user.
         
     | 
| 
       646 
683 
     | 
    
         
             
                 */
         
     | 
| 
       647 
     | 
    
         
            -
                 
     | 
| 
      
 684 
     | 
    
         
            +
                userBlockInstancePersons(form: UserBlockInstancePersonsParams, options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
       648 
685 
     | 
    
         
             
                /**
         
     | 
| 
       649 
686 
     | 
    
         
             
                 * @summary Globally block an instance as admin.
         
     | 
| 
       650 
687 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -672,19 +709,19 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       672 
709 
     | 
    
         
             
                /**
         
     | 
| 
       673 
710 
     | 
    
         
             
                 * @summary Upload new community icon.
         
     | 
| 
       674 
711 
     | 
    
         
             
                 */
         
     | 
| 
       675 
     | 
    
         
            -
                uploadCommunityIcon(image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
         
     | 
| 
      
 712 
     | 
    
         
            +
                uploadCommunityIcon(query: CommunityIdQueryI, image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
         
     | 
| 
       676 
713 
     | 
    
         
             
                /**
         
     | 
| 
       677 
714 
     | 
    
         
             
                 * @summary Delete the community icon.
         
     | 
| 
       678 
715 
     | 
    
         
             
                 */
         
     | 
| 
       679 
     | 
    
         
            -
                deleteCommunityIcon(options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
      
 716 
     | 
    
         
            +
                deleteCommunityIcon(form: CommunityIdQuery, options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
       680 
717 
     | 
    
         
             
                /**
         
     | 
| 
       681 
718 
     | 
    
         
             
                 * @summary Upload new community banner.
         
     | 
| 
       682 
719 
     | 
    
         
             
                 */
         
     | 
| 
       683 
     | 
    
         
            -
                uploadCommunityBanner(image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
         
     | 
| 
      
 720 
     | 
    
         
            +
                uploadCommunityBanner(query: CommunityIdQueryI, image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
         
     | 
| 
       684 
721 
     | 
    
         
             
                /**
         
     | 
| 
       685 
722 
     | 
    
         
             
                 * @summary Delete the community banner.
         
     | 
| 
       686 
723 
     | 
    
         
             
                 */
         
     | 
| 
       687 
     | 
    
         
            -
                deleteCommunityBanner(options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
      
 724 
     | 
    
         
            +
                deleteCommunityBanner(form: CommunityIdQuery, options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
       688 
725 
     | 
    
         
             
                /**
         
     | 
| 
       689 
726 
     | 
    
         
             
                 * @summary Upload new site icon.
         
     | 
| 
       690 
727 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -711,10 +748,23 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       711 
748 
     | 
    
         
             
                imageHealth(options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
       712 
749 
     | 
    
         
             
                /**
         
     | 
| 
       713 
750 
     | 
    
         
             
                 * Mark donation dialog as shown, so it isn't displayed anymore.
         
     | 
| 
       714 
     | 
    
         
            -
                 *
         
     | 
| 
       715 
     | 
    
         
            -
                 * `HTTP.POST /user/donation_dialog_shown`
         
     | 
| 
       716 
751 
     | 
    
         
             
                 */
         
     | 
| 
       717 
     | 
    
         
            -
                 
     | 
| 
      
 752 
     | 
    
         
            +
                donationDialogShown(options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
      
 753 
     | 
    
         
            +
                createMultiCommunity(form: CreateMultiCommunity, options?: RequestOptions): Promise<MultiCommunityResponse>;
         
     | 
| 
      
 754 
     | 
    
         
            +
                updateMultiCommunity(form: UpdateMultiCommunity, options?: RequestOptions): Promise<MultiCommunityResponse>;
         
     | 
| 
      
 755 
     | 
    
         
            +
                getMultiCommunity(form: GetMultiCommunityI, options?: RequestOptions): Promise<GetMultiCommunityResponse>;
         
     | 
| 
      
 756 
     | 
    
         
            +
                createMultiCommunityEntry(form: CreateOrDeleteMultiCommunityEntry, options?: RequestOptions): Promise<CommunityResponse>;
         
     | 
| 
      
 757 
     | 
    
         
            +
                deleteMultiCommunityEntry(form: CreateOrDeleteMultiCommunityEntry, options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
      
 758 
     | 
    
         
            +
                listMultiCommunities(form: ListMultiCommunitiesI, options?: RequestOptions): Promise<ListMultiCommunitiesResponse>;
         
     | 
| 
      
 759 
     | 
    
         
            +
                followMultiCommunity(form: FollowMultiCommunity, options?: RequestOptions): Promise<MultiCommunityResponse>;
         
     | 
| 
      
 760 
     | 
    
         
            +
                /**
         
     | 
| 
      
 761 
     | 
    
         
            +
                 * @summary Change notification settings for a community
         
     | 
| 
      
 762 
     | 
    
         
            +
                 */
         
     | 
| 
      
 763 
     | 
    
         
            +
                updateCommunityNotifications(form: UpdateCommunityNotifications, options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
      
 764 
     | 
    
         
            +
                /**
         
     | 
| 
      
 765 
     | 
    
         
            +
                 * @summary Change notification settings for a post
         
     | 
| 
      
 766 
     | 
    
         
            +
                 */
         
     | 
| 
      
 767 
     | 
    
         
            +
                updatePostNotifications(form: UpdatePostNotifications, options?: RequestOptions): Promise<SuccessResponse>;
         
     | 
| 
       718 
768 
     | 
    
         
             
                /**
         
     | 
| 
       719 
769 
     | 
    
         
             
                 * Set the headers (can be used to set the auth header)
         
     | 
| 
       720 
770 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -722,4 +772,14 @@ export declare class LemmyHttp extends Controller { 
     | 
|
| 
       722 
772 
     | 
    
         
             
                    [key: string]: string;
         
     | 
| 
       723 
773 
     | 
    
         
             
                }): void;
         
     | 
| 
       724 
774 
     | 
    
         
             
            }
         
     | 
| 
      
 775 
     | 
    
         
            +
            /**
         
     | 
| 
      
 776 
     | 
    
         
            +
             * A Lemmy error type.
         
     | 
| 
      
 777 
     | 
    
         
            +
             *
         
     | 
| 
      
 778 
     | 
    
         
            +
             * The name is the i18n translatable error code.
         
     | 
| 
      
 779 
     | 
    
         
            +
             * The msg is either an empty string, or extra non-translatable info.
         
     | 
| 
      
 780 
     | 
    
         
            +
             */
         
     | 
| 
      
 781 
     | 
    
         
            +
            export declare class LemmyError extends Error {
         
     | 
| 
      
 782 
     | 
    
         
            +
                status: number;
         
     | 
| 
      
 783 
     | 
    
         
            +
                constructor(name: string, status: number, msg?: string);
         
     | 
| 
      
 784 
     | 
    
         
            +
            }
         
     | 
| 
       725 
785 
     | 
    
         
             
            export {};
         
     |