@blorp-labs/piefed-api-client 0.0.0-838220e → 0.0.0-b0dfa6b
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/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 +122 -117
- package/dist/create-client.d.ts.map +1 -1
- package/dist/create-client.js +55 -21
- package/dist/create-client.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -14
- package/dist/index.js.map +1 -1
- package/dist/mutator/custom-fetch.d.ts +5 -0
- package/dist/mutator/custom-fetch.d.ts.map +1 -1
- package/dist/mutator/custom-fetch.js +22 -3
- 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 +1 -2
- 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 +8 -10
- package/src/index.ts +1 -1
- package/src/mutator/custom-fetch.ts +16 -1
|
@@ -4,53 +4,15 @@
|
|
|
4
4
|
* PieFed 1.6 Alpha API
|
|
5
5
|
* OpenAPI spec version: alpha 1.6
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { GetApiAlphaAdminRegistrationApplicationListParams, GetRegistrationListResponse, RegistrationApproveRequest } from '../../schemas';
|
|
8
8
|
/**
|
|
9
9
|
* @summary Get the list of applications ready for admin review
|
|
10
10
|
*/
|
|
11
|
-
export type getApiAlphaAdminRegistrationApplicationListResponse200 = {
|
|
12
|
-
data: GetRegistrationListResponse;
|
|
13
|
-
status: 200;
|
|
14
|
-
};
|
|
15
|
-
export type getApiAlphaAdminRegistrationApplicationListResponse400 = {
|
|
16
|
-
data: DefaultError;
|
|
17
|
-
status: 400;
|
|
18
|
-
};
|
|
19
|
-
export type getApiAlphaAdminRegistrationApplicationListResponse422 = {
|
|
20
|
-
data: UnprocessableEntityResponse;
|
|
21
|
-
status: 422;
|
|
22
|
-
};
|
|
23
|
-
export type getApiAlphaAdminRegistrationApplicationListResponseSuccess = (getApiAlphaAdminRegistrationApplicationListResponse200) & {
|
|
24
|
-
headers: Headers;
|
|
25
|
-
};
|
|
26
|
-
export type getApiAlphaAdminRegistrationApplicationListResponseError = (getApiAlphaAdminRegistrationApplicationListResponse400 | getApiAlphaAdminRegistrationApplicationListResponse422) & {
|
|
27
|
-
headers: Headers;
|
|
28
|
-
};
|
|
29
|
-
export type getApiAlphaAdminRegistrationApplicationListResponse = (getApiAlphaAdminRegistrationApplicationListResponseSuccess | getApiAlphaAdminRegistrationApplicationListResponseError);
|
|
30
11
|
export declare const getGetApiAlphaAdminRegistrationApplicationListUrl: (params?: GetApiAlphaAdminRegistrationApplicationListParams) => string;
|
|
31
|
-
export declare const getApiAlphaAdminRegistrationApplicationList: (params?: GetApiAlphaAdminRegistrationApplicationListParams, options?: RequestInit) => Promise<
|
|
12
|
+
export declare const getApiAlphaAdminRegistrationApplicationList: (params?: GetApiAlphaAdminRegistrationApplicationListParams, options?: RequestInit) => Promise<GetRegistrationListResponse>;
|
|
32
13
|
/**
|
|
33
14
|
* @summary Approve or deny a registration
|
|
34
15
|
*/
|
|
35
|
-
export type putApiAlphaAdminRegistrationApplicationApproveResponse200 = {
|
|
36
|
-
data: void;
|
|
37
|
-
status: 200;
|
|
38
|
-
};
|
|
39
|
-
export type putApiAlphaAdminRegistrationApplicationApproveResponse400 = {
|
|
40
|
-
data: DefaultError;
|
|
41
|
-
status: 400;
|
|
42
|
-
};
|
|
43
|
-
export type putApiAlphaAdminRegistrationApplicationApproveResponse422 = {
|
|
44
|
-
data: UnprocessableEntityResponse;
|
|
45
|
-
status: 422;
|
|
46
|
-
};
|
|
47
|
-
export type putApiAlphaAdminRegistrationApplicationApproveResponseSuccess = (putApiAlphaAdminRegistrationApplicationApproveResponse200) & {
|
|
48
|
-
headers: Headers;
|
|
49
|
-
};
|
|
50
|
-
export type putApiAlphaAdminRegistrationApplicationApproveResponseError = (putApiAlphaAdminRegistrationApplicationApproveResponse400 | putApiAlphaAdminRegistrationApplicationApproveResponse422) & {
|
|
51
|
-
headers: Headers;
|
|
52
|
-
};
|
|
53
|
-
export type putApiAlphaAdminRegistrationApplicationApproveResponse = (putApiAlphaAdminRegistrationApplicationApproveResponseSuccess | putApiAlphaAdminRegistrationApplicationApproveResponseError);
|
|
54
16
|
export declare const getPutApiAlphaAdminRegistrationApplicationApproveUrl: () => string;
|
|
55
|
-
export declare const putApiAlphaAdminRegistrationApplicationApprove: (registrationApproveRequest: RegistrationApproveRequest, options?: RequestInit) => Promise<
|
|
17
|
+
export declare const putApiAlphaAdminRegistrationApplicationApprove: (registrationApproveRequest: RegistrationApproveRequest, options?: RequestInit) => Promise<void>;
|
|
56
18
|
//# sourceMappingURL=admin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/client/admin/admin.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/client/admin/admin.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EACV,iDAAiD,EACjD,2BAA2B,EAC3B,0BAA0B,EAC3B,MAAM,eAAe,CAAC;AAIvB;;GAEG;AACH,eAAO,MAAM,iDAAiD,GAAI,SAAS,iDAAiD,WAa3H,CAAA;AAED,eAAO,MAAM,2CAA2C,GAAU,SAAS,iDAAiD,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,2BAA2B,CAStL,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,oDAAoD,cAMhE,CAAA;AAED,eAAO,MAAM,8CAA8C,GAAU,4BAA4B,0BAA0B,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,IAAI,CAU9J,CAAA"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.putApiAlphaAdminRegistrationApplicationApprove = exports.getPutApiAlphaAdminRegistrationApplicationApproveUrl = exports.getApiAlphaAdminRegistrationApplicationList = exports.getGetApiAlphaAdminRegistrationApplicationListUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../mutator/custom-fetch");
|
|
5
|
+
/**
|
|
6
|
+
* @summary Get the list of applications ready for admin review
|
|
7
|
+
*/
|
|
8
|
+
const getGetApiAlphaAdminRegistrationApplicationListUrl = (params) => {
|
|
3
9
|
const normalizedParams = new URLSearchParams();
|
|
4
10
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
5
11
|
if (value !== undefined) {
|
|
@@ -9,21 +15,28 @@ export const getGetApiAlphaAdminRegistrationApplicationListUrl = (params) => {
|
|
|
9
15
|
const stringifiedParams = normalizedParams.toString();
|
|
10
16
|
return stringifiedParams.length > 0 ? `/api/alpha/admin/registration_application/list?${stringifiedParams}` : `/api/alpha/admin/registration_application/list`;
|
|
11
17
|
};
|
|
12
|
-
|
|
13
|
-
|
|
18
|
+
exports.getGetApiAlphaAdminRegistrationApplicationListUrl = getGetApiAlphaAdminRegistrationApplicationListUrl;
|
|
19
|
+
const getApiAlphaAdminRegistrationApplicationList = async (params, options) => {
|
|
20
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getGetApiAlphaAdminRegistrationApplicationListUrl)(params), {
|
|
14
21
|
...options,
|
|
15
22
|
method: 'GET'
|
|
16
23
|
});
|
|
17
24
|
};
|
|
18
|
-
|
|
25
|
+
exports.getApiAlphaAdminRegistrationApplicationList = getApiAlphaAdminRegistrationApplicationList;
|
|
26
|
+
/**
|
|
27
|
+
* @summary Approve or deny a registration
|
|
28
|
+
*/
|
|
29
|
+
const getPutApiAlphaAdminRegistrationApplicationApproveUrl = () => {
|
|
19
30
|
return `/api/alpha/admin/registration_application/approve`;
|
|
20
31
|
};
|
|
21
|
-
|
|
22
|
-
|
|
32
|
+
exports.getPutApiAlphaAdminRegistrationApplicationApproveUrl = getPutApiAlphaAdminRegistrationApplicationApproveUrl;
|
|
33
|
+
const putApiAlphaAdminRegistrationApplicationApprove = async (registrationApproveRequest, options) => {
|
|
34
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getPutApiAlphaAdminRegistrationApplicationApproveUrl)(), {
|
|
23
35
|
...options,
|
|
24
36
|
method: 'PUT',
|
|
25
37
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
26
38
|
body: JSON.stringify(registrationApproveRequest)
|
|
27
39
|
});
|
|
28
40
|
};
|
|
41
|
+
exports.putApiAlphaAdminRegistrationApplicationApprove = putApiAlphaAdminRegistrationApplicationApprove;
|
|
29
42
|
//# sourceMappingURL=admin.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/client/admin/admin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/client/admin/admin.ts"],"names":[],"mappings":";;;AAYA,6DAAyD;AAEzD;;GAEG;AACI,MAAM,iDAAiD,GAAG,CAAC,MAA0D,EAAG,EAAE;IAC/H,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAEpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC1E,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kDAAkD,iBAAiB,EAAE,CAAC,CAAC,CAAC,gDAAgD,CAAA;AAChK,CAAC,CAAA;AAbY,QAAA,iDAAiD,qDAa7D;AAEM,MAAM,2CAA2C,GAAG,KAAK,EAAE,MAA0D,EAAE,OAAqB,EAAwC,EAAE;IAE3L,OAAO,IAAA,0BAAW,EAA8B,IAAA,yDAAiD,EAAC,MAAM,CAAC,EACzG;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AATU,QAAA,2CAA2C,+CASrD;AAGH;;GAEG;AACI,MAAM,oDAAoD,GAAG,GAAG,EAAE;IAKvE,OAAO,mDAAmD,CAAA;AAC5D,CAAC,CAAA;AANY,QAAA,oDAAoD,wDAMhE;AAEM,MAAM,8CAA8C,GAAG,KAAK,EAAE,0BAAsD,EAAE,OAAqB,EAAiB,EAAE;IAEnK,OAAO,IAAA,0BAAW,EAAO,IAAA,4DAAoD,GAAE,EAC/E;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;QACb,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB,0BAA0B,CAAE;KAC/B,CACF,CAAC;AAAA,CAAC,CAAA;AAVU,QAAA,8CAA8C,kDAUxD"}
|
|
@@ -4,345 +4,75 @@
|
|
|
4
4
|
* PieFed 1.6 Alpha API
|
|
5
5
|
* OpenAPI spec version: alpha 1.6
|
|
6
6
|
*/
|
|
7
|
-
import type { CreateCommentRequest,
|
|
7
|
+
import type { CreateCommentRequest, DeleteCommentRequest, EditCommentRequest, GetApiAlphaCommentLikeListParams, GetApiAlphaCommentListParams, GetApiAlphaCommentParams, GetCommentReplyResponse, GetCommentReportResponse, GetCommentResponse, LikeCommentRequest, ListCommentLikesResponse, ListCommentsResponse, LockCommentRequest, MarkCommentAsAnswerRequest, MarkCommentAsReadRequest, RemoveCommentRequest, ReportCommentRequest, SaveCommentRequest, SubscribeCommentRequest } from '../../schemas';
|
|
8
8
|
/**
|
|
9
9
|
* @summary List comments, with various filters.
|
|
10
10
|
*/
|
|
11
|
-
export type getApiAlphaCommentListResponse200 = {
|
|
12
|
-
data: ListCommentsResponse;
|
|
13
|
-
status: 200;
|
|
14
|
-
};
|
|
15
|
-
export type getApiAlphaCommentListResponse400 = {
|
|
16
|
-
data: DefaultError;
|
|
17
|
-
status: 400;
|
|
18
|
-
};
|
|
19
|
-
export type getApiAlphaCommentListResponse422 = {
|
|
20
|
-
data: UnprocessableEntityResponse;
|
|
21
|
-
status: 422;
|
|
22
|
-
};
|
|
23
|
-
export type getApiAlphaCommentListResponseSuccess = (getApiAlphaCommentListResponse200) & {
|
|
24
|
-
headers: Headers;
|
|
25
|
-
};
|
|
26
|
-
export type getApiAlphaCommentListResponseError = (getApiAlphaCommentListResponse400 | getApiAlphaCommentListResponse422) & {
|
|
27
|
-
headers: Headers;
|
|
28
|
-
};
|
|
29
|
-
export type getApiAlphaCommentListResponse = (getApiAlphaCommentListResponseSuccess | getApiAlphaCommentListResponseError);
|
|
30
11
|
export declare const getGetApiAlphaCommentListUrl: (params?: GetApiAlphaCommentListParams) => string;
|
|
31
|
-
export declare const getApiAlphaCommentList: (params?: GetApiAlphaCommentListParams, options?: RequestInit) => Promise<
|
|
12
|
+
export declare const getApiAlphaCommentList: (params?: GetApiAlphaCommentListParams, options?: RequestInit) => Promise<ListCommentsResponse>;
|
|
32
13
|
/**
|
|
33
14
|
* @summary Like / vote on a comment.
|
|
34
15
|
*/
|
|
35
|
-
export type postApiAlphaCommentLikeResponse200 = {
|
|
36
|
-
data: GetCommentResponse;
|
|
37
|
-
status: 200;
|
|
38
|
-
};
|
|
39
|
-
export type postApiAlphaCommentLikeResponse400 = {
|
|
40
|
-
data: DefaultError;
|
|
41
|
-
status: 400;
|
|
42
|
-
};
|
|
43
|
-
export type postApiAlphaCommentLikeResponse422 = {
|
|
44
|
-
data: UnprocessableEntityResponse;
|
|
45
|
-
status: 422;
|
|
46
|
-
};
|
|
47
|
-
export type postApiAlphaCommentLikeResponseSuccess = (postApiAlphaCommentLikeResponse200) & {
|
|
48
|
-
headers: Headers;
|
|
49
|
-
};
|
|
50
|
-
export type postApiAlphaCommentLikeResponseError = (postApiAlphaCommentLikeResponse400 | postApiAlphaCommentLikeResponse422) & {
|
|
51
|
-
headers: Headers;
|
|
52
|
-
};
|
|
53
|
-
export type postApiAlphaCommentLikeResponse = (postApiAlphaCommentLikeResponseSuccess | postApiAlphaCommentLikeResponseError);
|
|
54
16
|
export declare const getPostApiAlphaCommentLikeUrl: () => string;
|
|
55
|
-
export declare const postApiAlphaCommentLike: (likeCommentRequest: LikeCommentRequest, options?: RequestInit) => Promise<
|
|
17
|
+
export declare const postApiAlphaCommentLike: (likeCommentRequest: LikeCommentRequest, options?: RequestInit) => Promise<GetCommentResponse>;
|
|
56
18
|
/**
|
|
57
19
|
* @summary Save a comment.
|
|
58
20
|
*/
|
|
59
|
-
export type putApiAlphaCommentSaveResponse200 = {
|
|
60
|
-
data: GetCommentResponse;
|
|
61
|
-
status: 200;
|
|
62
|
-
};
|
|
63
|
-
export type putApiAlphaCommentSaveResponse400 = {
|
|
64
|
-
data: DefaultError;
|
|
65
|
-
status: 400;
|
|
66
|
-
};
|
|
67
|
-
export type putApiAlphaCommentSaveResponse422 = {
|
|
68
|
-
data: UnprocessableEntityResponse;
|
|
69
|
-
status: 422;
|
|
70
|
-
};
|
|
71
|
-
export type putApiAlphaCommentSaveResponseSuccess = (putApiAlphaCommentSaveResponse200) & {
|
|
72
|
-
headers: Headers;
|
|
73
|
-
};
|
|
74
|
-
export type putApiAlphaCommentSaveResponseError = (putApiAlphaCommentSaveResponse400 | putApiAlphaCommentSaveResponse422) & {
|
|
75
|
-
headers: Headers;
|
|
76
|
-
};
|
|
77
|
-
export type putApiAlphaCommentSaveResponse = (putApiAlphaCommentSaveResponseSuccess | putApiAlphaCommentSaveResponseError);
|
|
78
21
|
export declare const getPutApiAlphaCommentSaveUrl: () => string;
|
|
79
|
-
export declare const putApiAlphaCommentSave: (saveCommentRequest: SaveCommentRequest, options?: RequestInit) => Promise<
|
|
22
|
+
export declare const putApiAlphaCommentSave: (saveCommentRequest: SaveCommentRequest, options?: RequestInit) => Promise<GetCommentResponse>;
|
|
80
23
|
/**
|
|
81
24
|
* @summary Subscribe to a comment.
|
|
82
25
|
*/
|
|
83
|
-
export type putApiAlphaCommentSubscribeResponse200 = {
|
|
84
|
-
data: GetCommentResponse;
|
|
85
|
-
status: 200;
|
|
86
|
-
};
|
|
87
|
-
export type putApiAlphaCommentSubscribeResponse400 = {
|
|
88
|
-
data: DefaultError;
|
|
89
|
-
status: 400;
|
|
90
|
-
};
|
|
91
|
-
export type putApiAlphaCommentSubscribeResponse422 = {
|
|
92
|
-
data: UnprocessableEntityResponse;
|
|
93
|
-
status: 422;
|
|
94
|
-
};
|
|
95
|
-
export type putApiAlphaCommentSubscribeResponseSuccess = (putApiAlphaCommentSubscribeResponse200) & {
|
|
96
|
-
headers: Headers;
|
|
97
|
-
};
|
|
98
|
-
export type putApiAlphaCommentSubscribeResponseError = (putApiAlphaCommentSubscribeResponse400 | putApiAlphaCommentSubscribeResponse422) & {
|
|
99
|
-
headers: Headers;
|
|
100
|
-
};
|
|
101
|
-
export type putApiAlphaCommentSubscribeResponse = (putApiAlphaCommentSubscribeResponseSuccess | putApiAlphaCommentSubscribeResponseError);
|
|
102
26
|
export declare const getPutApiAlphaCommentSubscribeUrl: () => string;
|
|
103
|
-
export declare const putApiAlphaCommentSubscribe: (subscribeCommentRequest: SubscribeCommentRequest, options?: RequestInit) => Promise<
|
|
27
|
+
export declare const putApiAlphaCommentSubscribe: (subscribeCommentRequest: SubscribeCommentRequest, options?: RequestInit) => Promise<GetCommentResponse>;
|
|
104
28
|
/**
|
|
105
29
|
* @summary Create a comment.
|
|
106
30
|
*/
|
|
107
|
-
export type postApiAlphaCommentResponse200 = {
|
|
108
|
-
data: GetCommentResponse;
|
|
109
|
-
status: 200;
|
|
110
|
-
};
|
|
111
|
-
export type postApiAlphaCommentResponse400 = {
|
|
112
|
-
data: DefaultError;
|
|
113
|
-
status: 400;
|
|
114
|
-
};
|
|
115
|
-
export type postApiAlphaCommentResponse422 = {
|
|
116
|
-
data: UnprocessableEntityResponse;
|
|
117
|
-
status: 422;
|
|
118
|
-
};
|
|
119
|
-
export type postApiAlphaCommentResponse429 = {
|
|
120
|
-
data: DefaultError;
|
|
121
|
-
status: 429;
|
|
122
|
-
};
|
|
123
|
-
export type postApiAlphaCommentResponseSuccess = (postApiAlphaCommentResponse200) & {
|
|
124
|
-
headers: Headers;
|
|
125
|
-
};
|
|
126
|
-
export type postApiAlphaCommentResponseError = (postApiAlphaCommentResponse400 | postApiAlphaCommentResponse422 | postApiAlphaCommentResponse429) & {
|
|
127
|
-
headers: Headers;
|
|
128
|
-
};
|
|
129
|
-
export type postApiAlphaCommentResponse = (postApiAlphaCommentResponseSuccess | postApiAlphaCommentResponseError);
|
|
130
31
|
export declare const getPostApiAlphaCommentUrl: () => string;
|
|
131
|
-
export declare const postApiAlphaComment: (createCommentRequest: CreateCommentRequest, options?: RequestInit) => Promise<
|
|
32
|
+
export declare const postApiAlphaComment: (createCommentRequest: CreateCommentRequest, options?: RequestInit) => Promise<GetCommentResponse>;
|
|
132
33
|
/**
|
|
133
34
|
* @summary Edit a comment.
|
|
134
35
|
*/
|
|
135
|
-
export type putApiAlphaCommentResponse200 = {
|
|
136
|
-
data: GetCommentResponse;
|
|
137
|
-
status: 200;
|
|
138
|
-
};
|
|
139
|
-
export type putApiAlphaCommentResponse400 = {
|
|
140
|
-
data: DefaultError;
|
|
141
|
-
status: 400;
|
|
142
|
-
};
|
|
143
|
-
export type putApiAlphaCommentResponse422 = {
|
|
144
|
-
data: UnprocessableEntityResponse;
|
|
145
|
-
status: 422;
|
|
146
|
-
};
|
|
147
|
-
export type putApiAlphaCommentResponseSuccess = (putApiAlphaCommentResponse200) & {
|
|
148
|
-
headers: Headers;
|
|
149
|
-
};
|
|
150
|
-
export type putApiAlphaCommentResponseError = (putApiAlphaCommentResponse400 | putApiAlphaCommentResponse422) & {
|
|
151
|
-
headers: Headers;
|
|
152
|
-
};
|
|
153
|
-
export type putApiAlphaCommentResponse = (putApiAlphaCommentResponseSuccess | putApiAlphaCommentResponseError);
|
|
154
36
|
export declare const getPutApiAlphaCommentUrl: () => string;
|
|
155
|
-
export declare const putApiAlphaComment: (editCommentRequest: EditCommentRequest, options?: RequestInit) => Promise<
|
|
37
|
+
export declare const putApiAlphaComment: (editCommentRequest: EditCommentRequest, options?: RequestInit) => Promise<GetCommentResponse>;
|
|
156
38
|
/**
|
|
157
39
|
* @summary Get / fetch a comment.
|
|
158
40
|
*/
|
|
159
|
-
export type getApiAlphaCommentResponse200 = {
|
|
160
|
-
data: GetCommentResponse;
|
|
161
|
-
status: 200;
|
|
162
|
-
};
|
|
163
|
-
export type getApiAlphaCommentResponse400 = {
|
|
164
|
-
data: DefaultError;
|
|
165
|
-
status: 400;
|
|
166
|
-
};
|
|
167
|
-
export type getApiAlphaCommentResponse422 = {
|
|
168
|
-
data: UnprocessableEntityResponse;
|
|
169
|
-
status: 422;
|
|
170
|
-
};
|
|
171
|
-
export type getApiAlphaCommentResponseSuccess = (getApiAlphaCommentResponse200) & {
|
|
172
|
-
headers: Headers;
|
|
173
|
-
};
|
|
174
|
-
export type getApiAlphaCommentResponseError = (getApiAlphaCommentResponse400 | getApiAlphaCommentResponse422) & {
|
|
175
|
-
headers: Headers;
|
|
176
|
-
};
|
|
177
|
-
export type getApiAlphaCommentResponse = (getApiAlphaCommentResponseSuccess | getApiAlphaCommentResponseError);
|
|
178
41
|
export declare const getGetApiAlphaCommentUrl: (params: GetApiAlphaCommentParams) => string;
|
|
179
|
-
export declare const getApiAlphaComment: (params: GetApiAlphaCommentParams, options?: RequestInit) => Promise<
|
|
42
|
+
export declare const getApiAlphaComment: (params: GetApiAlphaCommentParams, options?: RequestInit) => Promise<GetCommentResponse>;
|
|
180
43
|
/**
|
|
181
44
|
* @summary Delete a comment.
|
|
182
45
|
*/
|
|
183
|
-
export type postApiAlphaCommentDeleteResponse200 = {
|
|
184
|
-
data: GetCommentResponse;
|
|
185
|
-
status: 200;
|
|
186
|
-
};
|
|
187
|
-
export type postApiAlphaCommentDeleteResponse400 = {
|
|
188
|
-
data: DefaultError;
|
|
189
|
-
status: 400;
|
|
190
|
-
};
|
|
191
|
-
export type postApiAlphaCommentDeleteResponse422 = {
|
|
192
|
-
data: UnprocessableEntityResponse;
|
|
193
|
-
status: 422;
|
|
194
|
-
};
|
|
195
|
-
export type postApiAlphaCommentDeleteResponseSuccess = (postApiAlphaCommentDeleteResponse200) & {
|
|
196
|
-
headers: Headers;
|
|
197
|
-
};
|
|
198
|
-
export type postApiAlphaCommentDeleteResponseError = (postApiAlphaCommentDeleteResponse400 | postApiAlphaCommentDeleteResponse422) & {
|
|
199
|
-
headers: Headers;
|
|
200
|
-
};
|
|
201
|
-
export type postApiAlphaCommentDeleteResponse = (postApiAlphaCommentDeleteResponseSuccess | postApiAlphaCommentDeleteResponseError);
|
|
202
46
|
export declare const getPostApiAlphaCommentDeleteUrl: () => string;
|
|
203
|
-
export declare const postApiAlphaCommentDelete: (deleteCommentRequest: DeleteCommentRequest, options?: RequestInit) => Promise<
|
|
47
|
+
export declare const postApiAlphaCommentDelete: (deleteCommentRequest: DeleteCommentRequest, options?: RequestInit) => Promise<GetCommentResponse>;
|
|
204
48
|
/**
|
|
205
49
|
* @summary Report a comment.
|
|
206
50
|
*/
|
|
207
|
-
export type postApiAlphaCommentReportResponse200 = {
|
|
208
|
-
data: GetCommentReportResponse;
|
|
209
|
-
status: 200;
|
|
210
|
-
};
|
|
211
|
-
export type postApiAlphaCommentReportResponse400 = {
|
|
212
|
-
data: DefaultError;
|
|
213
|
-
status: 400;
|
|
214
|
-
};
|
|
215
|
-
export type postApiAlphaCommentReportResponse422 = {
|
|
216
|
-
data: UnprocessableEntityResponse;
|
|
217
|
-
status: 422;
|
|
218
|
-
};
|
|
219
|
-
export type postApiAlphaCommentReportResponseSuccess = (postApiAlphaCommentReportResponse200) & {
|
|
220
|
-
headers: Headers;
|
|
221
|
-
};
|
|
222
|
-
export type postApiAlphaCommentReportResponseError = (postApiAlphaCommentReportResponse400 | postApiAlphaCommentReportResponse422) & {
|
|
223
|
-
headers: Headers;
|
|
224
|
-
};
|
|
225
|
-
export type postApiAlphaCommentReportResponse = (postApiAlphaCommentReportResponseSuccess | postApiAlphaCommentReportResponseError);
|
|
226
51
|
export declare const getPostApiAlphaCommentReportUrl: () => string;
|
|
227
|
-
export declare const postApiAlphaCommentReport: (reportCommentRequest: ReportCommentRequest, options?: RequestInit) => Promise<
|
|
52
|
+
export declare const postApiAlphaCommentReport: (reportCommentRequest: ReportCommentRequest, options?: RequestInit) => Promise<GetCommentReportResponse>;
|
|
228
53
|
/**
|
|
229
54
|
* @summary Remove a comment as a moderator.
|
|
230
55
|
*/
|
|
231
|
-
export type postApiAlphaCommentRemoveResponse200 = {
|
|
232
|
-
data: GetCommentResponse;
|
|
233
|
-
status: 200;
|
|
234
|
-
};
|
|
235
|
-
export type postApiAlphaCommentRemoveResponse400 = {
|
|
236
|
-
data: DefaultError;
|
|
237
|
-
status: 400;
|
|
238
|
-
};
|
|
239
|
-
export type postApiAlphaCommentRemoveResponse422 = {
|
|
240
|
-
data: UnprocessableEntityResponse;
|
|
241
|
-
status: 422;
|
|
242
|
-
};
|
|
243
|
-
export type postApiAlphaCommentRemoveResponseSuccess = (postApiAlphaCommentRemoveResponse200) & {
|
|
244
|
-
headers: Headers;
|
|
245
|
-
};
|
|
246
|
-
export type postApiAlphaCommentRemoveResponseError = (postApiAlphaCommentRemoveResponse400 | postApiAlphaCommentRemoveResponse422) & {
|
|
247
|
-
headers: Headers;
|
|
248
|
-
};
|
|
249
|
-
export type postApiAlphaCommentRemoveResponse = (postApiAlphaCommentRemoveResponseSuccess | postApiAlphaCommentRemoveResponseError);
|
|
250
56
|
export declare const getPostApiAlphaCommentRemoveUrl: () => string;
|
|
251
|
-
export declare const postApiAlphaCommentRemove: (removeCommentRequest: RemoveCommentRequest, options?: RequestInit) => Promise<
|
|
57
|
+
export declare const postApiAlphaCommentRemove: (removeCommentRequest: RemoveCommentRequest, options?: RequestInit) => Promise<GetCommentResponse>;
|
|
252
58
|
/**
|
|
253
59
|
* @summary Mark a comment reply as read.
|
|
254
60
|
*/
|
|
255
|
-
export type postApiAlphaCommentMarkAsReadResponse200 = {
|
|
256
|
-
data: GetCommentReplyResponse;
|
|
257
|
-
status: 200;
|
|
258
|
-
};
|
|
259
|
-
export type postApiAlphaCommentMarkAsReadResponse400 = {
|
|
260
|
-
data: DefaultError;
|
|
261
|
-
status: 400;
|
|
262
|
-
};
|
|
263
|
-
export type postApiAlphaCommentMarkAsReadResponse422 = {
|
|
264
|
-
data: UnprocessableEntityResponse;
|
|
265
|
-
status: 422;
|
|
266
|
-
};
|
|
267
|
-
export type postApiAlphaCommentMarkAsReadResponseSuccess = (postApiAlphaCommentMarkAsReadResponse200) & {
|
|
268
|
-
headers: Headers;
|
|
269
|
-
};
|
|
270
|
-
export type postApiAlphaCommentMarkAsReadResponseError = (postApiAlphaCommentMarkAsReadResponse400 | postApiAlphaCommentMarkAsReadResponse422) & {
|
|
271
|
-
headers: Headers;
|
|
272
|
-
};
|
|
273
|
-
export type postApiAlphaCommentMarkAsReadResponse = (postApiAlphaCommentMarkAsReadResponseSuccess | postApiAlphaCommentMarkAsReadResponseError);
|
|
274
61
|
export declare const getPostApiAlphaCommentMarkAsReadUrl: () => string;
|
|
275
|
-
export declare const postApiAlphaCommentMarkAsRead: (markCommentAsReadRequest: MarkCommentAsReadRequest, options?: RequestInit) => Promise<
|
|
62
|
+
export declare const postApiAlphaCommentMarkAsRead: (markCommentAsReadRequest: MarkCommentAsReadRequest, options?: RequestInit) => Promise<GetCommentReplyResponse>;
|
|
276
63
|
/**
|
|
277
64
|
* @summary Mark a comment as the preferred answer to a question.
|
|
278
65
|
*/
|
|
279
|
-
export type postApiAlphaCommentMarkAsAnswerResponse200 = {
|
|
280
|
-
data: GetCommentReplyResponse;
|
|
281
|
-
status: 200;
|
|
282
|
-
};
|
|
283
|
-
export type postApiAlphaCommentMarkAsAnswerResponse400 = {
|
|
284
|
-
data: DefaultError;
|
|
285
|
-
status: 400;
|
|
286
|
-
};
|
|
287
|
-
export type postApiAlphaCommentMarkAsAnswerResponse422 = {
|
|
288
|
-
data: UnprocessableEntityResponse;
|
|
289
|
-
status: 422;
|
|
290
|
-
};
|
|
291
|
-
export type postApiAlphaCommentMarkAsAnswerResponseSuccess = (postApiAlphaCommentMarkAsAnswerResponse200) & {
|
|
292
|
-
headers: Headers;
|
|
293
|
-
};
|
|
294
|
-
export type postApiAlphaCommentMarkAsAnswerResponseError = (postApiAlphaCommentMarkAsAnswerResponse400 | postApiAlphaCommentMarkAsAnswerResponse422) & {
|
|
295
|
-
headers: Headers;
|
|
296
|
-
};
|
|
297
|
-
export type postApiAlphaCommentMarkAsAnswerResponse = (postApiAlphaCommentMarkAsAnswerResponseSuccess | postApiAlphaCommentMarkAsAnswerResponseError);
|
|
298
66
|
export declare const getPostApiAlphaCommentMarkAsAnswerUrl: () => string;
|
|
299
|
-
export declare const postApiAlphaCommentMarkAsAnswer: (markCommentAsAnswerRequest: MarkCommentAsAnswerRequest, options?: RequestInit) => Promise<
|
|
67
|
+
export declare const postApiAlphaCommentMarkAsAnswer: (markCommentAsAnswerRequest: MarkCommentAsAnswerRequest, options?: RequestInit) => Promise<GetCommentReplyResponse>;
|
|
300
68
|
/**
|
|
301
69
|
* @summary Lock a comment chain as a moderator.
|
|
302
70
|
*/
|
|
303
|
-
export type postApiAlphaCommentLockResponse200 = {
|
|
304
|
-
data: GetCommentResponse;
|
|
305
|
-
status: 200;
|
|
306
|
-
};
|
|
307
|
-
export type postApiAlphaCommentLockResponse400 = {
|
|
308
|
-
data: DefaultError;
|
|
309
|
-
status: 400;
|
|
310
|
-
};
|
|
311
|
-
export type postApiAlphaCommentLockResponse422 = {
|
|
312
|
-
data: UnprocessableEntityResponse;
|
|
313
|
-
status: 422;
|
|
314
|
-
};
|
|
315
|
-
export type postApiAlphaCommentLockResponseSuccess = (postApiAlphaCommentLockResponse200) & {
|
|
316
|
-
headers: Headers;
|
|
317
|
-
};
|
|
318
|
-
export type postApiAlphaCommentLockResponseError = (postApiAlphaCommentLockResponse400 | postApiAlphaCommentLockResponse422) & {
|
|
319
|
-
headers: Headers;
|
|
320
|
-
};
|
|
321
|
-
export type postApiAlphaCommentLockResponse = (postApiAlphaCommentLockResponseSuccess | postApiAlphaCommentLockResponseError);
|
|
322
71
|
export declare const getPostApiAlphaCommentLockUrl: () => string;
|
|
323
|
-
export declare const postApiAlphaCommentLock: (lockCommentRequest: LockCommentRequest, options?: RequestInit) => Promise<
|
|
72
|
+
export declare const postApiAlphaCommentLock: (lockCommentRequest: LockCommentRequest, options?: RequestInit) => Promise<GetCommentResponse>;
|
|
324
73
|
/**
|
|
325
74
|
* @summary View comment votes as a moderator.
|
|
326
75
|
*/
|
|
327
|
-
export type getApiAlphaCommentLikeListResponse200 = {
|
|
328
|
-
data: ListCommentLikesResponse;
|
|
329
|
-
status: 200;
|
|
330
|
-
};
|
|
331
|
-
export type getApiAlphaCommentLikeListResponse400 = {
|
|
332
|
-
data: DefaultError;
|
|
333
|
-
status: 400;
|
|
334
|
-
};
|
|
335
|
-
export type getApiAlphaCommentLikeListResponse422 = {
|
|
336
|
-
data: UnprocessableEntityResponse;
|
|
337
|
-
status: 422;
|
|
338
|
-
};
|
|
339
|
-
export type getApiAlphaCommentLikeListResponseSuccess = (getApiAlphaCommentLikeListResponse200) & {
|
|
340
|
-
headers: Headers;
|
|
341
|
-
};
|
|
342
|
-
export type getApiAlphaCommentLikeListResponseError = (getApiAlphaCommentLikeListResponse400 | getApiAlphaCommentLikeListResponse422) & {
|
|
343
|
-
headers: Headers;
|
|
344
|
-
};
|
|
345
|
-
export type getApiAlphaCommentLikeListResponse = (getApiAlphaCommentLikeListResponseSuccess | getApiAlphaCommentLikeListResponseError);
|
|
346
76
|
export declare const getGetApiAlphaCommentLikeListUrl: (params: GetApiAlphaCommentLikeListParams) => string;
|
|
347
|
-
export declare const getApiAlphaCommentLikeList: (params: GetApiAlphaCommentLikeListParams, options?: RequestInit) => Promise<
|
|
77
|
+
export declare const getApiAlphaCommentLikeList: (params: GetApiAlphaCommentLikeListParams, options?: RequestInit) => Promise<ListCommentLikesResponse>;
|
|
348
78
|
//# sourceMappingURL=comment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/client/comment/comment.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EACV,oBAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/client/comment/comment.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,gCAAgC,EAChC,4BAA4B,EAC5B,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,0BAA0B,EAC1B,wBAAwB,EACxB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,eAAe,CAAC;AAIvB;;GAEG;AACH,eAAO,MAAM,4BAA4B,GAAI,SAAS,4BAA4B,WAajF,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAU,SAAS,4BAA4B,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,oBAAoB,CASrI,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,6BAA6B,cAMzC,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAU,oBAAoB,kBAAkB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,kBAAkB,CAUrI,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,4BAA4B,cAMxC,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAU,oBAAoB,kBAAkB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,kBAAkB,CAUpI,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,iCAAiC,cAM7C,CAAA;AAED,eAAO,MAAM,2BAA2B,GAAU,yBAAyB,uBAAuB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,kBAAkB,CAUnJ,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,yBAAyB,cAMrC,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAU,sBAAsB,oBAAoB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,kBAAkB,CAUrI,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,wBAAwB,cAMpC,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAU,oBAAoB,kBAAkB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,kBAAkB,CAUhI,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAAI,QAAQ,wBAAwB,WAaxE,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAU,QAAQ,wBAAwB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,kBAAkB,CAS1H,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,+BAA+B,cAM3C,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAU,sBAAsB,oBAAoB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,kBAAkB,CAU3I,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,+BAA+B,cAM3C,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAU,sBAAsB,oBAAoB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,wBAAwB,CAUjJ,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,+BAA+B,cAM3C,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAU,sBAAsB,oBAAoB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,kBAAkB,CAU3I,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,mCAAmC,cAM/C,CAAA;AAED,eAAO,MAAM,6BAA6B,GAAU,0BAA0B,wBAAwB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,uBAAuB,CAU5J,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,qCAAqC,cAMjD,CAAA;AAED,eAAO,MAAM,+BAA+B,GAAU,4BAA4B,0BAA0B,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,uBAAuB,CAUlK,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,6BAA6B,cAMzC,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAU,oBAAoB,kBAAkB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,kBAAkB,CAUrI,CAAA;AAGH;;GAEG;AACH,eAAO,MAAM,gCAAgC,GAAI,QAAQ,gCAAgC,WAaxF,CAAA;AAED,eAAO,MAAM,0BAA0B,GAAU,QAAQ,gCAAgC,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,wBAAwB,CAShJ,CAAA"}
|