@blorp-labs/piefed-api-client 0.0.0-7e59b13 → 0.0.0-90bfbe5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +61 -10
- package/dist/client/admin/admin.d.ts +3 -41
- package/dist/client/admin/admin.d.ts.map +1 -1
- package/dist/client/admin/admin.js +20 -7
- package/dist/client/admin/admin.js.map +1 -1
- package/dist/client/comment/comment.d.ts +15 -285
- package/dist/client/comment/comment.d.ts.map +1 -1
- package/dist/client/comment/comment.js +116 -43
- package/dist/client/comment/comment.js.map +1 -1
- package/dist/client/community/community.d.ts +18 -341
- package/dist/client/community/community.d.ts.map +1 -1
- package/dist/client/community/community.js +140 -52
- package/dist/client/community/community.js.map +1 -1
- package/dist/client/feed/feed.d.ts +7 -125
- package/dist/client/feed/feed.d.ts.map +1 -1
- package/dist/client/feed/feed.js +52 -19
- package/dist/client/feed/feed.js.map +1 -1
- package/dist/client/misc/misc.d.ts +6 -101
- package/dist/client/misc/misc.d.ts.map +1 -1
- package/dist/client/misc/misc.js +44 -16
- package/dist/client/misc/misc.js.map +1 -1
- package/dist/client/post/post.d.ts +21 -405
- package/dist/client/post/post.d.ts.map +1 -1
- package/dist/client/post/post.js +164 -61
- package/dist/client/post/post.js.map +1 -1
- package/dist/client/private-message/private-message.d.ts +9 -165
- package/dist/client/private-message/private-message.d.ts.map +1 -1
- package/dist/client/private-message/private-message.js +68 -25
- package/dist/client/private-message/private-message.js.map +1 -1
- package/dist/client/site/site.d.ts +6 -89
- package/dist/client/site/site.d.ts.map +1 -1
- package/dist/client/site/site.js +44 -16
- package/dist/client/site/site.js.map +1 -1
- package/dist/client/topic/topic.d.ts +2 -21
- package/dist/client/topic/topic.d.ts.map +1 -1
- package/dist/client/topic/topic.js +12 -4
- package/dist/client/topic/topic.js.map +1 -1
- package/dist/client/upload/upload.d.ts +5 -97
- package/dist/client/upload/upload.d.ts.map +1 -1
- package/dist/client/upload/upload.js +36 -13
- package/dist/client/upload/upload.js.map +1 -1
- package/dist/client/user/user.d.ts +22 -405
- package/dist/client/user/user.d.ts.map +1 -1
- package/dist/client/user/user.js +172 -64
- package/dist/client/user/user.js.map +1 -1
- package/dist/create-client.d.ts +15 -214
- package/dist/create-client.d.ts.map +1 -1
- package/dist/create-client.js +69 -30
- package/dist/create-client.js.map +1 -1
- package/dist/index.d.ts +1 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -15
- package/dist/index.js.map +1 -1
- package/dist/mutator/custom-fetch.d.ts +5 -3
- package/dist/mutator/custom-fetch.d.ts.map +1 -1
- package/dist/mutator/custom-fetch.js +31 -7
- package/dist/mutator/custom-fetch.js.map +1 -1
- package/dist/schemas/adminPurgeComment.js +2 -1
- package/dist/schemas/adminPurgeCommentReason.js +2 -1
- package/dist/schemas/adminPurgeCommentReason.js.map +1 -1
- package/dist/schemas/adminPurgeCommentView.js +2 -1
- package/dist/schemas/adminPurgeCommunity.js +2 -1
- package/dist/schemas/adminPurgeCommunityReason.js +2 -1
- package/dist/schemas/adminPurgeCommunityReason.js.map +1 -1
- package/dist/schemas/adminPurgeCommunityView.js +2 -1
- package/dist/schemas/adminPurgePerson.js +2 -1
- package/dist/schemas/adminPurgePersonReason.js +2 -1
- package/dist/schemas/adminPurgePersonReason.js.map +1 -1
- package/dist/schemas/adminPurgePersonView.js +2 -1
- package/dist/schemas/adminPurgePost.js +2 -1
- package/dist/schemas/adminPurgePostCommunityId.js +2 -1
- package/dist/schemas/adminPurgePostCommunityId.js.map +1 -1
- package/dist/schemas/adminPurgePostReason.js +2 -1
- package/dist/schemas/adminPurgePostReason.js.map +1 -1
- package/dist/schemas/adminPurgePostView.js +2 -1
- package/dist/schemas/blockCommunityRequest.js +2 -1
- package/dist/schemas/blockCommunityRequest.js.map +1 -1
- package/dist/schemas/blockCommunityResponse.js +2 -1
- package/dist/schemas/blockInstanceRequest.js +2 -1
- package/dist/schemas/blockInstanceRequest.js.map +1 -1
- package/dist/schemas/blockInstanceResponse.js +2 -1
- package/dist/schemas/blockInstanceResponse.js.map +1 -1
- package/dist/schemas/comment.js +2 -1
- package/dist/schemas/commentAggregates.js +2 -1
- package/dist/schemas/commentAggregates.js.map +1 -1
- package/dist/schemas/commentEmojiReactions.js +2 -1
- package/dist/schemas/commentLikeView.js +2 -1
- package/dist/schemas/commentReply.js +2 -1
- package/dist/schemas/commentReply.js.map +1 -1
- package/dist/schemas/commentReplyView.js +2 -1
- package/dist/schemas/commentReplyViewSubscribed.js +4 -1
- package/dist/schemas/commentReplyViewSubscribed.js.map +1 -1
- package/dist/schemas/commentReport.js +2 -1
- package/dist/schemas/commentReport.js.map +1 -1
- package/dist/schemas/commentReportView.js +2 -1
- package/dist/schemas/commentReportViewSubscribed.js +4 -1
- package/dist/schemas/commentReportViewSubscribed.js.map +1 -1
- package/dist/schemas/commentView.js +2 -1
- package/dist/schemas/commentViewSubscribed.js +4 -1
- package/dist/schemas/commentViewSubscribed.js.map +1 -1
- package/dist/schemas/community.js +2 -1
- package/dist/schemas/communityAggregates.js +2 -1
- package/dist/schemas/communityAggregates.js.map +1 -1
- package/dist/schemas/communityBanner.js +2 -1
- package/dist/schemas/communityBanner.js.map +1 -1
- package/dist/schemas/communityBlockView.js +2 -1
- package/dist/schemas/communityFlair.js +2 -1
- package/dist/schemas/communityFlairApId.js +2 -1
- package/dist/schemas/communityFlairApId.js.map +1 -1
- package/dist/schemas/communityFlairCreateRequest.js +2 -1
- package/dist/schemas/communityFlairCreateRequest.js.map +1 -1
- package/dist/schemas/communityFlairCreateResponse.js +2 -1
- package/dist/schemas/communityFlairCreateResponseApId.js +2 -1
- package/dist/schemas/communityFlairCreateResponseApId.js.map +1 -1
- package/dist/schemas/communityFlairDeleteRequest.js +2 -1
- package/dist/schemas/communityFlairDeleteRequest.js.map +1 -1
- package/dist/schemas/communityFlairDeleteResponse.js +2 -1
- package/dist/schemas/communityFlairEditRequest.js +2 -1
- package/dist/schemas/communityFlairEditRequest.js.map +1 -1
- package/dist/schemas/communityFlairEditResponse.js +2 -1
- package/dist/schemas/communityFlairEditResponseApId.js +2 -1
- package/dist/schemas/communityFlairEditResponseApId.js.map +1 -1
- package/dist/schemas/communityFollowerView.js +2 -1
- package/dist/schemas/communityIcon.js +2 -1
- package/dist/schemas/communityIcon.js.map +1 -1
- package/dist/schemas/communityModerationBanItem.js +2 -1
- package/dist/schemas/communityModerationBanItemExpiredAt.js +2 -1
- package/dist/schemas/communityModerationBanItemExpiredAt.js.map +1 -1
- package/dist/schemas/communityModerationBanItemExpiresAt.js +2 -1
- package/dist/schemas/communityModerationBanItemExpiresAt.js.map +1 -1
- package/dist/schemas/communityModerationBanRequest.js +2 -1
- package/dist/schemas/communityModerationBanRequest.js.map +1 -1
- package/dist/schemas/communityModerationBansListResponse.js +2 -1
- package/dist/schemas/communityModerationBansListResponseNextPage.js +2 -1
- package/dist/schemas/communityModerationBansListResponseNextPage.js.map +1 -1
- package/dist/schemas/communityModerationNsfwRequest.js +2 -1
- package/dist/schemas/communityModerationNsfwRequest.js.map +1 -1
- package/dist/schemas/communityModerationUnbanRequest.js +2 -1
- package/dist/schemas/communityModerationUnbanRequest.js.map +1 -1
- package/dist/schemas/communityModeratorView.js +2 -1
- package/dist/schemas/communityPostingWarning.js +2 -1
- package/dist/schemas/communityPostingWarning.js.map +1 -1
- package/dist/schemas/communityResponse.js +2 -1
- package/dist/schemas/communityView.js +2 -1
- package/dist/schemas/communityViewSubscribed.js +4 -1
- package/dist/schemas/communityViewSubscribed.js.map +1 -1
- package/dist/schemas/createCommentRequest.js +2 -1
- package/dist/schemas/createCommentRequest.js.map +1 -1
- package/dist/schemas/createCommunityRequest.js +2 -1
- package/dist/schemas/createCommunityRequestBannerUrl.js +2 -1
- package/dist/schemas/createCommunityRequestBannerUrl.js.map +1 -1
- package/dist/schemas/createCommunityRequestIconUrl.js +2 -1
- package/dist/schemas/createCommunityRequestIconUrl.js.map +1 -1
- package/dist/schemas/createFeedRequest.js +2 -1
- package/dist/schemas/createFeedRequestBannerUrl.js +2 -1
- package/dist/schemas/createFeedRequestBannerUrl.js.map +1 -1
- package/dist/schemas/createFeedRequestIconUrl.js +2 -1
- package/dist/schemas/createFeedRequestIconUrl.js.map +1 -1
- package/dist/schemas/createFeedRequestParentFeedId.js +2 -1
- package/dist/schemas/createFeedRequestParentFeedId.js.map +1 -1
- package/dist/schemas/createPostRequest.js +2 -1
- package/dist/schemas/createPostRequestEvent.js +2 -1
- package/dist/schemas/createPostRequestPoll.js +2 -1
- package/dist/schemas/createPrivateMessageRequest.js +2 -1
- package/dist/schemas/createPrivateMessageRequest.js.map +1 -1
- package/dist/schemas/defaultError.js +2 -1
- package/dist/schemas/defaultError.js.map +1 -1
- package/dist/schemas/deleteCommentRequest.js +2 -1
- package/dist/schemas/deleteCommentRequest.js.map +1 -1
- package/dist/schemas/deleteCommunityRequest.js +2 -1
- package/dist/schemas/deleteCommunityRequest.js.map +1 -1
- package/dist/schemas/deleteFeedRequest.js +2 -1
- package/dist/schemas/deleteFeedRequest.js.map +1 -1
- package/dist/schemas/deletePostRequest.js +2 -1
- package/dist/schemas/deletePostRequest.js.map +1 -1
- package/dist/schemas/deletePrivateMessageRequest.js +2 -1
- package/dist/schemas/deletePrivateMessageRequest.js.map +1 -1
- package/dist/schemas/domainBlockRequest.js +2 -1
- package/dist/schemas/domainBlockRequest.js.map +1 -1
- package/dist/schemas/domainBlockResponse.js +2 -1
- package/dist/schemas/domainBlockResponse.js.map +1 -1
- package/dist/schemas/editCommentRequest.js +2 -1
- package/dist/schemas/editCommentRequest.js.map +1 -1
- package/dist/schemas/editCommunityRequest.js +2 -1
- package/dist/schemas/editCommunityRequestBannerUrl.js +2 -1
- package/dist/schemas/editCommunityRequestBannerUrl.js.map +1 -1
- package/dist/schemas/editCommunityRequestIconUrl.js +2 -1
- package/dist/schemas/editCommunityRequestIconUrl.js.map +1 -1
- package/dist/schemas/editFeedRequest.js +2 -1
- package/dist/schemas/editFeedRequestBannerUrl.js +2 -1
- package/dist/schemas/editFeedRequestBannerUrl.js.map +1 -1
- package/dist/schemas/editFeedRequestIconUrl.js +2 -1
- package/dist/schemas/editFeedRequestIconUrl.js.map +1 -1
- package/dist/schemas/editFeedRequestParentFeedId.js +2 -1
- package/dist/schemas/editFeedRequestParentFeedId.js.map +1 -1
- package/dist/schemas/editPostRequest.js +2 -1
- package/dist/schemas/editPostRequestAltText.js +2 -1
- package/dist/schemas/editPostRequestAltText.js.map +1 -1
- package/dist/schemas/editPostRequestEvent.js +2 -1
- package/dist/schemas/editPostRequestFlair.js +2 -1
- package/dist/schemas/editPostRequestFlair.js.map +1 -1
- package/dist/schemas/editPostRequestPoll.js +2 -1
- package/dist/schemas/editPostRequestTags.js +2 -1
- package/dist/schemas/editPostRequestTags.js.map +1 -1
- package/dist/schemas/editPostRequestUrl.js +2 -1
- package/dist/schemas/editPostRequestUrl.js.map +1 -1
- package/dist/schemas/editPrivateMessageRequest.js +2 -1
- package/dist/schemas/editPrivateMessageRequest.js.map +1 -1
- package/dist/schemas/error.js +2 -1
- package/dist/schemas/errorErrors.js +2 -1
- package/dist/schemas/errorErrors.js.map +1 -1
- package/dist/schemas/featurePostRequest.js +2 -1
- package/dist/schemas/featurePostRequestFeatureType.js +4 -1
- package/dist/schemas/featurePostRequestFeatureType.js.map +1 -1
- package/dist/schemas/federatedInstancesView.js +2 -1
- package/dist/schemas/feedListResponse.js +2 -1
- package/dist/schemas/feedView.js +2 -1
- package/dist/schemas/feedViewBanner.js +2 -1
- package/dist/schemas/feedViewBanner.js.map +1 -1
- package/dist/schemas/feedViewDescription.js +2 -1
- package/dist/schemas/feedViewDescription.js.map +1 -1
- package/dist/schemas/feedViewDescriptionHtml.js +2 -1
- package/dist/schemas/feedViewDescriptionHtml.js.map +1 -1
- package/dist/schemas/feedViewIcon.js +2 -1
- package/dist/schemas/feedViewIcon.js.map +1 -1
- package/dist/schemas/feedViewParentFeedId.js +2 -1
- package/dist/schemas/feedViewParentFeedId.js.map +1 -1
- package/dist/schemas/followCommunityRequest.js +2 -1
- package/dist/schemas/followCommunityRequest.js.map +1 -1
- package/dist/schemas/followFeedRequest.js +2 -1
- package/dist/schemas/followFeedRequest.js.map +1 -1
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListParams.js +2 -1
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.js +4 -1
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.js.map +1 -1
- package/dist/schemas/getApiAlphaCommentLikeListParams.js +2 -1
- package/dist/schemas/getApiAlphaCommentLikeListParams.js.map +1 -1
- package/dist/schemas/getApiAlphaCommentListParams.js +2 -1
- package/dist/schemas/getApiAlphaCommentListSort.js +4 -1
- package/dist/schemas/getApiAlphaCommentListSort.js.map +1 -1
- package/dist/schemas/getApiAlphaCommentParams.js +2 -1
- package/dist/schemas/getApiAlphaCommentParams.js.map +1 -1
- package/dist/schemas/getApiAlphaCommunityListParams.js +2 -1
- package/dist/schemas/getApiAlphaCommunityListSort.js +4 -1
- package/dist/schemas/getApiAlphaCommunityListSort.js.map +1 -1
- package/dist/schemas/getApiAlphaCommunityListType.js +4 -1
- package/dist/schemas/getApiAlphaCommunityListType.js.map +1 -1
- package/dist/schemas/getApiAlphaCommunityModerateBansParams.js +2 -1
- package/dist/schemas/getApiAlphaCommunityModerateBansParams.js.map +1 -1
- package/dist/schemas/getApiAlphaCommunityParams.js +2 -1
- package/dist/schemas/getApiAlphaCommunityParams.js.map +1 -1
- package/dist/schemas/getApiAlphaFeedListParams.js +2 -1
- package/dist/schemas/getApiAlphaFeedListParams.js.map +1 -1
- package/dist/schemas/getApiAlphaFeedParams.js +2 -1
- package/dist/schemas/getApiAlphaFeedParams.js.map +1 -1
- package/dist/schemas/getApiAlphaModlogParams.js +2 -1
- package/dist/schemas/getApiAlphaModlogType.js +4 -1
- package/dist/schemas/getApiAlphaModlogType.js.map +1 -1
- package/dist/schemas/getApiAlphaPostLikeListParams.js +2 -1
- package/dist/schemas/getApiAlphaPostLikeListParams.js.map +1 -1
- package/dist/schemas/getApiAlphaPostList2Params.js +2 -1
- package/dist/schemas/getApiAlphaPostList2Sort.js +4 -1
- package/dist/schemas/getApiAlphaPostList2Sort.js.map +1 -1
- package/dist/schemas/getApiAlphaPostList2Type.js +4 -1
- package/dist/schemas/getApiAlphaPostList2Type.js.map +1 -1
- package/dist/schemas/getApiAlphaPostListParams.js +2 -1
- package/dist/schemas/getApiAlphaPostListSort.js +4 -1
- package/dist/schemas/getApiAlphaPostListSort.js.map +1 -1
- package/dist/schemas/getApiAlphaPostListType.js +4 -1
- package/dist/schemas/getApiAlphaPostListType.js.map +1 -1
- package/dist/schemas/getApiAlphaPostParams.js +2 -1
- package/dist/schemas/getApiAlphaPostParams.js.map +1 -1
- package/dist/schemas/getApiAlphaPostRepliesParams.js +2 -1
- package/dist/schemas/getApiAlphaPostRepliesSort.js +4 -1
- package/dist/schemas/getApiAlphaPostRepliesSort.js.map +1 -1
- package/dist/schemas/getApiAlphaPostSiteMetadataParams.js +2 -1
- package/dist/schemas/getApiAlphaPostSiteMetadataParams.js.map +1 -1
- package/dist/schemas/getApiAlphaPrivateMessageConversationParams.js +2 -1
- package/dist/schemas/getApiAlphaPrivateMessageConversationParams.js.map +1 -1
- package/dist/schemas/getApiAlphaPrivateMessageListParams.js +2 -1
- package/dist/schemas/getApiAlphaPrivateMessageListParams.js.map +1 -1
- package/dist/schemas/getApiAlphaResolveObjectParams.js +2 -1
- package/dist/schemas/getApiAlphaResolveObjectParams.js.map +1 -1
- package/dist/schemas/getApiAlphaSearchListingType.js +4 -1
- package/dist/schemas/getApiAlphaSearchListingType.js.map +1 -1
- package/dist/schemas/getApiAlphaSearchNsfw.js +4 -1
- package/dist/schemas/getApiAlphaSearchNsfw.js.map +1 -1
- package/dist/schemas/getApiAlphaSearchParams.js +2 -1
- package/dist/schemas/getApiAlphaSearchSort.js +4 -1
- package/dist/schemas/getApiAlphaSearchSort.js.map +1 -1
- package/dist/schemas/getApiAlphaSearchType.js +4 -1
- package/dist/schemas/getApiAlphaSearchType.js.map +1 -1
- package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.js +2 -1
- package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.js.map +1 -1
- package/dist/schemas/getApiAlphaSuggestCompletionParams.js +2 -1
- package/dist/schemas/getApiAlphaSuggestCompletionParams.js.map +1 -1
- package/dist/schemas/getApiAlphaTopicListParams.js +2 -1
- package/dist/schemas/getApiAlphaTopicListParams.js.map +1 -1
- package/dist/schemas/getApiAlphaUserMediaParams.js +2 -1
- package/dist/schemas/getApiAlphaUserMediaSort.js +4 -1
- package/dist/schemas/getApiAlphaUserMediaSort.js.map +1 -1
- package/dist/schemas/getApiAlphaUserMentionsParams.js +2 -1
- package/dist/schemas/getApiAlphaUserMentionsSort.js +4 -1
- package/dist/schemas/getApiAlphaUserMentionsSort.js.map +1 -1
- package/dist/schemas/getApiAlphaUserNotificationsParams.js +2 -1
- package/dist/schemas/getApiAlphaUserNotificationsStatus.js +4 -1
- package/dist/schemas/getApiAlphaUserNotificationsStatus.js.map +1 -1
- package/dist/schemas/getApiAlphaUserParams.js +2 -1
- package/dist/schemas/getApiAlphaUserRepliesParams.js +2 -1
- package/dist/schemas/getApiAlphaUserRepliesSort.js +4 -1
- package/dist/schemas/getApiAlphaUserRepliesSort.js.map +1 -1
- package/dist/schemas/getApiAlphaUserSort.js +4 -1
- package/dist/schemas/getApiAlphaUserSort.js.map +1 -1
- package/dist/schemas/getCommentReplyResponse.js +2 -1
- package/dist/schemas/getCommentReportResponse.js +2 -1
- package/dist/schemas/getCommentResponse.js +2 -1
- package/dist/schemas/getCommunityResponse.js +2 -1
- package/dist/schemas/getFederatedInstancesResponse.js +2 -1
- package/dist/schemas/getModLogResponse.js +2 -1
- package/dist/schemas/getPostRepliesResponse.js +2 -1
- package/dist/schemas/getPostRepliesResponseNextPage.js +2 -1
- package/dist/schemas/getPostRepliesResponseNextPage.js.map +1 -1
- package/dist/schemas/getPostResponse.js +2 -1
- package/dist/schemas/getPrivateMessageConversationResponse.js +2 -1
- package/dist/schemas/getRegistrationListResponse.js +2 -1
- package/dist/schemas/getSiteInstanceChooserResponse.js +2 -1
- package/dist/schemas/getSiteInstanceChooserSearchResponse.js +2 -1
- package/dist/schemas/getSiteInstanceChooserSearchResponseItem.js +2 -1
- package/dist/schemas/getSiteInstanceChooserSearchResponseItem.js.map +1 -1
- package/dist/schemas/getSiteMetadataResponse.js +2 -1
- package/dist/schemas/getSiteResponse.js +2 -1
- package/dist/schemas/getSiteVersionResponse.js +2 -1
- package/dist/schemas/getSiteVersionResponse.js.map +1 -1
- package/dist/schemas/getSuggestCompletionResponse.js +2 -1
- package/dist/schemas/getSuggestCompletionResponse.js.map +1 -1
- package/dist/schemas/getUserResponse.js +2 -1
- package/dist/schemas/hidePostRequest.js +2 -1
- package/dist/schemas/hidePostRequest.js.map +1 -1
- package/dist/schemas/imageDeleteRequest.js +2 -1
- package/dist/schemas/imageDeleteRequest.js.map +1 -1
- package/dist/schemas/imageDeleteResponse.js +2 -1
- package/dist/schemas/imageDeleteResponse.js.map +1 -1
- package/dist/schemas/imageUploadRequest.js +2 -1
- package/dist/schemas/imageUploadRequest.js.map +1 -1
- package/dist/schemas/imageUploadResponse.js +2 -1
- package/dist/schemas/imageUploadResponse.js.map +1 -1
- package/dist/schemas/index.js +442 -426
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/instance.js +2 -1
- package/dist/schemas/instance.js.map +1 -1
- package/dist/schemas/instanceBlockView.js +2 -1
- package/dist/schemas/instanceWithoutFederationState.js +2 -1
- package/dist/schemas/instanceWithoutFederationState.js.map +1 -1
- package/dist/schemas/languageView.js +2 -1
- package/dist/schemas/languageView.js.map +1 -1
- package/dist/schemas/leaveConversationRequest.js +2 -1
- package/dist/schemas/leaveConversationRequest.js.map +1 -1
- package/dist/schemas/likeCommentRequest.js +2 -1
- package/dist/schemas/likeCommentRequest.js.map +1 -1
- package/dist/schemas/likePostRequest.js +2 -1
- package/dist/schemas/likePostRequest.js.map +1 -1
- package/dist/schemas/listCommentLikesResponse.js +2 -1
- package/dist/schemas/listCommentLikesResponseNextPage.js +2 -1
- package/dist/schemas/listCommentLikesResponseNextPage.js.map +1 -1
- package/dist/schemas/listCommentsResponse.js +2 -1
- package/dist/schemas/listCommentsResponseNextPage.js +2 -1
- package/dist/schemas/listCommentsResponseNextPage.js.map +1 -1
- package/dist/schemas/listCommunitiesResponse.js +2 -1
- package/dist/schemas/listCommunitiesResponseNextPage.js +2 -1
- package/dist/schemas/listCommunitiesResponseNextPage.js.map +1 -1
- package/dist/schemas/listPostLikesResponse.js +2 -1
- package/dist/schemas/listPostLikesResponseNextPage.js +2 -1
- package/dist/schemas/listPostLikesResponseNextPage.js.map +1 -1
- package/dist/schemas/listPostsResponse.js +2 -1
- package/dist/schemas/listPostsResponseNextPage.js +2 -1
- package/dist/schemas/listPostsResponseNextPage.js.map +1 -1
- package/dist/schemas/listPrivateMessagesResponse.js +2 -1
- package/dist/schemas/localUser.js +2 -1
- package/dist/schemas/localUserAcceptPrivateMessages.js +4 -1
- package/dist/schemas/localUserAcceptPrivateMessages.js.map +1 -1
- package/dist/schemas/localUserAiVisibility.js +4 -1
- package/dist/schemas/localUserAiVisibility.js.map +1 -1
- package/dist/schemas/localUserBotVisibility.js +4 -1
- package/dist/schemas/localUserBotVisibility.js.map +1 -1
- package/dist/schemas/localUserDefaultCommentSortType.js +4 -1
- package/dist/schemas/localUserDefaultCommentSortType.js.map +1 -1
- package/dist/schemas/localUserDefaultListingType.js +4 -1
- package/dist/schemas/localUserDefaultListingType.js.map +1 -1
- package/dist/schemas/localUserDefaultSortType.js +4 -1
- package/dist/schemas/localUserDefaultSortType.js.map +1 -1
- package/dist/schemas/localUserNsflVisibility.js +4 -1
- package/dist/schemas/localUserNsflVisibility.js.map +1 -1
- package/dist/schemas/localUserNsfwVisibility.js +4 -1
- package/dist/schemas/localUserNsfwVisibility.js.map +1 -1
- package/dist/schemas/localUserView.js +2 -1
- package/dist/schemas/lockCommentRequest.js +2 -1
- package/dist/schemas/lockCommentRequest.js.map +1 -1
- package/dist/schemas/lockPostRequest.js +2 -1
- package/dist/schemas/lockPostRequest.js.map +1 -1
- package/dist/schemas/markCommentAsAnswerRequest.js +2 -1
- package/dist/schemas/markCommentAsAnswerRequest.js.map +1 -1
- package/dist/schemas/markCommentAsReadRequest.js +2 -1
- package/dist/schemas/markCommentAsReadRequest.js.map +1 -1
- package/dist/schemas/markPostAsReadRequest.js +2 -1
- package/dist/schemas/markPostAsReadRequest.js.map +1 -1
- package/dist/schemas/markPrivateMessageAsReadRequest.js +2 -1
- package/dist/schemas/markPrivateMessageAsReadRequest.js.map +1 -1
- package/dist/schemas/mediaView.js +2 -1
- package/dist/schemas/mediaView.js.map +1 -1
- package/dist/schemas/miniCrossPosts.js +2 -1
- package/dist/schemas/miniCrossPosts.js.map +1 -1
- package/dist/schemas/modAdd.js +2 -1
- package/dist/schemas/modAddCommunity.js +2 -1
- package/dist/schemas/modAddCommunityCommunityId.js +2 -1
- package/dist/schemas/modAddCommunityCommunityId.js.map +1 -1
- package/dist/schemas/modAddCommunityModPersonId.js +2 -1
- package/dist/schemas/modAddCommunityModPersonId.js.map +1 -1
- package/dist/schemas/modAddCommunityOtherPersonId.js +2 -1
- package/dist/schemas/modAddCommunityOtherPersonId.js.map +1 -1
- package/dist/schemas/modAddCommunityView.js +2 -1
- package/dist/schemas/modAddCommunityViewCommunity.js +2 -1
- package/dist/schemas/modAddCommunityViewModdedPerson.js +2 -1
- package/dist/schemas/modAddCommunityViewModerator.js +2 -1
- package/dist/schemas/modAddModPersonId.js +2 -1
- package/dist/schemas/modAddModPersonId.js.map +1 -1
- package/dist/schemas/modAddOtherPersonId.js +2 -1
- package/dist/schemas/modAddOtherPersonId.js.map +1 -1
- package/dist/schemas/modAddView.js +2 -1
- package/dist/schemas/modAddViewModdedPerson.js +2 -1
- package/dist/schemas/modAddViewModerator.js +2 -1
- package/dist/schemas/modBan.js +2 -1
- package/dist/schemas/modBanExpires.js +2 -1
- package/dist/schemas/modBanExpires.js.map +1 -1
- package/dist/schemas/modBanFromCommunity.js +2 -1
- package/dist/schemas/modBanFromCommunityCommunityId.js +2 -1
- package/dist/schemas/modBanFromCommunityCommunityId.js.map +1 -1
- package/dist/schemas/modBanFromCommunityExpires.js +2 -1
- package/dist/schemas/modBanFromCommunityExpires.js.map +1 -1
- package/dist/schemas/modBanFromCommunityModPersonId.js +2 -1
- package/dist/schemas/modBanFromCommunityModPersonId.js.map +1 -1
- package/dist/schemas/modBanFromCommunityOtherPersonId.js +2 -1
- package/dist/schemas/modBanFromCommunityOtherPersonId.js.map +1 -1
- package/dist/schemas/modBanFromCommunityReason.js +2 -1
- package/dist/schemas/modBanFromCommunityReason.js.map +1 -1
- package/dist/schemas/modBanFromCommunityView.js +2 -1
- package/dist/schemas/modBanFromCommunityViewBannedPerson.js +2 -1
- package/dist/schemas/modBanFromCommunityViewCommunity.js +2 -1
- package/dist/schemas/modBanFromCommunityViewModerator.js +2 -1
- package/dist/schemas/modBanModPersonId.js +2 -1
- package/dist/schemas/modBanModPersonId.js.map +1 -1
- package/dist/schemas/modBanOtherPersonId.js +2 -1
- package/dist/schemas/modBanOtherPersonId.js.map +1 -1
- package/dist/schemas/modBanReason.js +2 -1
- package/dist/schemas/modBanReason.js.map +1 -1
- package/dist/schemas/modBanView.js +2 -1
- package/dist/schemas/modBanViewBannedPerson.js +2 -1
- package/dist/schemas/modBanViewModerator.js +2 -1
- package/dist/schemas/modCommunityRequest.js +2 -1
- package/dist/schemas/modCommunityRequest.js.map +1 -1
- package/dist/schemas/modCommunityResponse.js +2 -1
- package/dist/schemas/modFeaturePost.js +2 -1
- package/dist/schemas/modFeaturePostModPersonId.js +2 -1
- package/dist/schemas/modFeaturePostModPersonId.js.map +1 -1
- package/dist/schemas/modFeaturePostPostId.js +2 -1
- package/dist/schemas/modFeaturePostPostId.js.map +1 -1
- package/dist/schemas/modFeaturePostView.js +2 -1
- package/dist/schemas/modFeaturePostViewCommunity.js +2 -1
- package/dist/schemas/modFeaturePostViewModerator.js +2 -1
- package/dist/schemas/modFeaturePostViewPost.js +2 -1
- package/dist/schemas/modHideCommunity.js +2 -1
- package/dist/schemas/modHideCommunityCommunityId.js +2 -1
- package/dist/schemas/modHideCommunityCommunityId.js.map +1 -1
- package/dist/schemas/modHideCommunityModPersonId.js +2 -1
- package/dist/schemas/modHideCommunityModPersonId.js.map +1 -1
- package/dist/schemas/modHideCommunityReason.js +2 -1
- package/dist/schemas/modHideCommunityReason.js.map +1 -1
- package/dist/schemas/modHideCommunityView.js +2 -1
- package/dist/schemas/modLockPost.js +2 -1
- package/dist/schemas/modLockPostModPersonId.js +2 -1
- package/dist/schemas/modLockPostModPersonId.js.map +1 -1
- package/dist/schemas/modLockPostPostId.js +2 -1
- package/dist/schemas/modLockPostPostId.js.map +1 -1
- package/dist/schemas/modLockPostView.js +2 -1
- package/dist/schemas/modLockPostViewCommunity.js +2 -1
- package/dist/schemas/modLockPostViewModerator.js +2 -1
- package/dist/schemas/modLockPostViewPost.js +2 -1
- package/dist/schemas/modRemoveComment.js +2 -1
- package/dist/schemas/modRemoveCommentCommentId.js +2 -1
- package/dist/schemas/modRemoveCommentCommentId.js.map +1 -1
- package/dist/schemas/modRemoveCommentModPersonId.js +2 -1
- package/dist/schemas/modRemoveCommentModPersonId.js.map +1 -1
- package/dist/schemas/modRemoveCommentReason.js +2 -1
- package/dist/schemas/modRemoveCommentReason.js.map +1 -1
- package/dist/schemas/modRemoveCommentView.js +2 -1
- package/dist/schemas/modRemoveCommentViewComment.js +2 -1
- package/dist/schemas/modRemoveCommentViewCommenter.js +2 -1
- package/dist/schemas/modRemoveCommentViewCommunity.js +2 -1
- package/dist/schemas/modRemoveCommentViewModerator.js +2 -1
- package/dist/schemas/modRemoveCommentViewPost.js +2 -1
- package/dist/schemas/modRemoveCommunity.js +2 -1
- package/dist/schemas/modRemoveCommunityCommunityId.js +2 -1
- package/dist/schemas/modRemoveCommunityCommunityId.js.map +1 -1
- package/dist/schemas/modRemoveCommunityModPersonId.js +2 -1
- package/dist/schemas/modRemoveCommunityModPersonId.js.map +1 -1
- package/dist/schemas/modRemoveCommunityReason.js +2 -1
- package/dist/schemas/modRemoveCommunityReason.js.map +1 -1
- package/dist/schemas/modRemoveCommunityView.js +2 -1
- package/dist/schemas/modRemoveCommunityViewCommunity.js +2 -1
- package/dist/schemas/modRemoveCommunityViewModerator.js +2 -1
- package/dist/schemas/modRemovePost.js +2 -1
- package/dist/schemas/modRemovePostModPersonId.js +2 -1
- package/dist/schemas/modRemovePostModPersonId.js.map +1 -1
- package/dist/schemas/modRemovePostPostId.js +2 -1
- package/dist/schemas/modRemovePostPostId.js.map +1 -1
- package/dist/schemas/modRemovePostReason.js +2 -1
- package/dist/schemas/modRemovePostReason.js.map +1 -1
- package/dist/schemas/modRemovePostView.js +2 -1
- package/dist/schemas/modRemovePostViewCommunity.js +2 -1
- package/dist/schemas/modRemovePostViewModerator.js +2 -1
- package/dist/schemas/modRemovePostViewPost.js +2 -1
- package/dist/schemas/modTransferCommunity.js +2 -1
- package/dist/schemas/modTransferCommunityCommunityId.js +2 -1
- package/dist/schemas/modTransferCommunityCommunityId.js.map +1 -1
- package/dist/schemas/modTransferCommunityModPersonId.js +2 -1
- package/dist/schemas/modTransferCommunityModPersonId.js.map +1 -1
- package/dist/schemas/modTransferCommunityOtherPersonId.js +2 -1
- package/dist/schemas/modTransferCommunityOtherPersonId.js.map +1 -1
- package/dist/schemas/modTransferCommunityView.js +2 -1
- package/dist/schemas/modTransferCommunityViewModdedPerson.js +2 -1
- package/dist/schemas/modTransferCommunityViewModerator.js +2 -1
- package/dist/schemas/myUserInfo.js +2 -1
- package/dist/schemas/newUserExtraField.js +2 -1
- package/dist/schemas/newUserExtraFieldId.js +2 -1
- package/dist/schemas/newUserExtraFieldId.js.map +1 -1
- package/dist/schemas/newUserExtraFieldLabel.js +2 -1
- package/dist/schemas/newUserExtraFieldLabel.js.map +1 -1
- package/dist/schemas/newUserExtraFieldText.js +2 -1
- package/dist/schemas/newUserExtraFieldText.js.map +1 -1
- package/dist/schemas/paginationMetadata.js +2 -1
- package/dist/schemas/paginationMetadata.js.map +1 -1
- package/dist/schemas/person.js +2 -1
- package/dist/schemas/personAggregates.js +2 -1
- package/dist/schemas/personAggregates.js.map +1 -1
- package/dist/schemas/personAvatar.js +2 -1
- package/dist/schemas/personAvatar.js.map +1 -1
- package/dist/schemas/personBanner.js +2 -1
- package/dist/schemas/personBanner.js.map +1 -1
- package/dist/schemas/personBlockView.js +2 -1
- package/dist/schemas/personTitle.js +2 -1
- package/dist/schemas/personTitle.js.map +1 -1
- package/dist/schemas/personView.js +2 -1
- package/dist/schemas/pollChoice.js +2 -1
- package/dist/schemas/pollChoice.js.map +1 -1
- package/dist/schemas/pollVoteRequest.js +2 -1
- package/dist/schemas/pollVoteRequest.js.map +1 -1
- package/dist/schemas/pollVoteResponse.js +2 -1
- package/dist/schemas/post.js +2 -1
- package/dist/schemas/postAggregates.js +2 -1
- package/dist/schemas/postAggregates.js.map +1 -1
- package/dist/schemas/postEmojiReactions.js +2 -1
- package/dist/schemas/postEvent.js +2 -1
- package/dist/schemas/postEventBuyTicketsLink.js +2 -1
- package/dist/schemas/postEventBuyTicketsLink.js.map +1 -1
- package/dist/schemas/postEventExternalParticipationUrl.js +2 -1
- package/dist/schemas/postEventExternalParticipationUrl.js.map +1 -1
- package/dist/schemas/postEventLocation.js +2 -1
- package/dist/schemas/postEventLocationAnyOf.js +2 -1
- package/dist/schemas/postEventLocationAnyOf.js.map +1 -1
- package/dist/schemas/postEventOnlineLink.js +2 -1
- package/dist/schemas/postEventOnlineLink.js.map +1 -1
- package/dist/schemas/postFlair.js +2 -1
- package/dist/schemas/postFlair.js.map +1 -1
- package/dist/schemas/postLikeView.js +2 -1
- package/dist/schemas/postPoll.js +2 -1
- package/dist/schemas/postPollMode.js +4 -1
- package/dist/schemas/postPollMode.js.map +1 -1
- package/dist/schemas/postPostType.js +4 -1
- package/dist/schemas/postPostType.js.map +1 -1
- package/dist/schemas/postReplyView.js +2 -1
- package/dist/schemas/postReplyViewSubscribed.js +4 -1
- package/dist/schemas/postReplyViewSubscribed.js.map +1 -1
- package/dist/schemas/postReport.js +2 -1
- package/dist/schemas/postReport.js.map +1 -1
- package/dist/schemas/postReportResponse.js +2 -1
- package/dist/schemas/postReportView.js +2 -1
- package/dist/schemas/postReportViewSubscribed.js +4 -1
- package/dist/schemas/postReportViewSubscribed.js.map +1 -1
- package/dist/schemas/postSetFlairRequest.js +2 -1
- package/dist/schemas/postSetFlairRequestFlairIdList.js +2 -1
- package/dist/schemas/postSetFlairRequestFlairIdList.js.map +1 -1
- package/dist/schemas/postSetFlairResponse.js +2 -1
- package/dist/schemas/postSetFlairResponseSubscribed.js +4 -1
- package/dist/schemas/postSetFlairResponseSubscribed.js.map +1 -1
- package/dist/schemas/postTags.js +2 -1
- package/dist/schemas/postTags.js.map +1 -1
- package/dist/schemas/postView.js +2 -1
- package/dist/schemas/postViewSubscribed.js +4 -1
- package/dist/schemas/postViewSubscribed.js.map +1 -1
- package/dist/schemas/privateMessage.js +2 -1
- package/dist/schemas/privateMessage.js.map +1 -1
- package/dist/schemas/privateMessageResponse.js +2 -1
- package/dist/schemas/privateMessageView.js +2 -1
- package/dist/schemas/reactions.js +2 -1
- package/dist/schemas/reactionsUrl.js +2 -1
- package/dist/schemas/reactionsUrl.js.map +1 -1
- package/dist/schemas/registrationApproveRequest.js +2 -1
- package/dist/schemas/registrationApproveRequest.js.map +1 -1
- package/dist/schemas/removeCommentRequest.js +2 -1
- package/dist/schemas/removeCommentRequest.js.map +1 -1
- package/dist/schemas/removePostRequest.js +2 -1
- package/dist/schemas/removePostRequest.js.map +1 -1
- package/dist/schemas/reportCommentRequest.js +2 -1
- package/dist/schemas/reportCommentRequest.js.map +1 -1
- package/dist/schemas/reportPostRequest.js +2 -1
- package/dist/schemas/reportPostRequest.js.map +1 -1
- package/dist/schemas/reportPrivateMessageRequest.js +2 -1
- package/dist/schemas/reportPrivateMessageRequest.js.map +1 -1
- package/dist/schemas/resolveObjectResponse.js +2 -1
- package/dist/schemas/saveCommentRequest.js +2 -1
- package/dist/schemas/saveCommentRequest.js.map +1 -1
- package/dist/schemas/savePostRequest.js +2 -1
- package/dist/schemas/savePostRequest.js.map +1 -1
- package/dist/schemas/searchResponse.js +2 -1
- package/dist/schemas/searchResponseType.js +4 -1
- package/dist/schemas/searchResponseType.js.map +1 -1
- package/dist/schemas/site.js +2 -1
- package/dist/schemas/siteIcon.js +2 -1
- package/dist/schemas/siteIcon.js.map +1 -1
- package/dist/schemas/siteMetadataView.js +2 -1
- package/dist/schemas/siteMetadataView.js.map +1 -1
- package/dist/schemas/siteRegistrationMode.js +4 -1
- package/dist/schemas/siteRegistrationMode.js.map +1 -1
- package/dist/schemas/subscribeCommentRequest.js +2 -1
- package/dist/schemas/subscribeCommentRequest.js.map +1 -1
- package/dist/schemas/subscribeCommunityRequest.js +2 -1
- package/dist/schemas/subscribeCommunityRequest.js.map +1 -1
- package/dist/schemas/subscribePostRequest.js +2 -1
- package/dist/schemas/subscribePostRequest.js.map +1 -1
- package/dist/schemas/successResponse.js +2 -1
- package/dist/schemas/successResponse.js.map +1 -1
- package/dist/schemas/topicListResponse.js +2 -1
- package/dist/schemas/topicView.js +2 -1
- package/dist/schemas/topicViewParentTopicId.js +2 -1
- package/dist/schemas/topicViewParentTopicId.js.map +1 -1
- package/dist/schemas/unprocessableEntityResponse.js +2 -1
- package/dist/schemas/userBanRequest.js +2 -1
- package/dist/schemas/userBanRequestBanIpAddress.js +2 -1
- package/dist/schemas/userBanRequestBanIpAddress.js.map +1 -1
- package/dist/schemas/userBanRequestPurgeContent.js +2 -1
- package/dist/schemas/userBanRequestPurgeContent.js.map +1 -1
- package/dist/schemas/userBanRequestReason.js +2 -1
- package/dist/schemas/userBanRequestReason.js.map +1 -1
- package/dist/schemas/userBanResponse.js +2 -1
- package/dist/schemas/userBlockRequest.js +2 -1
- package/dist/schemas/userBlockRequest.js.map +1 -1
- package/dist/schemas/userBlockResponse.js +2 -1
- package/dist/schemas/userExtraField.js +2 -1
- package/dist/schemas/userExtraField.js.map +1 -1
- package/dist/schemas/userLoginRequest.js +2 -1
- package/dist/schemas/userLoginRequest.js.map +1 -1
- package/dist/schemas/userLoginResponse.js +2 -1
- package/dist/schemas/userLoginResponse.js.map +1 -1
- package/dist/schemas/userMarkAllNotifsReadResponse.js +2 -1
- package/dist/schemas/userMarkAllNotifsReadResponse.js.map +1 -1
- package/dist/schemas/userMarkAllReadResponse.js +2 -1
- package/dist/schemas/userMeResponse.js +2 -1
- package/dist/schemas/userMediaResponse.js +2 -1
- package/dist/schemas/userMediaResponseNextPage.js +2 -1
- package/dist/schemas/userMediaResponseNextPage.js.map +1 -1
- package/dist/schemas/userMentionsResponse.js +2 -1
- package/dist/schemas/userMentionsResponseNextPage.js +2 -1
- package/dist/schemas/userMentionsResponseNextPage.js.map +1 -1
- package/dist/schemas/userNotificationItemView.js +2 -1
- package/dist/schemas/userNotificationItemViewStatus.js +4 -1
- package/dist/schemas/userNotificationItemViewStatus.js.map +1 -1
- package/dist/schemas/userNotificationStateRequest.js +2 -1
- package/dist/schemas/userNotificationStateRequest.js.map +1 -1
- package/dist/schemas/userNotificationsCountResponse.js +2 -1
- package/dist/schemas/userNotificationsCountResponse.js.map +1 -1
- package/dist/schemas/userNotificationsCounts.js +2 -1
- package/dist/schemas/userNotificationsCounts.js.map +1 -1
- package/dist/schemas/userNotificationsResponse.js +2 -1
- package/dist/schemas/userNotificationsResponseNextPage.js +2 -1
- package/dist/schemas/userNotificationsResponseNextPage.js.map +1 -1
- package/dist/schemas/userNotificationsResponseStatus.js +4 -1
- package/dist/schemas/userNotificationsResponseStatus.js.map +1 -1
- package/dist/schemas/userRegistration.js +2 -1
- package/dist/schemas/userRegistrationAnswer.js +2 -1
- package/dist/schemas/userRegistrationAnswer.js.map +1 -1
- package/dist/schemas/userRegistrationEmail.js +2 -1
- package/dist/schemas/userRegistrationEmail.js.map +1 -1
- package/dist/schemas/userRegistrationIpAddress.js +2 -1
- package/dist/schemas/userRegistrationIpAddress.js.map +1 -1
- package/dist/schemas/userRegistrationStatus.js +4 -1
- package/dist/schemas/userRegistrationStatus.js.map +1 -1
- package/dist/schemas/userRepliesResponse.js +2 -1
- package/dist/schemas/userRepliesResponseNextPage.js +2 -1
- package/dist/schemas/userRepliesResponseNextPage.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequest.js +2 -1
- package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.js +4 -1
- package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestAvatar.js +2 -1
- package/dist/schemas/userSaveSettingsRequestAvatar.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestBotVisibility.js +4 -1
- package/dist/schemas/userSaveSettingsRequestBotVisibility.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.js +2 -1
- package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestCover.js +2 -1
- package/dist/schemas/userSaveSettingsRequestCover.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.js +4 -1
- package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestDefaultSortType.js +4 -1
- package/dist/schemas/userSaveSettingsRequestDefaultSortType.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestGenaiVisibility.js +4 -1
- package/dist/schemas/userSaveSettingsRequestGenaiVisibility.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestNsflVisibility.js +4 -1
- package/dist/schemas/userSaveSettingsRequestNsflVisibility.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestNsfwVisibility.js +4 -1
- package/dist/schemas/userSaveSettingsRequestNsfwVisibility.js.map +1 -1
- package/dist/schemas/userSaveSettingsResponse.js +2 -1
- package/dist/schemas/userSetFlairRequest.js +2 -1
- package/dist/schemas/userSetFlairRequestFlairText.js +2 -1
- package/dist/schemas/userSetFlairRequestFlairText.js.map +1 -1
- package/dist/schemas/userSetFlairResponse.js +2 -1
- package/dist/schemas/userSetNoteRequest.js +2 -1
- package/dist/schemas/userSetNoteRequestNote.js +2 -1
- package/dist/schemas/userSetNoteRequestNote.js.map +1 -1
- package/dist/schemas/userSetNoteResponse.js +2 -1
- package/dist/schemas/userSubscribeRequest.js +2 -1
- package/dist/schemas/userSubscribeRequest.js.map +1 -1
- package/dist/schemas/userSubscribeResponse.js +2 -1
- package/dist/schemas/userUnbanRequest.js +2 -1
- package/dist/schemas/userUnbanRequest.js.map +1 -1
- package/dist/schemas/userUnreadCountsResponse.js +2 -1
- package/dist/schemas/userUnreadCountsResponse.js.map +1 -1
- package/dist/schemas/widthHeight.js +2 -1
- package/dist/schemas/widthHeight.js.map +1 -1
- package/dist/zod/admin/admin.js +52 -16
- package/dist/zod/admin/admin.js.map +1 -1
- package/dist/zod/comment/comment.js +280 -241
- package/dist/zod/comment/comment.js.map +1 -1
- package/dist/zod/community/community.js +158 -121
- package/dist/zod/community/community.js.map +1 -1
- package/dist/zod/feed/feed.js +54 -18
- package/dist/zod/feed/feed.js.map +1 -1
- package/dist/zod/misc/misc.js +246 -208
- package/dist/zod/misc/misc.js.map +1 -1
- package/dist/zod/post/post.js +578 -534
- package/dist/zod/post/post.js.map +1 -1
- package/dist/zod/private-message/private-message.js +112 -76
- package/dist/zod/private-message/private-message.js.map +1 -1
- package/dist/zod/site/site.js +76 -40
- package/dist/zod/site/site.js.map +1 -1
- package/dist/zod/topic/topic.js +41 -5
- package/dist/zod/topic/topic.js.map +1 -1
- package/dist/zod/upload/upload.js +45 -9
- package/dist/zod/upload/upload.js.map +1 -1
- package/dist/zod/user/user.js +351 -311
- package/dist/zod/user/user.js.map +1 -1
- package/dist/zod-index.js +27 -11
- package/dist/zod-index.js.map +1 -1
- package/package.json +7 -4
- package/src/__tests__/create-client.test.ts +317 -0
- package/src/client/admin/admin.ts +5 -55
- package/src/client/comment/comment.ts +29 -372
- package/src/client/community/community.ts +34 -444
- package/src/client/feed/feed.ts +13 -164
- package/src/client/misc/misc.ts +11 -133
- package/src/client/post/post.ts +41 -528
- package/src/client/private-message/private-message.ts +17 -216
- package/src/client/site/site.ts +11 -118
- package/src/client/topic/topic.ts +3 -29
- package/src/client/upload/upload.ts +9 -127
- package/src/client/user/user.ts +42 -528
- package/src/create-client.ts +35 -19
- package/src/index.ts +1 -14
- package/src/mutator/custom-fetch.ts +20 -6
package/src/client/user/user.ts
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* OpenAPI spec version: alpha 1.6
|
|
6
6
|
*/
|
|
7
7
|
import type {
|
|
8
|
-
DefaultError,
|
|
9
8
|
DomainBlockRequest,
|
|
10
9
|
DomainBlockResponse,
|
|
11
10
|
GetApiAlphaUserMediaParams,
|
|
@@ -14,7 +13,6 @@ import type {
|
|
|
14
13
|
GetApiAlphaUserParams,
|
|
15
14
|
GetApiAlphaUserRepliesParams,
|
|
16
15
|
GetUserResponse,
|
|
17
|
-
UnprocessableEntityResponse,
|
|
18
16
|
UserBanRequest,
|
|
19
17
|
UserBanResponse,
|
|
20
18
|
UserBlockRequest,
|
|
@@ -48,30 +46,6 @@ import { customFetch } from '../../mutator/custom-fetch';
|
|
|
48
46
|
/**
|
|
49
47
|
* @summary Block or unblock a domain
|
|
50
48
|
*/
|
|
51
|
-
export type postApiAlphaDomainBlockResponse200 = {
|
|
52
|
-
data: DomainBlockResponse
|
|
53
|
-
status: 200
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export type postApiAlphaDomainBlockResponse400 = {
|
|
57
|
-
data: DefaultError
|
|
58
|
-
status: 400
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export type postApiAlphaDomainBlockResponse422 = {
|
|
62
|
-
data: UnprocessableEntityResponse
|
|
63
|
-
status: 422
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export type postApiAlphaDomainBlockResponseSuccess = (postApiAlphaDomainBlockResponse200) & {
|
|
67
|
-
headers: Headers;
|
|
68
|
-
};
|
|
69
|
-
export type postApiAlphaDomainBlockResponseError = (postApiAlphaDomainBlockResponse400 | postApiAlphaDomainBlockResponse422) & {
|
|
70
|
-
headers: Headers;
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export type postApiAlphaDomainBlockResponse = (postApiAlphaDomainBlockResponseSuccess | postApiAlphaDomainBlockResponseError)
|
|
74
|
-
|
|
75
49
|
export const getPostApiAlphaDomainBlockUrl = () => {
|
|
76
50
|
|
|
77
51
|
|
|
@@ -80,9 +54,9 @@ export const getPostApiAlphaDomainBlockUrl = () => {
|
|
|
80
54
|
return `/api/alpha/domain/block`
|
|
81
55
|
}
|
|
82
56
|
|
|
83
|
-
export const postApiAlphaDomainBlock = async (domainBlockRequest: DomainBlockRequest, options?: RequestInit): Promise<
|
|
57
|
+
export const postApiAlphaDomainBlock = async (domainBlockRequest: DomainBlockRequest, options?: RequestInit): Promise<DomainBlockResponse> => {
|
|
84
58
|
|
|
85
|
-
return customFetch<
|
|
59
|
+
return customFetch<DomainBlockResponse>(getPostApiAlphaDomainBlockUrl(),
|
|
86
60
|
{
|
|
87
61
|
...options,
|
|
88
62
|
method: 'POST',
|
|
@@ -96,30 +70,6 @@ export const postApiAlphaDomainBlock = async (domainBlockRequest: DomainBlockReq
|
|
|
96
70
|
/**
|
|
97
71
|
* @summary Get the details for a person
|
|
98
72
|
*/
|
|
99
|
-
export type getApiAlphaUserResponse200 = {
|
|
100
|
-
data: GetUserResponse
|
|
101
|
-
status: 200
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export type getApiAlphaUserResponse400 = {
|
|
105
|
-
data: DefaultError
|
|
106
|
-
status: 400
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export type getApiAlphaUserResponse422 = {
|
|
110
|
-
data: UnprocessableEntityResponse
|
|
111
|
-
status: 422
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export type getApiAlphaUserResponseSuccess = (getApiAlphaUserResponse200) & {
|
|
115
|
-
headers: Headers;
|
|
116
|
-
};
|
|
117
|
-
export type getApiAlphaUserResponseError = (getApiAlphaUserResponse400 | getApiAlphaUserResponse422) & {
|
|
118
|
-
headers: Headers;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
export type getApiAlphaUserResponse = (getApiAlphaUserResponseSuccess | getApiAlphaUserResponseError)
|
|
122
|
-
|
|
123
73
|
export const getGetApiAlphaUserUrl = (params?: GetApiAlphaUserParams,) => {
|
|
124
74
|
const normalizedParams = new URLSearchParams();
|
|
125
75
|
|
|
@@ -135,9 +85,9 @@ export const getGetApiAlphaUserUrl = (params?: GetApiAlphaUserParams,) => {
|
|
|
135
85
|
return stringifiedParams.length > 0 ? `/api/alpha/user?${stringifiedParams}` : `/api/alpha/user`
|
|
136
86
|
}
|
|
137
87
|
|
|
138
|
-
export const getApiAlphaUser = async (params?: GetApiAlphaUserParams, options?: RequestInit): Promise<
|
|
88
|
+
export const getApiAlphaUser = async (params?: GetApiAlphaUserParams, options?: RequestInit): Promise<GetUserResponse> => {
|
|
139
89
|
|
|
140
|
-
return customFetch<
|
|
90
|
+
return customFetch<GetUserResponse>(getGetApiAlphaUserUrl(params),
|
|
141
91
|
{
|
|
142
92
|
...options,
|
|
143
93
|
method: 'GET'
|
|
@@ -150,25 +100,6 @@ export const getApiAlphaUser = async (params?: GetApiAlphaUserParams, options?:
|
|
|
150
100
|
/**
|
|
151
101
|
* @summary Get the details for the current user
|
|
152
102
|
*/
|
|
153
|
-
export type getApiAlphaUserMeResponse200 = {
|
|
154
|
-
data: UserMeResponse
|
|
155
|
-
status: 200
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export type getApiAlphaUserMeResponse400 = {
|
|
159
|
-
data: DefaultError
|
|
160
|
-
status: 400
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export type getApiAlphaUserMeResponseSuccess = (getApiAlphaUserMeResponse200) & {
|
|
164
|
-
headers: Headers;
|
|
165
|
-
};
|
|
166
|
-
export type getApiAlphaUserMeResponseError = (getApiAlphaUserMeResponse400) & {
|
|
167
|
-
headers: Headers;
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
export type getApiAlphaUserMeResponse = (getApiAlphaUserMeResponseSuccess | getApiAlphaUserMeResponseError)
|
|
171
|
-
|
|
172
103
|
export const getGetApiAlphaUserMeUrl = () => {
|
|
173
104
|
|
|
174
105
|
|
|
@@ -177,9 +108,9 @@ export const getGetApiAlphaUserMeUrl = () => {
|
|
|
177
108
|
return `/api/alpha/user/me`
|
|
178
109
|
}
|
|
179
110
|
|
|
180
|
-
export const getApiAlphaUserMe = async ( options?: RequestInit): Promise<
|
|
111
|
+
export const getApiAlphaUserMe = async ( options?: RequestInit): Promise<UserMeResponse> => {
|
|
181
112
|
|
|
182
|
-
return customFetch<
|
|
113
|
+
return customFetch<UserMeResponse>(getGetApiAlphaUserMeUrl(),
|
|
183
114
|
{
|
|
184
115
|
...options,
|
|
185
116
|
method: 'GET'
|
|
@@ -192,35 +123,6 @@ export const getApiAlphaUserMe = async ( options?: RequestInit): Promise<getApiA
|
|
|
192
123
|
/**
|
|
193
124
|
* @summary Log into PieFed
|
|
194
125
|
*/
|
|
195
|
-
export type postApiAlphaUserLoginResponse200 = {
|
|
196
|
-
data: UserLoginResponse
|
|
197
|
-
status: 200
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
export type postApiAlphaUserLoginResponse400 = {
|
|
201
|
-
data: DefaultError
|
|
202
|
-
status: 400
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
export type postApiAlphaUserLoginResponse422 = {
|
|
206
|
-
data: UnprocessableEntityResponse
|
|
207
|
-
status: 422
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export type postApiAlphaUserLoginResponse429 = {
|
|
211
|
-
data: DefaultError
|
|
212
|
-
status: 429
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
export type postApiAlphaUserLoginResponseSuccess = (postApiAlphaUserLoginResponse200) & {
|
|
216
|
-
headers: Headers;
|
|
217
|
-
};
|
|
218
|
-
export type postApiAlphaUserLoginResponseError = (postApiAlphaUserLoginResponse400 | postApiAlphaUserLoginResponse422 | postApiAlphaUserLoginResponse429) & {
|
|
219
|
-
headers: Headers;
|
|
220
|
-
};
|
|
221
|
-
|
|
222
|
-
export type postApiAlphaUserLoginResponse = (postApiAlphaUserLoginResponseSuccess | postApiAlphaUserLoginResponseError)
|
|
223
|
-
|
|
224
126
|
export const getPostApiAlphaUserLoginUrl = () => {
|
|
225
127
|
|
|
226
128
|
|
|
@@ -229,9 +131,9 @@ export const getPostApiAlphaUserLoginUrl = () => {
|
|
|
229
131
|
return `/api/alpha/user/login`
|
|
230
132
|
}
|
|
231
133
|
|
|
232
|
-
export const postApiAlphaUserLogin = async (userLoginRequest: UserLoginRequest, options?: RequestInit): Promise<
|
|
134
|
+
export const postApiAlphaUserLogin = async (userLoginRequest: UserLoginRequest, options?: RequestInit): Promise<UserLoginResponse> => {
|
|
233
135
|
|
|
234
|
-
return customFetch<
|
|
136
|
+
return customFetch<UserLoginResponse>(getPostApiAlphaUserLoginUrl(),
|
|
235
137
|
{
|
|
236
138
|
...options,
|
|
237
139
|
method: 'POST',
|
|
@@ -245,25 +147,6 @@ export const postApiAlphaUserLogin = async (userLoginRequest: UserLoginRequest,
|
|
|
245
147
|
/**
|
|
246
148
|
* @summary Get your unread counts
|
|
247
149
|
*/
|
|
248
|
-
export type getApiAlphaUserUnreadCountResponse200 = {
|
|
249
|
-
data: UserUnreadCountsResponse
|
|
250
|
-
status: 200
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
export type getApiAlphaUserUnreadCountResponse400 = {
|
|
254
|
-
data: DefaultError
|
|
255
|
-
status: 400
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
export type getApiAlphaUserUnreadCountResponseSuccess = (getApiAlphaUserUnreadCountResponse200) & {
|
|
259
|
-
headers: Headers;
|
|
260
|
-
};
|
|
261
|
-
export type getApiAlphaUserUnreadCountResponseError = (getApiAlphaUserUnreadCountResponse400) & {
|
|
262
|
-
headers: Headers;
|
|
263
|
-
};
|
|
264
|
-
|
|
265
|
-
export type getApiAlphaUserUnreadCountResponse = (getApiAlphaUserUnreadCountResponseSuccess | getApiAlphaUserUnreadCountResponseError)
|
|
266
|
-
|
|
267
150
|
export const getGetApiAlphaUserUnreadCountUrl = () => {
|
|
268
151
|
|
|
269
152
|
|
|
@@ -272,9 +155,9 @@ export const getGetApiAlphaUserUnreadCountUrl = () => {
|
|
|
272
155
|
return `/api/alpha/user/unread_count`
|
|
273
156
|
}
|
|
274
157
|
|
|
275
|
-
export const getApiAlphaUserUnreadCount = async ( options?: RequestInit): Promise<
|
|
158
|
+
export const getApiAlphaUserUnreadCount = async ( options?: RequestInit): Promise<UserUnreadCountsResponse> => {
|
|
276
159
|
|
|
277
|
-
return customFetch<
|
|
160
|
+
return customFetch<UserUnreadCountsResponse>(getGetApiAlphaUserUnreadCountUrl(),
|
|
278
161
|
{
|
|
279
162
|
...options,
|
|
280
163
|
method: 'GET'
|
|
@@ -287,30 +170,6 @@ export const getApiAlphaUserUnreadCount = async ( options?: RequestInit): Promis
|
|
|
287
170
|
/**
|
|
288
171
|
* @summary Get comment replies
|
|
289
172
|
*/
|
|
290
|
-
export type getApiAlphaUserRepliesResponse200 = {
|
|
291
|
-
data: UserRepliesResponse
|
|
292
|
-
status: 200
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
export type getApiAlphaUserRepliesResponse400 = {
|
|
296
|
-
data: DefaultError
|
|
297
|
-
status: 400
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
export type getApiAlphaUserRepliesResponse422 = {
|
|
301
|
-
data: UnprocessableEntityResponse
|
|
302
|
-
status: 422
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
export type getApiAlphaUserRepliesResponseSuccess = (getApiAlphaUserRepliesResponse200) & {
|
|
306
|
-
headers: Headers;
|
|
307
|
-
};
|
|
308
|
-
export type getApiAlphaUserRepliesResponseError = (getApiAlphaUserRepliesResponse400 | getApiAlphaUserRepliesResponse422) & {
|
|
309
|
-
headers: Headers;
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
export type getApiAlphaUserRepliesResponse = (getApiAlphaUserRepliesResponseSuccess | getApiAlphaUserRepliesResponseError)
|
|
313
|
-
|
|
314
173
|
export const getGetApiAlphaUserRepliesUrl = (params?: GetApiAlphaUserRepliesParams,) => {
|
|
315
174
|
const normalizedParams = new URLSearchParams();
|
|
316
175
|
|
|
@@ -326,9 +185,9 @@ export const getGetApiAlphaUserRepliesUrl = (params?: GetApiAlphaUserRepliesPara
|
|
|
326
185
|
return stringifiedParams.length > 0 ? `/api/alpha/user/replies?${stringifiedParams}` : `/api/alpha/user/replies`
|
|
327
186
|
}
|
|
328
187
|
|
|
329
|
-
export const getApiAlphaUserReplies = async (params?: GetApiAlphaUserRepliesParams, options?: RequestInit): Promise<
|
|
188
|
+
export const getApiAlphaUserReplies = async (params?: GetApiAlphaUserRepliesParams, options?: RequestInit): Promise<UserRepliesResponse> => {
|
|
330
189
|
|
|
331
|
-
return customFetch<
|
|
190
|
+
return customFetch<UserRepliesResponse>(getGetApiAlphaUserRepliesUrl(params),
|
|
332
191
|
{
|
|
333
192
|
...options,
|
|
334
193
|
method: 'GET'
|
|
@@ -341,30 +200,6 @@ export const getApiAlphaUserReplies = async (params?: GetApiAlphaUserRepliesPara
|
|
|
341
200
|
/**
|
|
342
201
|
* @summary Get mentions of your account made in comments
|
|
343
202
|
*/
|
|
344
|
-
export type getApiAlphaUserMentionsResponse200 = {
|
|
345
|
-
data: UserMentionsResponse
|
|
346
|
-
status: 200
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
export type getApiAlphaUserMentionsResponse400 = {
|
|
350
|
-
data: DefaultError
|
|
351
|
-
status: 400
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
export type getApiAlphaUserMentionsResponse422 = {
|
|
355
|
-
data: UnprocessableEntityResponse
|
|
356
|
-
status: 422
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
export type getApiAlphaUserMentionsResponseSuccess = (getApiAlphaUserMentionsResponse200) & {
|
|
360
|
-
headers: Headers;
|
|
361
|
-
};
|
|
362
|
-
export type getApiAlphaUserMentionsResponseError = (getApiAlphaUserMentionsResponse400 | getApiAlphaUserMentionsResponse422) & {
|
|
363
|
-
headers: Headers;
|
|
364
|
-
};
|
|
365
|
-
|
|
366
|
-
export type getApiAlphaUserMentionsResponse = (getApiAlphaUserMentionsResponseSuccess | getApiAlphaUserMentionsResponseError)
|
|
367
|
-
|
|
368
203
|
export const getGetApiAlphaUserMentionsUrl = (params?: GetApiAlphaUserMentionsParams,) => {
|
|
369
204
|
const normalizedParams = new URLSearchParams();
|
|
370
205
|
|
|
@@ -380,9 +215,9 @@ export const getGetApiAlphaUserMentionsUrl = (params?: GetApiAlphaUserMentionsPa
|
|
|
380
215
|
return stringifiedParams.length > 0 ? `/api/alpha/user/mentions?${stringifiedParams}` : `/api/alpha/user/mentions`
|
|
381
216
|
}
|
|
382
217
|
|
|
383
|
-
export const getApiAlphaUserMentions = async (params?: GetApiAlphaUserMentionsParams, options?: RequestInit): Promise<
|
|
218
|
+
export const getApiAlphaUserMentions = async (params?: GetApiAlphaUserMentionsParams, options?: RequestInit): Promise<UserMentionsResponse> => {
|
|
384
219
|
|
|
385
|
-
return customFetch<
|
|
220
|
+
return customFetch<UserMentionsResponse>(getGetApiAlphaUserMentionsUrl(params),
|
|
386
221
|
{
|
|
387
222
|
...options,
|
|
388
223
|
method: 'GET'
|
|
@@ -395,30 +230,6 @@ export const getApiAlphaUserMentions = async (params?: GetApiAlphaUserMentionsPa
|
|
|
395
230
|
/**
|
|
396
231
|
* @summary Get media the current user has uploaded
|
|
397
232
|
*/
|
|
398
|
-
export type getApiAlphaUserMediaResponse200 = {
|
|
399
|
-
data: UserMediaResponse
|
|
400
|
-
status: 200
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
export type getApiAlphaUserMediaResponse400 = {
|
|
404
|
-
data: DefaultError
|
|
405
|
-
status: 400
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
export type getApiAlphaUserMediaResponse422 = {
|
|
409
|
-
data: UnprocessableEntityResponse
|
|
410
|
-
status: 422
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
export type getApiAlphaUserMediaResponseSuccess = (getApiAlphaUserMediaResponse200) & {
|
|
414
|
-
headers: Headers;
|
|
415
|
-
};
|
|
416
|
-
export type getApiAlphaUserMediaResponseError = (getApiAlphaUserMediaResponse400 | getApiAlphaUserMediaResponse422) & {
|
|
417
|
-
headers: Headers;
|
|
418
|
-
};
|
|
419
|
-
|
|
420
|
-
export type getApiAlphaUserMediaResponse = (getApiAlphaUserMediaResponseSuccess | getApiAlphaUserMediaResponseError)
|
|
421
|
-
|
|
422
233
|
export const getGetApiAlphaUserMediaUrl = (params?: GetApiAlphaUserMediaParams,) => {
|
|
423
234
|
const normalizedParams = new URLSearchParams();
|
|
424
235
|
|
|
@@ -434,9 +245,9 @@ export const getGetApiAlphaUserMediaUrl = (params?: GetApiAlphaUserMediaParams,)
|
|
|
434
245
|
return stringifiedParams.length > 0 ? `/api/alpha/user/media?${stringifiedParams}` : `/api/alpha/user/media`
|
|
435
246
|
}
|
|
436
247
|
|
|
437
|
-
export const getApiAlphaUserMedia = async (params?: GetApiAlphaUserMediaParams, options?: RequestInit): Promise<
|
|
248
|
+
export const getApiAlphaUserMedia = async (params?: GetApiAlphaUserMediaParams, options?: RequestInit): Promise<UserMediaResponse> => {
|
|
438
249
|
|
|
439
|
-
return customFetch<
|
|
250
|
+
return customFetch<UserMediaResponse>(getGetApiAlphaUserMediaUrl(params),
|
|
440
251
|
{
|
|
441
252
|
...options,
|
|
442
253
|
method: 'GET'
|
|
@@ -449,30 +260,6 @@ export const getApiAlphaUserMedia = async (params?: GetApiAlphaUserMediaParams,
|
|
|
449
260
|
/**
|
|
450
261
|
* @summary Block or unblock a person
|
|
451
262
|
*/
|
|
452
|
-
export type postApiAlphaUserBlockResponse200 = {
|
|
453
|
-
data: UserBlockResponse
|
|
454
|
-
status: 200
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
export type postApiAlphaUserBlockResponse400 = {
|
|
458
|
-
data: DefaultError
|
|
459
|
-
status: 400
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
export type postApiAlphaUserBlockResponse422 = {
|
|
463
|
-
data: UnprocessableEntityResponse
|
|
464
|
-
status: 422
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
export type postApiAlphaUserBlockResponseSuccess = (postApiAlphaUserBlockResponse200) & {
|
|
468
|
-
headers: Headers;
|
|
469
|
-
};
|
|
470
|
-
export type postApiAlphaUserBlockResponseError = (postApiAlphaUserBlockResponse400 | postApiAlphaUserBlockResponse422) & {
|
|
471
|
-
headers: Headers;
|
|
472
|
-
};
|
|
473
|
-
|
|
474
|
-
export type postApiAlphaUserBlockResponse = (postApiAlphaUserBlockResponseSuccess | postApiAlphaUserBlockResponseError)
|
|
475
|
-
|
|
476
263
|
export const getPostApiAlphaUserBlockUrl = () => {
|
|
477
264
|
|
|
478
265
|
|
|
@@ -481,9 +268,9 @@ export const getPostApiAlphaUserBlockUrl = () => {
|
|
|
481
268
|
return `/api/alpha/user/block`
|
|
482
269
|
}
|
|
483
270
|
|
|
484
|
-
export const postApiAlphaUserBlock = async (userBlockRequest: UserBlockRequest, options?: RequestInit): Promise<
|
|
271
|
+
export const postApiAlphaUserBlock = async (userBlockRequest: UserBlockRequest, options?: RequestInit): Promise<UserBlockResponse> => {
|
|
485
272
|
|
|
486
|
-
return customFetch<
|
|
273
|
+
return customFetch<UserBlockResponse>(getPostApiAlphaUserBlockUrl(),
|
|
487
274
|
{
|
|
488
275
|
...options,
|
|
489
276
|
method: 'POST',
|
|
@@ -497,25 +284,6 @@ export const postApiAlphaUserBlock = async (userBlockRequest: UserBlockRequest,
|
|
|
497
284
|
/**
|
|
498
285
|
* @summary Mark all notifications and messages as read
|
|
499
286
|
*/
|
|
500
|
-
export type postApiAlphaUserMarkAllAsReadResponse200 = {
|
|
501
|
-
data: UserMarkAllReadResponse
|
|
502
|
-
status: 200
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export type postApiAlphaUserMarkAllAsReadResponse400 = {
|
|
506
|
-
data: DefaultError
|
|
507
|
-
status: 400
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
export type postApiAlphaUserMarkAllAsReadResponseSuccess = (postApiAlphaUserMarkAllAsReadResponse200) & {
|
|
511
|
-
headers: Headers;
|
|
512
|
-
};
|
|
513
|
-
export type postApiAlphaUserMarkAllAsReadResponseError = (postApiAlphaUserMarkAllAsReadResponse400) & {
|
|
514
|
-
headers: Headers;
|
|
515
|
-
};
|
|
516
|
-
|
|
517
|
-
export type postApiAlphaUserMarkAllAsReadResponse = (postApiAlphaUserMarkAllAsReadResponseSuccess | postApiAlphaUserMarkAllAsReadResponseError)
|
|
518
|
-
|
|
519
287
|
export const getPostApiAlphaUserMarkAllAsReadUrl = () => {
|
|
520
288
|
|
|
521
289
|
|
|
@@ -524,9 +292,9 @@ export const getPostApiAlphaUserMarkAllAsReadUrl = () => {
|
|
|
524
292
|
return `/api/alpha/user/mark_all_as_read`
|
|
525
293
|
}
|
|
526
294
|
|
|
527
|
-
export const postApiAlphaUserMarkAllAsRead = async ( options?: RequestInit): Promise<
|
|
295
|
+
export const postApiAlphaUserMarkAllAsRead = async ( options?: RequestInit): Promise<UserMarkAllReadResponse> => {
|
|
528
296
|
|
|
529
|
-
return customFetch<
|
|
297
|
+
return customFetch<UserMarkAllReadResponse>(getPostApiAlphaUserMarkAllAsReadUrl(),
|
|
530
298
|
{
|
|
531
299
|
...options,
|
|
532
300
|
method: 'POST'
|
|
@@ -539,30 +307,6 @@ export const postApiAlphaUserMarkAllAsRead = async ( options?: RequestInit): Pro
|
|
|
539
307
|
/**
|
|
540
308
|
* @summary Subscribe or unsubscribe to activites of another user
|
|
541
309
|
*/
|
|
542
|
-
export type putApiAlphaUserSubscribeResponse200 = {
|
|
543
|
-
data: UserSubscribeResponse
|
|
544
|
-
status: 200
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
export type putApiAlphaUserSubscribeResponse400 = {
|
|
548
|
-
data: DefaultError
|
|
549
|
-
status: 400
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
export type putApiAlphaUserSubscribeResponse422 = {
|
|
553
|
-
data: UnprocessableEntityResponse
|
|
554
|
-
status: 422
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
export type putApiAlphaUserSubscribeResponseSuccess = (putApiAlphaUserSubscribeResponse200) & {
|
|
558
|
-
headers: Headers;
|
|
559
|
-
};
|
|
560
|
-
export type putApiAlphaUserSubscribeResponseError = (putApiAlphaUserSubscribeResponse400 | putApiAlphaUserSubscribeResponse422) & {
|
|
561
|
-
headers: Headers;
|
|
562
|
-
};
|
|
563
|
-
|
|
564
|
-
export type putApiAlphaUserSubscribeResponse = (putApiAlphaUserSubscribeResponseSuccess | putApiAlphaUserSubscribeResponseError)
|
|
565
|
-
|
|
566
310
|
export const getPutApiAlphaUserSubscribeUrl = () => {
|
|
567
311
|
|
|
568
312
|
|
|
@@ -571,9 +315,9 @@ export const getPutApiAlphaUserSubscribeUrl = () => {
|
|
|
571
315
|
return `/api/alpha/user/subscribe`
|
|
572
316
|
}
|
|
573
317
|
|
|
574
|
-
export const putApiAlphaUserSubscribe = async (userSubscribeRequest: UserSubscribeRequest, options?: RequestInit): Promise<
|
|
318
|
+
export const putApiAlphaUserSubscribe = async (userSubscribeRequest: UserSubscribeRequest, options?: RequestInit): Promise<UserSubscribeResponse> => {
|
|
575
319
|
|
|
576
|
-
return customFetch<
|
|
320
|
+
return customFetch<UserSubscribeResponse>(getPutApiAlphaUserSubscribeUrl(),
|
|
577
321
|
{
|
|
578
322
|
...options,
|
|
579
323
|
method: 'PUT',
|
|
@@ -587,30 +331,6 @@ export const putApiAlphaUserSubscribe = async (userSubscribeRequest: UserSubscri
|
|
|
587
331
|
/**
|
|
588
332
|
* @summary Save your user settings
|
|
589
333
|
*/
|
|
590
|
-
export type putApiAlphaUserSaveUserSettingsResponse200 = {
|
|
591
|
-
data: UserSaveSettingsResponse
|
|
592
|
-
status: 200
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
export type putApiAlphaUserSaveUserSettingsResponse400 = {
|
|
596
|
-
data: DefaultError
|
|
597
|
-
status: 400
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
export type putApiAlphaUserSaveUserSettingsResponse422 = {
|
|
601
|
-
data: UnprocessableEntityResponse
|
|
602
|
-
status: 422
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
export type putApiAlphaUserSaveUserSettingsResponseSuccess = (putApiAlphaUserSaveUserSettingsResponse200) & {
|
|
606
|
-
headers: Headers;
|
|
607
|
-
};
|
|
608
|
-
export type putApiAlphaUserSaveUserSettingsResponseError = (putApiAlphaUserSaveUserSettingsResponse400 | putApiAlphaUserSaveUserSettingsResponse422) & {
|
|
609
|
-
headers: Headers;
|
|
610
|
-
};
|
|
611
|
-
|
|
612
|
-
export type putApiAlphaUserSaveUserSettingsResponse = (putApiAlphaUserSaveUserSettingsResponseSuccess | putApiAlphaUserSaveUserSettingsResponseError)
|
|
613
|
-
|
|
614
334
|
export const getPutApiAlphaUserSaveUserSettingsUrl = () => {
|
|
615
335
|
|
|
616
336
|
|
|
@@ -619,9 +339,9 @@ export const getPutApiAlphaUserSaveUserSettingsUrl = () => {
|
|
|
619
339
|
return `/api/alpha/user/save_user_settings`
|
|
620
340
|
}
|
|
621
341
|
|
|
622
|
-
export const putApiAlphaUserSaveUserSettings = async (userSaveSettingsRequest: UserSaveSettingsRequest, options?: RequestInit): Promise<
|
|
342
|
+
export const putApiAlphaUserSaveUserSettings = async (userSaveSettingsRequest: UserSaveSettingsRequest, options?: RequestInit): Promise<UserSaveSettingsResponse> => {
|
|
623
343
|
|
|
624
|
-
return customFetch<
|
|
344
|
+
return customFetch<UserSaveSettingsResponse>(getPutApiAlphaUserSaveUserSettingsUrl(),
|
|
625
345
|
{
|
|
626
346
|
...options,
|
|
627
347
|
method: 'PUT',
|
|
@@ -635,30 +355,6 @@ export const putApiAlphaUserSaveUserSettings = async (userSaveSettingsRequest: U
|
|
|
635
355
|
/**
|
|
636
356
|
* @summary Get your user notifications (not all notification types supported yet)
|
|
637
357
|
*/
|
|
638
|
-
export type getApiAlphaUserNotificationsResponse200 = {
|
|
639
|
-
data: UserNotificationsResponse
|
|
640
|
-
status: 200
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
export type getApiAlphaUserNotificationsResponse400 = {
|
|
644
|
-
data: DefaultError
|
|
645
|
-
status: 400
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
export type getApiAlphaUserNotificationsResponse422 = {
|
|
649
|
-
data: UnprocessableEntityResponse
|
|
650
|
-
status: 422
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
export type getApiAlphaUserNotificationsResponseSuccess = (getApiAlphaUserNotificationsResponse200) & {
|
|
654
|
-
headers: Headers;
|
|
655
|
-
};
|
|
656
|
-
export type getApiAlphaUserNotificationsResponseError = (getApiAlphaUserNotificationsResponse400 | getApiAlphaUserNotificationsResponse422) & {
|
|
657
|
-
headers: Headers;
|
|
658
|
-
};
|
|
659
|
-
|
|
660
|
-
export type getApiAlphaUserNotificationsResponse = (getApiAlphaUserNotificationsResponseSuccess | getApiAlphaUserNotificationsResponseError)
|
|
661
|
-
|
|
662
358
|
export const getGetApiAlphaUserNotificationsUrl = (params: GetApiAlphaUserNotificationsParams,) => {
|
|
663
359
|
const normalizedParams = new URLSearchParams();
|
|
664
360
|
|
|
@@ -674,9 +370,9 @@ export const getGetApiAlphaUserNotificationsUrl = (params: GetApiAlphaUserNotifi
|
|
|
674
370
|
return stringifiedParams.length > 0 ? `/api/alpha/user/notifications?${stringifiedParams}` : `/api/alpha/user/notifications`
|
|
675
371
|
}
|
|
676
372
|
|
|
677
|
-
export const getApiAlphaUserNotifications = async (params: GetApiAlphaUserNotificationsParams, options?: RequestInit): Promise<
|
|
373
|
+
export const getApiAlphaUserNotifications = async (params: GetApiAlphaUserNotificationsParams, options?: RequestInit): Promise<UserNotificationsResponse> => {
|
|
678
374
|
|
|
679
|
-
return customFetch<
|
|
375
|
+
return customFetch<UserNotificationsResponse>(getGetApiAlphaUserNotificationsUrl(params),
|
|
680
376
|
{
|
|
681
377
|
...options,
|
|
682
378
|
method: 'GET'
|
|
@@ -689,30 +385,6 @@ export const getApiAlphaUserNotifications = async (params: GetApiAlphaUserNotifi
|
|
|
689
385
|
/**
|
|
690
386
|
* @summary Set the read status of a given notification (not all notification types supported yet)
|
|
691
387
|
*/
|
|
692
|
-
export type putApiAlphaUserNotificationStateResponse200 = {
|
|
693
|
-
data: UserNotificationItemView
|
|
694
|
-
status: 200
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
export type putApiAlphaUserNotificationStateResponse400 = {
|
|
698
|
-
data: DefaultError
|
|
699
|
-
status: 400
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
export type putApiAlphaUserNotificationStateResponse422 = {
|
|
703
|
-
data: UnprocessableEntityResponse
|
|
704
|
-
status: 422
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
export type putApiAlphaUserNotificationStateResponseSuccess = (putApiAlphaUserNotificationStateResponse200) & {
|
|
708
|
-
headers: Headers;
|
|
709
|
-
};
|
|
710
|
-
export type putApiAlphaUserNotificationStateResponseError = (putApiAlphaUserNotificationStateResponse400 | putApiAlphaUserNotificationStateResponse422) & {
|
|
711
|
-
headers: Headers;
|
|
712
|
-
};
|
|
713
|
-
|
|
714
|
-
export type putApiAlphaUserNotificationStateResponse = (putApiAlphaUserNotificationStateResponseSuccess | putApiAlphaUserNotificationStateResponseError)
|
|
715
|
-
|
|
716
388
|
export const getPutApiAlphaUserNotificationStateUrl = () => {
|
|
717
389
|
|
|
718
390
|
|
|
@@ -721,9 +393,9 @@ export const getPutApiAlphaUserNotificationStateUrl = () => {
|
|
|
721
393
|
return `/api/alpha/user/notification_state`
|
|
722
394
|
}
|
|
723
395
|
|
|
724
|
-
export const putApiAlphaUserNotificationState = async (userNotificationStateRequest: UserNotificationStateRequest, options?: RequestInit): Promise<
|
|
396
|
+
export const putApiAlphaUserNotificationState = async (userNotificationStateRequest: UserNotificationStateRequest, options?: RequestInit): Promise<UserNotificationItemView> => {
|
|
725
397
|
|
|
726
|
-
return customFetch<
|
|
398
|
+
return customFetch<UserNotificationItemView>(getPutApiAlphaUserNotificationStateUrl(),
|
|
727
399
|
{
|
|
728
400
|
...options,
|
|
729
401
|
method: 'PUT',
|
|
@@ -737,25 +409,6 @@ export const putApiAlphaUserNotificationState = async (userNotificationStateRequ
|
|
|
737
409
|
/**
|
|
738
410
|
* @summary Get user unread notifications count
|
|
739
411
|
*/
|
|
740
|
-
export type getApiAlphaUserNotificationsCountResponse200 = {
|
|
741
|
-
data: UserNotificationsCountResponse
|
|
742
|
-
status: 200
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
export type getApiAlphaUserNotificationsCountResponse400 = {
|
|
746
|
-
data: DefaultError
|
|
747
|
-
status: 400
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
export type getApiAlphaUserNotificationsCountResponseSuccess = (getApiAlphaUserNotificationsCountResponse200) & {
|
|
751
|
-
headers: Headers;
|
|
752
|
-
};
|
|
753
|
-
export type getApiAlphaUserNotificationsCountResponseError = (getApiAlphaUserNotificationsCountResponse400) & {
|
|
754
|
-
headers: Headers;
|
|
755
|
-
};
|
|
756
|
-
|
|
757
|
-
export type getApiAlphaUserNotificationsCountResponse = (getApiAlphaUserNotificationsCountResponseSuccess | getApiAlphaUserNotificationsCountResponseError)
|
|
758
|
-
|
|
759
412
|
export const getGetApiAlphaUserNotificationsCountUrl = () => {
|
|
760
413
|
|
|
761
414
|
|
|
@@ -764,9 +417,9 @@ export const getGetApiAlphaUserNotificationsCountUrl = () => {
|
|
|
764
417
|
return `/api/alpha/user/notifications_count`
|
|
765
418
|
}
|
|
766
419
|
|
|
767
|
-
export const getApiAlphaUserNotificationsCount = async ( options?: RequestInit): Promise<
|
|
420
|
+
export const getApiAlphaUserNotificationsCount = async ( options?: RequestInit): Promise<UserNotificationsCountResponse> => {
|
|
768
421
|
|
|
769
|
-
return customFetch<
|
|
422
|
+
return customFetch<UserNotificationsCountResponse>(getGetApiAlphaUserNotificationsCountUrl(),
|
|
770
423
|
{
|
|
771
424
|
...options,
|
|
772
425
|
method: 'GET'
|
|
@@ -779,25 +432,6 @@ export const getApiAlphaUserNotificationsCount = async ( options?: RequestInit):
|
|
|
779
432
|
/**
|
|
780
433
|
* @summary Mark all notifications as read
|
|
781
434
|
*/
|
|
782
|
-
export type putApiAlphaUserMarkAllNotificationsReadResponse200 = {
|
|
783
|
-
data: UserMarkAllNotifsReadResponse
|
|
784
|
-
status: 200
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
export type putApiAlphaUserMarkAllNotificationsReadResponse400 = {
|
|
788
|
-
data: DefaultError
|
|
789
|
-
status: 400
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
export type putApiAlphaUserMarkAllNotificationsReadResponseSuccess = (putApiAlphaUserMarkAllNotificationsReadResponse200) & {
|
|
793
|
-
headers: Headers;
|
|
794
|
-
};
|
|
795
|
-
export type putApiAlphaUserMarkAllNotificationsReadResponseError = (putApiAlphaUserMarkAllNotificationsReadResponse400) & {
|
|
796
|
-
headers: Headers;
|
|
797
|
-
};
|
|
798
|
-
|
|
799
|
-
export type putApiAlphaUserMarkAllNotificationsReadResponse = (putApiAlphaUserMarkAllNotificationsReadResponseSuccess | putApiAlphaUserMarkAllNotificationsReadResponseError)
|
|
800
|
-
|
|
801
435
|
export const getPutApiAlphaUserMarkAllNotificationsReadUrl = () => {
|
|
802
436
|
|
|
803
437
|
|
|
@@ -806,9 +440,9 @@ export const getPutApiAlphaUserMarkAllNotificationsReadUrl = () => {
|
|
|
806
440
|
return `/api/alpha/user/mark_all_notifications_read`
|
|
807
441
|
}
|
|
808
442
|
|
|
809
|
-
export const putApiAlphaUserMarkAllNotificationsRead = async ( options?: RequestInit): Promise<
|
|
443
|
+
export const putApiAlphaUserMarkAllNotificationsRead = async ( options?: RequestInit): Promise<UserMarkAllNotifsReadResponse> => {
|
|
810
444
|
|
|
811
|
-
return customFetch<
|
|
445
|
+
return customFetch<UserMarkAllNotifsReadResponse>(getPutApiAlphaUserMarkAllNotificationsReadUrl(),
|
|
812
446
|
{
|
|
813
447
|
...options,
|
|
814
448
|
method: 'PUT'
|
|
@@ -821,30 +455,6 @@ export const putApiAlphaUserMarkAllNotificationsRead = async ( options?: Request
|
|
|
821
455
|
/**
|
|
822
456
|
* @summary Verify username/password credentials
|
|
823
457
|
*/
|
|
824
|
-
export type postApiAlphaUserVerifyCredentialsResponse200 = {
|
|
825
|
-
data: void
|
|
826
|
-
status: 200
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
export type postApiAlphaUserVerifyCredentialsResponse400 = {
|
|
830
|
-
data: DefaultError
|
|
831
|
-
status: 400
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
export type postApiAlphaUserVerifyCredentialsResponse422 = {
|
|
835
|
-
data: UnprocessableEntityResponse
|
|
836
|
-
status: 422
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
export type postApiAlphaUserVerifyCredentialsResponseSuccess = (postApiAlphaUserVerifyCredentialsResponse200) & {
|
|
840
|
-
headers: Headers;
|
|
841
|
-
};
|
|
842
|
-
export type postApiAlphaUserVerifyCredentialsResponseError = (postApiAlphaUserVerifyCredentialsResponse400 | postApiAlphaUserVerifyCredentialsResponse422) & {
|
|
843
|
-
headers: Headers;
|
|
844
|
-
};
|
|
845
|
-
|
|
846
|
-
export type postApiAlphaUserVerifyCredentialsResponse = (postApiAlphaUserVerifyCredentialsResponseSuccess | postApiAlphaUserVerifyCredentialsResponseError)
|
|
847
|
-
|
|
848
458
|
export const getPostApiAlphaUserVerifyCredentialsUrl = () => {
|
|
849
459
|
|
|
850
460
|
|
|
@@ -853,9 +463,9 @@ export const getPostApiAlphaUserVerifyCredentialsUrl = () => {
|
|
|
853
463
|
return `/api/alpha/user/verify_credentials`
|
|
854
464
|
}
|
|
855
465
|
|
|
856
|
-
export const postApiAlphaUserVerifyCredentials = async (userLoginRequest: UserLoginRequest, options?: RequestInit): Promise<
|
|
466
|
+
export const postApiAlphaUserVerifyCredentials = async (userLoginRequest: UserLoginRequest, options?: RequestInit): Promise<void> => {
|
|
857
467
|
|
|
858
|
-
return customFetch<
|
|
468
|
+
return customFetch<void>(getPostApiAlphaUserVerifyCredentialsUrl(),
|
|
859
469
|
{
|
|
860
470
|
...options,
|
|
861
471
|
method: 'POST',
|
|
@@ -869,30 +479,6 @@ export const postApiAlphaUserVerifyCredentials = async (userLoginRequest: UserLo
|
|
|
869
479
|
/**
|
|
870
480
|
* @summary Set your flair for a community
|
|
871
481
|
*/
|
|
872
|
-
export type postApiAlphaUserSetFlairResponse200 = {
|
|
873
|
-
data: UserSetFlairResponse
|
|
874
|
-
status: 200
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
export type postApiAlphaUserSetFlairResponse400 = {
|
|
878
|
-
data: DefaultError
|
|
879
|
-
status: 400
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
export type postApiAlphaUserSetFlairResponse422 = {
|
|
883
|
-
data: UnprocessableEntityResponse
|
|
884
|
-
status: 422
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
export type postApiAlphaUserSetFlairResponseSuccess = (postApiAlphaUserSetFlairResponse200) & {
|
|
888
|
-
headers: Headers;
|
|
889
|
-
};
|
|
890
|
-
export type postApiAlphaUserSetFlairResponseError = (postApiAlphaUserSetFlairResponse400 | postApiAlphaUserSetFlairResponse422) & {
|
|
891
|
-
headers: Headers;
|
|
892
|
-
};
|
|
893
|
-
|
|
894
|
-
export type postApiAlphaUserSetFlairResponse = (postApiAlphaUserSetFlairResponseSuccess | postApiAlphaUserSetFlairResponseError)
|
|
895
|
-
|
|
896
482
|
export const getPostApiAlphaUserSetFlairUrl = () => {
|
|
897
483
|
|
|
898
484
|
|
|
@@ -901,9 +487,9 @@ export const getPostApiAlphaUserSetFlairUrl = () => {
|
|
|
901
487
|
return `/api/alpha/user/set_flair`
|
|
902
488
|
}
|
|
903
489
|
|
|
904
|
-
export const postApiAlphaUserSetFlair = async (userSetFlairRequest: UserSetFlairRequest, options?: RequestInit): Promise<
|
|
490
|
+
export const postApiAlphaUserSetFlair = async (userSetFlairRequest: UserSetFlairRequest, options?: RequestInit): Promise<UserSetFlairResponse> => {
|
|
905
491
|
|
|
906
|
-
return customFetch<
|
|
492
|
+
return customFetch<UserSetFlairResponse>(getPostApiAlphaUserSetFlairUrl(),
|
|
907
493
|
{
|
|
908
494
|
...options,
|
|
909
495
|
method: 'POST',
|
|
@@ -917,30 +503,6 @@ export const postApiAlphaUserSetFlair = async (userSetFlairRequest: UserSetFlair
|
|
|
917
503
|
/**
|
|
918
504
|
* @summary Set a note for a user
|
|
919
505
|
*/
|
|
920
|
-
export type postApiAlphaUserNoteResponse200 = {
|
|
921
|
-
data: UserSetNoteResponse
|
|
922
|
-
status: 200
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
export type postApiAlphaUserNoteResponse400 = {
|
|
926
|
-
data: DefaultError
|
|
927
|
-
status: 400
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
export type postApiAlphaUserNoteResponse422 = {
|
|
931
|
-
data: UnprocessableEntityResponse
|
|
932
|
-
status: 422
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
export type postApiAlphaUserNoteResponseSuccess = (postApiAlphaUserNoteResponse200) & {
|
|
936
|
-
headers: Headers;
|
|
937
|
-
};
|
|
938
|
-
export type postApiAlphaUserNoteResponseError = (postApiAlphaUserNoteResponse400 | postApiAlphaUserNoteResponse422) & {
|
|
939
|
-
headers: Headers;
|
|
940
|
-
};
|
|
941
|
-
|
|
942
|
-
export type postApiAlphaUserNoteResponse = (postApiAlphaUserNoteResponseSuccess | postApiAlphaUserNoteResponseError)
|
|
943
|
-
|
|
944
506
|
export const getPostApiAlphaUserNoteUrl = () => {
|
|
945
507
|
|
|
946
508
|
|
|
@@ -949,9 +511,9 @@ export const getPostApiAlphaUserNoteUrl = () => {
|
|
|
949
511
|
return `/api/alpha/user/note`
|
|
950
512
|
}
|
|
951
513
|
|
|
952
|
-
export const postApiAlphaUserNote = async (userSetNoteRequest: UserSetNoteRequest, options?: RequestInit): Promise<
|
|
514
|
+
export const postApiAlphaUserNote = async (userSetNoteRequest: UserSetNoteRequest, options?: RequestInit): Promise<UserSetNoteResponse> => {
|
|
953
515
|
|
|
954
|
-
return customFetch<
|
|
516
|
+
return customFetch<UserSetNoteResponse>(getPostApiAlphaUserNoteUrl(),
|
|
955
517
|
{
|
|
956
518
|
...options,
|
|
957
519
|
method: 'POST',
|
|
@@ -965,30 +527,6 @@ export const postApiAlphaUserNote = async (userSetNoteRequest: UserSetNoteReques
|
|
|
965
527
|
/**
|
|
966
528
|
* @summary Ban a user
|
|
967
529
|
*/
|
|
968
|
-
export type postApiAlphaUserBanResponse200 = {
|
|
969
|
-
data: UserBanResponse
|
|
970
|
-
status: 200
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
export type postApiAlphaUserBanResponse400 = {
|
|
974
|
-
data: DefaultError
|
|
975
|
-
status: 400
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
export type postApiAlphaUserBanResponse422 = {
|
|
979
|
-
data: UnprocessableEntityResponse
|
|
980
|
-
status: 422
|
|
981
|
-
}
|
|
982
|
-
|
|
983
|
-
export type postApiAlphaUserBanResponseSuccess = (postApiAlphaUserBanResponse200) & {
|
|
984
|
-
headers: Headers;
|
|
985
|
-
};
|
|
986
|
-
export type postApiAlphaUserBanResponseError = (postApiAlphaUserBanResponse400 | postApiAlphaUserBanResponse422) & {
|
|
987
|
-
headers: Headers;
|
|
988
|
-
};
|
|
989
|
-
|
|
990
|
-
export type postApiAlphaUserBanResponse = (postApiAlphaUserBanResponseSuccess | postApiAlphaUserBanResponseError)
|
|
991
|
-
|
|
992
530
|
export const getPostApiAlphaUserBanUrl = () => {
|
|
993
531
|
|
|
994
532
|
|
|
@@ -997,9 +535,9 @@ export const getPostApiAlphaUserBanUrl = () => {
|
|
|
997
535
|
return `/api/alpha/user/ban`
|
|
998
536
|
}
|
|
999
537
|
|
|
1000
|
-
export const postApiAlphaUserBan = async (userBanRequest: UserBanRequest, options?: RequestInit): Promise<
|
|
538
|
+
export const postApiAlphaUserBan = async (userBanRequest: UserBanRequest, options?: RequestInit): Promise<UserBanResponse> => {
|
|
1001
539
|
|
|
1002
|
-
return customFetch<
|
|
540
|
+
return customFetch<UserBanResponse>(getPostApiAlphaUserBanUrl(),
|
|
1003
541
|
{
|
|
1004
542
|
...options,
|
|
1005
543
|
method: 'POST',
|
|
@@ -1013,30 +551,6 @@ export const postApiAlphaUserBan = async (userBanRequest: UserBanRequest, option
|
|
|
1013
551
|
/**
|
|
1014
552
|
* @summary Unban a user
|
|
1015
553
|
*/
|
|
1016
|
-
export type postApiAlphaUserUnbanResponse200 = {
|
|
1017
|
-
data: UserBanResponse
|
|
1018
|
-
status: 200
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
export type postApiAlphaUserUnbanResponse400 = {
|
|
1022
|
-
data: DefaultError
|
|
1023
|
-
status: 400
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
export type postApiAlphaUserUnbanResponse422 = {
|
|
1027
|
-
data: UnprocessableEntityResponse
|
|
1028
|
-
status: 422
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
export type postApiAlphaUserUnbanResponseSuccess = (postApiAlphaUserUnbanResponse200) & {
|
|
1032
|
-
headers: Headers;
|
|
1033
|
-
};
|
|
1034
|
-
export type postApiAlphaUserUnbanResponseError = (postApiAlphaUserUnbanResponse400 | postApiAlphaUserUnbanResponse422) & {
|
|
1035
|
-
headers: Headers;
|
|
1036
|
-
};
|
|
1037
|
-
|
|
1038
|
-
export type postApiAlphaUserUnbanResponse = (postApiAlphaUserUnbanResponseSuccess | postApiAlphaUserUnbanResponseError)
|
|
1039
|
-
|
|
1040
554
|
export const getPostApiAlphaUserUnbanUrl = () => {
|
|
1041
555
|
|
|
1042
556
|
|
|
@@ -1045,9 +559,9 @@ export const getPostApiAlphaUserUnbanUrl = () => {
|
|
|
1045
559
|
return `/api/alpha/user/unban`
|
|
1046
560
|
}
|
|
1047
561
|
|
|
1048
|
-
export const postApiAlphaUserUnban = async (userUnbanRequest: UserUnbanRequest, options?: RequestInit): Promise<
|
|
562
|
+
export const postApiAlphaUserUnban = async (userUnbanRequest: UserUnbanRequest, options?: RequestInit): Promise<UserBanResponse> => {
|
|
1049
563
|
|
|
1050
|
-
return customFetch<
|
|
564
|
+
return customFetch<UserBanResponse>(getPostApiAlphaUserUnbanUrl(),
|
|
1051
565
|
{
|
|
1052
566
|
...options,
|
|
1053
567
|
method: 'POST',
|