lemmy-js-client 1.0.0-remove-page-limit.0 → 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 +122 -58
 - package/dist/http.js +426 -216
 - 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/dist/http.js
    CHANGED
    
    | 
         @@ -19,9 +19,9 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function ( 
     | 
|
| 
       19 
19 
     | 
    
         
             
                if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
         
     | 
| 
       20 
20 
     | 
    
         
             
                return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
         
     | 
| 
       21 
21 
     | 
    
         
             
            };
         
     | 
| 
       22 
     | 
    
         
            -
            var _LemmyHttp_instances, _LemmyHttp_apiUrl, _LemmyHttp_headers, _LemmyHttp_fetchFunction, _LemmyHttp_buildFullUrl, _LemmyHttp_upload, _LemmyHttp_wrapper;
         
     | 
| 
      
 22 
     | 
    
         
            +
            var _LemmyHttp_instances, _LemmyHttp_apiUrl, _LemmyHttp_headers, _LemmyHttp_fetchFunction, _LemmyHttp_buildFullUrl, _LemmyHttp_upload, _LemmyHttp_uploadWithQuery, _LemmyHttp_wrapper;
         
     | 
| 
       23 
23 
     | 
    
         
             
            Object.defineProperty(exports, "__esModule", { value: true });
         
     | 
| 
       24 
     | 
    
         
            -
            exports.LemmyHttp = void 0;
         
     | 
| 
      
 24 
     | 
    
         
            +
            exports.LemmyError = exports.LemmyHttp = void 0;
         
     | 
| 
       25 
25 
     | 
    
         
             
            const runtime_1 = require("@tsoa/runtime");
         
     | 
| 
       26 
26 
     | 
    
         
             
            const other_types_1 = require("./other_types");
         
     | 
| 
       27 
27 
     | 
    
         
             
            var HttpType;
         
     | 
