@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
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type {
|
|
8
8
|
CreateCommentRequest,
|
|
9
|
-
DefaultError,
|
|
10
9
|
DeleteCommentRequest,
|
|
11
10
|
EditCommentRequest,
|
|
12
11
|
GetApiAlphaCommentLikeListParams,
|
|
@@ -24,8 +23,7 @@ import type {
|
|
|
24
23
|
RemoveCommentRequest,
|
|
25
24
|
ReportCommentRequest,
|
|
26
25
|
SaveCommentRequest,
|
|
27
|
-
SubscribeCommentRequest
|
|
28
|
-
UnprocessableEntityResponse
|
|
26
|
+
SubscribeCommentRequest
|
|
29
27
|
} from '../../schemas';
|
|
30
28
|
|
|
31
29
|
import { customFetch } from '../../mutator/custom-fetch';
|
|
@@ -33,30 +31,6 @@ import { customFetch } from '../../mutator/custom-fetch';
|
|
|
33
31
|
/**
|
|
34
32
|
* @summary List comments, with various filters.
|
|
35
33
|
*/
|
|
36
|
-
export type getApiAlphaCommentListResponse200 = {
|
|
37
|
-
data: ListCommentsResponse
|
|
38
|
-
status: 200
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export type getApiAlphaCommentListResponse400 = {
|
|
42
|
-
data: DefaultError
|
|
43
|
-
status: 400
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export type getApiAlphaCommentListResponse422 = {
|
|
47
|
-
data: UnprocessableEntityResponse
|
|
48
|
-
status: 422
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export type getApiAlphaCommentListResponseSuccess = (getApiAlphaCommentListResponse200) & {
|
|
52
|
-
headers: Headers;
|
|
53
|
-
};
|
|
54
|
-
export type getApiAlphaCommentListResponseError = (getApiAlphaCommentListResponse400 | getApiAlphaCommentListResponse422) & {
|
|
55
|
-
headers: Headers;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export type getApiAlphaCommentListResponse = (getApiAlphaCommentListResponseSuccess | getApiAlphaCommentListResponseError)
|
|
59
|
-
|
|
60
34
|
export const getGetApiAlphaCommentListUrl = (params?: GetApiAlphaCommentListParams,) => {
|
|
61
35
|
const normalizedParams = new URLSearchParams();
|
|
62
36
|
|
|
@@ -72,9 +46,9 @@ export const getGetApiAlphaCommentListUrl = (params?: GetApiAlphaCommentListPara
|
|
|
72
46
|
return stringifiedParams.length > 0 ? `/api/alpha/comment/list?${stringifiedParams}` : `/api/alpha/comment/list`
|
|
73
47
|
}
|
|
74
48
|
|
|
75
|
-
export const getApiAlphaCommentList = async (params?: GetApiAlphaCommentListParams, options?: RequestInit): Promise<
|
|
49
|
+
export const getApiAlphaCommentList = async (params?: GetApiAlphaCommentListParams, options?: RequestInit): Promise<ListCommentsResponse> => {
|
|
76
50
|
|
|
77
|
-
return customFetch<
|
|
51
|
+
return customFetch<ListCommentsResponse>(getGetApiAlphaCommentListUrl(params),
|
|
78
52
|
{
|
|
79
53
|
...options,
|
|
80
54
|
method: 'GET'
|
|
@@ -87,30 +61,6 @@ export const getApiAlphaCommentList = async (params?: GetApiAlphaCommentListPara
|
|
|
87
61
|
/**
|
|
88
62
|
* @summary Like / vote on a comment.
|
|
89
63
|
*/
|
|
90
|
-
export type postApiAlphaCommentLikeResponse200 = {
|
|
91
|
-
data: GetCommentResponse
|
|
92
|
-
status: 200
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export type postApiAlphaCommentLikeResponse400 = {
|
|
96
|
-
data: DefaultError
|
|
97
|
-
status: 400
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export type postApiAlphaCommentLikeResponse422 = {
|
|
101
|
-
data: UnprocessableEntityResponse
|
|
102
|
-
status: 422
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export type postApiAlphaCommentLikeResponseSuccess = (postApiAlphaCommentLikeResponse200) & {
|
|
106
|
-
headers: Headers;
|
|
107
|
-
};
|
|
108
|
-
export type postApiAlphaCommentLikeResponseError = (postApiAlphaCommentLikeResponse400 | postApiAlphaCommentLikeResponse422) & {
|
|
109
|
-
headers: Headers;
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
export type postApiAlphaCommentLikeResponse = (postApiAlphaCommentLikeResponseSuccess | postApiAlphaCommentLikeResponseError)
|
|
113
|
-
|
|
114
64
|
export const getPostApiAlphaCommentLikeUrl = () => {
|
|
115
65
|
|
|
116
66
|
|
|
@@ -119,9 +69,9 @@ export const getPostApiAlphaCommentLikeUrl = () => {
|
|
|
119
69
|
return `/api/alpha/comment/like`
|
|
120
70
|
}
|
|
121
71
|
|
|
122
|
-
export const postApiAlphaCommentLike = async (likeCommentRequest: LikeCommentRequest, options?: RequestInit): Promise<
|
|
72
|
+
export const postApiAlphaCommentLike = async (likeCommentRequest: LikeCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
|
|
123
73
|
|
|
124
|
-
return customFetch<
|
|
74
|
+
return customFetch<GetCommentResponse>(getPostApiAlphaCommentLikeUrl(),
|
|
125
75
|
{
|
|
126
76
|
...options,
|
|
127
77
|
method: 'POST',
|
|
@@ -135,30 +85,6 @@ export const postApiAlphaCommentLike = async (likeCommentRequest: LikeCommentReq
|
|
|
135
85
|
/**
|
|
136
86
|
* @summary Save a comment.
|
|
137
87
|
*/
|
|
138
|
-
export type putApiAlphaCommentSaveResponse200 = {
|
|
139
|
-
data: GetCommentResponse
|
|
140
|
-
status: 200
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export type putApiAlphaCommentSaveResponse400 = {
|
|
144
|
-
data: DefaultError
|
|
145
|
-
status: 400
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
export type putApiAlphaCommentSaveResponse422 = {
|
|
149
|
-
data: UnprocessableEntityResponse
|
|
150
|
-
status: 422
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export type putApiAlphaCommentSaveResponseSuccess = (putApiAlphaCommentSaveResponse200) & {
|
|
154
|
-
headers: Headers;
|
|
155
|
-
};
|
|
156
|
-
export type putApiAlphaCommentSaveResponseError = (putApiAlphaCommentSaveResponse400 | putApiAlphaCommentSaveResponse422) & {
|
|
157
|
-
headers: Headers;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
export type putApiAlphaCommentSaveResponse = (putApiAlphaCommentSaveResponseSuccess | putApiAlphaCommentSaveResponseError)
|
|
161
|
-
|
|
162
88
|
export const getPutApiAlphaCommentSaveUrl = () => {
|
|
163
89
|
|
|
164
90
|
|
|
@@ -167,9 +93,9 @@ export const getPutApiAlphaCommentSaveUrl = () => {
|
|
|
167
93
|
return `/api/alpha/comment/save`
|
|
168
94
|
}
|
|
169
95
|
|
|
170
|
-
export const putApiAlphaCommentSave = async (saveCommentRequest: SaveCommentRequest, options?: RequestInit): Promise<
|
|
96
|
+
export const putApiAlphaCommentSave = async (saveCommentRequest: SaveCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
|
|
171
97
|
|
|
172
|
-
return customFetch<
|
|
98
|
+
return customFetch<GetCommentResponse>(getPutApiAlphaCommentSaveUrl(),
|
|
173
99
|
{
|
|
174
100
|
...options,
|
|
175
101
|
method: 'PUT',
|
|
@@ -183,30 +109,6 @@ export const putApiAlphaCommentSave = async (saveCommentRequest: SaveCommentRequ
|
|
|
183
109
|
/**
|
|
184
110
|
* @summary Subscribe to a comment.
|
|
185
111
|
*/
|
|
186
|
-
export type putApiAlphaCommentSubscribeResponse200 = {
|
|
187
|
-
data: GetCommentResponse
|
|
188
|
-
status: 200
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
export type putApiAlphaCommentSubscribeResponse400 = {
|
|
192
|
-
data: DefaultError
|
|
193
|
-
status: 400
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export type putApiAlphaCommentSubscribeResponse422 = {
|
|
197
|
-
data: UnprocessableEntityResponse
|
|
198
|
-
status: 422
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
export type putApiAlphaCommentSubscribeResponseSuccess = (putApiAlphaCommentSubscribeResponse200) & {
|
|
202
|
-
headers: Headers;
|
|
203
|
-
};
|
|
204
|
-
export type putApiAlphaCommentSubscribeResponseError = (putApiAlphaCommentSubscribeResponse400 | putApiAlphaCommentSubscribeResponse422) & {
|
|
205
|
-
headers: Headers;
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
export type putApiAlphaCommentSubscribeResponse = (putApiAlphaCommentSubscribeResponseSuccess | putApiAlphaCommentSubscribeResponseError)
|
|
209
|
-
|
|
210
112
|
export const getPutApiAlphaCommentSubscribeUrl = () => {
|
|
211
113
|
|
|
212
114
|
|
|
@@ -215,9 +117,9 @@ export const getPutApiAlphaCommentSubscribeUrl = () => {
|
|
|
215
117
|
return `/api/alpha/comment/subscribe`
|
|
216
118
|
}
|
|
217
119
|
|
|
218
|
-
export const putApiAlphaCommentSubscribe = async (subscribeCommentRequest: SubscribeCommentRequest, options?: RequestInit): Promise<
|
|
120
|
+
export const putApiAlphaCommentSubscribe = async (subscribeCommentRequest: SubscribeCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
|
|
219
121
|
|
|
220
|
-
return customFetch<
|
|
122
|
+
return customFetch<GetCommentResponse>(getPutApiAlphaCommentSubscribeUrl(),
|
|
221
123
|
{
|
|
222
124
|
...options,
|
|
223
125
|
method: 'PUT',
|
|
@@ -231,35 +133,6 @@ export const putApiAlphaCommentSubscribe = async (subscribeCommentRequest: Subsc
|
|
|
231
133
|
/**
|
|
232
134
|
* @summary Create a comment.
|
|
233
135
|
*/
|
|
234
|
-
export type postApiAlphaCommentResponse200 = {
|
|
235
|
-
data: GetCommentResponse
|
|
236
|
-
status: 200
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
export type postApiAlphaCommentResponse400 = {
|
|
240
|
-
data: DefaultError
|
|
241
|
-
status: 400
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
export type postApiAlphaCommentResponse422 = {
|
|
245
|
-
data: UnprocessableEntityResponse
|
|
246
|
-
status: 422
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
export type postApiAlphaCommentResponse429 = {
|
|
250
|
-
data: DefaultError
|
|
251
|
-
status: 429
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
export type postApiAlphaCommentResponseSuccess = (postApiAlphaCommentResponse200) & {
|
|
255
|
-
headers: Headers;
|
|
256
|
-
};
|
|
257
|
-
export type postApiAlphaCommentResponseError = (postApiAlphaCommentResponse400 | postApiAlphaCommentResponse422 | postApiAlphaCommentResponse429) & {
|
|
258
|
-
headers: Headers;
|
|
259
|
-
};
|
|
260
|
-
|
|
261
|
-
export type postApiAlphaCommentResponse = (postApiAlphaCommentResponseSuccess | postApiAlphaCommentResponseError)
|
|
262
|
-
|
|
263
136
|
export const getPostApiAlphaCommentUrl = () => {
|
|
264
137
|
|
|
265
138
|
|
|
@@ -268,9 +141,9 @@ export const getPostApiAlphaCommentUrl = () => {
|
|
|
268
141
|
return `/api/alpha/comment`
|
|
269
142
|
}
|
|
270
143
|
|
|
271
|
-
export const postApiAlphaComment = async (createCommentRequest: CreateCommentRequest, options?: RequestInit): Promise<
|
|
144
|
+
export const postApiAlphaComment = async (createCommentRequest: CreateCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
|
|
272
145
|
|
|
273
|
-
return customFetch<
|
|
146
|
+
return customFetch<GetCommentResponse>(getPostApiAlphaCommentUrl(),
|
|
274
147
|
{
|
|
275
148
|
...options,
|
|
276
149
|
method: 'POST',
|
|
@@ -284,30 +157,6 @@ export const postApiAlphaComment = async (createCommentRequest: CreateCommentReq
|
|
|
284
157
|
/**
|
|
285
158
|
* @summary Edit a comment.
|
|
286
159
|
*/
|
|
287
|
-
export type putApiAlphaCommentResponse200 = {
|
|
288
|
-
data: GetCommentResponse
|
|
289
|
-
status: 200
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
export type putApiAlphaCommentResponse400 = {
|
|
293
|
-
data: DefaultError
|
|
294
|
-
status: 400
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
export type putApiAlphaCommentResponse422 = {
|
|
298
|
-
data: UnprocessableEntityResponse
|
|
299
|
-
status: 422
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
export type putApiAlphaCommentResponseSuccess = (putApiAlphaCommentResponse200) & {
|
|
303
|
-
headers: Headers;
|
|
304
|
-
};
|
|
305
|
-
export type putApiAlphaCommentResponseError = (putApiAlphaCommentResponse400 | putApiAlphaCommentResponse422) & {
|
|
306
|
-
headers: Headers;
|
|
307
|
-
};
|
|
308
|
-
|
|
309
|
-
export type putApiAlphaCommentResponse = (putApiAlphaCommentResponseSuccess | putApiAlphaCommentResponseError)
|
|
310
|
-
|
|
311
160
|
export const getPutApiAlphaCommentUrl = () => {
|
|
312
161
|
|
|
313
162
|
|
|
@@ -316,9 +165,9 @@ export const getPutApiAlphaCommentUrl = () => {
|
|
|
316
165
|
return `/api/alpha/comment`
|
|
317
166
|
}
|
|
318
167
|
|
|
319
|
-
export const putApiAlphaComment = async (editCommentRequest: EditCommentRequest, options?: RequestInit): Promise<
|
|
168
|
+
export const putApiAlphaComment = async (editCommentRequest: EditCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
|
|
320
169
|
|
|
321
|
-
return customFetch<
|
|
170
|
+
return customFetch<GetCommentResponse>(getPutApiAlphaCommentUrl(),
|
|
322
171
|
{
|
|
323
172
|
...options,
|
|
324
173
|
method: 'PUT',
|
|
@@ -332,30 +181,6 @@ export const putApiAlphaComment = async (editCommentRequest: EditCommentRequest,
|
|
|
332
181
|
/**
|
|
333
182
|
* @summary Get / fetch a comment.
|
|
334
183
|
*/
|
|
335
|
-
export type getApiAlphaCommentResponse200 = {
|
|
336
|
-
data: GetCommentResponse
|
|
337
|
-
status: 200
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
export type getApiAlphaCommentResponse400 = {
|
|
341
|
-
data: DefaultError
|
|
342
|
-
status: 400
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
export type getApiAlphaCommentResponse422 = {
|
|
346
|
-
data: UnprocessableEntityResponse
|
|
347
|
-
status: 422
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
export type getApiAlphaCommentResponseSuccess = (getApiAlphaCommentResponse200) & {
|
|
351
|
-
headers: Headers;
|
|
352
|
-
};
|
|
353
|
-
export type getApiAlphaCommentResponseError = (getApiAlphaCommentResponse400 | getApiAlphaCommentResponse422) & {
|
|
354
|
-
headers: Headers;
|
|
355
|
-
};
|
|
356
|
-
|
|
357
|
-
export type getApiAlphaCommentResponse = (getApiAlphaCommentResponseSuccess | getApiAlphaCommentResponseError)
|
|
358
|
-
|
|
359
184
|
export const getGetApiAlphaCommentUrl = (params: GetApiAlphaCommentParams,) => {
|
|
360
185
|
const normalizedParams = new URLSearchParams();
|
|
361
186
|
|
|
@@ -371,9 +196,9 @@ export const getGetApiAlphaCommentUrl = (params: GetApiAlphaCommentParams,) => {
|
|
|
371
196
|
return stringifiedParams.length > 0 ? `/api/alpha/comment?${stringifiedParams}` : `/api/alpha/comment`
|
|
372
197
|
}
|
|
373
198
|
|
|
374
|
-
export const getApiAlphaComment = async (params: GetApiAlphaCommentParams, options?: RequestInit): Promise<
|
|
199
|
+
export const getApiAlphaComment = async (params: GetApiAlphaCommentParams, options?: RequestInit): Promise<GetCommentResponse> => {
|
|
375
200
|
|
|
376
|
-
return customFetch<
|
|
201
|
+
return customFetch<GetCommentResponse>(getGetApiAlphaCommentUrl(params),
|
|
377
202
|
{
|
|
378
203
|
...options,
|
|
379
204
|
method: 'GET'
|
|
@@ -386,30 +211,6 @@ export const getApiAlphaComment = async (params: GetApiAlphaCommentParams, optio
|
|
|
386
211
|
/**
|
|
387
212
|
* @summary Delete a comment.
|
|
388
213
|
*/
|
|
389
|
-
export type postApiAlphaCommentDeleteResponse200 = {
|
|
390
|
-
data: GetCommentResponse
|
|
391
|
-
status: 200
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
export type postApiAlphaCommentDeleteResponse400 = {
|
|
395
|
-
data: DefaultError
|
|
396
|
-
status: 400
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
export type postApiAlphaCommentDeleteResponse422 = {
|
|
400
|
-
data: UnprocessableEntityResponse
|
|
401
|
-
status: 422
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
export type postApiAlphaCommentDeleteResponseSuccess = (postApiAlphaCommentDeleteResponse200) & {
|
|
405
|
-
headers: Headers;
|
|
406
|
-
};
|
|
407
|
-
export type postApiAlphaCommentDeleteResponseError = (postApiAlphaCommentDeleteResponse400 | postApiAlphaCommentDeleteResponse422) & {
|
|
408
|
-
headers: Headers;
|
|
409
|
-
};
|
|
410
|
-
|
|
411
|
-
export type postApiAlphaCommentDeleteResponse = (postApiAlphaCommentDeleteResponseSuccess | postApiAlphaCommentDeleteResponseError)
|
|
412
|
-
|
|
413
214
|
export const getPostApiAlphaCommentDeleteUrl = () => {
|
|
414
215
|
|
|
415
216
|
|
|
@@ -418,9 +219,9 @@ export const getPostApiAlphaCommentDeleteUrl = () => {
|
|
|
418
219
|
return `/api/alpha/comment/delete`
|
|
419
220
|
}
|
|
420
221
|
|
|
421
|
-
export const postApiAlphaCommentDelete = async (deleteCommentRequest: DeleteCommentRequest, options?: RequestInit): Promise<
|
|
222
|
+
export const postApiAlphaCommentDelete = async (deleteCommentRequest: DeleteCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
|
|
422
223
|
|
|
423
|
-
return customFetch<
|
|
224
|
+
return customFetch<GetCommentResponse>(getPostApiAlphaCommentDeleteUrl(),
|
|
424
225
|
{
|
|
425
226
|
...options,
|
|
426
227
|
method: 'POST',
|
|
@@ -434,30 +235,6 @@ export const postApiAlphaCommentDelete = async (deleteCommentRequest: DeleteComm
|
|
|
434
235
|
/**
|
|
435
236
|
* @summary Report a comment.
|
|
436
237
|
*/
|
|
437
|
-
export type postApiAlphaCommentReportResponse200 = {
|
|
438
|
-
data: GetCommentReportResponse
|
|
439
|
-
status: 200
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
export type postApiAlphaCommentReportResponse400 = {
|
|
443
|
-
data: DefaultError
|
|
444
|
-
status: 400
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
export type postApiAlphaCommentReportResponse422 = {
|
|
448
|
-
data: UnprocessableEntityResponse
|
|
449
|
-
status: 422
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
export type postApiAlphaCommentReportResponseSuccess = (postApiAlphaCommentReportResponse200) & {
|
|
453
|
-
headers: Headers;
|
|
454
|
-
};
|
|
455
|
-
export type postApiAlphaCommentReportResponseError = (postApiAlphaCommentReportResponse400 | postApiAlphaCommentReportResponse422) & {
|
|
456
|
-
headers: Headers;
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
export type postApiAlphaCommentReportResponse = (postApiAlphaCommentReportResponseSuccess | postApiAlphaCommentReportResponseError)
|
|
460
|
-
|
|
461
238
|
export const getPostApiAlphaCommentReportUrl = () => {
|
|
462
239
|
|
|
463
240
|
|
|
@@ -466,9 +243,9 @@ export const getPostApiAlphaCommentReportUrl = () => {
|
|
|
466
243
|
return `/api/alpha/comment/report`
|
|
467
244
|
}
|
|
468
245
|
|
|
469
|
-
export const postApiAlphaCommentReport = async (reportCommentRequest: ReportCommentRequest, options?: RequestInit): Promise<
|
|
246
|
+
export const postApiAlphaCommentReport = async (reportCommentRequest: ReportCommentRequest, options?: RequestInit): Promise<GetCommentReportResponse> => {
|
|
470
247
|
|
|
471
|
-
return customFetch<
|
|
248
|
+
return customFetch<GetCommentReportResponse>(getPostApiAlphaCommentReportUrl(),
|
|
472
249
|
{
|
|
473
250
|
...options,
|
|
474
251
|
method: 'POST',
|
|
@@ -482,30 +259,6 @@ export const postApiAlphaCommentReport = async (reportCommentRequest: ReportComm
|
|
|
482
259
|
/**
|
|
483
260
|
* @summary Remove a comment as a moderator.
|
|
484
261
|
*/
|
|
485
|
-
export type postApiAlphaCommentRemoveResponse200 = {
|
|
486
|
-
data: GetCommentResponse
|
|
487
|
-
status: 200
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
export type postApiAlphaCommentRemoveResponse400 = {
|
|
491
|
-
data: DefaultError
|
|
492
|
-
status: 400
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
export type postApiAlphaCommentRemoveResponse422 = {
|
|
496
|
-
data: UnprocessableEntityResponse
|
|
497
|
-
status: 422
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
export type postApiAlphaCommentRemoveResponseSuccess = (postApiAlphaCommentRemoveResponse200) & {
|
|
501
|
-
headers: Headers;
|
|
502
|
-
};
|
|
503
|
-
export type postApiAlphaCommentRemoveResponseError = (postApiAlphaCommentRemoveResponse400 | postApiAlphaCommentRemoveResponse422) & {
|
|
504
|
-
headers: Headers;
|
|
505
|
-
};
|
|
506
|
-
|
|
507
|
-
export type postApiAlphaCommentRemoveResponse = (postApiAlphaCommentRemoveResponseSuccess | postApiAlphaCommentRemoveResponseError)
|
|
508
|
-
|
|
509
262
|
export const getPostApiAlphaCommentRemoveUrl = () => {
|
|
510
263
|
|
|
511
264
|
|
|
@@ -514,9 +267,9 @@ export const getPostApiAlphaCommentRemoveUrl = () => {
|
|
|
514
267
|
return `/api/alpha/comment/remove`
|
|
515
268
|
}
|
|
516
269
|
|
|
517
|
-
export const postApiAlphaCommentRemove = async (removeCommentRequest: RemoveCommentRequest, options?: RequestInit): Promise<
|
|
270
|
+
export const postApiAlphaCommentRemove = async (removeCommentRequest: RemoveCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
|
|
518
271
|
|
|
519
|
-
return customFetch<
|
|
272
|
+
return customFetch<GetCommentResponse>(getPostApiAlphaCommentRemoveUrl(),
|
|
520
273
|
{
|
|
521
274
|
...options,
|
|
522
275
|
method: 'POST',
|
|
@@ -530,30 +283,6 @@ export const postApiAlphaCommentRemove = async (removeCommentRequest: RemoveComm
|
|
|
530
283
|
/**
|
|
531
284
|
* @summary Mark a comment reply as read.
|
|
532
285
|
*/
|
|
533
|
-
export type postApiAlphaCommentMarkAsReadResponse200 = {
|
|
534
|
-
data: GetCommentReplyResponse
|
|
535
|
-
status: 200
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
export type postApiAlphaCommentMarkAsReadResponse400 = {
|
|
539
|
-
data: DefaultError
|
|
540
|
-
status: 400
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
export type postApiAlphaCommentMarkAsReadResponse422 = {
|
|
544
|
-
data: UnprocessableEntityResponse
|
|
545
|
-
status: 422
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
export type postApiAlphaCommentMarkAsReadResponseSuccess = (postApiAlphaCommentMarkAsReadResponse200) & {
|
|
549
|
-
headers: Headers;
|
|
550
|
-
};
|
|
551
|
-
export type postApiAlphaCommentMarkAsReadResponseError = (postApiAlphaCommentMarkAsReadResponse400 | postApiAlphaCommentMarkAsReadResponse422) & {
|
|
552
|
-
headers: Headers;
|
|
553
|
-
};
|
|
554
|
-
|
|
555
|
-
export type postApiAlphaCommentMarkAsReadResponse = (postApiAlphaCommentMarkAsReadResponseSuccess | postApiAlphaCommentMarkAsReadResponseError)
|
|
556
|
-
|
|
557
286
|
export const getPostApiAlphaCommentMarkAsReadUrl = () => {
|
|
558
287
|
|
|
559
288
|
|
|
@@ -562,9 +291,9 @@ export const getPostApiAlphaCommentMarkAsReadUrl = () => {
|
|
|
562
291
|
return `/api/alpha/comment/mark_as_read`
|
|
563
292
|
}
|
|
564
293
|
|
|
565
|
-
export const postApiAlphaCommentMarkAsRead = async (markCommentAsReadRequest: MarkCommentAsReadRequest, options?: RequestInit): Promise<
|
|
294
|
+
export const postApiAlphaCommentMarkAsRead = async (markCommentAsReadRequest: MarkCommentAsReadRequest, options?: RequestInit): Promise<GetCommentReplyResponse> => {
|
|
566
295
|
|
|
567
|
-
return customFetch<
|
|
296
|
+
return customFetch<GetCommentReplyResponse>(getPostApiAlphaCommentMarkAsReadUrl(),
|
|
568
297
|
{
|
|
569
298
|
...options,
|
|
570
299
|
method: 'POST',
|
|
@@ -578,30 +307,6 @@ export const postApiAlphaCommentMarkAsRead = async (markCommentAsReadRequest: Ma
|
|
|
578
307
|
/**
|
|
579
308
|
* @summary Mark a comment as the preferred answer to a question.
|
|
580
309
|
*/
|
|
581
|
-
export type postApiAlphaCommentMarkAsAnswerResponse200 = {
|
|
582
|
-
data: GetCommentReplyResponse
|
|
583
|
-
status: 200
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
export type postApiAlphaCommentMarkAsAnswerResponse400 = {
|
|
587
|
-
data: DefaultError
|
|
588
|
-
status: 400
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
export type postApiAlphaCommentMarkAsAnswerResponse422 = {
|
|
592
|
-
data: UnprocessableEntityResponse
|
|
593
|
-
status: 422
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
export type postApiAlphaCommentMarkAsAnswerResponseSuccess = (postApiAlphaCommentMarkAsAnswerResponse200) & {
|
|
597
|
-
headers: Headers;
|
|
598
|
-
};
|
|
599
|
-
export type postApiAlphaCommentMarkAsAnswerResponseError = (postApiAlphaCommentMarkAsAnswerResponse400 | postApiAlphaCommentMarkAsAnswerResponse422) & {
|
|
600
|
-
headers: Headers;
|
|
601
|
-
};
|
|
602
|
-
|
|
603
|
-
export type postApiAlphaCommentMarkAsAnswerResponse = (postApiAlphaCommentMarkAsAnswerResponseSuccess | postApiAlphaCommentMarkAsAnswerResponseError)
|
|
604
|
-
|
|
605
310
|
export const getPostApiAlphaCommentMarkAsAnswerUrl = () => {
|
|
606
311
|
|
|
607
312
|
|
|
@@ -610,9 +315,9 @@ export const getPostApiAlphaCommentMarkAsAnswerUrl = () => {
|
|
|
610
315
|
return `/api/alpha/comment/mark_as_answer`
|
|
611
316
|
}
|
|
612
317
|
|
|
613
|
-
export const postApiAlphaCommentMarkAsAnswer = async (markCommentAsAnswerRequest: MarkCommentAsAnswerRequest, options?: RequestInit): Promise<
|
|
318
|
+
export const postApiAlphaCommentMarkAsAnswer = async (markCommentAsAnswerRequest: MarkCommentAsAnswerRequest, options?: RequestInit): Promise<GetCommentReplyResponse> => {
|
|
614
319
|
|
|
615
|
-
return customFetch<
|
|
320
|
+
return customFetch<GetCommentReplyResponse>(getPostApiAlphaCommentMarkAsAnswerUrl(),
|
|
616
321
|
{
|
|
617
322
|
...options,
|
|
618
323
|
method: 'POST',
|
|
@@ -626,30 +331,6 @@ export const postApiAlphaCommentMarkAsAnswer = async (markCommentAsAnswerRequest
|
|
|
626
331
|
/**
|
|
627
332
|
* @summary Lock a comment chain as a moderator.
|
|
628
333
|
*/
|
|
629
|
-
export type postApiAlphaCommentLockResponse200 = {
|
|
630
|
-
data: GetCommentResponse
|
|
631
|
-
status: 200
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
export type postApiAlphaCommentLockResponse400 = {
|
|
635
|
-
data: DefaultError
|
|
636
|
-
status: 400
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
export type postApiAlphaCommentLockResponse422 = {
|
|
640
|
-
data: UnprocessableEntityResponse
|
|
641
|
-
status: 422
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
export type postApiAlphaCommentLockResponseSuccess = (postApiAlphaCommentLockResponse200) & {
|
|
645
|
-
headers: Headers;
|
|
646
|
-
};
|
|
647
|
-
export type postApiAlphaCommentLockResponseError = (postApiAlphaCommentLockResponse400 | postApiAlphaCommentLockResponse422) & {
|
|
648
|
-
headers: Headers;
|
|
649
|
-
};
|
|
650
|
-
|
|
651
|
-
export type postApiAlphaCommentLockResponse = (postApiAlphaCommentLockResponseSuccess | postApiAlphaCommentLockResponseError)
|
|
652
|
-
|
|
653
334
|
export const getPostApiAlphaCommentLockUrl = () => {
|
|
654
335
|
|
|
655
336
|
|
|
@@ -658,9 +339,9 @@ export const getPostApiAlphaCommentLockUrl = () => {
|
|
|
658
339
|
return `/api/alpha/comment/lock`
|
|
659
340
|
}
|
|
660
341
|
|
|
661
|
-
export const postApiAlphaCommentLock = async (lockCommentRequest: LockCommentRequest, options?: RequestInit): Promise<
|
|
342
|
+
export const postApiAlphaCommentLock = async (lockCommentRequest: LockCommentRequest, options?: RequestInit): Promise<GetCommentResponse> => {
|
|
662
343
|
|
|
663
|
-
return customFetch<
|
|
344
|
+
return customFetch<GetCommentResponse>(getPostApiAlphaCommentLockUrl(),
|
|
664
345
|
{
|
|
665
346
|
...options,
|
|
666
347
|
method: 'POST',
|
|
@@ -674,30 +355,6 @@ export const postApiAlphaCommentLock = async (lockCommentRequest: LockCommentReq
|
|
|
674
355
|
/**
|
|
675
356
|
* @summary View comment votes as a moderator.
|
|
676
357
|
*/
|
|
677
|
-
export type getApiAlphaCommentLikeListResponse200 = {
|
|
678
|
-
data: ListCommentLikesResponse
|
|
679
|
-
status: 200
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
export type getApiAlphaCommentLikeListResponse400 = {
|
|
683
|
-
data: DefaultError
|
|
684
|
-
status: 400
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
export type getApiAlphaCommentLikeListResponse422 = {
|
|
688
|
-
data: UnprocessableEntityResponse
|
|
689
|
-
status: 422
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
export type getApiAlphaCommentLikeListResponseSuccess = (getApiAlphaCommentLikeListResponse200) & {
|
|
693
|
-
headers: Headers;
|
|
694
|
-
};
|
|
695
|
-
export type getApiAlphaCommentLikeListResponseError = (getApiAlphaCommentLikeListResponse400 | getApiAlphaCommentLikeListResponse422) & {
|
|
696
|
-
headers: Headers;
|
|
697
|
-
};
|
|
698
|
-
|
|
699
|
-
export type getApiAlphaCommentLikeListResponse = (getApiAlphaCommentLikeListResponseSuccess | getApiAlphaCommentLikeListResponseError)
|
|
700
|
-
|
|
701
358
|
export const getGetApiAlphaCommentLikeListUrl = (params: GetApiAlphaCommentLikeListParams,) => {
|
|
702
359
|
const normalizedParams = new URLSearchParams();
|
|
703
360
|
|
|
@@ -713,9 +370,9 @@ export const getGetApiAlphaCommentLikeListUrl = (params: GetApiAlphaCommentLikeL
|
|
|
713
370
|
return stringifiedParams.length > 0 ? `/api/alpha/comment/like/list?${stringifiedParams}` : `/api/alpha/comment/like/list`
|
|
714
371
|
}
|
|
715
372
|
|
|
716
|
-
export const getApiAlphaCommentLikeList = async (params: GetApiAlphaCommentLikeListParams, options?: RequestInit): Promise<
|
|
373
|
+
export const getApiAlphaCommentLikeList = async (params: GetApiAlphaCommentLikeListParams, options?: RequestInit): Promise<ListCommentLikesResponse> => {
|
|
717
374
|
|
|
718
|
-
return customFetch<
|
|
375
|
+
return customFetch<ListCommentLikesResponse>(getGetApiAlphaCommentLikeListUrl(params),
|
|
719
376
|
{
|
|
720
377
|
...options,
|
|
721
378
|
method: 'GET'
|