| 
         @@ -57,25 +57,25 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller { 
     | 
|
| 
       57 
57 
     | 
    
         
             
                /**
         
     | 
| 
       58 
58 
     | 
    
         
             
                 * @summary Gets the site, and your user data.
         
     | 
| 
       59 
59 
     | 
    
         
             
                 */
         
     | 
| 
       60 
     | 
    
         
            -
                getSite(options) {
         
     | 
| 
      
 60 
     | 
    
         
            +
                async getSite(options) {
         
     | 
| 
       61 
61 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/site", {}, options);
         
     | 
| 
       62 
62 
     | 
    
         
             
                }
         
     | 
| 
       63 
63 
     | 
    
         
             
                /**
         
     | 
| 
       64 
64 
     | 
    
         
             
                 * @summary Create your site.
         
     | 
| 
       65 
65 
     | 
    
         
             
                 */
         
     | 
| 
       66 
     | 
    
         
            -
                createSite(form, options) {
         
     | 
| 
      
 66 
     | 
    
         
            +
                async createSite(form, options) {
         
     | 
| 
       67 
67 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/site", form, options);
         
     | 
| 
       68 
68 
     | 
    
         
             
                }
         
     | 
| 
       69 
69 
     | 
    
         
             
                /**
         
     | 
| 
       70 
70 
     | 
    
         
             
                 * @summary Edit your site.
         
     | 
| 
       71 
71 
     | 
    
         
             
                 */
         
     | 
| 
       72 
     | 
    
         
            -
                editSite(form, options) {
         
     | 
| 
      
 72 
     | 
    
         
            +
                async editSite(form, options) {
         
     | 
| 
       73 
73 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/site", form, options);
         
     | 
| 
       74 
74 
     | 
    
         
             
                }
         
     | 
| 
       75 
75 
     | 
    
         
             
                /**
         
     | 
| 
       76 
76 
     | 
    
         
             
                 * @summary Leave the Site admins.
         
     | 
| 
       77 
77 
     | 
    
         
             
                 */
         
     | 
| 
       78 
     | 
    
         
            -
                leaveAdmin(options) {
         
     | 
| 
      
 78 
     | 
    
         
            +
                async leaveAdmin(options) {
         
     | 
| 
       79 
79 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/leave", {}, options);
         
     | 
| 
       80 
80 
     | 
    
         
             
                }
         
     | 
| 
       81 
81 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -84,13 +84,13 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller { 
     | 
|
| 
       84 
84 
     | 
    
         
             
                 * Generate a TOTP / two-factor secret.
         
     | 
| 
       85 
85 
     | 
    
         
             
                 * Afterwards you need to call `/account/auth/totp/update` with a valid token to enable it.
         
     | 
| 
       86 
86 
     | 
    
         
             
                 */
         
     | 
| 
       87 
     | 
    
         
            -
                generateTotpSecret(options) {
         
     | 
| 
      
 87 
     | 
    
         
            +
                async generateTotpSecret(options) {
         
     | 
| 
       88 
88 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/totp/generate", {}, options);
         
     | 
| 
       89 
89 
     | 
    
         
             
                }
         
     | 
| 
       90 
90 
     | 
    
         
             
                /**
         
     | 
| 
       91 
91 
     | 
    
         
             
                 * @summary Get data of current user.
         
     | 
| 
       92 
92 
     | 
    
         
             
                 */
         
     | 
| 
       93 
     | 
    
         
            -
                getMyUser(options) {
         
     | 
| 
      
 93 
     | 
    
         
            +
                async getMyUser(options) {
         
     | 
| 
       94 
94 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account", {}, options);
         
     | 
| 
       95 
95 
     | 
    
         
             
                }
         
     | 
| 
       96 
96 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -99,38 +99,50 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller { 
     | 
|
| 
       99 
99 
     | 
    
         
             
                 * Export a backup of your user settings, including your saved content,
         
     | 
| 
       100 
100 
     | 
    
         
             
                 * followed communities, and blocks.
         
     | 
| 
       101 
101 
     | 
    
         
             
                 */
         
     | 
| 
       102 
     | 
    
         
            -
                exportSettings(options) {
         
     | 
| 
      
 102 
     | 
    
         
            +
                async exportSettings(options) {
         
     | 
| 
       103 
103 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/settings/export", {}, options);
         
     | 
| 
       104 
104 
     | 
    
         
             
                }
         
     | 
| 
       105 
105 
     | 
    
         
             
                /**
         
     | 
| 
       106 
106 
     | 
    
         
             
                 * @summary Import a backup of your user settings.
         
     | 
| 
       107 
107 
     | 
    
         
             
                 */
         
     | 
| 
       108 
     | 
    
         
            -
                importSettings(form, options) {
         
     | 
| 
      
 108 
     | 
    
         
            +
                async importSettings(form, options) {
         
     | 
| 
       109 
109 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/settings/import", form, options);
         
     | 
| 
       110 
110 
     | 
    
         
             
                }
         
     | 
| 
       111 
111 
     | 
    
         
             
                /**
         
     | 
| 
       112 
112 
     | 
    
         
             
                 * @summary List login tokens for your user
         
     | 
| 
       113 
113 
     | 
    
         
             
                 */
         
     | 
| 
       114 
     | 
    
         
            -
                listLogins(options) {
         
     | 
| 
      
 114 
     | 
    
         
            +
                async listLogins(options) {
         
     | 
| 
       115 
115 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/list_logins", {}, options);
         
     | 
| 
       116 
116 
     | 
    
         
             
                }
         
     | 
| 
       117 
117 
     | 
    
         
             
                /**
         
     | 
| 
       118 
118 
     | 
    
         
             
                 * @summary Returns an error message if your auth token is invalid
         
     | 
| 
       119 
119 
     | 
    
         
             
                 */
         
     | 
| 
       120 
     | 
    
         
            -
                validateAuth(options) {
         
     | 
| 
      
 120 
     | 
    
         
            +
                async validateAuth(options) {
         
     | 
| 
       121 
121 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/validate_auth", {}, options);
         
     | 
| 
       122 
122 
     | 
    
         
             
                }
         
     | 
| 
       123 
123 
     | 
    
         
             
                /**
         
     | 
| 
       124 
     | 
    
         
            -
                 * @summary List all the media for your  
     | 
| 
      
 124 
     | 
    
         
            +
                 * @summary List all the media for your account.
         
     | 
| 
       125 
125 
     | 
    
         
             
                 */
         
     | 
| 
       126 
     | 
    
         
            -
                listMedia(form = {}, options) {
         
     | 
| 
       127 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/ 
     | 
| 
      
 126 
     | 
    
         
            +
                async listMedia(form = {}, options) {
         
     | 
| 
      
 127 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/media/list", form, options);
         
     | 
| 
      
 128 
     | 
    
         
            +
                }
         
     | 
| 
      
 129 
     | 
    
         
            +
                /**
         
     | 
| 
      
 130 
     | 
    
         
            +
                 * @summary Delete media for your account.
         
     | 
| 
      
 131 
     | 
    
         
            +
                 */
         
     | 
| 
      
 132 
     | 
    
         
            +
                async deleteMedia(form, options) {
         
     | 
| 
      
 133 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/account/media", form, options);
         
     | 
| 
      
 134 
     | 
    
         
            +
                }
         
     | 
| 
      
 135 
     | 
    
         
            +
                /**
         
     | 
| 
      
 136 
     | 
    
         
            +
                 * @summary Delete any media. (Admin only)
         
     | 
| 
      
 137 
     | 
    
         
            +
                 */
         
     | 
| 
      
 138 
     | 
    
         
            +
                async deleteMediaAdmin(form, options) {
         
     | 
| 
      
 139 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/image", form, options);
         
     | 
| 
       128 
140 
     | 
    
         
             
                }
         
     | 
| 
       129 
141 
     | 
    
         
             
                /**
         
     | 
| 
       130 
142 
     | 
    
         
             
                 * @summary List all the media known to your instance.
         
     | 
| 
       131 
143 
     | 
    
         
             
                 */
         
     | 
| 
       132 
     | 
    
         
            -
                 
     | 
| 
       133 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/ 
     | 
| 
      
 144 
     | 
    
         
            +
                async listMediaAdmin(form = {}, options) {
         
     | 
| 
      
 145 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/image/list", form, options);
         
     | 
| 
       134 
146 
     | 
    
         
             
                }
         
     | 
| 
       135 
147 
     | 
    
         
             
                /**
         
     | 
| 
       136 
148 
     | 
    
         
             
                 * @summary Enable / Disable TOTP / two-factor authentication.
         
     | 
| 
         @@ -139,583 +151,613 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller { 
     | 
|
| 
       139 
151 
     | 
    
         
             
                 *
         
     | 
| 
       140 
152 
     | 
    
         
             
                 * Disabling is only possible if 2FA was previously enabled. Again it is necessary to pass a valid token.
         
     | 
| 
       141 
153 
     | 
    
         
             
                 */
         
     | 
| 
       142 
     | 
    
         
            -
                updateTotp(form, options) {
         
     | 
| 
      
 154 
     | 
    
         
            +
                async updateTotp(form, options) {
         
     | 
| 
       143 
155 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/totp/update", form, options);
         
     | 
| 
       144 
156 
     | 
    
         
             
                }
         
     | 
| 
       145 
157 
     | 
    
         
             
                /**
         
     | 
| 
       146 
158 
     | 
    
         
             
                 * @summary Get the modlog.
         
     | 
| 
       147 
159 
     | 
    
         
             
                 */
         
     | 
| 
       148 
     | 
    
         
            -
                getModlog(form = {}, options) {
         
     | 
| 
      
 160 
     | 
    
         
            +
                async getModlog(form = {}, options) {
         
     | 
| 
       149 
161 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/modlog", form, options);
         
     | 
| 
       150 
162 
     | 
    
         
             
                }
         
     | 
| 
       151 
163 
     | 
    
         
             
                /**
         
     | 
| 
       152 
     | 
    
         
            -
                 * @summary Search lemmy.
         
     | 
| 
      
 164 
     | 
    
         
            +
                 * @summary Search lemmy. If `search_term` is a url it also attempts to fetch it, just like `resolve_object`.
         
     | 
| 
       153 
165 
     | 
    
         
             
                 */
         
     | 
| 
       154 
     | 
    
         
            -
                search(form, options) {
         
     | 
| 
      
 166 
     | 
    
         
            +
                async search(form, options) {
         
     | 
| 
       155 
167 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/search", form, options);
         
     | 
| 
       156 
168 
     | 
    
         
             
                }
         
     | 
| 
       157 
169 
     | 
    
         
             
                /**
         
     | 
| 
       158 
170 
     | 
    
         
             
                 * @summary Fetch a non-local / federated object.
         
     | 
| 
       159 
171 
     | 
    
         
             
                 */
         
     | 
| 
       160 
     | 
    
         
            -
                resolveObject(form, options) {
         
     | 
| 
      
 172 
     | 
    
         
            +
                async resolveObject(form, options) {
         
     | 
| 
       161 
173 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/resolve_object", form, options);
         
     | 
| 
       162 
174 
     | 
    
         
             
                }
         
     | 
| 
       163 
175 
     | 
    
         
             
                /**
         
     | 
| 
       164 
176 
     | 
    
         
             
                 * @summary Create a new community.
         
     | 
| 
       165 
177 
     | 
    
         
             
                 */
         
     | 
| 
       166 
     | 
    
         
            -
                createCommunity(form, options) {
         
     | 
| 
      
 178 
     | 
    
         
            +
                async createCommunity(form, options) {
         
     | 
| 
       167 
179 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community", form, options);
         
     | 
| 
       168 
180 
     | 
    
         
             
                }
         
     | 
| 
       169 
181 
     | 
    
         
             
                /**
         
     | 
| 
       170 
182 
     | 
    
         
             
                 * @summary Get / fetch a community.
         
     | 
| 
       171 
183 
     | 
    
         
             
                 */
         
     | 
| 
       172 
     | 
    
         
            -
                getCommunity(form = {}, options) {
         
     | 
| 
      
 184 
     | 
    
         
            +
                async getCommunity(form = {}, options) {
         
     | 
| 
       173 
185 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/community", form, options);
         
     | 
| 
       174 
186 
     | 
    
         
             
                }
         
     | 
| 
       175 
187 
     | 
    
         
             
                /**
         
     | 
| 
       176 
188 
     | 
    
         
             
                 * @summary Edit a community.
         
     | 
| 
       177 
189 
     | 
    
         
             
                 */
         
     | 
| 
       178 
     | 
    
         
            -
                editCommunity(form, options) {
         
     | 
| 
      
 190 
     | 
    
         
            +
                async editCommunity(form, options) {
         
     | 
| 
       179 
191 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/community", form, options);
         
     | 
| 
       180 
192 
     | 
    
         
             
                }
         
     | 
| 
       181 
193 
     | 
    
         
             
                /**
         
     | 
| 
       182 
194 
     | 
    
         
             
                 * @summary List communities, with various filters.
         
     | 
| 
       183 
195 
     | 
    
         
             
                 */
         
     | 
| 
       184 
     | 
    
         
            -
                listCommunities(form = {}, options) {
         
     | 
| 
      
 196 
     | 
    
         
            +
                async listCommunities(form = {}, options) {
         
     | 
| 
       185 
197 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/community/list", form, options);
         
     | 
| 
       186 
198 
     | 
    
         
             
                }
         
     | 
| 
       187 
199 
     | 
    
         
             
                /**
         
     | 
| 
       188 
200 
     | 
    
         
             
                 * @summary Follow / subscribe to a community.
         
     | 
| 
       189 
201 
     | 
    
         
             
                 */
         
     | 
| 
       190 
     | 
    
         
            -
                followCommunity(form, options) {
         
     | 
| 
      
 202 
     | 
    
         
            +
                async followCommunity(form, options) {
         
     | 
| 
       191 
203 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/follow", form, options);
         
     | 
| 
       192 
204 
     | 
    
         
             
                }
         
     | 
| 
       193 
205 
     | 
    
         
             
                /**
         
     | 
| 
       194 
206 
     | 
    
         
             
                 * @summary Get a community's pending follows count.
         
     | 
| 
       195 
207 
     | 
    
         
             
                 */
         
     | 
| 
       196 
     | 
    
         
            -
                getCommunityPendingFollowsCount( 
     | 
| 
       197 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/community/pending_follows/count",  
     | 
| 
      
 208 
     | 
    
         
            +
                async getCommunityPendingFollowsCount(options) {
         
     | 
| 
      
 209 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/community/pending_follows/count", {}, options);
         
     | 
| 
       198 
210 
     | 
    
         
             
                }
         
     | 
| 
       199 
211 
     | 
    
         
             
                /**
         
     | 
| 
       200 
212 
     | 
    
         
             
                 * @summary Get a community's pending followers.
         
     | 
| 
       201 
213 
     | 
    
         
             
                 */
         
     | 
| 
       202 
     | 
    
         
            -
                listCommunityPendingFollows(form, options) {
         
     | 
| 
      
 214 
     | 
    
         
            +
                async listCommunityPendingFollows(form, options) {
         
     | 
| 
       203 
215 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/community/pending_follows/list", form, options);
         
     | 
| 
       204 
216 
     | 
    
         
             
                }
         
     | 
| 
       205 
217 
     | 
    
         
             
                /**
         
     | 
| 
       206 
218 
     | 
    
         
             
                 * @summary Approve a community pending follow request.
         
     | 
| 
       207 
219 
     | 
    
         
             
                 */
         
     | 
| 
       208 
     | 
    
         
            -
                approveCommunityPendingFollow(form, options) {
         
     | 
| 
      
 220 
     | 
    
         
            +
                async approveCommunityPendingFollow(form, options) {
         
     | 
| 
       209 
221 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/pending_follows/approve", form, options);
         
     | 
| 
       210 
222 
     | 
    
         
             
                }
         
     | 
| 
       211 
223 
     | 
    
         
             
                /**
         
     | 
| 
       212 
224 
     | 
    
         
             
                 * @summary Block a community.
         
     | 
| 
       213 
225 
     | 
    
         
             
                 */
         
     | 
| 
       214 
     | 
    
         
            -
                blockCommunity(form, options) {
         
     | 
| 
      
 226 
     | 
    
         
            +
                async blockCommunity(form, options) {
         
     | 
| 
       215 
227 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/block/community", form, options);
         
     | 
| 
       216 
228 
     | 
    
         
             
                }
         
     | 
| 
       217 
229 
     | 
    
         
             
                /**
         
     | 
| 
       218 
230 
     | 
    
         
             
                 * @summary Delete a community.
         
     | 
| 
       219 
231 
     | 
    
         
             
                 */
         
     | 
| 
       220 
     | 
    
         
            -
                deleteCommunity(form, options) {
         
     | 
| 
      
 232 
     | 
    
         
            +
                async deleteCommunity(form, options) {
         
     | 
| 
       221 
233 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/delete", form, options);
         
     | 
| 
       222 
234 
     | 
    
         
             
                }
         
     | 
| 
       223 
235 
     | 
    
         
             
                /**
         
     | 
| 
       224 
236 
     | 
    
         
             
                 * @summary Hide a community from public / "All" view. Admins only.
         
     | 
| 
       225 
237 
     | 
    
         
             
                 */
         
     | 
| 
       226 
     | 
    
         
            -
                hideCommunity(form, options) {
         
     | 
| 
      
 238 
     | 
    
         
            +
                async hideCommunity(form, options) {
         
     | 
| 
       227 
239 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/community/hide", form, options);
         
     | 
| 
       228 
240 
     | 
    
         
             
                }
         
     | 
| 
       229 
241 
     | 
    
         
             
                /**
         
     | 
| 
       230 
242 
     | 
    
         
             
                 * @summary A moderator remove for a community.
         
     | 
| 
       231 
243 
     | 
    
         
             
                 */
         
     | 
| 
       232 
     | 
    
         
            -
                removeCommunity(form, options) {
         
     | 
| 
      
 244 
     | 
    
         
            +
                async removeCommunity(form, options) {
         
     | 
| 
       233 
245 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/remove", form, options);
         
     | 
| 
       234 
246 
     | 
    
         
             
                }
         
     | 
| 
       235 
247 
     | 
    
         
             
                /**
         
     | 
| 
       236 
248 
     | 
    
         
             
                 * @summary Transfer your community to an existing moderator.
         
     | 
| 
       237 
249 
     | 
    
         
             
                 */
         
     | 
| 
       238 
     | 
    
         
            -
                transferCommunity(form, options) {
         
     | 
| 
      
 250 
     | 
    
         
            +
                async transferCommunity(form, options) {
         
     | 
| 
       239 
251 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/transfer", form, options);
         
     | 
| 
       240 
252 
     | 
    
         
             
                }
         
     | 
| 
       241 
253 
     | 
    
         
             
                /**
         
     | 
| 
       242 
254 
     | 
    
         
             
                 * @summary Ban a user from a community.
         
     | 
| 
       243 
255 
     | 
    
         
             
                 */
         
     | 
| 
       244 
     | 
    
         
            -
                banFromCommunity(form, options) {
         
     | 
| 
      
 256 
     | 
    
         
            +
                async banFromCommunity(form, options) {
         
     | 
| 
       245 
257 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/ban_user", form, options);
         
     | 
| 
       246 
258 
     | 
    
         
             
                }
         
     | 
| 
       247 
259 
     | 
    
         
             
                /**
         
     | 
| 
       248 
260 
     | 
    
         
             
                 * @summary Add a moderator to your community.
         
     | 
| 
       249 
261 
     | 
    
         
             
                 */
         
     | 
| 
       250 
     | 
    
         
            -
                addModToCommunity(form, options) {
         
     | 
| 
      
 262 
     | 
    
         
            +
                async addModToCommunity(form, options) {
         
     | 
| 
       251 
263 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/mod", form, options);
         
     | 
| 
       252 
264 
     | 
    
         
             
                }
         
     | 
| 
       253 
265 
     | 
    
         
             
                /**
         
     | 
| 
       254 
266 
     | 
    
         
             
                 * @summary Get a random community.
         
     | 
| 
       255 
267 
     | 
    
         
             
                 */
         
     | 
| 
       256 
     | 
    
         
            -
                getRandomCommunity(form, options) {
         
     | 
| 
      
 268 
     | 
    
         
            +
                async getRandomCommunity(form, options) {
         
     | 
| 
       257 
269 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/community/random", form, options);
         
     | 
| 
       258 
270 
     | 
    
         
             
                }
         
     | 
| 
      
 271 
     | 
    
         
            +
                /**
         
     | 
| 
      
 272 
     | 
    
         
            +
                 * @summary Create a report for a community.
         
     | 
| 
      
 273 
     | 
    
         
            +
                 */
         
     | 
| 
      
 274 
     | 
    
         
            +
                async createCommunityReport(form, options) {
         
     | 
| 
      
 275 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/report", form, options);
         
     | 
| 
      
 276 
     | 
    
         
            +
                }
         
     | 
| 
      
 277 
     | 
    
         
            +
                /**
         
     | 
| 
      
 278 
     | 
    
         
            +
                 * @summary Resolve a report for a private message.
         
     | 
| 
      
 279 
     | 
    
         
            +
                 */
         
     | 
| 
      
 280 
     | 
    
         
            +
                async resolveCommunityReport(form, options) {
         
     | 
| 
      
 281 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/community/report/resolve", form, options);
         
     | 
| 
      
 282 
     | 
    
         
            +
                }
         
     | 
| 
       259 
283 
     | 
    
         
             
                /**
         
     | 
| 
       260 
284 
     | 
    
         
             
                 * @summary Create a post.
         
     | 
| 
       261 
285 
     | 
    
         
             
                 */
         
     | 
| 
       262 
     | 
    
         
            -
                createPost(form, options) {
         
     | 
| 
      
 286 
     | 
    
         
            +
                async createPost(form, options) {
         
     | 
| 
       263 
287 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/post", form, options);
         
     | 
| 
       264 
288 
     | 
    
         
             
                }
         
     | 
| 
       265 
289 
     | 
    
         
             
                /**
         
     | 
| 
       266 
290 
     | 
    
         
             
                 * @summary Get / fetch a post.
         
     | 
| 
       267 
291 
     | 
    
         
             
                 */
         
     | 
| 
       268 
     | 
    
         
            -
                getPost(form = {}, options) {
         
     | 
| 
      
 292 
     | 
    
         
            +
                async getPost(form = {}, options) {
         
     | 
| 
       269 
293 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/post", form, options);
         
     | 
| 
       270 
294 
     | 
    
         
             
                }
         
     | 
| 
       271 
295 
     | 
    
         
             
                /**
         
     | 
| 
       272 
296 
     | 
    
         
             
                 * @summary Edit a post.
         
     | 
| 
       273 
297 
     | 
    
         
             
                 */
         
     | 
| 
       274 
     | 
    
         
            -
                editPost(form, options) {
         
     | 
| 
      
 298 
     | 
    
         
            +
                async editPost(form, options) {
         
     | 
| 
       275 
299 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/post", form, options);
         
     | 
| 
       276 
300 
     | 
    
         
             
                }
         
     | 
| 
      
 301 
     | 
    
         
            +
                /**
         
     | 
| 
      
 302 
     | 
    
         
            +
                 * @summary Mods can change nsfw flag and tags for a post
         
     | 
| 
      
 303 
     | 
    
         
            +
                 */
         
     | 
| 
      
 304 
     | 
    
         
            +
                async modEditPost(form, options) {
         
     | 
| 
      
 305 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/post/mod_update", form, options);
         
     | 
| 
      
 306 
     | 
    
         
            +
                }
         
     | 
| 
       277 
307 
     | 
    
         
             
                /**
         
     | 
| 
       278 
308 
     | 
    
         
             
                 * @summary Delete a post.
         
     | 
| 
       279 
309 
     | 
    
         
             
                 */
         
     | 
| 
       280 
     | 
    
         
            -
                deletePost(form, options) {
         
     | 
| 
      
 310 
     | 
    
         
            +
                async deletePost(form, options) {
         
     | 
| 
       281 
311 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/post/delete", form, options);
         
     | 
| 
       282 
312 
     | 
    
         
             
                }
         
     | 
| 
       283 
313 
     | 
    
         
             
                /**
         
     | 
| 
       284 
314 
     | 
    
         
             
                 * @summary A moderator remove for a post.
         
     | 
| 
       285 
315 
     | 
    
         
             
                 */
         
     | 
| 
       286 
     | 
    
         
            -
                removePost(form, options) {
         
     | 
| 
      
 316 
     | 
    
         
            +
                async removePost(form, options) {
         
     | 
| 
       287 
317 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/post/remove", form, options);
         
     | 
| 
       288 
318 
     | 
    
         
             
                }
         
     | 
| 
       289 
319 
     | 
    
         
             
                /**
         
     | 
| 
       290 
320 
     | 
    
         
             
                 * @summary Mark a post as read.
         
     | 
| 
       291 
321 
     | 
    
         
             
                 */
         
     | 
| 
       292 
     | 
    
         
            -
                markPostAsRead(form, options) {
         
     | 
| 
      
 322 
     | 
    
         
            +
                async markPostAsRead(form, options) {
         
     | 
| 
       293 
323 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/post/mark_as_read", form, options);
         
     | 
| 
       294 
324 
     | 
    
         
             
                }
         
     | 
| 
       295 
325 
     | 
    
         
             
                /**
         
     | 
| 
       296 
326 
     | 
    
         
             
                 * @summary Mark multiple posts as read.
         
     | 
| 
       297 
327 
     | 
    
         
             
                 */
         
     | 
| 
       298 
     | 
    
         
            -
                markManyPostAsRead(form, options) {
         
     | 
| 
      
 328 
     | 
    
         
            +
                async markManyPostAsRead(form, options) {
         
     | 
| 
       299 
329 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/post/mark_as_read/many", form, options);
         
     | 
| 
       300 
330 
     | 
    
         
             
                }
         
     | 
| 
       301 
331 
     | 
    
         
             
                /**
         
     | 
| 
       302 
332 
     | 
    
         
             
                 * @summary Hide a post from list views.
         
     | 
| 
       303 
333 
     | 
    
         
             
                 */
         
     | 
| 
       304 
     | 
    
         
            -
                hidePost(form, options) {
         
     | 
| 
      
 334 
     | 
    
         
            +
                async hidePost(form, options) {
         
     | 
| 
       305 
335 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/post/hide", form, options);
         
     | 
| 
       306 
336 
     | 
    
         
             
                }
         
     | 
| 
       307 
337 
     | 
    
         
             
                /**
         
     | 
| 
       308 
338 
     | 
    
         
             
                 * @summary A moderator can lock a post ( IE disable new comments ).
         
     | 
| 
       309 
339 
     | 
    
         
             
                 */
         
     | 
| 
       310 
     | 
    
         
            -
                lockPost(form, options) {
         
     | 
| 
      
 340 
     | 
    
         
            +
                async lockPost(form, options) {
         
     | 
| 
       311 
341 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/post/lock", form, options);
         
     | 
| 
       312 
342 
     | 
    
         
             
                }
         
     | 
| 
       313 
343 
     | 
    
         
             
                /**
         
     | 
| 
       314 
344 
     | 
    
         
             
                 * @summary A moderator can feature a community post ( IE stick it to the top of a community ).
         
     | 
| 
       315 
345 
     | 
    
         
             
                 */
         
     | 
| 
       316 
     | 
    
         
            -
                featurePost(form, options) {
         
     | 
| 
      
 346 
     | 
    
         
            +
                async featurePost(form, options) {
         
     | 
| 
       317 
347 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/post/feature", form, options);
         
     | 
| 
       318 
348 
     | 
    
         
             
                }
         
     | 
| 
       319 
349 
     | 
    
         
             
                /**
         
     | 
| 
       320 
350 
     | 
    
         
             
                 * @summary Get / fetch posts, with various filters.
         
     | 
| 
       321 
351 
     | 
    
         
             
                 */
         
     | 
| 
       322 
     | 
    
         
            -
                getPosts(form = {}, options) {
         
     | 
| 
      
 352 
     | 
    
         
            +
                async getPosts(form = {}, options) {
         
     | 
| 
       323 
353 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/post/list", form, options);
         
     | 
| 
       324 
354 
     | 
    
         
             
                }
         
     | 
| 
       325 
355 
     | 
    
         
             
                /**
         
     | 
| 
       326 
356 
     | 
    
         
             
                 * @summary Like / vote on a post.
         
     | 
| 
       327 
357 
     | 
    
         
             
                 */
         
     | 
| 
       328 
     | 
    
         
            -
                likePost(form, options) {
         
     | 
| 
      
 358 
     | 
    
         
            +
                async likePost(form, options) {
         
     | 
| 
       329 
359 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/post/like", form, options);
         
     | 
| 
       330 
360 
     | 
    
         
             
                }
         
     | 
| 
       331 
361 
     | 
    
         
             
                /**
         
     | 
| 
       332 
362 
     | 
    
         
             
                 * @summary List a post's likes. Admin-only.
         
     | 
| 
       333 
363 
     | 
    
         
             
                 */
         
     | 
| 
       334 
     | 
    
         
            -
                listPostLikes(form, options) {
         
     | 
| 
      
 364 
     | 
    
         
            +
                async listPostLikes(form, options) {
         
     | 
| 
       335 
365 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/post/like/list", form, options);
         
     | 
| 
       336 
366 
     | 
    
         
             
                }
         
     | 
| 
       337 
367 
     | 
    
         
             
                /**
         
     | 
| 
       338 
368 
     | 
    
         
             
                 * @summary Save a post.
         
     | 
| 
       339 
369 
     | 
    
         
             
                 */
         
     | 
| 
       340 
     | 
    
         
            -
                savePost(form, options) {
         
     | 
| 
      
 370 
     | 
    
         
            +
                async savePost(form, options) {
         
     | 
| 
       341 
371 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/post/save", form, options);
         
     | 
| 
       342 
372 
     | 
    
         
             
                }
         
     | 
| 
       343 
373 
     | 
    
         
             
                /**
         
     | 
| 
       344 
374 
     | 
    
         
             
                 * @summary Report a post.
         
     | 
| 
       345 
375 
     | 
    
         
             
                 */
         
     | 
| 
       346 
     | 
    
         
            -
                createPostReport(form, options) {
         
     | 
| 
      
 376 
     | 
    
         
            +
                async createPostReport(form, options) {
         
     | 
| 
       347 
377 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/post/report", form, options);
         
     | 
| 
       348 
378 
     | 
    
         
             
                }
         
     | 
| 
       349 
379 
     | 
    
         
             
                /**
         
     | 
| 
       350 
380 
     | 
    
         
             
                 * @summary Resolve a post report. Only a mod can do this.
         
     | 
| 
       351 
381 
     | 
    
         
             
                 */
         
     | 
| 
       352 
     | 
    
         
            -
                resolvePostReport(form, options) {
         
     | 
| 
      
 382 
     | 
    
         
            +
                async resolvePostReport(form, options) {
         
     | 
| 
       353 
383 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/post/report/resolve", form, options);
         
     | 
| 
       354 
384 
     | 
    
         
             
                }
         
     | 
| 
       355 
385 
     | 
    
         
             
                /**
         
     | 
| 
       356 
386 
     | 
    
         
             
                 * @summary Fetch metadata for any given site.
         
     | 
| 
       357 
387 
     | 
    
         
             
                 */
         
     | 
| 
       358 
     | 
    
         
            -
                getSiteMetadata(form, options) {
         
     | 
| 
      
 388 
     | 
    
         
            +
                async getSiteMetadata(form, options) {
         
     | 
| 
       359 
389 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/post/site_metadata", form, options);
         
     | 
| 
       360 
390 
     | 
    
         
             
                }
         
     | 
| 
       361 
391 
     | 
    
         
             
                /**
         
     | 
| 
       362 
392 
     | 
    
         
             
                 * @summary Create a comment.
         
     | 
| 
       363 
393 
     | 
    
         
             
                 */
         
     | 
| 
       364 
     | 
    
         
            -
                createComment(form, options) {
         
     | 
| 
      
 394 
     | 
    
         
            +
                async createComment(form, options) {
         
     | 
| 
       365 
395 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/comment", form, options);
         
     | 
| 
       366 
396 
     | 
    
         
             
                }
         
     | 
| 
       367 
397 
     | 
    
         
             
                /**
         
     | 
| 
       368 
398 
     | 
    
         
             
                 * @summary Edit a comment.
         
     | 
| 
       369 
399 
     | 
    
         
             
                 */
         
     | 
| 
       370 
     | 
    
         
            -
                editComment(form, options) {
         
     | 
| 
      
 400 
     | 
    
         
            +
                async editComment(form, options) {
         
     | 
| 
       371 
401 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/comment", form, options);
         
     | 
| 
       372 
402 
     | 
    
         
             
                }
         
     | 
| 
       373 
403 
     | 
    
         
             
                /**
         
     | 
| 
       374 
404 
     | 
    
         
             
                 * @summary Delete a comment.
         
     | 
| 
       375 
405 
     | 
    
         
             
                 */
         
     | 
| 
       376 
     | 
    
         
            -
                deleteComment(form, options) {
         
     | 
| 
      
 406 
     | 
    
         
            +
                async deleteComment(form, options) {
         
     | 
| 
       377 
407 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/comment/delete", form, options);
         
     | 
| 
       378 
408 
     | 
    
         
             
                }
         
     | 
| 
       379 
409 
     | 
    
         
             
                /**
         
     | 
| 
       380 
410 
     | 
    
         
             
                 * @summary A moderator remove for a comment.
         
     | 
| 
       381 
411 
     | 
    
         
             
                 */
         
     | 
| 
       382 
     | 
    
         
            -
                removeComment(form, options) {
         
     | 
| 
      
 412 
     | 
    
         
            +
                async removeComment(form, options) {
         
     | 
| 
       383 
413 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/comment/remove", form, options);
         
     | 
| 
       384 
414 
     | 
    
         
             
                }
         
     | 
| 
       385 
415 
     | 
    
         
             
                /**
         
     | 
| 
       386 
     | 
    
         
            -
                 * @summary  
     | 
| 
      
 416 
     | 
    
         
            +
                 * @summary A moderator can lock a comment (IE disable replies).
         
     | 
| 
       387 
417 
     | 
    
         
             
                 */
         
     | 
| 
       388 
     | 
    
         
            -
                 
     | 
| 
       389 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/comment/ 
     | 
| 
      
 418 
     | 
    
         
            +
                async lockComment(form, options) {
         
     | 
| 
      
 419 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/comment/lock", form, options);
         
     | 
| 
       390 
420 
     | 
    
         
             
                }
         
     | 
| 
       391 
421 
     | 
    
         
             
                /**
         
     | 
| 
       392 
     | 
    
         
            -
                 * @ 
     | 
| 
      
 422 
     | 
    
         
            +
                 * @Summary Like / vote on a comment.
         
     | 
| 
       393 
423 
     | 
    
         
             
                 */
         
     | 
| 
       394 
     | 
    
         
            -
                likeComment(form, options) {
         
     | 
| 
      
 424 
     | 
    
         
            +
                async likeComment(form, options) {
         
     | 
| 
       395 
425 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/comment/like", form, options);
         
     | 
| 
       396 
426 
     | 
    
         
             
                }
         
     | 
| 
       397 
427 
     | 
    
         
             
                /**
         
     | 
| 
       398 
428 
     | 
    
         
             
                 * @summary List a comment's likes. Admin-only.
         
     | 
| 
       399 
429 
     | 
    
         
             
                 */
         
     | 
| 
       400 
     | 
    
         
            -
                listCommentLikes(form, options) {
         
     | 
| 
      
 430 
     | 
    
         
            +
                async listCommentLikes(form, options) {
         
     | 
| 
       401 
431 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/comment/like/list", form, options);
         
     | 
| 
       402 
432 
     | 
    
         
             
                }
         
     | 
| 
       403 
433 
     | 
    
         
             
                /**
         
     | 
| 
       404 
434 
     | 
    
         
             
                 * @summary Save a comment.
         
     | 
| 
       405 
435 
     | 
    
         
             
                 */
         
     | 
| 
       406 
     | 
    
         
            -
                saveComment(form, options) {
         
     | 
| 
      
 436 
     | 
    
         
            +
                async saveComment(form, options) {
         
     | 
| 
       407 
437 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/comment/save", form, options);
         
     | 
| 
       408 
438 
     | 
    
         
             
                }
         
     | 
| 
       409 
439 
     | 
    
         
             
                /**
         
     | 
| 
       410 
440 
     | 
    
         
             
                 * @summary Distinguishes a comment (speak as moderator)
         
     | 
| 
       411 
441 
     | 
    
         
             
                 */
         
     | 
| 
       412 
     | 
    
         
            -
                distinguishComment(form, options) {
         
     | 
| 
      
 442 
     | 
    
         
            +
                async distinguishComment(form, options) {
         
     | 
| 
       413 
443 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/comment/distinguish", form, options);
         
     | 
| 
       414 
444 
     | 
    
         
             
                }
         
     | 
| 
       415 
445 
     | 
    
         
             
                /**
         
     | 
| 
       416 
446 
     | 
    
         
             
                 * @summary Get / fetch comments.
         
     | 
| 
       417 
447 
     | 
    
         
             
                 */
         
     | 
| 
       418 
     | 
    
         
            -
                getComments(form = {}, options) {
         
     | 
| 
      
 448 
     | 
    
         
            +
                async getComments(form = {}, options) {
         
     | 
| 
       419 
449 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/comment/list", form, options);
         
     | 
| 
       420 
450 
     | 
    
         
             
                }
         
     | 
| 
       421 
451 
     | 
    
         
             
                /**
         
     | 
| 
       422 
452 
     | 
    
         
             
                 * @summary Get / fetch comments, but without the post or community.
         
     | 
| 
       423 
453 
     | 
    
         
             
                 */
         
     | 
| 
       424 
     | 
    
         
            -
                getCommentsSlim(form = {}, options) {
         
     | 
| 
      
 454 
     | 
    
         
            +
                async getCommentsSlim(form = {}, options) {
         
     | 
| 
       425 
455 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/comment/list/slim", form, options);
         
     | 
| 
       426 
456 
     | 
    
         
             
                }
         
     | 
| 
       427 
457 
     | 
    
         
             
                /**
         
     | 
| 
       428 
458 
     | 
    
         
             
                 * @summary Get / fetch comment.
         
     | 
| 
       429 
459 
     | 
    
         
             
                 */
         
     | 
| 
       430 
     | 
    
         
            -
                getComment(form, options) {
         
     | 
| 
      
 460 
     | 
    
         
            +
                async getComment(form, options) {
         
     | 
| 
       431 
461 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/comment", form, options);
         
     | 
| 
       432 
462 
     | 
    
         
             
                }
         
     | 
| 
       433 
463 
     | 
    
         
             
                /**
         
     | 
| 
       434 
464 
     | 
    
         
             
                 * @summary Report a comment.
         
     | 
| 
       435 
465 
     | 
    
         
             
                 */
         
     | 
| 
       436 
     | 
    
         
            -
                createCommentReport(form, options) {
         
     | 
| 
      
 466 
     | 
    
         
            +
                async createCommentReport(form, options) {
         
     | 
| 
       437 
467 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/comment/report", form, options);
         
     | 
| 
       438 
468 
     | 
    
         
             
                }
         
     | 
| 
       439 
469 
     | 
    
         
             
                /**
         
     | 
| 
       440 
470 
     | 
    
         
             
                 * @summary Resolve a comment report. Only a mod can do this.
         
     | 
| 
       441 
471 
     | 
    
         
             
                 */
         
     | 
| 
       442 
     | 
    
         
            -
                resolveCommentReport(form, options) {
         
     | 
| 
      
 472 
     | 
    
         
            +
                async resolveCommentReport(form, options) {
         
     | 
| 
       443 
473 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/comment/report/resolve", form, options);
         
     | 
| 
       444 
474 
     | 
    
         
             
                }
         
     | 
| 
       445 
475 
     | 
    
         
             
                /**
         
     | 
| 
       446 
476 
     | 
    
         
             
                 * @summary Create a private message.
         
     | 
| 
       447 
477 
     | 
    
         
             
                 */
         
     | 
| 
       448 
     | 
    
         
            -
                createPrivateMessage(form, options) {
         
     | 
| 
      
 478 
     | 
    
         
            +
                async createPrivateMessage(form, options) {
         
     | 
| 
       449 
479 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/private_message", form, options);
         
     | 
| 
       450 
480 
     | 
    
         
             
                }
         
     | 
| 
       451 
481 
     | 
    
         
             
                /**
         
     | 
| 
       452 
482 
     | 
    
         
             
                 * @summary Edit a private message.
         
     | 
| 
       453 
483 
     | 
    
         
             
                 */
         
     | 
| 
       454 
     | 
    
         
            -
                editPrivateMessage(form, options) {
         
     | 
| 
      
 484 
     | 
    
         
            +
                async editPrivateMessage(form, options) {
         
     | 
| 
       455 
485 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/private_message", form, options);
         
     | 
| 
       456 
486 
     | 
    
         
             
                }
         
     | 
| 
       457 
487 
     | 
    
         
             
                /**
         
     | 
| 
       458 
488 
     | 
    
         
             
                 * @summary Delete a private message.
         
     | 
| 
       459 
489 
     | 
    
         
             
                 */
         
     | 
| 
       460 
     | 
    
         
            -
                deletePrivateMessage(form, options) {
         
     | 
| 
      
 490 
     | 
    
         
            +
                async deletePrivateMessage(form, options) {
         
     | 
| 
       461 
491 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/private_message/delete", form, options);
         
     | 
| 
       462 
492 
     | 
    
         
             
                }
         
     | 
| 
       463 
     | 
    
         
            -
                /**
         
     | 
| 
       464 
     | 
    
         
            -
                 * @summary Mark a private message as read.
         
     | 
| 
       465 
     | 
    
         
            -
                 */
         
     | 
| 
       466 
     | 
    
         
            -
                markPrivateMessageAsRead(form, options) {
         
     | 
| 
       467 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/private_message/mark_as_read", form, options);
         
     | 
| 
       468 
     | 
    
         
            -
                }
         
     | 
| 
       469 
493 
     | 
    
         
             
                /**
         
     | 
| 
       470 
494 
     | 
    
         
             
                 * @summary Create a report for a private message.
         
     | 
| 
       471 
495 
     | 
    
         
             
                 */
         
     | 
| 
       472 
     | 
    
         
            -
                createPrivateMessageReport(form, options) {
         
     | 
| 
      
 496 
     | 
    
         
            +
                async createPrivateMessageReport(form, options) {
         
     | 
| 
       473 
497 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/private_message/report", form, options);
         
     | 
| 
       474 
498 
     | 
    
         
             
                }
         
     | 
| 
       475 
499 
     | 
    
         
             
                /**
         
     | 
| 
       476 
500 
     | 
    
         
             
                 * @summary Resolve a report for a private message.
         
     | 
| 
       477 
501 
     | 
    
         
             
                 */
         
     | 
| 
       478 
     | 
    
         
            -
                resolvePrivateMessageReport(form, options) {
         
     | 
| 
      
 502 
     | 
    
         
            +
                async resolvePrivateMessageReport(form, options) {
         
     | 
| 
       479 
503 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/private_message/report/resolve", form, options);
         
     | 
| 
       480 
504 
     | 
    
         
             
                }
         
     | 
| 
       481 
505 
     | 
    
         
             
                /**
         
     | 
| 
       482 
506 
     | 
    
         
             
                 * @summary Register a new user.
         
     | 
| 
       483 
507 
     | 
    
         
             
                 */
         
     | 
| 
       484 
     | 
    
         
            -
                register(form, options) {
         
     | 
| 
      
 508 
     | 
    
         
            +
                async register(form, options) {
         
     | 
| 
       485 
509 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/register", form, options);
         
     | 
| 
       486 
510 
     | 
    
         
             
                }
         
     | 
| 
       487 
511 
     | 
    
         
             
                /**
         
     | 
| 
       488 
512 
     | 
    
         
             
                 * @summary Log into lemmy.
         
     | 
| 
       489 
513 
     | 
    
         
             
                 */
         
     | 
| 
       490 
     | 
    
         
            -
                login(form, options) {
         
     | 
| 
      
 514 
     | 
    
         
            +
                async login(form, options) {
         
     | 
| 
       491 
515 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/login", form, options);
         
     | 
| 
       492 
516 
     | 
    
         
             
                }
         
     | 
| 
       493 
517 
     | 
    
         
             
                /**
         
     | 
| 
       494 
518 
     | 
    
         
             
                 * @summary Invalidate the currently used auth token.
         
     | 
| 
       495 
519 
     | 
    
         
             
                 */
         
     | 
| 
       496 
     | 
    
         
            -
                logout(options) {
         
     | 
| 
      
 520 
     | 
    
         
            +
                async logout(options) {
         
     | 
| 
       497 
521 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/logout", {}, options);
         
     | 
| 
       498 
522 
     | 
    
         
             
                }
         
     | 
| 
       499 
523 
     | 
    
         
             
                /**
         
     | 
| 
       500 
524 
     | 
    
         
             
                 * @summary Get the details for a person.
         
     | 
| 
       501 
525 
     | 
    
         
             
                 */
         
     | 
| 
       502 
     | 
    
         
            -
                getPersonDetails(form = {}, options) {
         
     | 
| 
      
 526 
     | 
    
         
            +
                async getPersonDetails(form = {}, options) {
         
     | 
| 
       503 
527 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/person", form, options);
         
     | 
| 
       504 
528 
     | 
    
         
             
                }
         
     | 
| 
       505 
529 
     | 
    
         
             
                /**
         
     | 
| 
       506 
530 
     | 
    
         
             
                 * @summary List the content for a person.
         
     | 
| 
       507 
531 
     | 
    
         
             
                 */
         
     | 
| 
       508 
     | 
    
         
            -
                listPersonContent(form = {}, options) {
         
     | 
| 
      
 532 
     | 
    
         
            +
                async listPersonContent(form = {}, options) {
         
     | 
| 
       509 
533 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/person/content", form, options);
         
     | 
| 
       510 
534 
     | 
    
         
             
                }
         
     | 
| 
       511 
535 
     | 
    
         
             
                /**
         
     | 
| 
       512 
     | 
    
         
            -
                 * @summary  
     | 
| 
       513 
     | 
    
         
            -
                 */
         
     | 
| 
       514 
     | 
    
         
            -
                markCommentMentionAsRead(form, options) {
         
     | 
| 
       515 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/mention/comment/mark_as_read", form, options);
         
     | 
| 
       516 
     | 
    
         
            -
                }
         
     | 
| 
       517 
     | 
    
         
            -
                /**
         
     | 
| 
       518 
     | 
    
         
            -
                 * @summary Mark a person post body mention as read.
         
     | 
| 
      
 536 
     | 
    
         
            +
                 * @summary Make a note for a person.
         
     | 
| 
       519 
537 
     | 
    
         
             
                 */
         
     | 
| 
       520 
     | 
    
         
            -
                 
     | 
| 
       521 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/ 
     | 
| 
      
 538 
     | 
    
         
            +
                async notePerson(form, options) {
         
     | 
| 
      
 539 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/person/note", form, options);
         
     | 
| 
       522 
540 
     | 
    
         
             
                }
         
     | 
| 
       523 
541 
     | 
    
         
             
                /**
         
     | 
| 
       524 
542 
     | 
    
         
             
                 * @summary Ban a person from your site.
         
     | 
| 
       525 
543 
     | 
    
         
             
                 */
         
     | 
| 
       526 
     | 
    
         
            -
                banPerson(form, options) {
         
     | 
| 
      
 544 
     | 
    
         
            +
                async banPerson(form, options) {
         
     | 
| 
       527 
545 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/ban", form, options);
         
     | 
| 
       528 
546 
     | 
    
         
             
                }
         
     | 
| 
       529 
547 
     | 
    
         
             
                /**
         
     | 
| 
       530 
     | 
    
         
            -
                 * @summary Get a list of  
     | 
| 
      
 548 
     | 
    
         
            +
                 * @summary Get a list of users.
         
     | 
| 
       531 
549 
     | 
    
         
             
                 */
         
     | 
| 
       532 
     | 
    
         
            -
                 
     | 
| 
       533 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/ 
     | 
| 
      
 550 
     | 
    
         
            +
                async listUsers(form = {}, options) {
         
     | 
| 
      
 551 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/users", form, options);
         
     | 
| 
       534 
552 
     | 
    
         
             
                }
         
     | 
| 
       535 
553 
     | 
    
         
             
                /**
         
     | 
| 
       536 
554 
     | 
    
         
             
                 * @summary Block a person.
         
     | 
| 
       537 
555 
     | 
    
         
             
                 */
         
     | 
| 
       538 
     | 
    
         
            -
                blockPerson(form, options) {
         
     | 
| 
      
 556 
     | 
    
         
            +
                async blockPerson(form, options) {
         
     | 
| 
       539 
557 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/block/person", form, options);
         
     | 
| 
       540 
558 
     | 
    
         
             
                }
         
     | 
| 
       541 
559 
     | 
    
         
             
                /**
         
     | 
| 
       542 
560 
     | 
    
         
             
                 * @summary Fetch a Captcha.
         
     | 
| 
       543 
561 
     | 
    
         
             
                 */
         
     | 
| 
       544 
     | 
    
         
            -
                getCaptcha(options) {
         
     | 
| 
      
 562 
     | 
    
         
            +
                async getCaptcha(options) {
         
     | 
| 
       545 
563 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/auth/get_captcha", {}, options);
         
     | 
| 
       546 
564 
     | 
    
         
             
                }
         
     | 
| 
       547 
565 
     | 
    
         
             
                /**
         
     | 
| 
       548 
566 
     | 
    
         
             
                 * @summary Delete your account.
         
     | 
| 
       549 
567 
     | 
    
         
             
                 */
         
     | 
| 
       550 
     | 
    
         
            -
                deleteAccount(form, options) {
         
     | 
| 
      
 568 
     | 
    
         
            +
                async deleteAccount(form, options) {
         
     | 
| 
       551 
569 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/delete", form, options);
         
     | 
| 
       552 
570 
     | 
    
         
             
                }
         
     | 
| 
       553 
571 
     | 
    
         
             
                /**
         
     | 
| 
       554 
572 
     | 
    
         
             
                 * @summary Reset your password.
         
     | 
| 
       555 
573 
     | 
    
         
             
                 */
         
     | 
| 
       556 
     | 
    
         
            -
                passwordReset(form, options) {
         
     | 
| 
      
 574 
     | 
    
         
            +
                async passwordReset(form, options) {
         
     | 
| 
       557 
575 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/password_reset", form, options);
         
     | 
| 
       558 
576 
     | 
    
         
             
                }
         
     | 
| 
       559 
577 
     | 
    
         
             
                /**
         
     | 
| 
       560 
578 
     | 
    
         
             
                 * @summary Change your password from an email / token based reset.
         
     | 
| 
       561 
579 
     | 
    
         
             
                 */
         
     | 
| 
       562 
     | 
    
         
            -
                passwordChangeAfterReset(form, options) {
         
     | 
| 
      
 580 
     | 
    
         
            +
                async passwordChangeAfterReset(form, options) {
         
     | 
| 
       563 
581 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/password_change", form, options);
         
     | 
| 
       564 
582 
     | 
    
         
             
                }
         
     | 
| 
       565 
583 
     | 
    
         
             
                /**
         
     | 
| 
       566 
584 
     | 
    
         
             
                 * @summary Mark all replies as read.
         
     | 
| 
       567 
585 
     | 
    
         
             
                 */
         
     | 
| 
       568 
     | 
    
         
            -
                markAllNotificationsAsRead(options) {
         
     | 
| 
      
 586 
     | 
    
         
            +
                async markAllNotificationsAsRead(options) {
         
     | 
| 
       569 
587 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/mark_as_read/all", {}, options);
         
     | 
| 
       570 
588 
     | 
    
         
             
                }
         
     | 
| 
      
 589 
     | 
    
         
            +
                /**
         
     | 
| 
      
 590 
     | 
    
         
            +
                 * @summary Mark a notification as read.
         
     | 
| 
      
 591 
     | 
    
         
            +
                 */
         
     | 
| 
      
 592 
     | 
    
         
            +
                async markNotificationAsRead(form, options) {
         
     | 
| 
      
 593 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/mark_as_read", form, options);
         
     | 
| 
      
 594 
     | 
    
         
            +
                }
         
     | 
| 
       571 
595 
     | 
    
         
             
                /**
         
     | 
| 
       572 
596 
     | 
    
         
             
                 * @summary Save your user settings.
         
     | 
| 
       573 
597 
     | 
    
         
             
                 */
         
     | 
| 
       574 
     | 
    
         
            -
                saveUserSettings(form, options) {
         
     | 
| 
      
 598 
     | 
    
         
            +
                async saveUserSettings(form, options) {
         
     | 
| 
       575 
599 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/account/settings/save", form, options);
         
     | 
| 
       576 
600 
     | 
    
         
             
                }
         
     | 
| 
       577 
601 
     | 
    
         
             
                /**
         
     | 
| 
       578 
602 
     | 
    
         
             
                 * @summary Change your user password.
         
     | 
| 
       579 
603 
     | 
    
         
             
                 */
         
     | 
| 
       580 
     | 
    
         
            -
                changePassword(form, options) {
         
     | 
| 
      
 604 
     | 
    
         
            +
                async changePassword(form, options) {
         
     | 
| 
       581 
605 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/account/auth/change_password", form, options);
         
     | 
| 
       582 
606 
     | 
    
         
             
                }
         
     | 
| 
       583 
607 
     | 
    
         
             
                /**
         
     | 
| 
       584 
608 
     | 
    
         
             
                 * @summary Get counts for your reports.
         
     | 
| 
       585 
609 
     | 
    
         
             
                 */
         
     | 
| 
       586 
     | 
    
         
            -
                getReportCount(form, options) {
         
     | 
| 
      
 610 
     | 
    
         
            +
                async getReportCount(form, options) {
         
     | 
| 
       587 
611 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/report_count", form, options);
         
     | 
| 
       588 
612 
     | 
    
         
             
                }
         
     | 
| 
       589 
613 
     | 
    
         
             
                /**
         
     | 
| 
       590 
614 
     | 
    
         
             
                 * @summary Get your unread counts.
         
     | 
| 
       591 
615 
     | 
    
         
             
                 */
         
     | 
| 
       592 
     | 
    
         
            -
                getUnreadCount(options) {
         
     | 
| 
      
 616 
     | 
    
         
            +
                async getUnreadCount(options) {
         
     | 
| 
       593 
617 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/unread_count", {}, options);
         
     | 
| 
       594 
618 
     | 
    
         
             
                }
         
     | 
| 
       595 
619 
     | 
    
         
             
                /**
         
     | 
| 
       596 
620 
     | 
    
         
             
                 * @summary Get your inbox (replies, comment mentions, post mentions, and messages)
         
     | 
| 
       597 
621 
     | 
    
         
             
                 */
         
     | 
| 
       598 
     | 
    
         
            -
                 
     | 
| 
       599 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/ 
     | 
| 
      
 622 
     | 
    
         
            +
                async listNotifications(form, options) {
         
     | 
| 
      
 623 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/notifications", form, options);
         
     | 
| 
       600 
624 
     | 
    
         
             
                }
         
     | 
| 
       601 
625 
     | 
    
         
             
                /**
         
     | 
| 
       602 
626 
     | 
    
         
             
                 * @summary Verify your email
         
     | 
| 
       603 
627 
     | 
    
         
             
                 */
         
     | 
| 
       604 
     | 
    
         
            -
                verifyEmail(form, options) {
         
     | 
| 
      
 628 
     | 
    
         
            +
                async verifyEmail(form, options) {
         
     | 
| 
       605 
629 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/verify_email", form, options);
         
     | 
| 
       606 
630 
     | 
    
         
             
                }
         
     | 
| 
       607 
631 
     | 
    
         
             
                /**
         
     | 
| 
       608 
632 
     | 
    
         
             
                 * @summary Resend a verification email.
         
     | 
| 
       609 
633 
     | 
    
         
             
                 */
         
     | 
| 
       610 
     | 
    
         
            -
                resendVerificationEmail(form, options) {
         
     | 
| 
      
 634 
     | 
    
         
            +
                async resendVerificationEmail(form, options) {
         
     | 
| 
       611 
635 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/resend_verification_email", form, options);
         
     | 
| 
       612 
636 
     | 
    
         
             
                }
         
     | 
| 
       613 
637 
     | 
    
         
             
                /**
         
     | 
| 
       614 
638 
     | 
    
         
             
                 * @summary List your saved content.
         
     | 
| 
       615 
639 
     | 
    
         
             
                 */
         
     | 
| 
       616 
     | 
    
         
            -
                listPersonSaved(form, options) {
         
     | 
| 
      
 640 
     | 
    
         
            +
                async listPersonSaved(form, options) {
         
     | 
| 
       617 
641 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/saved", form, options);
         
     | 
| 
       618 
642 
     | 
    
         
             
                }
         
     | 
| 
      
 643 
     | 
    
         
            +
                /**
         
     | 
| 
      
 644 
     | 
    
         
            +
                 * @summary List your read content.
         
     | 
| 
      
 645 
     | 
    
         
            +
                 */
         
     | 
| 
      
 646 
     | 
    
         
            +
                async listPersonRead(form, options) {
         
     | 
| 
      
 647 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/read", form, options);
         
     | 
| 
      
 648 
     | 
    
         
            +
                }
         
     | 
| 
      
 649 
     | 
    
         
            +
                /**
         
     | 
| 
      
 650 
     | 
    
         
            +
                 * @summary List your hidden content.
         
     | 
| 
      
 651 
     | 
    
         
            +
                 */
         
     | 
| 
      
 652 
     | 
    
         
            +
                async listPersonHidden(form, options) {
         
     | 
| 
      
 653 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/hidden", form, options);
         
     | 
| 
      
 654 
     | 
    
         
            +
                }
         
     | 
| 
      
 655 
     | 
    
         
            +
                /**
         
     | 
| 
      
 656 
     | 
    
         
            +
                 * @summary List your liked content.
         
     | 
| 
      
 657 
     | 
    
         
            +
                 */
         
     | 
| 
      
 658 
     | 
    
         
            +
                async listPersonLiked(form, options) {
         
     | 
| 
      
 659 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/liked", form, options);
         
     | 
| 
      
 660 
     | 
    
         
            +
                }
         
     | 
| 
       619 
661 
     | 
    
         
             
                /**
         
     | 
| 
       620 
662 
     | 
    
         
             
                 * @summary Add an admin to your site.
         
     | 
| 
       621 
663 
     | 
    
         
             
                 */
         
     | 
| 
       622 
     | 
    
         
            -
                addAdmin(form, options) {
         
     | 
| 
      
 664 
     | 
    
         
            +
                async addAdmin(form, options) {
         
     | 
| 
       623 
665 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/add", form, options);
         
     | 
| 
       624 
666 
     | 
    
         
             
                }
         
     | 
| 
       625 
667 
     | 
    
         
             
                /**
         
     | 
| 
       626 
668 
     | 
    
         
             
                 * @summary Get the unread registration applications count.
         
     | 
| 
       627 
669 
     | 
    
         
             
                 */
         
     | 
| 
       628 
     | 
    
         
            -
                getUnreadRegistrationApplicationCount(options) {
         
     | 
| 
      
 670 
     | 
    
         
            +
                async getUnreadRegistrationApplicationCount(options) {
         
     | 
| 
       629 
671 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/registration_application/count", {}, options);
         
     | 
| 
       630 
672 
     | 
    
         
             
                }
         
     | 
| 
       631 
673 
     | 
    
         
             
                /**
         
     | 
| 
       632 
674 
     | 
    
         
             
                 * @summary List the registration applications.
         
     | 
| 
       633 
675 
     | 
    
         
             
                 */
         
     | 
| 
       634 
     | 
    
         
            -
                listRegistrationApplications(form, options) {
         
     | 
| 
      
 676 
     | 
    
         
            +
                async listRegistrationApplications(form, options) {
         
     | 
| 
       635 
677 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/registration_application/list", form, options);
         
     | 
| 
       636 
678 
     | 
    
         
             
                }
         
     | 
| 
       637 
679 
     | 
    
         
             
                /**
         
     | 
| 
       638 
680 
     | 
    
         
             
                 * @summary Approve a registration application
         
     | 
| 
       639 
681 
     | 
    
         
             
                 */
         
     | 
| 
       640 
     | 
    
         
            -
                approveRegistrationApplication(form, options) {
         
     | 
| 
      
 682 
     | 
    
         
            +
                async approveRegistrationApplication(form, options) {
         
     | 
| 
       641 
683 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/admin/registration_application/approve", form, options);
         
     | 
| 
       642 
684 
     | 
    
         
             
                }
         
     | 
| 
       643 
685 
     | 
    
         
             
                /**
         
     | 
| 
       644 
686 
     | 
    
         
             
                 * @summary Get the application a user submitted when they first registered their account
         
     | 
| 
       645 
687 
     | 
    
         
             
                 */
         
     | 
| 
       646 
     | 
    
         
            -
                getRegistrationApplication(form, options) {
         
     | 
| 
      
 688 
     | 
    
         
            +
                async getRegistrationApplication(form, options) {
         
     | 
| 
       647 
689 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/registration_application", form, options);
         
     | 
| 
       648 
690 
     | 
    
         
             
                }
         
     | 
| 
       649 
691 
     | 
    
         
             
                /**
         
     | 
| 
       650 
692 
     | 
    
         
             
                 * @summary Purge / Delete a person from the database.
         
     | 
| 
       651 
693 
     | 
    
         
             
                 */
         
     | 
| 
       652 
     | 
    
         
            -
                purgePerson(form, options) {
         
     | 
| 
      
 694 
     | 
    
         
            +
                async purgePerson(form, options) {
         
     | 
| 
       653 
695 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/purge/person", form, options);
         
     | 
| 
       654 
696 
     | 
    
         
             
                }
         
     | 
| 
       655 
697 
     | 
    
         
             
                /**
         
     | 
| 
       656 
698 
     | 
    
         
             
                 * @summary Purge / Delete a community from the database.
         
     | 
| 
       657 
699 
     | 
    
         
             
                 */
         
     | 
| 
       658 
     | 
    
         
            -
                purgeCommunity(form, options) {
         
     | 
| 
      
 700 
     | 
    
         
            +
                async purgeCommunity(form, options) {
         
     | 
| 
       659 
701 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/purge/community", form, options);
         
     | 
| 
       660 
702 
     | 
    
         
             
                }
         
     | 
| 
       661 
703 
     | 
    
         
             
                /**
         
     | 
| 
       662 
704 
     | 
    
         
             
                 * @summary Purge / Delete a post from the database.
         
     | 
| 
       663 
705 
     | 
    
         
             
                 */
         
     | 
| 
       664 
     | 
    
         
            -
                purgePost(form, options) {
         
     | 
| 
      
 706 
     | 
    
         
            +
                async purgePost(form, options) {
         
     | 
| 
       665 
707 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/purge/post", form, options);
         
     | 
| 
       666 
708 
     | 
    
         
             
                }
         
     | 
| 
       667 
709 
     | 
    
         
             
                /**
         
     | 
| 
       668 
710 
     | 
    
         
             
                 * @summary Purge / Delete a comment from the database.
         
     | 
| 
       669 
711 
     | 
    
         
             
                 */
         
     | 
| 
       670 
     | 
    
         
            -
                purgeComment(form, options) {
         
     | 
| 
      
 712 
     | 
    
         
            +
                async purgeComment(form, options) {
         
     | 
| 
       671 
713 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/purge/comment", form, options);
         
     | 
| 
       672 
714 
     | 
    
         
             
                }
         
     | 
| 
       673 
715 
     | 
    
         
             
                /**
         
     | 
| 
       674 
716 
     | 
    
         
             
                 * @summary Create a new custom emoji.
         
     | 
| 
       675 
717 
     | 
    
         
             
                 */
         
     | 
| 
       676 
     | 
    
         
            -
                createCustomEmoji(form, options) {
         
     | 
| 
      
 718 
     | 
    
         
            +
                async createCustomEmoji(form, options) {
         
     | 
| 
       677 
719 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/custom_emoji", form, options);
         
     | 
| 
       678 
720 
     | 
    
         
             
                }
         
     | 
| 
       679 
721 
     | 
    
         
             
                /**
         
     | 
| 
       680 
722 
     | 
    
         
             
                 * @summary Edit an existing custom emoji.
         
     | 
| 
       681 
723 
     | 
    
         
             
                 */
         
     | 
| 
       682 
     | 
    
         
            -
                editCustomEmoji(form, options) {
         
     | 
| 
      
 724 
     | 
    
         
            +
                async editCustomEmoji(form, options) {
         
     | 
| 
       683 
725 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/custom_emoji", form, options);
         
     | 
| 
       684 
726 
     | 
    
         
             
                }
         
     | 
| 
       685 
727 
     | 
    
         
             
                /**
         
     | 
| 
       686 
728 
     | 
    
         
             
                 * @summary Delete a custom emoji.
         
     | 
| 
       687 
729 
     | 
    
         
             
                 */
         
     | 
| 
       688 
     | 
    
         
            -
                deleteCustomEmoji(form, options) {
         
     | 
| 
      
 730 
     | 
    
         
            +
                async deleteCustomEmoji(form, options) {
         
     | 
| 
       689 
731 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/custom_emoji/delete", form, options);
         
     | 
| 
       690 
732 
     | 
    
         
             
                }
         
     | 
| 
       691 
733 
     | 
    
         
             
                /**
         
     | 
| 
       692 
734 
     | 
    
         
             
                 * @summary List custom emojis
         
     | 
| 
       693 
735 
     | 
    
         
             
                 */
         
     | 
| 
       694 
     | 
    
         
            -
                listCustomEmojis(form, options) {
         
     | 
| 
      
 736 
     | 
    
         
            +
                async listCustomEmojis(form, options) {
         
     | 
| 
       695 
737 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/custom_emoji/list", form, options);
         
     | 
| 
       696 
738 
     | 
    
         
             
                }
         
     | 
| 
       697 
739 
     | 
    
         
             
                /**
         
     | 
| 
       698 
740 
     | 
    
         
             
                 * @summary Create a new tagline
         
     | 
| 
       699 
741 
     | 
    
         
             
                 */
         
     | 
| 
       700 
     | 
    
         
            -
                createTagline(form, options) {
         
     | 
| 
      
 742 
     | 
    
         
            +
                async createTagline(form, options) {
         
     | 
| 
       701 
743 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/tagline", form, options);
         
     | 
| 
       702 
744 
     | 
    
         
             
                }
         
     | 
| 
       703 
745 
     | 
    
         
             
                /**
         
     | 
| 
       704 
746 
     | 
    
         
             
                 * @summary Edit an existing tagline
         
     | 
| 
       705 
747 
     | 
    
         
             
                 */
         
     | 
| 
       706 
     | 
    
         
            -
                editTagline(form, options) {
         
     | 
| 
      
 748 
     | 
    
         
            +
                async editTagline(form, options) {
         
     | 
| 
       707 
749 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/admin/tagline", form, options);
         
     | 
| 
       708 
750 
     | 
    
         
             
                }
         
     | 
| 
       709 
751 
     | 
    
         
             
                /**
         
     | 
| 
       710 
752 
     | 
    
         
             
                 * @summary Delete a tagline
         
     | 
| 
       711 
753 
     | 
    
         
             
                 */
         
     | 
| 
       712 
     | 
    
         
            -
                deleteTagline(form, options) {
         
     | 
| 
      
 754 
     | 
    
         
            +
                async deleteTagline(form, options) {
         
     | 
| 
       713 
755 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/tagline/delete", form, options);
         
     | 
| 
       714 
756 
     | 
    
         
             
                }
         
     | 
| 
       715 
757 
     | 
    
         
             
                /**
         
     | 
| 
       716 
758 
     | 
    
         
             
                 * @summary List taglines.
         
     | 
| 
       717 
759 
     | 
    
         
             
                 */
         
     | 
| 
       718 
     | 
    
         
            -
                listTaglines(form, options) {
         
     | 
| 
      
 760 
     | 
    
         
            +
                async listTaglines(form, options) {
         
     | 
| 
       719 
761 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/tagline/list", form, options);
         
     | 
| 
       720 
762 
     | 
    
         
             
                }
         
     | 
| 
       721 
763 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -725,10 +767,10 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller { 
     | 
|
| 
       725 
767 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/tag", form, options);
         
     | 
| 
       726 
768 
     | 
    
         
             
                }
         
     | 
| 
       727 
769 
     | 
    
         
             
                /**
         
     | 
| 
       728 
     | 
    
         
            -
                 * @summary  
     | 
| 
      
 770 
     | 
    
         
            +
                 * @summary Edit a community post tag.
         
     | 
| 
       729 
771 
     | 
    
         
             
                 */
         
     | 
| 
       730 
772 
     | 
    
         
             
                updateCommunityTag(form, options) {
         
     | 
| 
       731 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType. 
     | 
| 
      
 773 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/tag", form, options);
         
     | 
| 
       732 
774 
     | 
    
         
             
                }
         
     | 
| 
       733 
775 
     | 
    
         
             
                /**
         
     | 
| 
       734 
776 
     | 
    
         
             
                 * @summary Delete a post tag in a community.
         
     | 
| 
         @@ -739,55 +781,61 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller { 
     | 
|
| 
       739 
781 
     | 
    
         
             
                /**
         
     | 
| 
       740 
782 
     | 
    
         
             
                 * @summary Create a new oauth provider method
         
     | 
| 
       741 
783 
     | 
    
         
             
                 */
         
     | 
| 
       742 
     | 
    
         
            -
                createOAuthProvider(form, options) {
         
     | 
| 
      
 784 
     | 
    
         
            +
                async createOAuthProvider(form, options) {
         
     | 
| 
       743 
785 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/oauth_provider", form, options);
         
     | 
| 
       744 
786 
     | 
    
         
             
                }
         
     | 
| 
       745 
787 
     | 
    
         
             
                /**
         
     | 
| 
       746 
788 
     | 
    
         
             
                 * @summary Edit an existing oauth provider method
         
     | 
| 
       747 
789 
     | 
    
         
             
                 */
         
     | 
| 
       748 
     | 
    
         
            -
                editOAuthProvider(form, options) {
         
     | 
| 
      
 790 
     | 
    
         
            +
                async editOAuthProvider(form, options) {
         
     | 
| 
       749 
791 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/oauth_provider", form, options);
         
     | 
| 
       750 
792 
     | 
    
         
             
                }
         
     | 
| 
       751 
793 
     | 
    
         
             
                /**
         
     | 
| 
       752 
794 
     | 
    
         
             
                 * @summary Delete an oauth provider method
         
     | 
| 
       753 
795 
     | 
    
         
             
                 */
         
     | 
| 
       754 
     | 
    
         
            -
                deleteOAuthProvider(form, options) {
         
     | 
| 
      
 796 
     | 
    
         
            +
                async deleteOAuthProvider(form, options) {
         
     | 
| 
       755 
797 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/oauth_provider/delete", form, options);
         
     | 
| 
       756 
798 
     | 
    
         
             
                }
         
     | 
| 
       757 
799 
     | 
    
         
             
                /**
         
     | 
| 
       758 
800 
     | 
    
         
             
                 * @summary Authenticate with OAuth
         
     | 
| 
       759 
801 
     | 
    
         
             
                 */
         
     | 
| 
       760 
     | 
    
         
            -
                authenticateWithOAuth(form, options) {
         
     | 
| 
      
 802 
     | 
    
         
            +
                async authenticateWithOAuth(form, options) {
         
     | 
| 
       761 
803 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/oauth/authenticate", form, options);
         
     | 
| 
       762 
804 
     | 
    
         
             
                }
         
     | 
| 
       763 
805 
     | 
    
         
             
                /**
         
     | 
| 
       764 
806 
     | 
    
         
             
                 * @summary Fetch federated instances.
         
     | 
| 
       765 
807 
     | 
    
         
             
                 */
         
     | 
| 
       766 
     | 
    
         
            -
                getFederatedInstances(options) {
         
     | 
| 
       767 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/federated_instances",  
     | 
| 
      
 808 
     | 
    
         
            +
                async getFederatedInstances(form, options) {
         
     | 
| 
      
 809 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/federated_instances", form, options);
         
     | 
| 
       768 
810 
     | 
    
         
             
                }
         
     | 
| 
       769 
811 
     | 
    
         
             
                /**
         
     | 
| 
       770 
812 
     | 
    
         
             
                 * @summary List user reports.
         
     | 
| 
       771 
813 
     | 
    
         
             
                 */
         
     | 
| 
       772 
     | 
    
         
            -
                listReports(form, options) {
         
     | 
| 
      
 814 
     | 
    
         
            +
                async listReports(form, options) {
         
     | 
| 
       773 
815 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/report/list", form, options);
         
     | 
| 
       774 
816 
     | 
    
         
             
                }
         
     | 
| 
       775 
817 
     | 
    
         
             
                /**
         
     | 
| 
       776 
     | 
    
         
            -
                 * @summary Block an instance as user.
         
     | 
| 
      
 818 
     | 
    
         
            +
                 * @summary Block an instance's communities as a user.
         
     | 
| 
       777 
819 
     | 
    
         
             
                 */
         
     | 
| 
       778 
     | 
    
         
            -
                 
     | 
| 
       779 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/block/instance", form, options);
         
     | 
| 
      
 820 
     | 
    
         
            +
                async userBlockInstanceCommunities(form, options) {
         
     | 
| 
      
 821 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/block/instance/communities", form, options);
         
     | 
| 
      
 822 
     | 
    
         
            +
                }
         
     | 
| 
      
 823 
     | 
    
         
            +
                /**
         
     | 
| 
      
 824 
     | 
    
         
            +
                 * @summary Block an instance's persons as a user.
         
     | 
| 
      
 825 
     | 
    
         
            +
                 */
         
     | 
| 
      
 826 
     | 
    
         
            +
                async userBlockInstancePersons(form, options) {
         
     | 
| 
      
 827 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/block/instance/persons", form, options);
         
     | 
| 
       780 
828 
     | 
    
         
             
                }
         
     | 
| 
       781 
829 
     | 
    
         
             
                /**
         
     | 
| 
       782 
830 
     | 
    
         
             
                 * @summary Globally block an instance as admin.
         
     | 
| 
       783 
831 
     | 
    
         
             
                 */
         
     | 
| 
       784 
     | 
    
         
            -
                adminBlockInstance(form, options) {
         
     | 
| 
      
 832 
     | 
    
         
            +
                async adminBlockInstance(form, options) {
         
     | 
| 
       785 
833 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/instance/block", form, options);
         
     | 
| 
       786 
834 
     | 
    
         
             
                }
         
     | 
| 
       787 
835 
     | 
    
         
             
                /**
         
     | 
| 
       788 
836 
     | 
    
         
             
                 * @summary Globally allow an instance as admin.
         
     | 
| 
       789 
837 
     | 
    
         
             
                 */
         
     | 
| 
       790 
     | 
    
         
            -
                adminAllowInstance(form, options) {
         
     | 
| 
      
 838 
     | 
    
         
            +
                async adminAllowInstance(form, options) {
         
     | 
| 
       791 
839 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/instance/allow", form, options);
         
     | 
| 
       792 
840 
     | 
    
         
             
                }
         
     | 
| 
       793 
841 
     | 
    
         
             
                /**
         
     | 
| 
         @@ -817,26 +865,26 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller { 
     | 
|
| 
       817 
865 
     | 
    
         
             
                /**
         
     | 
| 
       818 
866 
     | 
    
         
             
                 * @summary Upload new community icon.
         
     | 
| 
       819 
867 
     | 
    
         
             
                 */
         
     | 
| 
       820 
     | 
    
         
            -
                async uploadCommunityIcon(image, options) {
         
     | 
| 
       821 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m",  
     | 
| 
      
 868 
     | 
    
         
            +
                async uploadCommunityIcon(query, image, options) {
         
     | 
| 
      
 869 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_uploadWithQuery).call(this, "/community/icon", query, image, options);
         
     | 
| 
       822 
870 
     | 
    
         
             
                }
         
     | 
| 
       823 
871 
     | 
    
         
             
                /**
         
     | 
| 
       824 
872 
     | 
    
         
             
                 * @summary Delete the community icon.
         
     | 
| 
       825 
873 
     | 
    
         
             
                 */
         
     | 
| 
       826 
     | 
    
         
            -
                async deleteCommunityIcon(options) {
         
     | 
| 
       827 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/community/icon",  
     | 
| 
      
 874 
     | 
    
         
            +
                async deleteCommunityIcon(form, options) {
         
     | 
| 
      
 875 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/community/icon", form, options);
         
     | 
| 
       828 
876 
     | 
    
         
             
                }
         
     | 
| 
       829 
877 
     | 
    
         
             
                /**
         
     | 
| 
       830 
878 
     | 
    
         
             
                 * @summary Upload new community banner.
         
     | 
| 
       831 
879 
     | 
    
         
             
                 */
         
     | 
| 
       832 
     | 
    
         
            -
                async uploadCommunityBanner(image, options) {
         
     | 
| 
       833 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m",  
     | 
| 
      
 880 
     | 
    
         
            +
                async uploadCommunityBanner(query, image, options) {
         
     | 
| 
      
 881 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_uploadWithQuery).call(this, "/community/banner", query, image, options);
         
     | 
| 
       834 
882 
     | 
    
         
             
                }
         
     | 
| 
       835 
883 
     | 
    
         
             
                /**
         
     | 
| 
       836 
884 
     | 
    
         
             
                 * @summary Delete the community banner.
         
     | 
| 
       837 
885 
     | 
    
         
             
                 */
         
     | 
| 
       838 
     | 
    
         
            -
                async deleteCommunityBanner(options) {
         
     | 
| 
       839 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/community/banner",  
     | 
| 
      
 886 
     | 
    
         
            +
                async deleteCommunityBanner(form, options) {
         
     | 
| 
      
 887 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/community/banner", form, options);
         
     | 
| 
       840 
888 
     | 
    
         
             
                }
         
     | 
| 
       841 
889 
     | 
    
         
             
                /**
         
     | 
| 
       842 
890 
     | 
    
         
             
                 * @summary Upload new site icon.
         
     | 
| 
         @@ -868,12 +916,6 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller { 
     | 
|
| 
       868 
916 
     | 
    
         
             
                async uploadImage(image, options) {
         
     | 
| 
       869 
917 
     | 
    
         
             
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_upload).call(this, "/image", image, options);
         
     | 
| 
       870 
918 
     | 
    
         
             
                }
         
     | 
| 
       871 
     | 
    
         
            -
                /**
         
     | 
| 
       872 
     | 
    
         
            -
                 * @summary Delete a pictrs image
         
     | 
| 
       873 
     | 
    
         
            -
                 */
         
     | 
| 
       874 
     | 
    
         
            -
                async deleteImage(form, options) {
         
     | 
| 
       875 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/image", form, options);
         
     | 
| 
       876 
     | 
    
         
            -
                }
         
     | 
| 
       877 
919 
     | 
    
         
             
                /**
         
     | 
| 
       878 
920 
     | 
    
         
             
                 * @summary Health check for image functionality
         
     | 
| 
       879 
921 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -882,11 +924,42 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller { 
     | 
|
| 
       882 
924 
     | 
    
         
             
                }
         
     | 
| 
       883 
925 
     | 
    
         
             
                /**
         
     | 
| 
       884 
926 
     | 
    
         
             
                 * Mark donation dialog as shown, so it isn't displayed anymore.
         
     | 
| 
       885 
     | 
    
         
            -
                 *
         
     | 
| 
       886 
     | 
    
         
            -
                 * `HTTP.POST /user/donation_dialog_shown`
         
     | 
| 
       887 
927 
     | 
    
         
             
                 */
         
     | 
| 
       888 
     | 
    
         
            -
                 
     | 
| 
       889 
     | 
    
         
            -
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/ 
     | 
| 
      
 928 
     | 
    
         
            +
                donationDialogShown(options) {
         
     | 
| 
      
 929 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/donation_dialog_shown", {}, options);
         
     | 
| 
      
 930 
     | 
    
         
            +
                }
         
     | 
| 
      
 931 
     | 
    
         
            +
                createMultiCommunity(form, options) {
         
     | 
| 
      
 932 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/multi_community", form, options);
         
     | 
| 
      
 933 
     | 
    
         
            +
                }
         
     | 
| 
      
 934 
     | 
    
         
            +
                updateMultiCommunity(form, options) {
         
     | 
| 
      
 935 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/multi_community", form, options);
         
     | 
| 
      
 936 
     | 
    
         
            +
                }
         
     | 
| 
      
 937 
     | 
    
         
            +
                getMultiCommunity(form, options) {
         
     | 
| 
      
 938 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/multi_community", form, options);
         
     | 
| 
      
 939 
     | 
    
         
            +
                }
         
     | 
| 
      
 940 
     | 
    
         
            +
                createMultiCommunityEntry(form, options) {
         
     | 
| 
      
 941 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/multi_community/entry", form, options);
         
     | 
| 
      
 942 
     | 
    
         
            +
                }
         
     | 
| 
      
 943 
     | 
    
         
            +
                deleteMultiCommunityEntry(form, options) {
         
     | 
| 
      
 944 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/multi_community/entry", form, options);
         
     | 
| 
      
 945 
     | 
    
         
            +
                }
         
     | 
| 
      
 946 
     | 
    
         
            +
                listMultiCommunities(form, options) {
         
     | 
| 
      
 947 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/multi_community/list", form, options);
         
     | 
| 
      
 948 
     | 
    
         
            +
                }
         
     | 
| 
      
 949 
     | 
    
         
            +
                followMultiCommunity(form, options) {
         
     | 
| 
      
 950 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/multi_community/follow", form, options);
         
     | 
| 
      
 951 
     | 
    
         
            +
                }
         
     | 
| 
      
 952 
     | 
    
         
            +
                /**
         
     | 
| 
      
 953 
     | 
    
         
            +
                 * @summary Change notification settings for a community
         
     | 
| 
      
 954 
     | 
    
         
            +
                 */
         
     | 
| 
      
 955 
     | 
    
         
            +
                updateCommunityNotifications(form, options) {
         
     | 
| 
      
 956 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/notifications", form, options);
         
     | 
| 
      
 957 
     | 
    
         
            +
                }
         
     | 
| 
      
 958 
     | 
    
         
            +
                /**
         
     | 
| 
      
 959 
     | 
    
         
            +
                 * @summary Change notification settings for a post
         
     | 
| 
      
 960 
     | 
    
         
            +
                 */
         
     | 
| 
      
 961 
     | 
    
         
            +
                updatePostNotifications(form, options) {
         
     | 
| 
      
 962 
     | 
    
         
            +
                    return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/post/notifications", form, options);
         
     | 
| 
       890 
963 
     | 
    
         
             
                }
         
     | 
| 
       891 
964 
     | 
    
         
             
                /**
         
     | 
| 
       892 
965 
     | 
    
         
             
                 * Set the headers (can be used to set the auth header)
         
     | 
| 
         @@ -913,6 +986,9 @@ _LemmyHttp_upload = async function _LemmyHttp_upload(path, { image }, options) { 
     | 
|
| 
       913 
986 
     | 
    
         
             
                });
         
     | 
| 
       914 
987 
     | 
    
         
             
                return response.json();
         
     | 
| 
       915 
988 
     | 
    
         
             
            };
         
     | 
| 
      
 989 
     | 
    
         
            +
            _LemmyHttp_uploadWithQuery = async function _LemmyHttp_uploadWithQuery(path, query, { image }, options) {
         
     | 
| 
      
 990 
     | 
    
         
            +
                return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_upload).call(this, `${path}?${encodeGetParams(query)}`, { image }, options);
         
     | 
| 
      
 991 
     | 
    
         
            +
            };
         
     | 
| 
       916 
992 
     | 
    
         
             
            _LemmyHttp_wrapper = async function _LemmyHttp_wrapper(type_, endpoint, form, options) {
         
     | 
| 
       917 
993 
     | 
    
         
             
                let response;
         
     | 
| 
       918 
994 
     | 
    
         
             
                if (type_ === HttpType.Get) {
         
     | 
| 
         @@ -939,10 +1015,12 @@ _LemmyHttp_wrapper = async function _LemmyHttp_wrapper(type_, endpoint, form, op 
     | 
|
| 
       939 
1015 
     | 
    
         
             
                    json = await response.json();
         
     | 
| 
       940 
1016 
     | 
    
         
             
                }
         
     | 
| 
       941 
1017 
     | 
    
         
             
                catch {
         
     | 
| 
       942 
     | 
    
         
            -
                    throw new  
     | 
| 
      
 1018 
     | 
    
         
            +
                    throw new LemmyError(response.statusText, response.status);
         
     | 
| 
       943 
1019 
     | 
    
         
             
                }
         
     | 
| 
       944 
1020 
     | 
    
         
             
                if (!response.ok) {
         
     | 
| 
       945 
     | 
    
         
            -
                     
     | 
| 
      
 1021 
     | 
    
         
            +
                    console.error(`Request error while calling ${type_} ${endpoint} with ${JSON.stringify(form)}`);
         
     | 
| 
      
 1022 
     | 
    
         
            +
                    let err = new LemmyError(json.error ?? response.statusText, response.status, json.message);
         
     | 
| 
      
 1023 
     | 
    
         
            +
                    throw err;
         
     | 
| 
       946 
1024 
     | 
    
         
             
                }
         
     | 
| 
       947 
1025 
     | 
    
         
             
                else {
         
     | 
| 
       948 
1026 
     | 
    
         
             
                    return json;
         
     | 
| 
         @@ -1014,18 +1092,32 @@ __decorate([ 
     | 
|
| 
       1014 
1092 
     | 
    
         
             
            ], LemmyHttp.prototype, "validateAuth", null);
         
     | 
| 
       1015 
1093 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1016 
1094 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1017 
     | 
    
         
            -
                (0, runtime_1.Get)("/account/ 
     | 
| 
      
 1095 
     | 
    
         
            +
                (0, runtime_1.Get)("/account/media/list"),
         
     | 
| 
       1018 
1096 
     | 
    
         
             
                (0, runtime_1.Tags)("Account", "Media"),
         
     | 
| 
       1019 
1097 
     | 
    
         
             
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
       1020 
1098 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1021 
1099 
     | 
    
         
             
            ], LemmyHttp.prototype, "listMedia", null);
         
     | 
| 
       1022 
1100 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1023 
1101 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1024 
     | 
    
         
            -
                (0, runtime_1. 
     | 
| 
      
 1102 
     | 
    
         
            +
                (0, runtime_1.Delete)("/account/media"),
         
     | 
| 
      
 1103 
     | 
    
         
            +
                (0, runtime_1.Tags)("Account", "Media"),
         
     | 
| 
      
 1104 
     | 
    
         
            +
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
      
 1105 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 1106 
     | 
    
         
            +
            ], LemmyHttp.prototype, "deleteMedia", null);
         
     | 
| 
      
 1107 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 1108 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 1109 
     | 
    
         
            +
                (0, runtime_1.Delete)("/image"),
         
     | 
| 
      
 1110 
     | 
    
         
            +
                (0, runtime_1.Tags)("Admin", "Media"),
         
     | 
| 
      
 1111 
     | 
    
         
            +
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
      
 1112 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 1113 
     | 
    
         
            +
            ], LemmyHttp.prototype, "deleteMediaAdmin", null);
         
     | 
| 
      
 1114 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 1115 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 1116 
     | 
    
         
            +
                (0, runtime_1.Get)("/image/list"),
         
     | 
| 
       1025 
1117 
     | 
    
         
             
                (0, runtime_1.Tags)("Admin", "Media"),
         
     | 
| 
       1026 
1118 
     | 
    
         
             
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
       1027 
1119 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1028 
     | 
    
         
            -
            ], LemmyHttp.prototype, " 
     | 
| 
      
 1120 
     | 
    
         
            +
            ], LemmyHttp.prototype, "listMediaAdmin", null);
         
     | 
| 
       1029 
1121 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1030 
1122 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1031 
1123 
     | 
    
         
             
                (0, runtime_1.Post)("/account/auth/totp/update"),
         
     | 
| 
         @@ -1099,8 +1191,7 @@ __decorate([ 
     | 
|
| 
       1099 
1191 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1100 
1192 
     | 
    
         
             
                (0, runtime_1.Get)("/community/pending_follows/count"),
         
     | 
| 
       1101 
1193 
     | 
    
         
             
                (0, runtime_1.Tags)("Community"),
         
     | 
| 
       1102 
     | 
    
         
            -
                __param(0, (0, runtime_1. 
     | 
| 
       1103 
     | 
    
         
            -
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 1194 
     | 
    
         
            +
                __param(0, (0, runtime_1.Inject)())
         
     | 
| 
       1104 
1195 
     | 
    
         
             
            ], LemmyHttp.prototype, "getCommunityPendingFollowsCount", null);
         
     | 
| 
       1105 
1196 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1106 
1197 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
         @@ -1173,6 +1264,20 @@ __decorate([ 
     | 
|
| 
       1173 
1264 
     | 
    
         
             
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
       1174 
1265 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1175 
1266 
     | 
    
         
             
            ], LemmyHttp.prototype, "getRandomCommunity", null);
         
     | 
| 
      
 1267 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 1268 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 1269 
     | 
    
         
            +
                (0, runtime_1.Post)("/community/report"),
         
     | 
| 
      
 1270 
     | 
    
         
            +
                (0, runtime_1.Tags)("Community"),
         
     | 
| 
      
 1271 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 1272 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 1273 
     | 
    
         
            +
            ], LemmyHttp.prototype, "createCommunityReport", null);
         
     | 
| 
      
 1274 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 1275 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 1276 
     | 
    
         
            +
                (0, runtime_1.Put)("/community/report/resolve"),
         
     | 
| 
      
 1277 
     | 
    
         
            +
                (0, runtime_1.Tags)("Community", "Admin"),
         
     | 
| 
      
 1278 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 1279 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 1280 
     | 
    
         
            +
            ], LemmyHttp.prototype, "resolveCommunityReport", null);
         
     | 
| 
       1176 
1281 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1177 
1282 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1178 
1283 
     | 
    
         
             
                (0, runtime_1.Post)("/post"),
         
     | 
| 
         @@ -1195,6 +1300,13 @@ __decorate([ 
     | 
|
| 
       1195 
1300 
     | 
    
         
             
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
       1196 
1301 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1197 
1302 
     | 
    
         
             
            ], LemmyHttp.prototype, "editPost", null);
         
     | 
| 
      
 1303 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 1304 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 1305 
     | 
    
         
            +
                (0, runtime_1.Put)("/post/mod_update"),
         
     | 
| 
      
 1306 
     | 
    
         
            +
                (0, runtime_1.Tags)("Post"),
         
     | 
| 
      
 1307 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 1308 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 1309 
     | 
    
         
            +
            ], LemmyHttp.prototype, "modEditPost", null);
         
     | 
| 
       1198 
1310 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1199 
1311 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1200 
1312 
     | 
    
         
             
                (0, runtime_1.Post)("/post/delete"),
         
     | 
| 
         @@ -1324,11 +1436,11 @@ __decorate([ 
     | 
|
| 
       1324 
1436 
     | 
    
         
             
            ], LemmyHttp.prototype, "removeComment", null);
         
     | 
| 
       1325 
1437 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1326 
1438 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1327 
     | 
    
         
            -
                (0, runtime_1.Post)("/comment/ 
     | 
| 
       1328 
     | 
    
         
            -
                (0, runtime_1.Tags)("Comment"),
         
     | 
| 
      
 1439 
     | 
    
         
            +
                (0, runtime_1.Post)("/comment/lock"),
         
     | 
| 
      
 1440 
     | 
    
         
            +
                (0, runtime_1.Tags)("Comment", "Moderator"),
         
     | 
| 
       1329 
1441 
     | 
    
         
             
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
       1330 
1442 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1331 
     | 
    
         
            -
            ], LemmyHttp.prototype, " 
     | 
| 
      
 1443 
     | 
    
         
            +
            ], LemmyHttp.prototype, "lockComment", null);
         
     | 
| 
       1332 
1444 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1333 
1445 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1334 
1446 
     | 
    
         
             
                (0, runtime_1.Post)("/comment/like"),
         
     | 
| 
         @@ -1416,13 +1528,6 @@ __decorate([ 
     | 
|
| 
       1416 
1528 
     | 
    
         
             
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
       1417 
1529 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1418 
1530 
     | 
    
         
             
            ], LemmyHttp.prototype, "deletePrivateMessage", null);
         
     | 
| 
       1419 
     | 
    
         
            -
            __decorate([
         
     | 
| 
       1420 
     | 
    
         
            -
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1421 
     | 
    
         
            -
                (0, runtime_1.Post)("/private_message/mark_as_read"),
         
     | 
| 
       1422 
     | 
    
         
            -
                (0, runtime_1.Tags)("PrivateMessage"),
         
     | 
| 
       1423 
     | 
    
         
            -
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
       1424 
     | 
    
         
            -
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1425 
     | 
    
         
            -
            ], LemmyHttp.prototype, "markPrivateMessageAsRead", null);
         
     | 
| 
       1426 
1531 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1427 
1532 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1428 
1533 
     | 
    
         
             
                (0, runtime_1.Post)("/private_message/report"),
         
     | 
| 
         @@ -1473,18 +1578,11 @@ __decorate([ 
     | 
|
| 
       1473 
1578 
     | 
    
         
             
            ], LemmyHttp.prototype, "listPersonContent", null);
         
     | 
| 
       1474 
1579 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1475 
1580 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1476 
     | 
    
         
            -
                (0, runtime_1.Post)("/ 
     | 
| 
       1477 
     | 
    
         
            -
                (0, runtime_1.Tags)(" 
     | 
| 
       1478 
     | 
    
         
            -
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
       1479 
     | 
    
         
            -
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1480 
     | 
    
         
            -
            ], LemmyHttp.prototype, "markCommentMentionAsRead", null);
         
     | 
| 
       1481 
     | 
    
         
            -
            __decorate([
         
     | 
| 
       1482 
     | 
    
         
            -
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1483 
     | 
    
         
            -
                (0, runtime_1.Post)("/account/mention/post/mark_as_read"),
         
     | 
| 
       1484 
     | 
    
         
            -
                (0, runtime_1.Tags)("Account", "Post"),
         
     | 
| 
      
 1581 
     | 
    
         
            +
                (0, runtime_1.Post)("/person/note"),
         
     | 
| 
      
 1582 
     | 
    
         
            +
                (0, runtime_1.Tags)("Person"),
         
     | 
| 
       1485 
1583 
     | 
    
         
             
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
       1486 
1584 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1487 
     | 
    
         
            -
            ], LemmyHttp.prototype, " 
     | 
| 
      
 1585 
     | 
    
         
            +
            ], LemmyHttp.prototype, "notePerson", null);
         
     | 
| 
       1488 
1586 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1489 
1587 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1490 
1588 
     | 
    
         
             
                (0, runtime_1.Post)("/admin/ban"),
         
     | 
| 
         @@ -1494,11 +1592,11 @@ __decorate([ 
     | 
|
| 
       1494 
1592 
     | 
    
         
             
            ], LemmyHttp.prototype, "banPerson", null);
         
     | 
| 
       1495 
1593 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1496 
1594 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1497 
     | 
    
         
            -
                (0, runtime_1.Get)("/admin/ 
     | 
| 
      
 1595 
     | 
    
         
            +
                (0, runtime_1.Get)("/admin/users"),
         
     | 
| 
       1498 
1596 
     | 
    
         
             
                (0, runtime_1.Tags)("Admin", "Miscellaneous"),
         
     | 
| 
       1499 
1597 
     | 
    
         
             
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
       1500 
1598 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1501 
     | 
    
         
            -
            ], LemmyHttp.prototype, " 
     | 
| 
      
 1599 
     | 
    
         
            +
            ], LemmyHttp.prototype, "listUsers", null);
         
     | 
| 
       1502 
1600 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1503 
1601 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1504 
1602 
     | 
    
         
             
                (0, runtime_1.Post)("/account/block/person"),
         
     | 
| 
         @@ -1538,6 +1636,13 @@ __decorate([ 
     | 
|
| 
       1538 
1636 
     | 
    
         
             
                (0, runtime_1.Tags)("Account"),
         
     | 
| 
       1539 
1637 
     | 
    
         
             
                __param(0, (0, runtime_1.Inject)())
         
     | 
| 
       1540 
1638 
     | 
    
         
             
            ], LemmyHttp.prototype, "markAllNotificationsAsRead", null);
         
     | 
| 
      
 1639 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 1640 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 1641 
     | 
    
         
            +
                (0, runtime_1.Post)("/account/mark_as_read"),
         
     | 
| 
      
 1642 
     | 
    
         
            +
                (0, runtime_1.Tags)("Account"),
         
     | 
| 
      
 1643 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 1644 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 1645 
     | 
    
         
            +
            ], LemmyHttp.prototype, "markNotificationAsRead", null);
         
     | 
| 
       1541 
1646 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1542 
1647 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1543 
1648 
     | 
    
         
             
                (0, runtime_1.Put)("/account/settings/save"),
         
     | 
| 
         @@ -1567,11 +1672,11 @@ __decorate([ 
     | 
|
| 
       1567 
1672 
     | 
    
         
             
            ], LemmyHttp.prototype, "getUnreadCount", null);
         
     | 
| 
       1568 
1673 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1569 
1674 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1570 
     | 
    
         
            -
                (0, runtime_1.Get)("/account/ 
     | 
| 
      
 1675 
     | 
    
         
            +
                (0, runtime_1.Get)("/account/notifications"),
         
     | 
| 
       1571 
1676 
     | 
    
         
             
                (0, runtime_1.Tags)("Account"),
         
     | 
| 
       1572 
1677 
     | 
    
         
             
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
       1573 
1678 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1574 
     | 
    
         
            -
            ], LemmyHttp.prototype, " 
     | 
| 
      
 1679 
     | 
    
         
            +
            ], LemmyHttp.prototype, "listNotifications", null);
         
     | 
| 
       1575 
1680 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1576 
1681 
     | 
    
         
             
                (0, runtime_1.Post)("/account/auth/verify_email"),
         
     | 
| 
       1577 
1682 
     | 
    
         
             
                (0, runtime_1.Tags)("Account"),
         
     | 
| 
         @@ -1591,6 +1696,27 @@ __decorate([ 
     | 
|
| 
       1591 
1696 
     | 
    
         
             
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
       1592 
1697 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1593 
1698 
     | 
    
         
             
            ], LemmyHttp.prototype, "listPersonSaved", null);
         
     | 
| 
      
 1699 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 1700 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 1701 
     | 
    
         
            +
                (0, runtime_1.Get)("/account/read"),
         
     | 
| 
      
 1702 
     | 
    
         
            +
                (0, runtime_1.Tags)("Account"),
         
     | 
| 
      
 1703 
     | 
    
         
            +
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
      
 1704 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 1705 
     | 
    
         
            +
            ], LemmyHttp.prototype, "listPersonRead", null);
         
     | 
| 
      
 1706 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 1707 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 1708 
     | 
    
         
            +
                (0, runtime_1.Get)("/account/hidden"),
         
     | 
| 
      
 1709 
     | 
    
         
            +
                (0, runtime_1.Tags)("Account"),
         
     | 
| 
      
 1710 
     | 
    
         
            +
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
      
 1711 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 1712 
     | 
    
         
            +
            ], LemmyHttp.prototype, "listPersonHidden", null);
         
     | 
| 
      
 1713 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 1714 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 1715 
     | 
    
         
            +
                (0, runtime_1.Get)("/account/liked"),
         
     | 
| 
      
 1716 
     | 
    
         
            +
                (0, runtime_1.Tags)("Account"),
         
     | 
| 
      
 1717 
     | 
    
         
            +
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
      
 1718 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 1719 
     | 
    
         
            +
            ], LemmyHttp.prototype, "listPersonLiked", null);
         
     | 
| 
       1594 
1720 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1595 
1721 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1596 
1722 
     | 
    
         
             
                (0, runtime_1.Post)("/admin/add"),
         
     | 
| 
         @@ -1763,7 +1889,8 @@ __decorate([ 
     | 
|
| 
       1763 
1889 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1764 
1890 
     | 
    
         
             
                (0, runtime_1.Get)("/federated_instances"),
         
     | 
| 
       1765 
1891 
     | 
    
         
             
                (0, runtime_1.Tags)("Miscellaneous"),
         
     | 
| 
       1766 
     | 
    
         
            -
                __param(0, (0, runtime_1. 
     | 
| 
      
 1892 
     | 
    
         
            +
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
      
 1893 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1767 
1894 
     | 
    
         
             
            ], LemmyHttp.prototype, "getFederatedInstances", null);
         
     | 
| 
       1768 
1895 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1769 
1896 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
         @@ -1774,11 +1901,18 @@ __decorate([ 
     | 
|
| 
       1774 
1901 
     | 
    
         
             
            ], LemmyHttp.prototype, "listReports", null);
         
     | 
| 
       1775 
1902 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1776 
1903 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1777 
     | 
    
         
            -
                (0, runtime_1.Post)("/account/block/instance"),
         
     | 
| 
       1778 
     | 
    
         
            -
                (0, runtime_1.Tags)("Account"),
         
     | 
| 
      
 1904 
     | 
    
         
            +
                (0, runtime_1.Post)("/account/block/instance/communities"),
         
     | 
| 
      
 1905 
     | 
    
         
            +
                (0, runtime_1.Tags)("Account", "Community"),
         
     | 
| 
       1779 
1906 
     | 
    
         
             
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
       1780 
1907 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1781 
     | 
    
         
            -
            ], LemmyHttp.prototype, " 
     | 
| 
      
 1908 
     | 
    
         
            +
            ], LemmyHttp.prototype, "userBlockInstanceCommunities", null);
         
     | 
| 
      
 1909 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 1910 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 1911 
     | 
    
         
            +
                (0, runtime_1.Post)("/account/block/instance/persons"),
         
     | 
| 
      
 1912 
     | 
    
         
            +
                (0, runtime_1.Tags)("Account", "Person"),
         
     | 
| 
      
 1913 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 1914 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 1915 
     | 
    
         
            +
            ], LemmyHttp.prototype, "userBlockInstancePersons", null);
         
     | 
| 
       1782 
1916 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1783 
1917 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1784 
1918 
     | 
    
         
             
                (0, runtime_1.Post)("/admin/instance/block"),
         
     | 
| 
         @@ -1823,27 +1957,31 @@ __decorate([ 
     | 
|
| 
       1823 
1957 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1824 
1958 
     | 
    
         
             
                (0, runtime_1.Post)("/community/icon"),
         
     | 
| 
       1825 
1959 
     | 
    
         
             
                (0, runtime_1.Tags)("Community", "Media"),
         
     | 
| 
       1826 
     | 
    
         
            -
                __param(0, (0, runtime_1. 
     | 
| 
       1827 
     | 
    
         
            -
                __param(1, (0, runtime_1. 
     | 
| 
      
 1960 
     | 
    
         
            +
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
      
 1961 
     | 
    
         
            +
                __param(1, (0, runtime_1.UploadedFile)()),
         
     | 
| 
      
 1962 
     | 
    
         
            +
                __param(2, (0, runtime_1.Inject)())
         
     | 
| 
       1828 
1963 
     | 
    
         
             
            ], LemmyHttp.prototype, "uploadCommunityIcon", null);
         
     | 
| 
       1829 
1964 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1830 
1965 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1831 
1966 
     | 
    
         
             
                (0, runtime_1.Delete)("/community/icon"),
         
     | 
| 
       1832 
1967 
     | 
    
         
             
                (0, runtime_1.Tags)("Community", "Media"),
         
     | 
| 
       1833 
     | 
    
         
            -
                __param(0, (0, runtime_1. 
     | 
| 
      
 1968 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 1969 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1834 
1970 
     | 
    
         
             
            ], LemmyHttp.prototype, "deleteCommunityIcon", null);
         
     | 
| 
       1835 
1971 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1836 
1972 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1837 
1973 
     | 
    
         
             
                (0, runtime_1.Post)("/community/banner"),
         
     | 
| 
       1838 
1974 
     | 
    
         
             
                (0, runtime_1.Tags)("Community", "Media"),
         
     | 
| 
       1839 
     | 
    
         
            -
                __param(0, (0, runtime_1. 
     | 
| 
       1840 
     | 
    
         
            -
                __param(1, (0, runtime_1. 
     | 
| 
      
 1975 
     | 
    
         
            +
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
      
 1976 
     | 
    
         
            +
                __param(1, (0, runtime_1.UploadedFile)()),
         
     | 
| 
      
 1977 
     | 
    
         
            +
                __param(2, (0, runtime_1.Inject)())
         
     | 
| 
       1841 
1978 
     | 
    
         
             
            ], LemmyHttp.prototype, "uploadCommunityBanner", null);
         
     | 
| 
       1842 
1979 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1843 
1980 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
       1844 
1981 
     | 
    
         
             
                (0, runtime_1.Delete)("/community/banner"),
         
     | 
| 
       1845 
1982 
     | 
    
         
             
                (0, runtime_1.Tags)("Community", "Media"),
         
     | 
| 
       1846 
     | 
    
         
            -
                __param(0, (0, runtime_1. 
     | 
| 
      
 1983 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 1984 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1847 
1985 
     | 
    
         
             
            ], LemmyHttp.prototype, "deleteCommunityBanner", null);
         
     | 
| 
       1848 
1986 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1849 
1987 
     | 
    
         
             
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
         @@ -1879,20 +2017,76 @@ __decorate([ 
     | 
|
| 
       1879 
2017 
     | 
    
         
             
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1880 
2018 
     | 
    
         
             
            ], LemmyHttp.prototype, "uploadImage", null);
         
     | 
| 
       1881 
2019 
     | 
    
         
             
            __decorate([
         
     | 
| 
       1882 
     | 
    
         
            -
                (0, runtime_1. 
     | 
| 
       1883 
     | 
    
         
            -
                (0, runtime_1.Delete)("/image"),
         
     | 
| 
       1884 
     | 
    
         
            -
                (0, runtime_1.Tags)("Media"),
         
     | 
| 
       1885 
     | 
    
         
            -
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
       1886 
     | 
    
         
            -
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
       1887 
     | 
    
         
            -
            ], LemmyHttp.prototype, "deleteImage", null);
         
     | 
| 
       1888 
     | 
    
         
            -
            __decorate([
         
     | 
| 
       1889 
     | 
    
         
            -
                (0, runtime_1.Get)("image/health"),
         
     | 
| 
      
 2020 
     | 
    
         
            +
                (0, runtime_1.Get)("/image/health"),
         
     | 
| 
       1890 
2021 
     | 
    
         
             
                (0, runtime_1.Tags)("Media"),
         
     | 
| 
       1891 
2022 
     | 
    
         
             
                __param(0, (0, runtime_1.Inject)())
         
     | 
| 
       1892 
2023 
     | 
    
         
             
            ], LemmyHttp.prototype, "imageHealth", null);
         
     | 
| 
       1893 
2024 
     | 
    
         
             
            __decorate([
         
     | 
| 
      
 2025 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 2026 
     | 
    
         
            +
                (0, runtime_1.Post)("/account/donation_dialog_shown"),
         
     | 
| 
      
 2027 
     | 
    
         
            +
                (0, runtime_1.Tags)("Account"),
         
     | 
| 
       1894 
2028 
     | 
    
         
             
                __param(0, (0, runtime_1.Inject)())
         
     | 
| 
       1895 
     | 
    
         
            -
            ], LemmyHttp.prototype, " 
     | 
| 
      
 2029 
     | 
    
         
            +
            ], LemmyHttp.prototype, "donationDialogShown", null);
         
     | 
| 
      
 2030 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 2031 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 2032 
     | 
    
         
            +
                (0, runtime_1.Post)("/multi_community"),
         
     | 
| 
      
 2033 
     | 
    
         
            +
                (0, runtime_1.Tags)("Multicommunity"),
         
     | 
| 
      
 2034 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 2035 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 2036 
     | 
    
         
            +
            ], LemmyHttp.prototype, "createMultiCommunity", null);
         
     | 
| 
      
 2037 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 2038 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 2039 
     | 
    
         
            +
                (0, runtime_1.Put)("/multi_community"),
         
     | 
| 
      
 2040 
     | 
    
         
            +
                (0, runtime_1.Tags)("Multicommunity"),
         
     | 
| 
      
 2041 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 2042 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 2043 
     | 
    
         
            +
            ], LemmyHttp.prototype, "updateMultiCommunity", null);
         
     | 
| 
      
 2044 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 2045 
     | 
    
         
            +
                (0, runtime_1.Get)("/multi_community"),
         
     | 
| 
      
 2046 
     | 
    
         
            +
                (0, runtime_1.Tags)("Multicommunity"),
         
     | 
| 
      
 2047 
     | 
    
         
            +
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
      
 2048 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 2049 
     | 
    
         
            +
            ], LemmyHttp.prototype, "getMultiCommunity", null);
         
     | 
| 
      
 2050 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 2051 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 2052 
     | 
    
         
            +
                (0, runtime_1.Post)("/multi_community/entry"),
         
     | 
| 
      
 2053 
     | 
    
         
            +
                (0, runtime_1.Tags)("Multicommunity"),
         
     | 
| 
      
 2054 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 2055 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 2056 
     | 
    
         
            +
            ], LemmyHttp.prototype, "createMultiCommunityEntry", null);
         
     | 
| 
      
 2057 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 2058 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 2059 
     | 
    
         
            +
                (0, runtime_1.Delete)("/multi_community/entry"),
         
     | 
| 
      
 2060 
     | 
    
         
            +
                (0, runtime_1.Tags)("Multicommunity"),
         
     | 
| 
      
 2061 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 2062 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 2063 
     | 
    
         
            +
            ], LemmyHttp.prototype, "deleteMultiCommunityEntry", null);
         
     | 
| 
      
 2064 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 2065 
     | 
    
         
            +
                (0, runtime_1.Get)("/multi_community/list"),
         
     | 
| 
      
 2066 
     | 
    
         
            +
                (0, runtime_1.Tags)("Multicommunity"),
         
     | 
| 
      
 2067 
     | 
    
         
            +
                __param(0, (0, runtime_1.Queries)()),
         
     | 
| 
      
 2068 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 2069 
     | 
    
         
            +
            ], LemmyHttp.prototype, "listMultiCommunities", null);
         
     | 
| 
      
 2070 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 2071 
     | 
    
         
            +
                (0, runtime_1.Post)("/multi_community/follow"),
         
     | 
| 
      
 2072 
     | 
    
         
            +
                (0, runtime_1.Tags)("Multicommunity"),
         
     | 
| 
      
 2073 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 2074 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 2075 
     | 
    
         
            +
            ], LemmyHttp.prototype, "followMultiCommunity", null);
         
     | 
| 
      
 2076 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 2077 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 2078 
     | 
    
         
            +
                (0, runtime_1.Put)("/community/notifications"),
         
     | 
| 
      
 2079 
     | 
    
         
            +
                (0, runtime_1.Tags)("Community"),
         
     | 
| 
      
 2080 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 2081 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 2082 
     | 
    
         
            +
            ], LemmyHttp.prototype, "updateCommunityNotifications", null);
         
     | 
| 
      
 2083 
     | 
    
         
            +
            __decorate([
         
     | 
| 
      
 2084 
     | 
    
         
            +
                (0, runtime_1.Security)("bearerAuth"),
         
     | 
| 
      
 2085 
     | 
    
         
            +
                (0, runtime_1.Put)("/post/notifications"),
         
     | 
| 
      
 2086 
     | 
    
         
            +
                (0, runtime_1.Tags)("Post"),
         
     | 
| 
      
 2087 
     | 
    
         
            +
                __param(0, (0, runtime_1.Body)()),
         
     | 
| 
      
 2088 
     | 
    
         
            +
                __param(1, (0, runtime_1.Inject)())
         
     | 
| 
      
 2089 
     | 
    
         
            +
            ], LemmyHttp.prototype, "updatePostNotifications", null);
         
     | 
| 
       1896 
2090 
     | 
    
         
             
            exports.LemmyHttp = LemmyHttp = __decorate([
         
     | 
| 
       1897 
2091 
     | 
    
         
             
                (0, runtime_1.Route)("api/v4")
         
     | 
| 
       1898 
2092 
     | 
    
         
             
            ], LemmyHttp);
         
     | 
| 
         @@ -1913,3 +2107,19 @@ function createFormData(image) { 
     | 
|
| 
       1913 
2107 
     | 
    
         
             
                }
         
     | 
| 
       1914 
2108 
     | 
    
         
             
                return formData;
         
     | 
| 
       1915 
2109 
     | 
    
         
             
            }
         
     | 
| 
      
 2110 
     | 
    
         
            +
            /**
         
     | 
| 
      
 2111 
     | 
    
         
            +
             * A Lemmy error type.
         
     | 
| 
      
 2112 
     | 
    
         
            +
             *
         
     | 
| 
      
 2113 
     | 
    
         
            +
             * The name is the i18n translatable error code.
         
     | 
| 
      
 2114 
     | 
    
         
            +
             * The msg is either an empty string, or extra non-translatable info.
         
     | 
| 
      
 2115 
     | 
    
         
            +
             */
         
     | 
| 
      
 2116 
     | 
    
         
            +
            class LemmyError extends Error {
         
     | 
| 
      
 2117 
     | 
    
         
            +
                constructor(name, status, msg) {
         
     | 
| 
      
 2118 
     | 
    
         
            +
                    super(msg ?? "");
         
     | 
| 
      
 2119 
     | 
    
         
            +
                    this.name = name;
         
     | 
| 
      
 2120 
     | 
    
         
            +
                    this.status = status;
         
     | 
| 
      
 2121 
     | 
    
         
            +
                    // Set the prototype explicitly.
         
     | 
| 
      
 2122 
     | 
    
         
            +
                    Object.setPrototypeOf(this, LemmyError.prototype);
         
     | 
| 
      
 2123 
     | 
    
         
            +
                }
         
     | 
| 
      
 2124 
     | 
    
         
            +
            }
         
     | 
| 
      
 2125 
     | 
    
         
            +
            exports.LemmyError = LemmyError;
         
     |