@blorp-labs/piefed-api-client 0.0.0-7e59b13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -0
- package/dist/client/admin/admin.d.ts +56 -0
- package/dist/client/admin/admin.d.ts.map +1 -0
- package/dist/client/admin/admin.js +29 -0
- package/dist/client/admin/admin.js.map +1 -0
- package/dist/client/comment/comment.d.ts +348 -0
- package/dist/client/comment/comment.d.ts.map +1 -0
- package/dist/client/comment/comment.js +171 -0
- package/dist/client/comment/comment.js.map +1 -0
- package/dist/client/community/community.d.ts +416 -0
- package/dist/client/community/community.d.ts.map +1 -0
- package/dist/client/community/community.js +202 -0
- package/dist/client/community/community.js.map +1 -0
- package/dist/client/feed/feed.d.ts +156 -0
- package/dist/client/feed/feed.d.ts.map +1 -0
- package/dist/client/feed/feed.js +78 -0
- package/dist/client/feed/feed.js.map +1 -0
- package/dist/client/misc/misc.d.ts +128 -0
- package/dist/client/misc/misc.d.ts.map +1 -0
- package/dist/client/misc/misc.js +75 -0
- package/dist/client/misc/misc.js.map +1 -0
- package/dist/client/post/post.d.ts +492 -0
- package/dist/client/post/post.d.ts.map +1 -0
- package/dist/client/post/post.js +252 -0
- package/dist/client/post/post.js.map +1 -0
- package/dist/client/private-message/private-message.d.ts +204 -0
- package/dist/client/private-message/private-message.d.ts.map +1 -0
- package/dist/client/private-message/private-message.js +100 -0
- package/dist/client/private-message/private-message.js.map +1 -0
- package/dist/client/site/site.d.ts +116 -0
- package/dist/client/site/site.d.ts.map +1 -0
- package/dist/client/site/site.js +56 -0
- package/dist/client/site/site.js.map +1 -0
- package/dist/client/topic/topic.d.ts +32 -0
- package/dist/client/topic/topic.d.ts.map +1 -0
- package/dist/client/topic/topic.js +18 -0
- package/dist/client/topic/topic.js.map +1 -0
- package/dist/client/upload/upload.d.ts +120 -0
- package/dist/client/upload/upload.d.ts.map +1 -0
- package/dist/client/upload/upload.js +49 -0
- package/dist/client/upload/upload.js.map +1 -0
- package/dist/client/user/user.d.ts +496 -0
- package/dist/client/user/user.d.ts.map +1 -0
- package/dist/client/user/user.js +248 -0
- package/dist/client/user/user.js.map +1 -0
- package/dist/create-client.d.ts +239 -0
- package/dist/create-client.d.ts.map +1 -0
- package/dist/create-client.js +65 -0
- package/dist/create-client.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/mutator/custom-fetch.d.ts +11 -0
- package/dist/mutator/custom-fetch.d.ts.map +1 -0
- package/dist/mutator/custom-fetch.js +13 -0
- package/dist/mutator/custom-fetch.js.map +1 -0
- package/dist/schemas/adminPurgeComment.d.ts +15 -0
- package/dist/schemas/adminPurgeComment.d.ts.map +1 -0
- package/dist/schemas/adminPurgeComment.js +2 -0
- package/dist/schemas/adminPurgeComment.js.map +1 -0
- package/dist/schemas/adminPurgeCommentReason.d.ts +8 -0
- package/dist/schemas/adminPurgeCommentReason.d.ts.map +1 -0
- package/dist/schemas/adminPurgeCommentReason.js +8 -0
- package/dist/schemas/adminPurgeCommentReason.js.map +1 -0
- package/dist/schemas/adminPurgeCommentView.d.ts +15 -0
- package/dist/schemas/adminPurgeCommentView.d.ts.map +1 -0
- package/dist/schemas/adminPurgeCommentView.js +2 -0
- package/dist/schemas/adminPurgeCommentView.js.map +1 -0
- package/dist/schemas/adminPurgeCommunity.d.ts +14 -0
- package/dist/schemas/adminPurgeCommunity.d.ts.map +1 -0
- package/dist/schemas/adminPurgeCommunity.js +2 -0
- package/dist/schemas/adminPurgeCommunity.js.map +1 -0
- package/dist/schemas/adminPurgeCommunityReason.d.ts +8 -0
- package/dist/schemas/adminPurgeCommunityReason.d.ts.map +1 -0
- package/dist/schemas/adminPurgeCommunityReason.js +8 -0
- package/dist/schemas/adminPurgeCommunityReason.js.map +1 -0
- package/dist/schemas/adminPurgeCommunityView.d.ts +13 -0
- package/dist/schemas/adminPurgeCommunityView.d.ts.map +1 -0
- package/dist/schemas/adminPurgeCommunityView.js +2 -0
- package/dist/schemas/adminPurgeCommunityView.js.map +1 -0
- package/dist/schemas/adminPurgePerson.d.ts +14 -0
- package/dist/schemas/adminPurgePerson.d.ts.map +1 -0
- package/dist/schemas/adminPurgePerson.js +2 -0
- package/dist/schemas/adminPurgePerson.js.map +1 -0
- package/dist/schemas/adminPurgePersonReason.d.ts +8 -0
- package/dist/schemas/adminPurgePersonReason.d.ts.map +1 -0
- package/dist/schemas/adminPurgePersonReason.js +8 -0
- package/dist/schemas/adminPurgePersonReason.js.map +1 -0
- package/dist/schemas/adminPurgePersonView.d.ts +13 -0
- package/dist/schemas/adminPurgePersonView.d.ts.map +1 -0
- package/dist/schemas/adminPurgePersonView.js +2 -0
- package/dist/schemas/adminPurgePersonView.js.map +1 -0
- package/dist/schemas/adminPurgePost.d.ts +16 -0
- package/dist/schemas/adminPurgePost.d.ts.map +1 -0
- package/dist/schemas/adminPurgePost.js +2 -0
- package/dist/schemas/adminPurgePost.js.map +1 -0
- package/dist/schemas/adminPurgePostCommunityId.d.ts +8 -0
- package/dist/schemas/adminPurgePostCommunityId.d.ts.map +1 -0
- package/dist/schemas/adminPurgePostCommunityId.js +8 -0
- package/dist/schemas/adminPurgePostCommunityId.js.map +1 -0
- package/dist/schemas/adminPurgePostReason.d.ts +8 -0
- package/dist/schemas/adminPurgePostReason.d.ts.map +1 -0
- package/dist/schemas/adminPurgePostReason.js +8 -0
- package/dist/schemas/adminPurgePostReason.js.map +1 -0
- package/dist/schemas/adminPurgePostView.d.ts +15 -0
- package/dist/schemas/adminPurgePostView.d.ts.map +1 -0
- package/dist/schemas/adminPurgePostView.js +2 -0
- package/dist/schemas/adminPurgePostView.js.map +1 -0
- package/dist/schemas/blockCommunityRequest.d.ts +11 -0
- package/dist/schemas/blockCommunityRequest.d.ts.map +1 -0
- package/dist/schemas/blockCommunityRequest.js +8 -0
- package/dist/schemas/blockCommunityRequest.js.map +1 -0
- package/dist/schemas/blockCommunityResponse.d.ts +12 -0
- package/dist/schemas/blockCommunityResponse.d.ts.map +1 -0
- package/dist/schemas/blockCommunityResponse.js +2 -0
- package/dist/schemas/blockCommunityResponse.js.map +1 -0
- package/dist/schemas/blockInstanceRequest.d.ts +11 -0
- package/dist/schemas/blockInstanceRequest.d.ts.map +1 -0
- package/dist/schemas/blockInstanceRequest.js +8 -0
- package/dist/schemas/blockInstanceRequest.js.map +1 -0
- package/dist/schemas/blockInstanceResponse.d.ts +10 -0
- package/dist/schemas/blockInstanceResponse.d.ts.map +1 -0
- package/dist/schemas/blockInstanceResponse.js +8 -0
- package/dist/schemas/blockInstanceResponse.js.map +1 -0
- package/dist/schemas/comment.d.ts +27 -0
- package/dist/schemas/comment.d.ts.map +1 -0
- package/dist/schemas/comment.js +2 -0
- package/dist/schemas/comment.js.map +1 -0
- package/dist/schemas/commentAggregates.d.ts +15 -0
- package/dist/schemas/commentAggregates.d.ts.map +1 -0
- package/dist/schemas/commentAggregates.js +8 -0
- package/dist/schemas/commentAggregates.js.map +1 -0
- package/dist/schemas/commentEmojiReactions.d.ts +9 -0
- package/dist/schemas/commentEmojiReactions.d.ts.map +1 -0
- package/dist/schemas/commentEmojiReactions.js +2 -0
- package/dist/schemas/commentEmojiReactions.js.map +1 -0
- package/dist/schemas/commentLikeView.d.ts +14 -0
- package/dist/schemas/commentLikeView.d.ts.map +1 -0
- package/dist/schemas/commentLikeView.js +2 -0
- package/dist/schemas/commentLikeView.js.map +1 -0
- package/dist/schemas/commentReply.d.ts +14 -0
- package/dist/schemas/commentReply.d.ts.map +1 -0
- package/dist/schemas/commentReply.js +8 -0
- package/dist/schemas/commentReply.js.map +1 -0
- package/dist/schemas/commentReplyView.d.ts +31 -0
- package/dist/schemas/commentReplyView.d.ts.map +1 -0
- package/dist/schemas/commentReplyView.js +2 -0
- package/dist/schemas/commentReplyView.js.map +1 -0
- package/dist/schemas/commentReplyViewSubscribed.d.ts +13 -0
- package/dist/schemas/commentReplyViewSubscribed.d.ts.map +1 -0
- package/dist/schemas/commentReplyViewSubscribed.js +13 -0
- package/dist/schemas/commentReplyViewSubscribed.js.map +1 -0
- package/dist/schemas/commentReport.d.ts +17 -0
- package/dist/schemas/commentReport.d.ts.map +1 -0
- package/dist/schemas/commentReport.js +8 -0
- package/dist/schemas/commentReport.js.map +1 -0
- package/dist/schemas/commentReportView.d.ts +34 -0
- package/dist/schemas/commentReportView.d.ts.map +1 -0
- package/dist/schemas/commentReportView.js +2 -0
- package/dist/schemas/commentReportView.js.map +1 -0
- package/dist/schemas/commentReportViewSubscribed.d.ts +16 -0
- package/dist/schemas/commentReportViewSubscribed.d.ts.map +1 -0
- package/dist/schemas/commentReportViewSubscribed.js +13 -0
- package/dist/schemas/commentReportViewSubscribed.js.map +1 -0
- package/dist/schemas/commentView.d.ts +31 -0
- package/dist/schemas/commentView.d.ts.map +1 -0
- package/dist/schemas/commentView.js +2 -0
- package/dist/schemas/commentView.js.map +1 -0
- package/dist/schemas/commentViewSubscribed.d.ts +16 -0
- package/dist/schemas/commentViewSubscribed.d.ts.map +1 -0
- package/dist/schemas/commentViewSubscribed.js +13 -0
- package/dist/schemas/commentViewSubscribed.js.map +1 -0
- package/dist/schemas/community.d.ts +33 -0
- package/dist/schemas/community.d.ts.map +1 -0
- package/dist/schemas/community.js +2 -0
- package/dist/schemas/community.js.map +1 -0
- package/dist/schemas/communityAggregates.d.ts +19 -0
- package/dist/schemas/communityAggregates.d.ts.map +1 -0
- package/dist/schemas/communityAggregates.js +8 -0
- package/dist/schemas/communityAggregates.js.map +1 -0
- package/dist/schemas/communityBanner.d.ts +8 -0
- package/dist/schemas/communityBanner.d.ts.map +1 -0
- package/dist/schemas/communityBanner.js +8 -0
- package/dist/schemas/communityBanner.js.map +1 -0
- package/dist/schemas/communityBlockView.d.ts +13 -0
- package/dist/schemas/communityBlockView.d.ts.map +1 -0
- package/dist/schemas/communityBlockView.js +2 -0
- package/dist/schemas/communityBlockView.js.map +1 -0
- package/dist/schemas/communityFlair.d.ts +20 -0
- package/dist/schemas/communityFlair.d.ts.map +1 -0
- package/dist/schemas/communityFlair.js +2 -0
- package/dist/schemas/communityFlair.js.map +1 -0
- package/dist/schemas/communityFlairApId.d.ts +11 -0
- package/dist/schemas/communityFlairApId.d.ts.map +1 -0
- package/dist/schemas/communityFlairApId.js +8 -0
- package/dist/schemas/communityFlairApId.js.map +1 -0
- package/dist/schemas/communityFlairCreateRequest.d.ts +16 -0
- package/dist/schemas/communityFlairCreateRequest.d.ts.map +1 -0
- package/dist/schemas/communityFlairCreateRequest.js +8 -0
- package/dist/schemas/communityFlairCreateRequest.js.map +1 -0
- package/dist/schemas/communityFlairCreateResponse.d.ts +20 -0
- package/dist/schemas/communityFlairCreateResponse.d.ts.map +1 -0
- package/dist/schemas/communityFlairCreateResponse.js +2 -0
- package/dist/schemas/communityFlairCreateResponse.js.map +1 -0
- package/dist/schemas/communityFlairCreateResponseApId.d.ts +11 -0
- package/dist/schemas/communityFlairCreateResponseApId.d.ts.map +1 -0
- package/dist/schemas/communityFlairCreateResponseApId.js +8 -0
- package/dist/schemas/communityFlairCreateResponseApId.js.map +1 -0
- package/dist/schemas/communityFlairDeleteRequest.d.ts +10 -0
- package/dist/schemas/communityFlairDeleteRequest.d.ts.map +1 -0
- package/dist/schemas/communityFlairDeleteRequest.js +8 -0
- package/dist/schemas/communityFlairDeleteRequest.js.map +1 -0
- package/dist/schemas/communityFlairDeleteResponse.d.ts +16 -0
- package/dist/schemas/communityFlairDeleteResponse.d.ts.map +1 -0
- package/dist/schemas/communityFlairDeleteResponse.js +2 -0
- package/dist/schemas/communityFlairDeleteResponse.js.map +1 -0
- package/dist/schemas/communityFlairEditRequest.d.ts +16 -0
- package/dist/schemas/communityFlairEditRequest.d.ts.map +1 -0
- package/dist/schemas/communityFlairEditRequest.js +8 -0
- package/dist/schemas/communityFlairEditRequest.js.map +1 -0
- package/dist/schemas/communityFlairEditResponse.d.ts +20 -0
- package/dist/schemas/communityFlairEditResponse.d.ts.map +1 -0
- package/dist/schemas/communityFlairEditResponse.js +2 -0
- package/dist/schemas/communityFlairEditResponse.js.map +1 -0
- package/dist/schemas/communityFlairEditResponseApId.d.ts +11 -0
- package/dist/schemas/communityFlairEditResponseApId.d.ts.map +1 -0
- package/dist/schemas/communityFlairEditResponseApId.js +8 -0
- package/dist/schemas/communityFlairEditResponseApId.js.map +1 -0
- package/dist/schemas/communityFollowerView.d.ts +13 -0
- package/dist/schemas/communityFollowerView.d.ts.map +1 -0
- package/dist/schemas/communityFollowerView.js +2 -0
- package/dist/schemas/communityFollowerView.js.map +1 -0
- package/dist/schemas/communityIcon.d.ts +8 -0
- package/dist/schemas/communityIcon.d.ts.map +1 -0
- package/dist/schemas/communityIcon.js +8 -0
- package/dist/schemas/communityIcon.js.map +1 -0
- package/dist/schemas/communityModerationBanItem.d.ts +20 -0
- package/dist/schemas/communityModerationBanItem.d.ts.map +1 -0
- package/dist/schemas/communityModerationBanItem.js +2 -0
- package/dist/schemas/communityModerationBanItem.js.map +1 -0
- package/dist/schemas/communityModerationBanItemExpiredAt.d.ts +8 -0
- package/dist/schemas/communityModerationBanItemExpiredAt.d.ts.map +1 -0
- package/dist/schemas/communityModerationBanItemExpiredAt.js +8 -0
- package/dist/schemas/communityModerationBanItemExpiredAt.js.map +1 -0
- package/dist/schemas/communityModerationBanItemExpiresAt.d.ts +8 -0
- package/dist/schemas/communityModerationBanItemExpiresAt.d.ts.map +1 -0
- package/dist/schemas/communityModerationBanItemExpiresAt.js +8 -0
- package/dist/schemas/communityModerationBanItemExpiresAt.js.map +1 -0
- package/dist/schemas/communityModerationBanRequest.d.ts +14 -0
- package/dist/schemas/communityModerationBanRequest.d.ts.map +1 -0
- package/dist/schemas/communityModerationBanRequest.js +8 -0
- package/dist/schemas/communityModerationBanRequest.js.map +1 -0
- package/dist/schemas/communityModerationBansListResponse.d.ts +13 -0
- package/dist/schemas/communityModerationBansListResponse.d.ts.map +1 -0
- package/dist/schemas/communityModerationBansListResponse.js +2 -0
- package/dist/schemas/communityModerationBansListResponse.js.map +1 -0
- package/dist/schemas/communityModerationBansListResponseNextPage.d.ts +8 -0
- package/dist/schemas/communityModerationBansListResponseNextPage.d.ts.map +1 -0
- package/dist/schemas/communityModerationBansListResponseNextPage.js +8 -0
- package/dist/schemas/communityModerationBansListResponseNextPage.js.map +1 -0
- package/dist/schemas/communityModerationNsfwRequest.d.ts +11 -0
- package/dist/schemas/communityModerationNsfwRequest.d.ts.map +1 -0
- package/dist/schemas/communityModerationNsfwRequest.js +8 -0
- package/dist/schemas/communityModerationNsfwRequest.js.map +1 -0
- package/dist/schemas/communityModerationUnbanRequest.d.ts +11 -0
- package/dist/schemas/communityModerationUnbanRequest.d.ts.map +1 -0
- package/dist/schemas/communityModerationUnbanRequest.js +8 -0
- package/dist/schemas/communityModerationUnbanRequest.js.map +1 -0
- package/dist/schemas/communityModeratorView.d.ts +13 -0
- package/dist/schemas/communityModeratorView.d.ts.map +1 -0
- package/dist/schemas/communityModeratorView.js +2 -0
- package/dist/schemas/communityModeratorView.js.map +1 -0
- package/dist/schemas/communityPostingWarning.d.ts +8 -0
- package/dist/schemas/communityPostingWarning.d.ts.map +1 -0
- package/dist/schemas/communityPostingWarning.js +8 -0
- package/dist/schemas/communityPostingWarning.js.map +1 -0
- package/dist/schemas/communityResponse.d.ts +12 -0
- package/dist/schemas/communityResponse.d.ts.map +1 -0
- package/dist/schemas/communityResponse.js +2 -0
- package/dist/schemas/communityResponse.js.map +1 -0
- package/dist/schemas/communityView.d.ts +19 -0
- package/dist/schemas/communityView.d.ts.map +1 -0
- package/dist/schemas/communityView.js +2 -0
- package/dist/schemas/communityView.js.map +1 -0
- package/dist/schemas/communityViewSubscribed.d.ts +13 -0
- package/dist/schemas/communityViewSubscribed.d.ts.map +1 -0
- package/dist/schemas/communityViewSubscribed.js +13 -0
- package/dist/schemas/communityViewSubscribed.js.map +1 -0
- package/dist/schemas/createCommentRequest.d.ts +13 -0
- package/dist/schemas/createCommentRequest.d.ts.map +1 -0
- package/dist/schemas/createCommentRequest.js +8 -0
- package/dist/schemas/createCommentRequest.js.map +1 -0
- package/dist/schemas/createCommunityRequest.d.ts +22 -0
- package/dist/schemas/createCommunityRequest.d.ts.map +1 -0
- package/dist/schemas/createCommunityRequest.js +2 -0
- package/dist/schemas/createCommunityRequest.js.map +1 -0
- package/dist/schemas/createCommunityRequestBannerUrl.d.ts +8 -0
- package/dist/schemas/createCommunityRequestBannerUrl.d.ts.map +1 -0
- package/dist/schemas/createCommunityRequestBannerUrl.js +8 -0
- package/dist/schemas/createCommunityRequestBannerUrl.js.map +1 -0
- package/dist/schemas/createCommunityRequestIconUrl.d.ts +8 -0
- package/dist/schemas/createCommunityRequestIconUrl.d.ts.map +1 -0
- package/dist/schemas/createCommunityRequestIconUrl.js +8 -0
- package/dist/schemas/createCommunityRequestIconUrl.js.map +1 -0
- package/dist/schemas/createFeedRequest.d.ts +30 -0
- package/dist/schemas/createFeedRequest.d.ts.map +1 -0
- package/dist/schemas/createFeedRequest.js +2 -0
- package/dist/schemas/createFeedRequest.js.map +1 -0
- package/dist/schemas/createFeedRequestBannerUrl.d.ts +8 -0
- package/dist/schemas/createFeedRequestBannerUrl.d.ts.map +1 -0
- package/dist/schemas/createFeedRequestBannerUrl.js +8 -0
- package/dist/schemas/createFeedRequestBannerUrl.js.map +1 -0
- package/dist/schemas/createFeedRequestIconUrl.d.ts +8 -0
- package/dist/schemas/createFeedRequestIconUrl.d.ts.map +1 -0
- package/dist/schemas/createFeedRequestIconUrl.js +8 -0
- package/dist/schemas/createFeedRequestIconUrl.js.map +1 -0
- package/dist/schemas/createFeedRequestParentFeedId.d.ts +11 -0
- package/dist/schemas/createFeedRequestParentFeedId.d.ts.map +1 -0
- package/dist/schemas/createFeedRequestParentFeedId.js +8 -0
- package/dist/schemas/createFeedRequestParentFeedId.js.map +1 -0
- package/dist/schemas/createPostRequest.d.ts +22 -0
- package/dist/schemas/createPostRequest.d.ts.map +1 -0
- package/dist/schemas/createPostRequest.js +2 -0
- package/dist/schemas/createPostRequest.js.map +1 -0
- package/dist/schemas/createPostRequestEvent.d.ts +9 -0
- package/dist/schemas/createPostRequestEvent.d.ts.map +1 -0
- package/dist/schemas/createPostRequestEvent.js +2 -0
- package/dist/schemas/createPostRequestEvent.js.map +1 -0
- package/dist/schemas/createPostRequestPoll.d.ts +9 -0
- package/dist/schemas/createPostRequestPoll.d.ts.map +1 -0
- package/dist/schemas/createPostRequestPoll.js +2 -0
- package/dist/schemas/createPostRequestPoll.js.map +1 -0
- package/dist/schemas/createPrivateMessageRequest.d.ts +11 -0
- package/dist/schemas/createPrivateMessageRequest.d.ts.map +1 -0
- package/dist/schemas/createPrivateMessageRequest.js +8 -0
- package/dist/schemas/createPrivateMessageRequest.js.map +1 -0
- package/dist/schemas/defaultError.d.ts +10 -0
- package/dist/schemas/defaultError.d.ts.map +1 -0
- package/dist/schemas/defaultError.js +8 -0
- package/dist/schemas/defaultError.js.map +1 -0
- package/dist/schemas/deleteCommentRequest.d.ts +11 -0
- package/dist/schemas/deleteCommentRequest.d.ts.map +1 -0
- package/dist/schemas/deleteCommentRequest.js +8 -0
- package/dist/schemas/deleteCommentRequest.js.map +1 -0
- package/dist/schemas/deleteCommunityRequest.d.ts +11 -0
- package/dist/schemas/deleteCommunityRequest.d.ts.map +1 -0
- package/dist/schemas/deleteCommunityRequest.js +8 -0
- package/dist/schemas/deleteCommunityRequest.js.map +1 -0
- package/dist/schemas/deleteFeedRequest.d.ts +11 -0
- package/dist/schemas/deleteFeedRequest.d.ts.map +1 -0
- package/dist/schemas/deleteFeedRequest.js +8 -0
- package/dist/schemas/deleteFeedRequest.js.map +1 -0
- package/dist/schemas/deletePostRequest.d.ts +11 -0
- package/dist/schemas/deletePostRequest.d.ts.map +1 -0
- package/dist/schemas/deletePostRequest.js +8 -0
- package/dist/schemas/deletePostRequest.js.map +1 -0
- package/dist/schemas/deletePrivateMessageRequest.d.ts +11 -0
- package/dist/schemas/deletePrivateMessageRequest.d.ts.map +1 -0
- package/dist/schemas/deletePrivateMessageRequest.js +8 -0
- package/dist/schemas/deletePrivateMessageRequest.js.map +1 -0
- package/dist/schemas/domainBlockRequest.d.ts +11 -0
- package/dist/schemas/domainBlockRequest.d.ts.map +1 -0
- package/dist/schemas/domainBlockRequest.js +8 -0
- package/dist/schemas/domainBlockRequest.js.map +1 -0
- package/dist/schemas/domainBlockResponse.d.ts +10 -0
- package/dist/schemas/domainBlockResponse.d.ts.map +1 -0
- package/dist/schemas/domainBlockResponse.js +8 -0
- package/dist/schemas/domainBlockResponse.js.map +1 -0
- package/dist/schemas/editCommentRequest.d.ts +14 -0
- package/dist/schemas/editCommentRequest.d.ts.map +1 -0
- package/dist/schemas/editCommentRequest.js +8 -0
- package/dist/schemas/editCommentRequest.js.map +1 -0
- package/dist/schemas/editCommunityRequest.d.ts +22 -0
- package/dist/schemas/editCommunityRequest.d.ts.map +1 -0
- package/dist/schemas/editCommunityRequest.js +2 -0
- package/dist/schemas/editCommunityRequest.js.map +1 -0
- package/dist/schemas/editCommunityRequestBannerUrl.d.ts +8 -0
- package/dist/schemas/editCommunityRequestBannerUrl.d.ts.map +1 -0
- package/dist/schemas/editCommunityRequestBannerUrl.js +8 -0
- package/dist/schemas/editCommunityRequestBannerUrl.js.map +1 -0
- package/dist/schemas/editCommunityRequestIconUrl.d.ts +8 -0
- package/dist/schemas/editCommunityRequestIconUrl.d.ts.map +1 -0
- package/dist/schemas/editCommunityRequestIconUrl.js +8 -0
- package/dist/schemas/editCommunityRequestIconUrl.js.map +1 -0
- package/dist/schemas/editFeedRequest.d.ts +27 -0
- package/dist/schemas/editFeedRequest.d.ts.map +1 -0
- package/dist/schemas/editFeedRequest.js +2 -0
- package/dist/schemas/editFeedRequest.js.map +1 -0
- package/dist/schemas/editFeedRequestBannerUrl.d.ts +8 -0
- package/dist/schemas/editFeedRequestBannerUrl.d.ts.map +1 -0
- package/dist/schemas/editFeedRequestBannerUrl.js +8 -0
- package/dist/schemas/editFeedRequestBannerUrl.js.map +1 -0
- package/dist/schemas/editFeedRequestIconUrl.d.ts +8 -0
- package/dist/schemas/editFeedRequestIconUrl.d.ts.map +1 -0
- package/dist/schemas/editFeedRequestIconUrl.js +8 -0
- package/dist/schemas/editFeedRequestIconUrl.js.map +1 -0
- package/dist/schemas/editFeedRequestParentFeedId.d.ts +8 -0
- package/dist/schemas/editFeedRequestParentFeedId.d.ts.map +1 -0
- package/dist/schemas/editFeedRequestParentFeedId.js +8 -0
- package/dist/schemas/editFeedRequestParentFeedId.js.map +1 -0
- package/dist/schemas/editPostRequest.d.ts +30 -0
- package/dist/schemas/editPostRequest.d.ts.map +1 -0
- package/dist/schemas/editPostRequest.js +2 -0
- package/dist/schemas/editPostRequest.js.map +1 -0
- package/dist/schemas/editPostRequestAltText.d.ts +11 -0
- package/dist/schemas/editPostRequestAltText.d.ts.map +1 -0
- package/dist/schemas/editPostRequestAltText.js +8 -0
- package/dist/schemas/editPostRequestAltText.js.map +1 -0
- package/dist/schemas/editPostRequestEvent.d.ts +9 -0
- package/dist/schemas/editPostRequestEvent.d.ts.map +1 -0
- package/dist/schemas/editPostRequestEvent.js +2 -0
- package/dist/schemas/editPostRequestEvent.js.map +1 -0
- package/dist/schemas/editPostRequestFlair.d.ts +11 -0
- package/dist/schemas/editPostRequestFlair.d.ts.map +1 -0
- package/dist/schemas/editPostRequestFlair.js +8 -0
- package/dist/schemas/editPostRequestFlair.js.map +1 -0
- package/dist/schemas/editPostRequestPoll.d.ts +9 -0
- package/dist/schemas/editPostRequestPoll.d.ts.map +1 -0
- package/dist/schemas/editPostRequestPoll.js +2 -0
- package/dist/schemas/editPostRequestPoll.js.map +1 -0
- package/dist/schemas/editPostRequestTags.d.ts +11 -0
- package/dist/schemas/editPostRequestTags.d.ts.map +1 -0
- package/dist/schemas/editPostRequestTags.js +8 -0
- package/dist/schemas/editPostRequestTags.js.map +1 -0
- package/dist/schemas/editPostRequestUrl.d.ts +11 -0
- package/dist/schemas/editPostRequestUrl.d.ts.map +1 -0
- package/dist/schemas/editPostRequestUrl.js +8 -0
- package/dist/schemas/editPostRequestUrl.js.map +1 -0
- package/dist/schemas/editPrivateMessageRequest.d.ts +11 -0
- package/dist/schemas/editPrivateMessageRequest.d.ts.map +1 -0
- package/dist/schemas/editPrivateMessageRequest.js +8 -0
- package/dist/schemas/editPrivateMessageRequest.js.map +1 -0
- package/dist/schemas/error.d.ts +18 -0
- package/dist/schemas/error.d.ts.map +1 -0
- package/dist/schemas/error.js +2 -0
- package/dist/schemas/error.js.map +1 -0
- package/dist/schemas/errorErrors.d.ts +13 -0
- package/dist/schemas/errorErrors.d.ts.map +1 -0
- package/dist/schemas/errorErrors.js +8 -0
- package/dist/schemas/errorErrors.js.map +1 -0
- package/dist/schemas/featurePostRequest.d.ts +13 -0
- package/dist/schemas/featurePostRequest.d.ts.map +1 -0
- package/dist/schemas/featurePostRequest.js +2 -0
- package/dist/schemas/featurePostRequest.js.map +1 -0
- package/dist/schemas/featurePostRequestFeatureType.d.ts +12 -0
- package/dist/schemas/featurePostRequestFeatureType.d.ts.map +1 -0
- package/dist/schemas/featurePostRequestFeatureType.js +12 -0
- package/dist/schemas/featurePostRequestFeatureType.js.map +1 -0
- package/dist/schemas/federatedInstancesView.d.ts +13 -0
- package/dist/schemas/federatedInstancesView.d.ts.map +1 -0
- package/dist/schemas/federatedInstancesView.js +2 -0
- package/dist/schemas/federatedInstancesView.js.map +1 -0
- package/dist/schemas/feedListResponse.d.ts +11 -0
- package/dist/schemas/feedListResponse.d.ts.map +1 -0
- package/dist/schemas/feedListResponse.js +2 -0
- package/dist/schemas/feedListResponse.js.map +1 -0
- package/dist/schemas/feedView.d.ts +44 -0
- package/dist/schemas/feedView.d.ts.map +1 -0
- package/dist/schemas/feedView.js +2 -0
- package/dist/schemas/feedView.js.map +1 -0
- package/dist/schemas/feedViewBanner.d.ts +8 -0
- package/dist/schemas/feedViewBanner.d.ts.map +1 -0
- package/dist/schemas/feedViewBanner.js +8 -0
- package/dist/schemas/feedViewBanner.js.map +1 -0
- package/dist/schemas/feedViewDescription.d.ts +8 -0
- package/dist/schemas/feedViewDescription.d.ts.map +1 -0
- package/dist/schemas/feedViewDescription.js +8 -0
- package/dist/schemas/feedViewDescription.js.map +1 -0
- package/dist/schemas/feedViewDescriptionHtml.d.ts +8 -0
- package/dist/schemas/feedViewDescriptionHtml.d.ts.map +1 -0
- package/dist/schemas/feedViewDescriptionHtml.js +8 -0
- package/dist/schemas/feedViewDescriptionHtml.js.map +1 -0
- package/dist/schemas/feedViewIcon.d.ts +8 -0
- package/dist/schemas/feedViewIcon.d.ts.map +1 -0
- package/dist/schemas/feedViewIcon.js +8 -0
- package/dist/schemas/feedViewIcon.js.map +1 -0
- package/dist/schemas/feedViewParentFeedId.d.ts +8 -0
- package/dist/schemas/feedViewParentFeedId.d.ts.map +1 -0
- package/dist/schemas/feedViewParentFeedId.js +8 -0
- package/dist/schemas/feedViewParentFeedId.js.map +1 -0
- package/dist/schemas/followCommunityRequest.d.ts +11 -0
- package/dist/schemas/followCommunityRequest.d.ts.map +1 -0
- package/dist/schemas/followCommunityRequest.js +8 -0
- package/dist/schemas/followCommunityRequest.js.map +1 -0
- package/dist/schemas/followFeedRequest.d.ts +11 -0
- package/dist/schemas/followFeedRequest.d.ts.map +1 -0
- package/dist/schemas/followFeedRequest.js +8 -0
- package/dist/schemas/followFeedRequest.js.map +1 -0
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListParams.d.ts +14 -0
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListParams.js +2 -0
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListParams.js.map +1 -0
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.d.ts +12 -0
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.js +12 -0
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.js.map +1 -0
- package/dist/schemas/getApiAlphaCommentLikeListParams.d.ts +12 -0
- package/dist/schemas/getApiAlphaCommentLikeListParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaCommentLikeListParams.js +8 -0
- package/dist/schemas/getApiAlphaCommentLikeListParams.js.map +1 -0
- package/dist/schemas/getApiAlphaCommentListParams.d.ts +24 -0
- package/dist/schemas/getApiAlphaCommentListParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaCommentListParams.js +2 -0
- package/dist/schemas/getApiAlphaCommentListParams.js.map +1 -0
- package/dist/schemas/getApiAlphaCommentListSort.d.ts +16 -0
- package/dist/schemas/getApiAlphaCommentListSort.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaCommentListSort.js +16 -0
- package/dist/schemas/getApiAlphaCommentListSort.js.map +1 -0
- package/dist/schemas/getApiAlphaCommentParams.d.ts +10 -0
- package/dist/schemas/getApiAlphaCommentParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaCommentParams.js +8 -0
- package/dist/schemas/getApiAlphaCommentParams.js.map +1 -0
- package/dist/schemas/getApiAlphaCommunityListParams.d.ts +16 -0
- package/dist/schemas/getApiAlphaCommunityListParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaCommunityListParams.js +2 -0
- package/dist/schemas/getApiAlphaCommunityListParams.js.map +1 -0
- package/dist/schemas/getApiAlphaCommunityListSort.d.ts +20 -0
- package/dist/schemas/getApiAlphaCommunityListSort.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaCommunityListSort.js +20 -0
- package/dist/schemas/getApiAlphaCommunityListSort.js.map +1 -0
- package/dist/schemas/getApiAlphaCommunityListType.d.ts +15 -0
- package/dist/schemas/getApiAlphaCommunityListType.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaCommunityListType.js +15 -0
- package/dist/schemas/getApiAlphaCommunityListType.js.map +1 -0
- package/dist/schemas/getApiAlphaCommunityModerateBansParams.d.ts +12 -0
- package/dist/schemas/getApiAlphaCommunityModerateBansParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaCommunityModerateBansParams.js +8 -0
- package/dist/schemas/getApiAlphaCommunityModerateBansParams.js.map +1 -0
- package/dist/schemas/getApiAlphaCommunityParams.d.ts +11 -0
- package/dist/schemas/getApiAlphaCommunityParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaCommunityParams.js +8 -0
- package/dist/schemas/getApiAlphaCommunityParams.js.map +1 -0
- package/dist/schemas/getApiAlphaFeedListParams.d.ts +17 -0
- package/dist/schemas/getApiAlphaFeedListParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaFeedListParams.js +8 -0
- package/dist/schemas/getApiAlphaFeedListParams.js.map +1 -0
- package/dist/schemas/getApiAlphaFeedParams.d.ts +11 -0
- package/dist/schemas/getApiAlphaFeedParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaFeedParams.js +8 -0
- package/dist/schemas/getApiAlphaFeedParams.js.map +1 -0
- package/dist/schemas/getApiAlphaModlogParams.d.ts +18 -0
- package/dist/schemas/getApiAlphaModlogParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaModlogParams.js +2 -0
- package/dist/schemas/getApiAlphaModlogParams.js.map +1 -0
- package/dist/schemas/getApiAlphaModlogType.d.ts +26 -0
- package/dist/schemas/getApiAlphaModlogType.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaModlogType.js +26 -0
- package/dist/schemas/getApiAlphaModlogType.js.map +1 -0
- package/dist/schemas/getApiAlphaPostLikeListParams.d.ts +12 -0
- package/dist/schemas/getApiAlphaPostLikeListParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPostLikeListParams.js +8 -0
- package/dist/schemas/getApiAlphaPostLikeListParams.js.map +1 -0
- package/dist/schemas/getApiAlphaPostList2Params.d.ts +27 -0
- package/dist/schemas/getApiAlphaPostList2Params.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPostList2Params.js +2 -0
- package/dist/schemas/getApiAlphaPostList2Params.js.map +1 -0
- package/dist/schemas/getApiAlphaPostList2Sort.d.ts +27 -0
- package/dist/schemas/getApiAlphaPostList2Sort.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPostList2Sort.js +27 -0
- package/dist/schemas/getApiAlphaPostList2Sort.js.map +1 -0
- package/dist/schemas/getApiAlphaPostList2Type.d.ts +16 -0
- package/dist/schemas/getApiAlphaPostList2Type.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPostList2Type.js +16 -0
- package/dist/schemas/getApiAlphaPostList2Type.js.map +1 -0
- package/dist/schemas/getApiAlphaPostListParams.d.ts +27 -0
- package/dist/schemas/getApiAlphaPostListParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPostListParams.js +2 -0
- package/dist/schemas/getApiAlphaPostListParams.js.map +1 -0
- package/dist/schemas/getApiAlphaPostListSort.d.ts +27 -0
- package/dist/schemas/getApiAlphaPostListSort.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPostListSort.js +27 -0
- package/dist/schemas/getApiAlphaPostListSort.js.map +1 -0
- package/dist/schemas/getApiAlphaPostListType.d.ts +16 -0
- package/dist/schemas/getApiAlphaPostListType.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPostListType.js +16 -0
- package/dist/schemas/getApiAlphaPostListType.js.map +1 -0
- package/dist/schemas/getApiAlphaPostParams.d.ts +10 -0
- package/dist/schemas/getApiAlphaPostParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPostParams.js +8 -0
- package/dist/schemas/getApiAlphaPostParams.js.map +1 -0
- package/dist/schemas/getApiAlphaPostRepliesParams.d.ts +16 -0
- package/dist/schemas/getApiAlphaPostRepliesParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPostRepliesParams.js +2 -0
- package/dist/schemas/getApiAlphaPostRepliesParams.js.map +1 -0
- package/dist/schemas/getApiAlphaPostRepliesSort.d.ts +16 -0
- package/dist/schemas/getApiAlphaPostRepliesSort.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPostRepliesSort.js +16 -0
- package/dist/schemas/getApiAlphaPostRepliesSort.js.map +1 -0
- package/dist/schemas/getApiAlphaPostSiteMetadataParams.d.ts +10 -0
- package/dist/schemas/getApiAlphaPostSiteMetadataParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPostSiteMetadataParams.js +8 -0
- package/dist/schemas/getApiAlphaPostSiteMetadataParams.js.map +1 -0
- package/dist/schemas/getApiAlphaPrivateMessageConversationParams.d.ts +19 -0
- package/dist/schemas/getApiAlphaPrivateMessageConversationParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPrivateMessageConversationParams.js +8 -0
- package/dist/schemas/getApiAlphaPrivateMessageConversationParams.js.map +1 -0
- package/dist/schemas/getApiAlphaPrivateMessageListParams.d.ts +12 -0
- package/dist/schemas/getApiAlphaPrivateMessageListParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaPrivateMessageListParams.js +8 -0
- package/dist/schemas/getApiAlphaPrivateMessageListParams.js.map +1 -0
- package/dist/schemas/getApiAlphaResolveObjectParams.d.ts +10 -0
- package/dist/schemas/getApiAlphaResolveObjectParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaResolveObjectParams.js +8 -0
- package/dist/schemas/getApiAlphaResolveObjectParams.js.map +1 -0
- package/dist/schemas/getApiAlphaSearchListingType.d.ts +16 -0
- package/dist/schemas/getApiAlphaSearchListingType.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaSearchListingType.js +16 -0
- package/dist/schemas/getApiAlphaSearchListingType.js.map +1 -0
- package/dist/schemas/getApiAlphaSearchNsfw.d.ts +13 -0
- package/dist/schemas/getApiAlphaSearchNsfw.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaSearchNsfw.js +13 -0
- package/dist/schemas/getApiAlphaSearchNsfw.js.map +1 -0
- package/dist/schemas/getApiAlphaSearchParams.d.ts +38 -0
- package/dist/schemas/getApiAlphaSearchParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaSearchParams.js +2 -0
- package/dist/schemas/getApiAlphaSearchParams.js.map +1 -0
- package/dist/schemas/getApiAlphaSearchSort.d.ts +32 -0
- package/dist/schemas/getApiAlphaSearchSort.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaSearchSort.js +32 -0
- package/dist/schemas/getApiAlphaSearchSort.js.map +1 -0
- package/dist/schemas/getApiAlphaSearchType.d.ts +15 -0
- package/dist/schemas/getApiAlphaSearchType.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaSearchType.js +15 -0
- package/dist/schemas/getApiAlphaSearchType.js.map +1 -0
- package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.d.ts +13 -0
- package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.js +8 -0
- package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.js.map +1 -0
- package/dist/schemas/getApiAlphaSuggestCompletionParams.d.ts +10 -0
- package/dist/schemas/getApiAlphaSuggestCompletionParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaSuggestCompletionParams.js +8 -0
- package/dist/schemas/getApiAlphaSuggestCompletionParams.js.map +1 -0
- package/dist/schemas/getApiAlphaTopicListParams.d.ts +13 -0
- package/dist/schemas/getApiAlphaTopicListParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaTopicListParams.js +8 -0
- package/dist/schemas/getApiAlphaTopicListParams.js.map +1 -0
- package/dist/schemas/getApiAlphaUserMediaParams.d.ts +14 -0
- package/dist/schemas/getApiAlphaUserMediaParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaUserMediaParams.js +2 -0
- package/dist/schemas/getApiAlphaUserMediaParams.js.map +1 -0
- package/dist/schemas/getApiAlphaUserMediaSort.d.ts +16 -0
- package/dist/schemas/getApiAlphaUserMediaSort.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaUserMediaSort.js +16 -0
- package/dist/schemas/getApiAlphaUserMediaSort.js.map +1 -0
- package/dist/schemas/getApiAlphaUserMentionsParams.d.ts +14 -0
- package/dist/schemas/getApiAlphaUserMentionsParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaUserMentionsParams.js +2 -0
- package/dist/schemas/getApiAlphaUserMentionsParams.js.map +1 -0
- package/dist/schemas/getApiAlphaUserMentionsSort.d.ts +16 -0
- package/dist/schemas/getApiAlphaUserMentionsSort.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaUserMentionsSort.js +16 -0
- package/dist/schemas/getApiAlphaUserMentionsSort.js.map +1 -0
- package/dist/schemas/getApiAlphaUserNotificationsParams.d.ts +13 -0
- package/dist/schemas/getApiAlphaUserNotificationsParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaUserNotificationsParams.js +2 -0
- package/dist/schemas/getApiAlphaUserNotificationsParams.js.map +1 -0
- package/dist/schemas/getApiAlphaUserNotificationsStatus.d.ts +14 -0
- package/dist/schemas/getApiAlphaUserNotificationsStatus.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaUserNotificationsStatus.js +14 -0
- package/dist/schemas/getApiAlphaUserNotificationsStatus.js.map +1 -0
- package/dist/schemas/getApiAlphaUserParams.d.ts +27 -0
- package/dist/schemas/getApiAlphaUserParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaUserParams.js +2 -0
- package/dist/schemas/getApiAlphaUserParams.js.map +1 -0
- package/dist/schemas/getApiAlphaUserRepliesParams.d.ts +14 -0
- package/dist/schemas/getApiAlphaUserRepliesParams.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaUserRepliesParams.js +2 -0
- package/dist/schemas/getApiAlphaUserRepliesParams.js.map +1 -0
- package/dist/schemas/getApiAlphaUserRepliesSort.d.ts +16 -0
- package/dist/schemas/getApiAlphaUserRepliesSort.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaUserRepliesSort.js +16 -0
- package/dist/schemas/getApiAlphaUserRepliesSort.js.map +1 -0
- package/dist/schemas/getApiAlphaUserSort.d.ts +32 -0
- package/dist/schemas/getApiAlphaUserSort.d.ts.map +1 -0
- package/dist/schemas/getApiAlphaUserSort.js +32 -0
- package/dist/schemas/getApiAlphaUserSort.js.map +1 -0
- package/dist/schemas/getCommentReplyResponse.d.ts +11 -0
- package/dist/schemas/getCommentReplyResponse.d.ts.map +1 -0
- package/dist/schemas/getCommentReplyResponse.js +2 -0
- package/dist/schemas/getCommentReplyResponse.js.map +1 -0
- package/dist/schemas/getCommentReportResponse.d.ts +11 -0
- package/dist/schemas/getCommentReportResponse.d.ts.map +1 -0
- package/dist/schemas/getCommentReportResponse.js +2 -0
- package/dist/schemas/getCommentReportResponse.js.map +1 -0
- package/dist/schemas/getCommentResponse.d.ts +11 -0
- package/dist/schemas/getCommentResponse.d.ts.map +1 -0
- package/dist/schemas/getCommentResponse.js +2 -0
- package/dist/schemas/getCommentResponse.js.map +1 -0
- package/dist/schemas/getCommunityResponse.d.ts +16 -0
- package/dist/schemas/getCommunityResponse.d.ts.map +1 -0
- package/dist/schemas/getCommunityResponse.js +2 -0
- package/dist/schemas/getCommunityResponse.js.map +1 -0
- package/dist/schemas/getFederatedInstancesResponse.d.ts +11 -0
- package/dist/schemas/getFederatedInstancesResponse.d.ts.map +1 -0
- package/dist/schemas/getFederatedInstancesResponse.js +2 -0
- package/dist/schemas/getFederatedInstancesResponse.js.map +1 -0
- package/dist/schemas/getModLogResponse.d.ts +39 -0
- package/dist/schemas/getModLogResponse.d.ts.map +1 -0
- package/dist/schemas/getModLogResponse.js +2 -0
- package/dist/schemas/getModLogResponse.js.map +1 -0
- package/dist/schemas/getPostRepliesResponse.d.ts +13 -0
- package/dist/schemas/getPostRepliesResponse.d.ts.map +1 -0
- package/dist/schemas/getPostRepliesResponse.js +2 -0
- package/dist/schemas/getPostRepliesResponse.js.map +1 -0
- package/dist/schemas/getPostRepliesResponseNextPage.d.ts +8 -0
- package/dist/schemas/getPostRepliesResponseNextPage.d.ts.map +1 -0
- package/dist/schemas/getPostRepliesResponseNextPage.js +8 -0
- package/dist/schemas/getPostRepliesResponseNextPage.js.map +1 -0
- package/dist/schemas/getPostResponse.d.ts +16 -0
- package/dist/schemas/getPostResponse.d.ts.map +1 -0
- package/dist/schemas/getPostResponse.js +2 -0
- package/dist/schemas/getPostResponse.js.map +1 -0
- package/dist/schemas/getPrivateMessageConversationResponse.d.ts +11 -0
- package/dist/schemas/getPrivateMessageConversationResponse.d.ts.map +1 -0
- package/dist/schemas/getPrivateMessageConversationResponse.js +2 -0
- package/dist/schemas/getPrivateMessageConversationResponse.js.map +1 -0
- package/dist/schemas/getRegistrationListResponse.d.ts +11 -0
- package/dist/schemas/getRegistrationListResponse.d.ts.map +1 -0
- package/dist/schemas/getRegistrationListResponse.js +2 -0
- package/dist/schemas/getRegistrationListResponse.js.map +1 -0
- package/dist/schemas/getSiteInstanceChooserResponse.d.ts +26 -0
- package/dist/schemas/getSiteInstanceChooserResponse.d.ts.map +1 -0
- package/dist/schemas/getSiteInstanceChooserResponse.js +2 -0
- package/dist/schemas/getSiteInstanceChooserResponse.js.map +1 -0
- package/dist/schemas/getSiteInstanceChooserSearchResponse.d.ts +11 -0
- package/dist/schemas/getSiteInstanceChooserSearchResponse.d.ts.map +1 -0
- package/dist/schemas/getSiteInstanceChooserSearchResponse.js +2 -0
- package/dist/schemas/getSiteInstanceChooserSearchResponse.js.map +1 -0
- package/dist/schemas/getSiteInstanceChooserSearchResponseItem.d.ts +28 -0
- package/dist/schemas/getSiteInstanceChooserSearchResponseItem.d.ts.map +1 -0
- package/dist/schemas/getSiteInstanceChooserSearchResponseItem.js +8 -0
- package/dist/schemas/getSiteInstanceChooserSearchResponseItem.js.map +1 -0
- package/dist/schemas/getSiteMetadataResponse.d.ts +11 -0
- package/dist/schemas/getSiteMetadataResponse.d.ts.map +1 -0
- package/dist/schemas/getSiteMetadataResponse.js +2 -0
- package/dist/schemas/getSiteMetadataResponse.js.map +1 -0
- package/dist/schemas/getSiteResponse.d.ts +16 -0
- package/dist/schemas/getSiteResponse.d.ts.map +1 -0
- package/dist/schemas/getSiteResponse.js +2 -0
- package/dist/schemas/getSiteResponse.js.map +1 -0
- package/dist/schemas/getSiteVersionResponse.d.ts +10 -0
- package/dist/schemas/getSiteVersionResponse.d.ts.map +1 -0
- package/dist/schemas/getSiteVersionResponse.js +8 -0
- package/dist/schemas/getSiteVersionResponse.js.map +1 -0
- package/dist/schemas/getSuggestCompletionResponse.d.ts +10 -0
- package/dist/schemas/getSuggestCompletionResponse.d.ts.map +1 -0
- package/dist/schemas/getSuggestCompletionResponse.js +8 -0
- package/dist/schemas/getSuggestCompletionResponse.js.map +1 -0
- package/dist/schemas/getUserResponse.d.ts +19 -0
- package/dist/schemas/getUserResponse.d.ts.map +1 -0
- package/dist/schemas/getUserResponse.js +2 -0
- package/dist/schemas/getUserResponse.js.map +1 -0
- package/dist/schemas/hidePostRequest.d.ts +11 -0
- package/dist/schemas/hidePostRequest.d.ts.map +1 -0
- package/dist/schemas/hidePostRequest.js +8 -0
- package/dist/schemas/hidePostRequest.js.map +1 -0
- package/dist/schemas/imageDeleteRequest.d.ts +10 -0
- package/dist/schemas/imageDeleteRequest.d.ts.map +1 -0
- package/dist/schemas/imageDeleteRequest.js +8 -0
- package/dist/schemas/imageDeleteRequest.js.map +1 -0
- package/dist/schemas/imageDeleteResponse.d.ts +10 -0
- package/dist/schemas/imageDeleteResponse.d.ts.map +1 -0
- package/dist/schemas/imageDeleteResponse.js +8 -0
- package/dist/schemas/imageDeleteResponse.js.map +1 -0
- package/dist/schemas/imageUploadRequest.d.ts +10 -0
- package/dist/schemas/imageUploadRequest.d.ts.map +1 -0
- package/dist/schemas/imageUploadRequest.js +8 -0
- package/dist/schemas/imageUploadRequest.js.map +1 -0
- package/dist/schemas/imageUploadResponse.d.ts +13 -0
- package/dist/schemas/imageUploadResponse.d.ts.map +1 -0
- package/dist/schemas/imageUploadResponse.js +8 -0
- package/dist/schemas/imageUploadResponse.js.map +1 -0
- package/dist/schemas/index.d.ts +433 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +433 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/instance.d.ts +15 -0
- package/dist/schemas/instance.d.ts.map +1 -0
- package/dist/schemas/instance.js +8 -0
- package/dist/schemas/instance.js.map +1 -0
- package/dist/schemas/instanceBlockView.d.ts +13 -0
- package/dist/schemas/instanceBlockView.d.ts.map +1 -0
- package/dist/schemas/instanceBlockView.js +2 -0
- package/dist/schemas/instanceBlockView.js.map +1 -0
- package/dist/schemas/instanceWithoutFederationState.d.ts +15 -0
- package/dist/schemas/instanceWithoutFederationState.d.ts.map +1 -0
- package/dist/schemas/instanceWithoutFederationState.js +8 -0
- package/dist/schemas/instanceWithoutFederationState.js.map +1 -0
- package/dist/schemas/languageView.d.ts +12 -0
- package/dist/schemas/languageView.d.ts.map +1 -0
- package/dist/schemas/languageView.js +8 -0
- package/dist/schemas/languageView.js.map +1 -0
- package/dist/schemas/leaveConversationRequest.d.ts +10 -0
- package/dist/schemas/leaveConversationRequest.d.ts.map +1 -0
- package/dist/schemas/leaveConversationRequest.js +8 -0
- package/dist/schemas/leaveConversationRequest.js.map +1 -0
- package/dist/schemas/likeCommentRequest.d.ts +15 -0
- package/dist/schemas/likeCommentRequest.d.ts.map +1 -0
- package/dist/schemas/likeCommentRequest.js +8 -0
- package/dist/schemas/likeCommentRequest.js.map +1 -0
- package/dist/schemas/likePostRequest.d.ts +13 -0
- package/dist/schemas/likePostRequest.d.ts.map +1 -0
- package/dist/schemas/likePostRequest.js +8 -0
- package/dist/schemas/likePostRequest.js.map +1 -0
- package/dist/schemas/listCommentLikesResponse.d.ts +13 -0
- package/dist/schemas/listCommentLikesResponse.d.ts.map +1 -0
- package/dist/schemas/listCommentLikesResponse.js +2 -0
- package/dist/schemas/listCommentLikesResponse.js.map +1 -0
- package/dist/schemas/listCommentLikesResponseNextPage.d.ts +8 -0
- package/dist/schemas/listCommentLikesResponseNextPage.d.ts.map +1 -0
- package/dist/schemas/listCommentLikesResponseNextPage.js +8 -0
- package/dist/schemas/listCommentLikesResponseNextPage.js.map +1 -0
- package/dist/schemas/listCommentsResponse.d.ts +13 -0
- package/dist/schemas/listCommentsResponse.d.ts.map +1 -0
- package/dist/schemas/listCommentsResponse.js +2 -0
- package/dist/schemas/listCommentsResponse.js.map +1 -0
- package/dist/schemas/listCommentsResponseNextPage.d.ts +8 -0
- package/dist/schemas/listCommentsResponseNextPage.d.ts.map +1 -0
- package/dist/schemas/listCommentsResponseNextPage.js +8 -0
- package/dist/schemas/listCommentsResponseNextPage.js.map +1 -0
- package/dist/schemas/listCommunitiesResponse.d.ts +13 -0
- package/dist/schemas/listCommunitiesResponse.d.ts.map +1 -0
- package/dist/schemas/listCommunitiesResponse.js +2 -0
- package/dist/schemas/listCommunitiesResponse.js.map +1 -0
- package/dist/schemas/listCommunitiesResponseNextPage.d.ts +8 -0
- package/dist/schemas/listCommunitiesResponseNextPage.d.ts.map +1 -0
- package/dist/schemas/listCommunitiesResponseNextPage.js +8 -0
- package/dist/schemas/listCommunitiesResponseNextPage.js.map +1 -0
- package/dist/schemas/listPostLikesResponse.d.ts +13 -0
- package/dist/schemas/listPostLikesResponse.d.ts.map +1 -0
- package/dist/schemas/listPostLikesResponse.js +2 -0
- package/dist/schemas/listPostLikesResponse.js.map +1 -0
- package/dist/schemas/listPostLikesResponseNextPage.d.ts +8 -0
- package/dist/schemas/listPostLikesResponseNextPage.d.ts.map +1 -0
- package/dist/schemas/listPostLikesResponseNextPage.js +8 -0
- package/dist/schemas/listPostLikesResponseNextPage.js.map +1 -0
- package/dist/schemas/listPostsResponse.d.ts +13 -0
- package/dist/schemas/listPostsResponse.d.ts.map +1 -0
- package/dist/schemas/listPostsResponse.js +2 -0
- package/dist/schemas/listPostsResponse.js.map +1 -0
- package/dist/schemas/listPostsResponseNextPage.d.ts +8 -0
- package/dist/schemas/listPostsResponseNextPage.d.ts.map +1 -0
- package/dist/schemas/listPostsResponseNextPage.js +8 -0
- package/dist/schemas/listPostsResponseNextPage.js.map +1 -0
- package/dist/schemas/listPrivateMessagesResponse.d.ts +11 -0
- package/dist/schemas/listPrivateMessagesResponse.d.ts.map +1 -0
- package/dist/schemas/listPrivateMessagesResponse.js +2 -0
- package/dist/schemas/listPrivateMessagesResponse.js.map +1 -0
- package/dist/schemas/localUser.d.ts +56 -0
- package/dist/schemas/localUser.d.ts.map +1 -0
- package/dist/schemas/localUser.js +2 -0
- package/dist/schemas/localUser.js.map +1 -0
- package/dist/schemas/localUserAcceptPrivateMessages.d.ts +17 -0
- package/dist/schemas/localUserAcceptPrivateMessages.d.ts.map +1 -0
- package/dist/schemas/localUserAcceptPrivateMessages.js +14 -0
- package/dist/schemas/localUserAcceptPrivateMessages.js.map +1 -0
- package/dist/schemas/localUserAiVisibility.d.ts +14 -0
- package/dist/schemas/localUserAiVisibility.d.ts.map +1 -0
- package/dist/schemas/localUserAiVisibility.js +14 -0
- package/dist/schemas/localUserAiVisibility.js.map +1 -0
- package/dist/schemas/localUserBotVisibility.d.ts +14 -0
- package/dist/schemas/localUserBotVisibility.d.ts.map +1 -0
- package/dist/schemas/localUserBotVisibility.js +14 -0
- package/dist/schemas/localUserBotVisibility.js.map +1 -0
- package/dist/schemas/localUserDefaultCommentSortType.d.ts +16 -0
- package/dist/schemas/localUserDefaultCommentSortType.d.ts.map +1 -0
- package/dist/schemas/localUserDefaultCommentSortType.js +16 -0
- package/dist/schemas/localUserDefaultCommentSortType.js.map +1 -0
- package/dist/schemas/localUserDefaultListingType.d.ts +16 -0
- package/dist/schemas/localUserDefaultListingType.d.ts.map +1 -0
- package/dist/schemas/localUserDefaultListingType.js +16 -0
- package/dist/schemas/localUserDefaultListingType.js.map +1 -0
- package/dist/schemas/localUserDefaultSortType.d.ts +32 -0
- package/dist/schemas/localUserDefaultSortType.d.ts.map +1 -0
- package/dist/schemas/localUserDefaultSortType.js +32 -0
- package/dist/schemas/localUserDefaultSortType.js.map +1 -0
- package/dist/schemas/localUserNsflVisibility.d.ts +14 -0
- package/dist/schemas/localUserNsflVisibility.d.ts.map +1 -0
- package/dist/schemas/localUserNsflVisibility.js +14 -0
- package/dist/schemas/localUserNsflVisibility.js.map +1 -0
- package/dist/schemas/localUserNsfwVisibility.d.ts +14 -0
- package/dist/schemas/localUserNsfwVisibility.d.ts.map +1 -0
- package/dist/schemas/localUserNsfwVisibility.js +14 -0
- package/dist/schemas/localUserNsfwVisibility.js.map +1 -0
- package/dist/schemas/localUserView.d.ts +15 -0
- package/dist/schemas/localUserView.d.ts.map +1 -0
- package/dist/schemas/localUserView.js +2 -0
- package/dist/schemas/localUserView.js.map +1 -0
- package/dist/schemas/lockCommentRequest.d.ts +11 -0
- package/dist/schemas/lockCommentRequest.d.ts.map +1 -0
- package/dist/schemas/lockCommentRequest.js +8 -0
- package/dist/schemas/lockCommentRequest.js.map +1 -0
- package/dist/schemas/lockPostRequest.d.ts +11 -0
- package/dist/schemas/lockPostRequest.d.ts.map +1 -0
- package/dist/schemas/lockPostRequest.js +8 -0
- package/dist/schemas/lockPostRequest.js.map +1 -0
- package/dist/schemas/markCommentAsAnswerRequest.d.ts +11 -0
- package/dist/schemas/markCommentAsAnswerRequest.d.ts.map +1 -0
- package/dist/schemas/markCommentAsAnswerRequest.js +8 -0
- package/dist/schemas/markCommentAsAnswerRequest.js.map +1 -0
- package/dist/schemas/markCommentAsReadRequest.d.ts +11 -0
- package/dist/schemas/markCommentAsReadRequest.d.ts.map +1 -0
- package/dist/schemas/markCommentAsReadRequest.js +8 -0
- package/dist/schemas/markCommentAsReadRequest.js.map +1 -0
- package/dist/schemas/markPostAsReadRequest.d.ts +12 -0
- package/dist/schemas/markPostAsReadRequest.d.ts.map +1 -0
- package/dist/schemas/markPostAsReadRequest.js +8 -0
- package/dist/schemas/markPostAsReadRequest.js.map +1 -0
- package/dist/schemas/markPrivateMessageAsReadRequest.d.ts +11 -0
- package/dist/schemas/markPrivateMessageAsReadRequest.d.ts.map +1 -0
- package/dist/schemas/markPrivateMessageAsReadRequest.js +8 -0
- package/dist/schemas/markPrivateMessageAsReadRequest.js.map +1 -0
- package/dist/schemas/mediaView.d.ts +11 -0
- package/dist/schemas/mediaView.d.ts.map +1 -0
- package/dist/schemas/mediaView.js +8 -0
- package/dist/schemas/mediaView.js.map +1 -0
- package/dist/schemas/miniCrossPosts.d.ts +12 -0
- package/dist/schemas/miniCrossPosts.d.ts.map +1 -0
- package/dist/schemas/miniCrossPosts.js +8 -0
- package/dist/schemas/miniCrossPosts.js.map +1 -0
- package/dist/schemas/modAdd.d.ts +16 -0
- package/dist/schemas/modAdd.d.ts.map +1 -0
- package/dist/schemas/modAdd.js +2 -0
- package/dist/schemas/modAdd.js.map +1 -0
- package/dist/schemas/modAddCommunity.d.ts +18 -0
- package/dist/schemas/modAddCommunity.d.ts.map +1 -0
- package/dist/schemas/modAddCommunity.js +2 -0
- package/dist/schemas/modAddCommunity.js.map +1 -0
- package/dist/schemas/modAddCommunityCommunityId.d.ts +8 -0
- package/dist/schemas/modAddCommunityCommunityId.d.ts.map +1 -0
- package/dist/schemas/modAddCommunityCommunityId.js +8 -0
- package/dist/schemas/modAddCommunityCommunityId.js.map +1 -0
- package/dist/schemas/modAddCommunityModPersonId.d.ts +8 -0
- package/dist/schemas/modAddCommunityModPersonId.d.ts.map +1 -0
- package/dist/schemas/modAddCommunityModPersonId.js +8 -0
- package/dist/schemas/modAddCommunityModPersonId.js.map +1 -0
- package/dist/schemas/modAddCommunityOtherPersonId.d.ts +8 -0
- package/dist/schemas/modAddCommunityOtherPersonId.d.ts.map +1 -0
- package/dist/schemas/modAddCommunityOtherPersonId.js +8 -0
- package/dist/schemas/modAddCommunityOtherPersonId.js.map +1 -0
- package/dist/schemas/modAddCommunityView.d.ts +17 -0
- package/dist/schemas/modAddCommunityView.d.ts.map +1 -0
- package/dist/schemas/modAddCommunityView.js +2 -0
- package/dist/schemas/modAddCommunityView.js.map +1 -0
- package/dist/schemas/modAddCommunityViewCommunity.d.ts +9 -0
- package/dist/schemas/modAddCommunityViewCommunity.d.ts.map +1 -0
- package/dist/schemas/modAddCommunityViewCommunity.js +2 -0
- package/dist/schemas/modAddCommunityViewCommunity.js.map +1 -0
- package/dist/schemas/modAddCommunityViewModdedPerson.d.ts +9 -0
- package/dist/schemas/modAddCommunityViewModdedPerson.d.ts.map +1 -0
- package/dist/schemas/modAddCommunityViewModdedPerson.js +2 -0
- package/dist/schemas/modAddCommunityViewModdedPerson.js.map +1 -0
- package/dist/schemas/modAddCommunityViewModerator.d.ts +9 -0
- package/dist/schemas/modAddCommunityViewModerator.d.ts.map +1 -0
- package/dist/schemas/modAddCommunityViewModerator.js +2 -0
- package/dist/schemas/modAddCommunityViewModerator.js.map +1 -0
- package/dist/schemas/modAddModPersonId.d.ts +8 -0
- package/dist/schemas/modAddModPersonId.d.ts.map +1 -0
- package/dist/schemas/modAddModPersonId.js +8 -0
- package/dist/schemas/modAddModPersonId.js.map +1 -0
- package/dist/schemas/modAddOtherPersonId.d.ts +8 -0
- package/dist/schemas/modAddOtherPersonId.d.ts.map +1 -0
- package/dist/schemas/modAddOtherPersonId.js +8 -0
- package/dist/schemas/modAddOtherPersonId.js.map +1 -0
- package/dist/schemas/modAddView.d.ts +15 -0
- package/dist/schemas/modAddView.d.ts.map +1 -0
- package/dist/schemas/modAddView.js +2 -0
- package/dist/schemas/modAddView.js.map +1 -0
- package/dist/schemas/modAddViewModdedPerson.d.ts +9 -0
- package/dist/schemas/modAddViewModdedPerson.d.ts.map +1 -0
- package/dist/schemas/modAddViewModdedPerson.js +2 -0
- package/dist/schemas/modAddViewModdedPerson.js.map +1 -0
- package/dist/schemas/modAddViewModerator.d.ts +9 -0
- package/dist/schemas/modAddViewModerator.d.ts.map +1 -0
- package/dist/schemas/modAddViewModerator.js +2 -0
- package/dist/schemas/modAddViewModerator.js.map +1 -0
- package/dist/schemas/modBan.d.ts +20 -0
- package/dist/schemas/modBan.d.ts.map +1 -0
- package/dist/schemas/modBan.js +2 -0
- package/dist/schemas/modBan.js.map +1 -0
- package/dist/schemas/modBanExpires.d.ts +8 -0
- package/dist/schemas/modBanExpires.d.ts.map +1 -0
- package/dist/schemas/modBanExpires.js +8 -0
- package/dist/schemas/modBanExpires.js.map +1 -0
- package/dist/schemas/modBanFromCommunity.d.ts +22 -0
- package/dist/schemas/modBanFromCommunity.d.ts.map +1 -0
- package/dist/schemas/modBanFromCommunity.js +2 -0
- package/dist/schemas/modBanFromCommunity.js.map +1 -0
- package/dist/schemas/modBanFromCommunityCommunityId.d.ts +8 -0
- package/dist/schemas/modBanFromCommunityCommunityId.d.ts.map +1 -0
- package/dist/schemas/modBanFromCommunityCommunityId.js +8 -0
- package/dist/schemas/modBanFromCommunityCommunityId.js.map +1 -0
- package/dist/schemas/modBanFromCommunityExpires.d.ts +8 -0
- package/dist/schemas/modBanFromCommunityExpires.d.ts.map +1 -0
- package/dist/schemas/modBanFromCommunityExpires.js +8 -0
- package/dist/schemas/modBanFromCommunityExpires.js.map +1 -0
- package/dist/schemas/modBanFromCommunityModPersonId.d.ts +8 -0
- package/dist/schemas/modBanFromCommunityModPersonId.d.ts.map +1 -0
- package/dist/schemas/modBanFromCommunityModPersonId.js +8 -0
- package/dist/schemas/modBanFromCommunityModPersonId.js.map +1 -0
- package/dist/schemas/modBanFromCommunityOtherPersonId.d.ts +8 -0
- package/dist/schemas/modBanFromCommunityOtherPersonId.d.ts.map +1 -0
- package/dist/schemas/modBanFromCommunityOtherPersonId.js +8 -0
- package/dist/schemas/modBanFromCommunityOtherPersonId.js.map +1 -0
- package/dist/schemas/modBanFromCommunityReason.d.ts +8 -0
- package/dist/schemas/modBanFromCommunityReason.d.ts.map +1 -0
- package/dist/schemas/modBanFromCommunityReason.js +8 -0
- package/dist/schemas/modBanFromCommunityReason.js.map +1 -0
- package/dist/schemas/modBanFromCommunityView.d.ts +17 -0
- package/dist/schemas/modBanFromCommunityView.d.ts.map +1 -0
- package/dist/schemas/modBanFromCommunityView.js +2 -0
- package/dist/schemas/modBanFromCommunityView.js.map +1 -0
- package/dist/schemas/modBanFromCommunityViewBannedPerson.d.ts +9 -0
- package/dist/schemas/modBanFromCommunityViewBannedPerson.d.ts.map +1 -0
- package/dist/schemas/modBanFromCommunityViewBannedPerson.js +2 -0
- package/dist/schemas/modBanFromCommunityViewBannedPerson.js.map +1 -0
- package/dist/schemas/modBanFromCommunityViewCommunity.d.ts +9 -0
- package/dist/schemas/modBanFromCommunityViewCommunity.d.ts.map +1 -0
- package/dist/schemas/modBanFromCommunityViewCommunity.js +2 -0
- package/dist/schemas/modBanFromCommunityViewCommunity.js.map +1 -0
- package/dist/schemas/modBanFromCommunityViewModerator.d.ts +9 -0
- package/dist/schemas/modBanFromCommunityViewModerator.d.ts.map +1 -0
- package/dist/schemas/modBanFromCommunityViewModerator.js +2 -0
- package/dist/schemas/modBanFromCommunityViewModerator.js.map +1 -0
- package/dist/schemas/modBanModPersonId.d.ts +8 -0
- package/dist/schemas/modBanModPersonId.d.ts.map +1 -0
- package/dist/schemas/modBanModPersonId.js +8 -0
- package/dist/schemas/modBanModPersonId.js.map +1 -0
- package/dist/schemas/modBanOtherPersonId.d.ts +8 -0
- package/dist/schemas/modBanOtherPersonId.d.ts.map +1 -0
- package/dist/schemas/modBanOtherPersonId.js +8 -0
- package/dist/schemas/modBanOtherPersonId.js.map +1 -0
- package/dist/schemas/modBanReason.d.ts +8 -0
- package/dist/schemas/modBanReason.d.ts.map +1 -0
- package/dist/schemas/modBanReason.js +8 -0
- package/dist/schemas/modBanReason.js.map +1 -0
- package/dist/schemas/modBanView.d.ts +15 -0
- package/dist/schemas/modBanView.d.ts.map +1 -0
- package/dist/schemas/modBanView.js +2 -0
- package/dist/schemas/modBanView.js.map +1 -0
- package/dist/schemas/modBanViewBannedPerson.d.ts +9 -0
- package/dist/schemas/modBanViewBannedPerson.d.ts.map +1 -0
- package/dist/schemas/modBanViewBannedPerson.js +2 -0
- package/dist/schemas/modBanViewBannedPerson.js.map +1 -0
- package/dist/schemas/modBanViewModerator.d.ts +9 -0
- package/dist/schemas/modBanViewModerator.d.ts.map +1 -0
- package/dist/schemas/modBanViewModerator.js +2 -0
- package/dist/schemas/modBanViewModerator.js.map +1 -0
- package/dist/schemas/modCommunityRequest.d.ts +12 -0
- package/dist/schemas/modCommunityRequest.d.ts.map +1 -0
- package/dist/schemas/modCommunityRequest.js +8 -0
- package/dist/schemas/modCommunityRequest.js.map +1 -0
- package/dist/schemas/modCommunityResponse.d.ts +11 -0
- package/dist/schemas/modCommunityResponse.d.ts.map +1 -0
- package/dist/schemas/modCommunityResponse.js +2 -0
- package/dist/schemas/modCommunityResponse.js.map +1 -0
- package/dist/schemas/modFeaturePost.d.ts +17 -0
- package/dist/schemas/modFeaturePost.d.ts.map +1 -0
- package/dist/schemas/modFeaturePost.js +2 -0
- package/dist/schemas/modFeaturePost.js.map +1 -0
- package/dist/schemas/modFeaturePostModPersonId.d.ts +8 -0
- package/dist/schemas/modFeaturePostModPersonId.d.ts.map +1 -0
- package/dist/schemas/modFeaturePostModPersonId.js +8 -0
- package/dist/schemas/modFeaturePostModPersonId.js.map +1 -0
- package/dist/schemas/modFeaturePostPostId.d.ts +8 -0
- package/dist/schemas/modFeaturePostPostId.d.ts.map +1 -0
- package/dist/schemas/modFeaturePostPostId.js +8 -0
- package/dist/schemas/modFeaturePostPostId.js.map +1 -0
- package/dist/schemas/modFeaturePostView.d.ts +17 -0
- package/dist/schemas/modFeaturePostView.d.ts.map +1 -0
- package/dist/schemas/modFeaturePostView.js +2 -0
- package/dist/schemas/modFeaturePostView.js.map +1 -0
- package/dist/schemas/modFeaturePostViewCommunity.d.ts +9 -0
- package/dist/schemas/modFeaturePostViewCommunity.d.ts.map +1 -0
- package/dist/schemas/modFeaturePostViewCommunity.js +2 -0
- package/dist/schemas/modFeaturePostViewCommunity.js.map +1 -0
- package/dist/schemas/modFeaturePostViewModerator.d.ts +9 -0
- package/dist/schemas/modFeaturePostViewModerator.d.ts.map +1 -0
- package/dist/schemas/modFeaturePostViewModerator.js +2 -0
- package/dist/schemas/modFeaturePostViewModerator.js.map +1 -0
- package/dist/schemas/modFeaturePostViewPost.d.ts +9 -0
- package/dist/schemas/modFeaturePostViewPost.d.ts.map +1 -0
- package/dist/schemas/modFeaturePostViewPost.js +2 -0
- package/dist/schemas/modFeaturePostViewPost.js.map +1 -0
- package/dist/schemas/modHideCommunity.d.ts +18 -0
- package/dist/schemas/modHideCommunity.d.ts.map +1 -0
- package/dist/schemas/modHideCommunity.js +2 -0
- package/dist/schemas/modHideCommunity.js.map +1 -0
- package/dist/schemas/modHideCommunityCommunityId.d.ts +8 -0
- package/dist/schemas/modHideCommunityCommunityId.d.ts.map +1 -0
- package/dist/schemas/modHideCommunityCommunityId.js +8 -0
- package/dist/schemas/modHideCommunityCommunityId.js.map +1 -0
- package/dist/schemas/modHideCommunityModPersonId.d.ts +8 -0
- package/dist/schemas/modHideCommunityModPersonId.d.ts.map +1 -0
- package/dist/schemas/modHideCommunityModPersonId.js +8 -0
- package/dist/schemas/modHideCommunityModPersonId.js.map +1 -0
- package/dist/schemas/modHideCommunityReason.d.ts +8 -0
- package/dist/schemas/modHideCommunityReason.d.ts.map +1 -0
- package/dist/schemas/modHideCommunityReason.js +8 -0
- package/dist/schemas/modHideCommunityReason.js.map +1 -0
- package/dist/schemas/modHideCommunityView.d.ts +15 -0
- package/dist/schemas/modHideCommunityView.d.ts.map +1 -0
- package/dist/schemas/modHideCommunityView.js +2 -0
- package/dist/schemas/modHideCommunityView.js.map +1 -0
- package/dist/schemas/modLockPost.d.ts +16 -0
- package/dist/schemas/modLockPost.d.ts.map +1 -0
- package/dist/schemas/modLockPost.js +2 -0
- package/dist/schemas/modLockPost.js.map +1 -0
- package/dist/schemas/modLockPostModPersonId.d.ts +8 -0
- package/dist/schemas/modLockPostModPersonId.d.ts.map +1 -0
- package/dist/schemas/modLockPostModPersonId.js +8 -0
- package/dist/schemas/modLockPostModPersonId.js.map +1 -0
- package/dist/schemas/modLockPostPostId.d.ts +8 -0
- package/dist/schemas/modLockPostPostId.d.ts.map +1 -0
- package/dist/schemas/modLockPostPostId.js +8 -0
- package/dist/schemas/modLockPostPostId.js.map +1 -0
- package/dist/schemas/modLockPostView.d.ts +17 -0
- package/dist/schemas/modLockPostView.d.ts.map +1 -0
- package/dist/schemas/modLockPostView.js +2 -0
- package/dist/schemas/modLockPostView.js.map +1 -0
- package/dist/schemas/modLockPostViewCommunity.d.ts +9 -0
- package/dist/schemas/modLockPostViewCommunity.d.ts.map +1 -0
- package/dist/schemas/modLockPostViewCommunity.js +2 -0
- package/dist/schemas/modLockPostViewCommunity.js.map +1 -0
- package/dist/schemas/modLockPostViewModerator.d.ts +9 -0
- package/dist/schemas/modLockPostViewModerator.d.ts.map +1 -0
- package/dist/schemas/modLockPostViewModerator.js +2 -0
- package/dist/schemas/modLockPostViewModerator.js.map +1 -0
- package/dist/schemas/modLockPostViewPost.d.ts +9 -0
- package/dist/schemas/modLockPostViewPost.d.ts.map +1 -0
- package/dist/schemas/modLockPostViewPost.js +2 -0
- package/dist/schemas/modLockPostViewPost.js.map +1 -0
- package/dist/schemas/modRemoveComment.d.ts +18 -0
- package/dist/schemas/modRemoveComment.d.ts.map +1 -0
- package/dist/schemas/modRemoveComment.js +2 -0
- package/dist/schemas/modRemoveComment.js.map +1 -0
- package/dist/schemas/modRemoveCommentCommentId.d.ts +8 -0
- package/dist/schemas/modRemoveCommentCommentId.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommentCommentId.js +8 -0
- package/dist/schemas/modRemoveCommentCommentId.js.map +1 -0
- package/dist/schemas/modRemoveCommentModPersonId.d.ts +8 -0
- package/dist/schemas/modRemoveCommentModPersonId.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommentModPersonId.js +8 -0
- package/dist/schemas/modRemoveCommentModPersonId.js.map +1 -0
- package/dist/schemas/modRemoveCommentReason.d.ts +8 -0
- package/dist/schemas/modRemoveCommentReason.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommentReason.js +8 -0
- package/dist/schemas/modRemoveCommentReason.js.map +1 -0
- package/dist/schemas/modRemoveCommentView.d.ts +21 -0
- package/dist/schemas/modRemoveCommentView.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommentView.js +2 -0
- package/dist/schemas/modRemoveCommentView.js.map +1 -0
- package/dist/schemas/modRemoveCommentViewComment.d.ts +9 -0
- package/dist/schemas/modRemoveCommentViewComment.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommentViewComment.js +2 -0
- package/dist/schemas/modRemoveCommentViewComment.js.map +1 -0
- package/dist/schemas/modRemoveCommentViewCommenter.d.ts +9 -0
- package/dist/schemas/modRemoveCommentViewCommenter.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommentViewCommenter.js +2 -0
- package/dist/schemas/modRemoveCommentViewCommenter.js.map +1 -0
- package/dist/schemas/modRemoveCommentViewCommunity.d.ts +9 -0
- package/dist/schemas/modRemoveCommentViewCommunity.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommentViewCommunity.js +2 -0
- package/dist/schemas/modRemoveCommentViewCommunity.js.map +1 -0
- package/dist/schemas/modRemoveCommentViewModerator.d.ts +9 -0
- package/dist/schemas/modRemoveCommentViewModerator.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommentViewModerator.js +2 -0
- package/dist/schemas/modRemoveCommentViewModerator.js.map +1 -0
- package/dist/schemas/modRemoveCommentViewPost.d.ts +9 -0
- package/dist/schemas/modRemoveCommentViewPost.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommentViewPost.js +2 -0
- package/dist/schemas/modRemoveCommentViewPost.js.map +1 -0
- package/dist/schemas/modRemoveCommunity.d.ts +18 -0
- package/dist/schemas/modRemoveCommunity.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommunity.js +2 -0
- package/dist/schemas/modRemoveCommunity.js.map +1 -0
- package/dist/schemas/modRemoveCommunityCommunityId.d.ts +8 -0
- package/dist/schemas/modRemoveCommunityCommunityId.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommunityCommunityId.js +8 -0
- package/dist/schemas/modRemoveCommunityCommunityId.js.map +1 -0
- package/dist/schemas/modRemoveCommunityModPersonId.d.ts +8 -0
- package/dist/schemas/modRemoveCommunityModPersonId.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommunityModPersonId.js +8 -0
- package/dist/schemas/modRemoveCommunityModPersonId.js.map +1 -0
- package/dist/schemas/modRemoveCommunityReason.d.ts +8 -0
- package/dist/schemas/modRemoveCommunityReason.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommunityReason.js +8 -0
- package/dist/schemas/modRemoveCommunityReason.js.map +1 -0
- package/dist/schemas/modRemoveCommunityView.d.ts +15 -0
- package/dist/schemas/modRemoveCommunityView.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommunityView.js +2 -0
- package/dist/schemas/modRemoveCommunityView.js.map +1 -0
- package/dist/schemas/modRemoveCommunityViewCommunity.d.ts +9 -0
- package/dist/schemas/modRemoveCommunityViewCommunity.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommunityViewCommunity.js +2 -0
- package/dist/schemas/modRemoveCommunityViewCommunity.js.map +1 -0
- package/dist/schemas/modRemoveCommunityViewModerator.d.ts +9 -0
- package/dist/schemas/modRemoveCommunityViewModerator.d.ts.map +1 -0
- package/dist/schemas/modRemoveCommunityViewModerator.js +2 -0
- package/dist/schemas/modRemoveCommunityViewModerator.js.map +1 -0
- package/dist/schemas/modRemovePost.d.ts +18 -0
- package/dist/schemas/modRemovePost.d.ts.map +1 -0
- package/dist/schemas/modRemovePost.js +2 -0
- package/dist/schemas/modRemovePost.js.map +1 -0
- package/dist/schemas/modRemovePostModPersonId.d.ts +8 -0
- package/dist/schemas/modRemovePostModPersonId.d.ts.map +1 -0
- package/dist/schemas/modRemovePostModPersonId.js +8 -0
- package/dist/schemas/modRemovePostModPersonId.js.map +1 -0
- package/dist/schemas/modRemovePostPostId.d.ts +8 -0
- package/dist/schemas/modRemovePostPostId.d.ts.map +1 -0
- package/dist/schemas/modRemovePostPostId.js +8 -0
- package/dist/schemas/modRemovePostPostId.js.map +1 -0
- package/dist/schemas/modRemovePostReason.d.ts +8 -0
- package/dist/schemas/modRemovePostReason.d.ts.map +1 -0
- package/dist/schemas/modRemovePostReason.js +8 -0
- package/dist/schemas/modRemovePostReason.js.map +1 -0
- package/dist/schemas/modRemovePostView.d.ts +17 -0
- package/dist/schemas/modRemovePostView.d.ts.map +1 -0
- package/dist/schemas/modRemovePostView.js +2 -0
- package/dist/schemas/modRemovePostView.js.map +1 -0
- package/dist/schemas/modRemovePostViewCommunity.d.ts +9 -0
- package/dist/schemas/modRemovePostViewCommunity.d.ts.map +1 -0
- package/dist/schemas/modRemovePostViewCommunity.js +2 -0
- package/dist/schemas/modRemovePostViewCommunity.js.map +1 -0
- package/dist/schemas/modRemovePostViewModerator.d.ts +9 -0
- package/dist/schemas/modRemovePostViewModerator.d.ts.map +1 -0
- package/dist/schemas/modRemovePostViewModerator.js +2 -0
- package/dist/schemas/modRemovePostViewModerator.js.map +1 -0
- package/dist/schemas/modRemovePostViewPost.d.ts +9 -0
- package/dist/schemas/modRemovePostViewPost.d.ts.map +1 -0
- package/dist/schemas/modRemovePostViewPost.js +2 -0
- package/dist/schemas/modRemovePostViewPost.js.map +1 -0
- package/dist/schemas/modTransferCommunity.d.ts +17 -0
- package/dist/schemas/modTransferCommunity.d.ts.map +1 -0
- package/dist/schemas/modTransferCommunity.js +2 -0
- package/dist/schemas/modTransferCommunity.js.map +1 -0
- package/dist/schemas/modTransferCommunityCommunityId.d.ts +8 -0
- package/dist/schemas/modTransferCommunityCommunityId.d.ts.map +1 -0
- package/dist/schemas/modTransferCommunityCommunityId.js +8 -0
- package/dist/schemas/modTransferCommunityCommunityId.js.map +1 -0
- package/dist/schemas/modTransferCommunityModPersonId.d.ts +8 -0
- package/dist/schemas/modTransferCommunityModPersonId.d.ts.map +1 -0
- package/dist/schemas/modTransferCommunityModPersonId.js +8 -0
- package/dist/schemas/modTransferCommunityModPersonId.js.map +1 -0
- package/dist/schemas/modTransferCommunityOtherPersonId.d.ts +8 -0
- package/dist/schemas/modTransferCommunityOtherPersonId.d.ts.map +1 -0
- package/dist/schemas/modTransferCommunityOtherPersonId.js +8 -0
- package/dist/schemas/modTransferCommunityOtherPersonId.js.map +1 -0
- package/dist/schemas/modTransferCommunityView.d.ts +17 -0
- package/dist/schemas/modTransferCommunityView.d.ts.map +1 -0
- package/dist/schemas/modTransferCommunityView.js +2 -0
- package/dist/schemas/modTransferCommunityView.js.map +1 -0
- package/dist/schemas/modTransferCommunityViewModdedPerson.d.ts +9 -0
- package/dist/schemas/modTransferCommunityViewModdedPerson.d.ts.map +1 -0
- package/dist/schemas/modTransferCommunityViewModdedPerson.js +2 -0
- package/dist/schemas/modTransferCommunityViewModdedPerson.js.map +1 -0
- package/dist/schemas/modTransferCommunityViewModerator.d.ts +9 -0
- package/dist/schemas/modTransferCommunityViewModerator.d.ts.map +1 -0
- package/dist/schemas/modTransferCommunityViewModerator.js +2 -0
- package/dist/schemas/modTransferCommunityViewModerator.js.map +1 -0
- package/dist/schemas/myUserInfo.d.ts +23 -0
- package/dist/schemas/myUserInfo.d.ts.map +1 -0
- package/dist/schemas/myUserInfo.js +2 -0
- package/dist/schemas/myUserInfo.js.map +1 -0
- package/dist/schemas/newUserExtraField.d.ts +18 -0
- package/dist/schemas/newUserExtraField.d.ts.map +1 -0
- package/dist/schemas/newUserExtraField.js +2 -0
- package/dist/schemas/newUserExtraField.js.map +1 -0
- package/dist/schemas/newUserExtraFieldId.d.ts +11 -0
- package/dist/schemas/newUserExtraFieldId.d.ts.map +1 -0
- package/dist/schemas/newUserExtraFieldId.js +8 -0
- package/dist/schemas/newUserExtraFieldId.js.map +1 -0
- package/dist/schemas/newUserExtraFieldLabel.d.ts +11 -0
- package/dist/schemas/newUserExtraFieldLabel.d.ts.map +1 -0
- package/dist/schemas/newUserExtraFieldLabel.js +8 -0
- package/dist/schemas/newUserExtraFieldLabel.js.map +1 -0
- package/dist/schemas/newUserExtraFieldText.d.ts +11 -0
- package/dist/schemas/newUserExtraFieldText.d.ts.map +1 -0
- package/dist/schemas/newUserExtraFieldText.js +8 -0
- package/dist/schemas/newUserExtraFieldText.js.map +1 -0
- package/dist/schemas/paginationMetadata.d.ts +16 -0
- package/dist/schemas/paginationMetadata.d.ts.map +1 -0
- package/dist/schemas/paginationMetadata.js +8 -0
- package/dist/schemas/paginationMetadata.js.map +1 -0
- package/dist/schemas/person.d.ts +32 -0
- package/dist/schemas/person.d.ts.map +1 -0
- package/dist/schemas/person.js +2 -0
- package/dist/schemas/person.js.map +1 -0
- package/dist/schemas/personAggregates.d.ts +12 -0
- package/dist/schemas/personAggregates.d.ts.map +1 -0
- package/dist/schemas/personAggregates.js +8 -0
- package/dist/schemas/personAggregates.js.map +1 -0
- package/dist/schemas/personAvatar.d.ts +8 -0
- package/dist/schemas/personAvatar.d.ts.map +1 -0
- package/dist/schemas/personAvatar.js +8 -0
- package/dist/schemas/personAvatar.js.map +1 -0
- package/dist/schemas/personBanner.d.ts +8 -0
- package/dist/schemas/personBanner.d.ts.map +1 -0
- package/dist/schemas/personBanner.js +8 -0
- package/dist/schemas/personBanner.js.map +1 -0
- package/dist/schemas/personBlockView.d.ts +12 -0
- package/dist/schemas/personBlockView.d.ts.map +1 -0
- package/dist/schemas/personBlockView.js +2 -0
- package/dist/schemas/personBlockView.js.map +1 -0
- package/dist/schemas/personTitle.d.ts +8 -0
- package/dist/schemas/personTitle.d.ts.map +1 -0
- package/dist/schemas/personTitle.js +8 -0
- package/dist/schemas/personTitle.js.map +1 -0
- package/dist/schemas/personView.d.ts +15 -0
- package/dist/schemas/personView.d.ts.map +1 -0
- package/dist/schemas/personView.js +2 -0
- package/dist/schemas/personView.js.map +1 -0
- package/dist/schemas/pollChoice.d.ts +14 -0
- package/dist/schemas/pollChoice.d.ts.map +1 -0
- package/dist/schemas/pollChoice.js +8 -0
- package/dist/schemas/pollChoice.js.map +1 -0
- package/dist/schemas/pollVoteRequest.d.ts +12 -0
- package/dist/schemas/pollVoteRequest.d.ts.map +1 -0
- package/dist/schemas/pollVoteRequest.js +8 -0
- package/dist/schemas/pollVoteRequest.js.map +1 -0
- package/dist/schemas/pollVoteResponse.d.ts +11 -0
- package/dist/schemas/pollVoteResponse.d.ts.map +1 -0
- package/dist/schemas/pollVoteResponse.js +2 -0
- package/dist/schemas/pollVoteResponse.js.map +1 -0
- package/dist/schemas/post.d.ts +46 -0
- package/dist/schemas/post.d.ts.map +1 -0
- package/dist/schemas/post.js +2 -0
- package/dist/schemas/post.js.map +1 -0
- package/dist/schemas/postAggregates.d.ts +17 -0
- package/dist/schemas/postAggregates.d.ts.map +1 -0
- package/dist/schemas/postAggregates.js +8 -0
- package/dist/schemas/postAggregates.js.map +1 -0
- package/dist/schemas/postEmojiReactions.d.ts +9 -0
- package/dist/schemas/postEmojiReactions.d.ts.map +1 -0
- package/dist/schemas/postEmojiReactions.js +2 -0
- package/dist/schemas/postEmojiReactions.js.map +1 -0
- package/dist/schemas/postEvent.d.ts +30 -0
- package/dist/schemas/postEvent.d.ts.map +1 -0
- package/dist/schemas/postEvent.js +2 -0
- package/dist/schemas/postEvent.js.map +1 -0
- package/dist/schemas/postEventBuyTicketsLink.d.ts +8 -0
- package/dist/schemas/postEventBuyTicketsLink.d.ts.map +1 -0
- package/dist/schemas/postEventBuyTicketsLink.js +8 -0
- package/dist/schemas/postEventBuyTicketsLink.js.map +1 -0
- package/dist/schemas/postEventExternalParticipationUrl.d.ts +8 -0
- package/dist/schemas/postEventExternalParticipationUrl.d.ts.map +1 -0
- package/dist/schemas/postEventExternalParticipationUrl.js +8 -0
- package/dist/schemas/postEventExternalParticipationUrl.js.map +1 -0
- package/dist/schemas/postEventLocation.d.ts +12 -0
- package/dist/schemas/postEventLocation.d.ts.map +1 -0
- package/dist/schemas/postEventLocation.js +2 -0
- package/dist/schemas/postEventLocation.js.map +1 -0
- package/dist/schemas/postEventLocationAnyOf.d.ts +13 -0
- package/dist/schemas/postEventLocationAnyOf.d.ts.map +1 -0
- package/dist/schemas/postEventLocationAnyOf.js +8 -0
- package/dist/schemas/postEventLocationAnyOf.js.map +1 -0
- package/dist/schemas/postEventOnlineLink.d.ts +8 -0
- package/dist/schemas/postEventOnlineLink.d.ts.map +1 -0
- package/dist/schemas/postEventOnlineLink.js +8 -0
- package/dist/schemas/postEventOnlineLink.js.map +1 -0
- package/dist/schemas/postFlair.d.ts +8 -0
- package/dist/schemas/postFlair.d.ts.map +1 -0
- package/dist/schemas/postFlair.js +8 -0
- package/dist/schemas/postFlair.js.map +1 -0
- package/dist/schemas/postLikeView.d.ts +14 -0
- package/dist/schemas/postLikeView.d.ts.map +1 -0
- package/dist/schemas/postLikeView.js +2 -0
- package/dist/schemas/postLikeView.js.map +1 -0
- package/dist/schemas/postPoll.d.ts +19 -0
- package/dist/schemas/postPoll.d.ts.map +1 -0
- package/dist/schemas/postPoll.js +2 -0
- package/dist/schemas/postPoll.js.map +1 -0
- package/dist/schemas/postPollMode.d.ts +15 -0
- package/dist/schemas/postPollMode.d.ts.map +1 -0
- package/dist/schemas/postPollMode.js +12 -0
- package/dist/schemas/postPollMode.js.map +1 -0
- package/dist/schemas/postPostType.d.ts +16 -0
- package/dist/schemas/postPostType.d.ts.map +1 -0
- package/dist/schemas/postPostType.js +16 -0
- package/dist/schemas/postPostType.js.map +1 -0
- package/dist/schemas/postReplyView.d.ts +32 -0
- package/dist/schemas/postReplyView.d.ts.map +1 -0
- package/dist/schemas/postReplyView.js +2 -0
- package/dist/schemas/postReplyView.js.map +1 -0
- package/dist/schemas/postReplyViewSubscribed.d.ts +16 -0
- package/dist/schemas/postReplyViewSubscribed.d.ts.map +1 -0
- package/dist/schemas/postReplyViewSubscribed.js +13 -0
- package/dist/schemas/postReplyViewSubscribed.js.map +1 -0
- package/dist/schemas/postReport.d.ts +17 -0
- package/dist/schemas/postReport.d.ts.map +1 -0
- package/dist/schemas/postReport.js +8 -0
- package/dist/schemas/postReport.js.map +1 -0
- package/dist/schemas/postReportResponse.d.ts +11 -0
- package/dist/schemas/postReportResponse.d.ts.map +1 -0
- package/dist/schemas/postReportResponse.js +2 -0
- package/dist/schemas/postReportResponse.js.map +1 -0
- package/dist/schemas/postReportView.d.ts +27 -0
- package/dist/schemas/postReportView.d.ts.map +1 -0
- package/dist/schemas/postReportView.js +2 -0
- package/dist/schemas/postReportView.js.map +1 -0
- package/dist/schemas/postReportViewSubscribed.d.ts +13 -0
- package/dist/schemas/postReportViewSubscribed.d.ts.map +1 -0
- package/dist/schemas/postReportViewSubscribed.js +13 -0
- package/dist/schemas/postReportViewSubscribed.js.map +1 -0
- package/dist/schemas/postSetFlairRequest.d.ts +13 -0
- package/dist/schemas/postSetFlairRequest.d.ts.map +1 -0
- package/dist/schemas/postSetFlairRequest.js +2 -0
- package/dist/schemas/postSetFlairRequest.js.map +1 -0
- package/dist/schemas/postSetFlairRequestFlairIdList.d.ts +11 -0
- package/dist/schemas/postSetFlairRequestFlairIdList.d.ts.map +1 -0
- package/dist/schemas/postSetFlairRequestFlairIdList.js +8 -0
- package/dist/schemas/postSetFlairRequestFlairIdList.js.map +1 -0
- package/dist/schemas/postSetFlairResponse.d.ts +34 -0
- package/dist/schemas/postSetFlairResponse.d.ts.map +1 -0
- package/dist/schemas/postSetFlairResponse.js +2 -0
- package/dist/schemas/postSetFlairResponse.js.map +1 -0
- package/dist/schemas/postSetFlairResponseSubscribed.d.ts +13 -0
- package/dist/schemas/postSetFlairResponseSubscribed.d.ts.map +1 -0
- package/dist/schemas/postSetFlairResponseSubscribed.js +13 -0
- package/dist/schemas/postSetFlairResponseSubscribed.js.map +1 -0
- package/dist/schemas/postTags.d.ts +8 -0
- package/dist/schemas/postTags.d.ts.map +1 -0
- package/dist/schemas/postTags.js +8 -0
- package/dist/schemas/postTags.js.map +1 -0
- package/dist/schemas/postView.d.ts +34 -0
- package/dist/schemas/postView.d.ts.map +1 -0
- package/dist/schemas/postView.js +2 -0
- package/dist/schemas/postView.js.map +1 -0
- package/dist/schemas/postViewSubscribed.d.ts +13 -0
- package/dist/schemas/postViewSubscribed.d.ts.map +1 -0
- package/dist/schemas/postViewSubscribed.js +13 -0
- package/dist/schemas/postViewSubscribed.js.map +1 -0
- package/dist/schemas/privateMessage.d.ts +18 -0
- package/dist/schemas/privateMessage.d.ts.map +1 -0
- package/dist/schemas/privateMessage.js +8 -0
- package/dist/schemas/privateMessage.js.map +1 -0
- package/dist/schemas/privateMessageResponse.d.ts +11 -0
- package/dist/schemas/privateMessageResponse.d.ts.map +1 -0
- package/dist/schemas/privateMessageResponse.js +2 -0
- package/dist/schemas/privateMessageResponse.js.map +1 -0
- package/dist/schemas/privateMessageView.d.ts +15 -0
- package/dist/schemas/privateMessageView.d.ts.map +1 -0
- package/dist/schemas/privateMessageView.js +2 -0
- package/dist/schemas/privateMessageView.js.map +1 -0
- package/dist/schemas/reactions.d.ts +14 -0
- package/dist/schemas/reactions.d.ts.map +1 -0
- package/dist/schemas/reactions.js +2 -0
- package/dist/schemas/reactions.js.map +1 -0
- package/dist/schemas/reactionsUrl.d.ts +8 -0
- package/dist/schemas/reactionsUrl.d.ts.map +1 -0
- package/dist/schemas/reactionsUrl.js +8 -0
- package/dist/schemas/reactionsUrl.js.map +1 -0
- package/dist/schemas/registrationApproveRequest.d.ts +11 -0
- package/dist/schemas/registrationApproveRequest.d.ts.map +1 -0
- package/dist/schemas/registrationApproveRequest.js +8 -0
- package/dist/schemas/registrationApproveRequest.js.map +1 -0
- package/dist/schemas/removeCommentRequest.d.ts +12 -0
- package/dist/schemas/removeCommentRequest.d.ts.map +1 -0
- package/dist/schemas/removeCommentRequest.js +8 -0
- package/dist/schemas/removeCommentRequest.js.map +1 -0
- package/dist/schemas/removePostRequest.d.ts +12 -0
- package/dist/schemas/removePostRequest.d.ts.map +1 -0
- package/dist/schemas/removePostRequest.js +8 -0
- package/dist/schemas/removePostRequest.js.map +1 -0
- package/dist/schemas/reportCommentRequest.d.ts +14 -0
- package/dist/schemas/reportCommentRequest.d.ts.map +1 -0
- package/dist/schemas/reportCommentRequest.js +8 -0
- package/dist/schemas/reportCommentRequest.js.map +1 -0
- package/dist/schemas/reportPostRequest.d.ts +14 -0
- package/dist/schemas/reportPostRequest.d.ts.map +1 -0
- package/dist/schemas/reportPostRequest.js +8 -0
- package/dist/schemas/reportPostRequest.js.map +1 -0
- package/dist/schemas/reportPrivateMessageRequest.d.ts +11 -0
- package/dist/schemas/reportPrivateMessageRequest.d.ts.map +1 -0
- package/dist/schemas/reportPrivateMessageRequest.js +8 -0
- package/dist/schemas/reportPrivateMessageRequest.js.map +1 -0
- package/dist/schemas/resolveObjectResponse.d.ts +19 -0
- package/dist/schemas/resolveObjectResponse.d.ts.map +1 -0
- package/dist/schemas/resolveObjectResponse.js +2 -0
- package/dist/schemas/resolveObjectResponse.js.map +1 -0
- package/dist/schemas/saveCommentRequest.d.ts +11 -0
- package/dist/schemas/saveCommentRequest.d.ts.map +1 -0
- package/dist/schemas/saveCommentRequest.js +8 -0
- package/dist/schemas/saveCommentRequest.js.map +1 -0
- package/dist/schemas/savePostRequest.d.ts +11 -0
- package/dist/schemas/savePostRequest.d.ts.map +1 -0
- package/dist/schemas/savePostRequest.js +8 -0
- package/dist/schemas/savePostRequest.js.map +1 -0
- package/dist/schemas/searchResponse.d.ts +19 -0
- package/dist/schemas/searchResponse.d.ts.map +1 -0
- package/dist/schemas/searchResponse.js +2 -0
- package/dist/schemas/searchResponse.js.map +1 -0
- package/dist/schemas/searchResponseType.d.ts +15 -0
- package/dist/schemas/searchResponseType.d.ts.map +1 -0
- package/dist/schemas/searchResponseType.js +15 -0
- package/dist/schemas/searchResponseType.js.map +1 -0
- package/dist/schemas/site.d.ts +26 -0
- package/dist/schemas/site.d.ts.map +1 -0
- package/dist/schemas/site.js +2 -0
- package/dist/schemas/site.js.map +1 -0
- package/dist/schemas/siteIcon.d.ts +8 -0
- package/dist/schemas/siteIcon.d.ts.map +1 -0
- package/dist/schemas/siteIcon.js +8 -0
- package/dist/schemas/siteIcon.js.map +1 -0
- package/dist/schemas/siteMetadataView.d.ts +13 -0
- package/dist/schemas/siteMetadataView.d.ts.map +1 -0
- package/dist/schemas/siteMetadataView.js +8 -0
- package/dist/schemas/siteMetadataView.js.map +1 -0
- package/dist/schemas/siteRegistrationMode.d.ts +13 -0
- package/dist/schemas/siteRegistrationMode.d.ts.map +1 -0
- package/dist/schemas/siteRegistrationMode.js +13 -0
- package/dist/schemas/siteRegistrationMode.js.map +1 -0
- package/dist/schemas/subscribeCommentRequest.d.ts +11 -0
- package/dist/schemas/subscribeCommentRequest.d.ts.map +1 -0
- package/dist/schemas/subscribeCommentRequest.js +8 -0
- package/dist/schemas/subscribeCommentRequest.js.map +1 -0
- package/dist/schemas/subscribeCommunityRequest.d.ts +11 -0
- package/dist/schemas/subscribeCommunityRequest.d.ts.map +1 -0
- package/dist/schemas/subscribeCommunityRequest.js +8 -0
- package/dist/schemas/subscribeCommunityRequest.js.map +1 -0
- package/dist/schemas/subscribePostRequest.d.ts +11 -0
- package/dist/schemas/subscribePostRequest.d.ts.map +1 -0
- package/dist/schemas/subscribePostRequest.js +8 -0
- package/dist/schemas/subscribePostRequest.js.map +1 -0
- package/dist/schemas/successResponse.d.ts +10 -0
- package/dist/schemas/successResponse.d.ts.map +1 -0
- package/dist/schemas/successResponse.js +8 -0
- package/dist/schemas/successResponse.js.map +1 -0
- package/dist/schemas/topicListResponse.d.ts +11 -0
- package/dist/schemas/topicListResponse.d.ts.map +1 -0
- package/dist/schemas/topicListResponse.js +2 -0
- package/dist/schemas/topicListResponse.js.map +1 -0
- package/dist/schemas/topicView.d.ts +19 -0
- package/dist/schemas/topicView.d.ts.map +1 -0
- package/dist/schemas/topicView.js +2 -0
- package/dist/schemas/topicView.js.map +1 -0
- package/dist/schemas/topicViewParentTopicId.d.ts +8 -0
- package/dist/schemas/topicViewParentTopicId.d.ts.map +1 -0
- package/dist/schemas/topicViewParentTopicId.js +8 -0
- package/dist/schemas/topicViewParentTopicId.js.map +1 -0
- package/dist/schemas/unprocessableEntityResponse.d.ts +12 -0
- package/dist/schemas/unprocessableEntityResponse.d.ts.map +1 -0
- package/dist/schemas/unprocessableEntityResponse.js +2 -0
- package/dist/schemas/unprocessableEntityResponse.js.map +1 -0
- package/dist/schemas/userBanRequest.d.ts +20 -0
- package/dist/schemas/userBanRequest.d.ts.map +1 -0
- package/dist/schemas/userBanRequest.js +2 -0
- package/dist/schemas/userBanRequest.js.map +1 -0
- package/dist/schemas/userBanRequestBanIpAddress.d.ts +8 -0
- package/dist/schemas/userBanRequestBanIpAddress.d.ts.map +1 -0
- package/dist/schemas/userBanRequestBanIpAddress.js +8 -0
- package/dist/schemas/userBanRequestBanIpAddress.js.map +1 -0
- package/dist/schemas/userBanRequestPurgeContent.d.ts +8 -0
- package/dist/schemas/userBanRequestPurgeContent.d.ts.map +1 -0
- package/dist/schemas/userBanRequestPurgeContent.js +8 -0
- package/dist/schemas/userBanRequestPurgeContent.js.map +1 -0
- package/dist/schemas/userBanRequestReason.d.ts +12 -0
- package/dist/schemas/userBanRequestReason.d.ts.map +1 -0
- package/dist/schemas/userBanRequestReason.js +8 -0
- package/dist/schemas/userBanRequestReason.js.map +1 -0
- package/dist/schemas/userBanResponse.d.ts +11 -0
- package/dist/schemas/userBanResponse.d.ts.map +1 -0
- package/dist/schemas/userBanResponse.js +2 -0
- package/dist/schemas/userBanResponse.js.map +1 -0
- package/dist/schemas/userBlockRequest.d.ts +11 -0
- package/dist/schemas/userBlockRequest.d.ts.map +1 -0
- package/dist/schemas/userBlockRequest.js +8 -0
- package/dist/schemas/userBlockRequest.js.map +1 -0
- package/dist/schemas/userBlockResponse.d.ts +12 -0
- package/dist/schemas/userBlockResponse.d.ts.map +1 -0
- package/dist/schemas/userBlockResponse.js +2 -0
- package/dist/schemas/userBlockResponse.js.map +1 -0
- package/dist/schemas/userExtraField.d.ts +12 -0
- package/dist/schemas/userExtraField.d.ts.map +1 -0
- package/dist/schemas/userExtraField.js +8 -0
- package/dist/schemas/userExtraField.js.map +1 -0
- package/dist/schemas/userLoginRequest.d.ts +11 -0
- package/dist/schemas/userLoginRequest.d.ts.map +1 -0
- package/dist/schemas/userLoginRequest.js +8 -0
- package/dist/schemas/userLoginRequest.js.map +1 -0
- package/dist/schemas/userLoginResponse.d.ts +10 -0
- package/dist/schemas/userLoginResponse.d.ts.map +1 -0
- package/dist/schemas/userLoginResponse.js +8 -0
- package/dist/schemas/userLoginResponse.js.map +1 -0
- package/dist/schemas/userMarkAllNotifsReadResponse.d.ts +10 -0
- package/dist/schemas/userMarkAllNotifsReadResponse.d.ts.map +1 -0
- package/dist/schemas/userMarkAllNotifsReadResponse.js +8 -0
- package/dist/schemas/userMarkAllNotifsReadResponse.js.map +1 -0
- package/dist/schemas/userMarkAllReadResponse.d.ts +12 -0
- package/dist/schemas/userMarkAllReadResponse.d.ts.map +1 -0
- package/dist/schemas/userMarkAllReadResponse.js +2 -0
- package/dist/schemas/userMarkAllReadResponse.js.map +1 -0
- package/dist/schemas/userMeResponse.d.ts +23 -0
- package/dist/schemas/userMeResponse.d.ts.map +1 -0
- package/dist/schemas/userMeResponse.js +2 -0
- package/dist/schemas/userMeResponse.js.map +1 -0
- package/dist/schemas/userMediaResponse.d.ts +13 -0
- package/dist/schemas/userMediaResponse.d.ts.map +1 -0
- package/dist/schemas/userMediaResponse.js +2 -0
- package/dist/schemas/userMediaResponse.js.map +1 -0
- package/dist/schemas/userMediaResponseNextPage.d.ts +8 -0
- package/dist/schemas/userMediaResponseNextPage.d.ts.map +1 -0
- package/dist/schemas/userMediaResponseNextPage.js +8 -0
- package/dist/schemas/userMediaResponseNextPage.js.map +1 -0
- package/dist/schemas/userMentionsResponse.d.ts +13 -0
- package/dist/schemas/userMentionsResponse.d.ts.map +1 -0
- package/dist/schemas/userMentionsResponse.js +2 -0
- package/dist/schemas/userMentionsResponse.js.map +1 -0
- package/dist/schemas/userMentionsResponseNextPage.d.ts +8 -0
- package/dist/schemas/userMentionsResponseNextPage.d.ts.map +1 -0
- package/dist/schemas/userMentionsResponseNextPage.js +8 -0
- package/dist/schemas/userMentionsResponseNextPage.js.map +1 -0
- package/dist/schemas/userNotificationItemView.d.ts +39 -0
- package/dist/schemas/userNotificationItemView.d.ts.map +1 -0
- package/dist/schemas/userNotificationItemView.js +2 -0
- package/dist/schemas/userNotificationItemView.js.map +1 -0
- package/dist/schemas/userNotificationItemViewStatus.d.ts +15 -0
- package/dist/schemas/userNotificationItemViewStatus.d.ts.map +1 -0
- package/dist/schemas/userNotificationItemViewStatus.js +12 -0
- package/dist/schemas/userNotificationItemViewStatus.js.map +1 -0
- package/dist/schemas/userNotificationStateRequest.d.ts +12 -0
- package/dist/schemas/userNotificationStateRequest.d.ts.map +1 -0
- package/dist/schemas/userNotificationStateRequest.js +8 -0
- package/dist/schemas/userNotificationStateRequest.js.map +1 -0
- package/dist/schemas/userNotificationsCountResponse.d.ts +10 -0
- package/dist/schemas/userNotificationsCountResponse.d.ts.map +1 -0
- package/dist/schemas/userNotificationsCountResponse.js +8 -0
- package/dist/schemas/userNotificationsCountResponse.js.map +1 -0
- package/dist/schemas/userNotificationsCounts.d.ts +12 -0
- package/dist/schemas/userNotificationsCounts.d.ts.map +1 -0
- package/dist/schemas/userNotificationsCounts.js +8 -0
- package/dist/schemas/userNotificationsCounts.js.map +1 -0
- package/dist/schemas/userNotificationsResponse.d.ts +18 -0
- package/dist/schemas/userNotificationsResponse.d.ts.map +1 -0
- package/dist/schemas/userNotificationsResponse.js +2 -0
- package/dist/schemas/userNotificationsResponse.js.map +1 -0
- package/dist/schemas/userNotificationsResponseNextPage.d.ts +8 -0
- package/dist/schemas/userNotificationsResponseNextPage.d.ts.map +1 -0
- package/dist/schemas/userNotificationsResponseNextPage.js +8 -0
- package/dist/schemas/userNotificationsResponseNextPage.js.map +1 -0
- package/dist/schemas/userNotificationsResponseStatus.d.ts +14 -0
- package/dist/schemas/userNotificationsResponseStatus.d.ts.map +1 -0
- package/dist/schemas/userNotificationsResponseStatus.js +14 -0
- package/dist/schemas/userNotificationsResponseStatus.js.map +1 -0
- package/dist/schemas/userRegistration.d.ts +26 -0
- package/dist/schemas/userRegistration.d.ts.map +1 -0
- package/dist/schemas/userRegistration.js +2 -0
- package/dist/schemas/userRegistration.js.map +1 -0
- package/dist/schemas/userRegistrationAnswer.d.ts +8 -0
- package/dist/schemas/userRegistrationAnswer.d.ts.map +1 -0
- package/dist/schemas/userRegistrationAnswer.js +8 -0
- package/dist/schemas/userRegistrationAnswer.js.map +1 -0
- package/dist/schemas/userRegistrationEmail.d.ts +8 -0
- package/dist/schemas/userRegistrationEmail.d.ts.map +1 -0
- package/dist/schemas/userRegistrationEmail.js +8 -0
- package/dist/schemas/userRegistrationEmail.js.map +1 -0
- package/dist/schemas/userRegistrationIpAddress.d.ts +8 -0
- package/dist/schemas/userRegistrationIpAddress.d.ts.map +1 -0
- package/dist/schemas/userRegistrationIpAddress.js +8 -0
- package/dist/schemas/userRegistrationIpAddress.js.map +1 -0
- package/dist/schemas/userRegistrationStatus.d.ts +12 -0
- package/dist/schemas/userRegistrationStatus.d.ts.map +1 -0
- package/dist/schemas/userRegistrationStatus.js +12 -0
- package/dist/schemas/userRegistrationStatus.js.map +1 -0
- package/dist/schemas/userRepliesResponse.d.ts +13 -0
- package/dist/schemas/userRepliesResponse.d.ts.map +1 -0
- package/dist/schemas/userRepliesResponse.js +2 -0
- package/dist/schemas/userRepliesResponse.js.map +1 -0
- package/dist/schemas/userRepliesResponseNextPage.d.ts +8 -0
- package/dist/schemas/userRepliesResponseNextPage.d.ts.map +1 -0
- package/dist/schemas/userRepliesResponseNextPage.js +8 -0
- package/dist/schemas/userRepliesResponseNextPage.js.map +1 -0
- package/dist/schemas/userSaveSettingsRequest.d.ts +65 -0
- package/dist/schemas/userSaveSettingsRequest.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsRequest.js +2 -0
- package/dist/schemas/userSaveSettingsRequest.js.map +1 -0
- package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.d.ts +17 -0
- package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.js +14 -0
- package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.js.map +1 -0
- package/dist/schemas/userSaveSettingsRequestAvatar.d.ts +11 -0
- package/dist/schemas/userSaveSettingsRequestAvatar.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsRequestAvatar.js +8 -0
- package/dist/schemas/userSaveSettingsRequestAvatar.js.map +1 -0
- package/dist/schemas/userSaveSettingsRequestBotVisibility.d.ts +14 -0
- package/dist/schemas/userSaveSettingsRequestBotVisibility.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsRequestBotVisibility.js +14 -0
- package/dist/schemas/userSaveSettingsRequestBotVisibility.js.map +1 -0
- package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.d.ts +11 -0
- package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.js +8 -0
- package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.js.map +1 -0
- package/dist/schemas/userSaveSettingsRequestCover.d.ts +11 -0
- package/dist/schemas/userSaveSettingsRequestCover.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsRequestCover.js +8 -0
- package/dist/schemas/userSaveSettingsRequestCover.js.map +1 -0
- package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.d.ts +14 -0
- package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.js +14 -0
- package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.js.map +1 -0
- package/dist/schemas/userSaveSettingsRequestDefaultSortType.d.ts +16 -0
- package/dist/schemas/userSaveSettingsRequestDefaultSortType.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsRequestDefaultSortType.js +16 -0
- package/dist/schemas/userSaveSettingsRequestDefaultSortType.js.map +1 -0
- package/dist/schemas/userSaveSettingsRequestGenaiVisibility.d.ts +17 -0
- package/dist/schemas/userSaveSettingsRequestGenaiVisibility.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsRequestGenaiVisibility.js +14 -0
- package/dist/schemas/userSaveSettingsRequestGenaiVisibility.js.map +1 -0
- package/dist/schemas/userSaveSettingsRequestNsflVisibility.d.ts +17 -0
- package/dist/schemas/userSaveSettingsRequestNsflVisibility.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsRequestNsflVisibility.js +14 -0
- package/dist/schemas/userSaveSettingsRequestNsflVisibility.js.map +1 -0
- package/dist/schemas/userSaveSettingsRequestNsfwVisibility.d.ts +17 -0
- package/dist/schemas/userSaveSettingsRequestNsfwVisibility.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsRequestNsfwVisibility.js +14 -0
- package/dist/schemas/userSaveSettingsRequestNsfwVisibility.js.map +1 -0
- package/dist/schemas/userSaveSettingsResponse.d.ts +11 -0
- package/dist/schemas/userSaveSettingsResponse.d.ts.map +1 -0
- package/dist/schemas/userSaveSettingsResponse.js +2 -0
- package/dist/schemas/userSaveSettingsResponse.js.map +1 -0
- package/dist/schemas/userSetFlairRequest.d.ts +16 -0
- package/dist/schemas/userSetFlairRequest.d.ts.map +1 -0
- package/dist/schemas/userSetFlairRequest.js +2 -0
- package/dist/schemas/userSetFlairRequest.js.map +1 -0
- package/dist/schemas/userSetFlairRequestFlairText.d.ts +12 -0
- package/dist/schemas/userSetFlairRequestFlairText.d.ts.map +1 -0
- package/dist/schemas/userSetFlairRequestFlairText.js +8 -0
- package/dist/schemas/userSetFlairRequestFlairText.js.map +1 -0
- package/dist/schemas/userSetFlairResponse.d.ts +11 -0
- package/dist/schemas/userSetFlairResponse.d.ts.map +1 -0
- package/dist/schemas/userSetFlairResponse.js +2 -0
- package/dist/schemas/userSetFlairResponse.js.map +1 -0
- package/dist/schemas/userSetNoteRequest.d.ts +16 -0
- package/dist/schemas/userSetNoteRequest.d.ts.map +1 -0
- package/dist/schemas/userSetNoteRequest.js +2 -0
- package/dist/schemas/userSetNoteRequest.js.map +1 -0
- package/dist/schemas/userSetNoteRequestNote.d.ts +12 -0
- package/dist/schemas/userSetNoteRequestNote.d.ts.map +1 -0
- package/dist/schemas/userSetNoteRequestNote.js +8 -0
- package/dist/schemas/userSetNoteRequestNote.js.map +1 -0
- package/dist/schemas/userSetNoteResponse.d.ts +11 -0
- package/dist/schemas/userSetNoteResponse.d.ts.map +1 -0
- package/dist/schemas/userSetNoteResponse.js +2 -0
- package/dist/schemas/userSetNoteResponse.js.map +1 -0
- package/dist/schemas/userSubscribeRequest.d.ts +11 -0
- package/dist/schemas/userSubscribeRequest.d.ts.map +1 -0
- package/dist/schemas/userSubscribeRequest.js +8 -0
- package/dist/schemas/userSubscribeRequest.js.map +1 -0
- package/dist/schemas/userSubscribeResponse.d.ts +12 -0
- package/dist/schemas/userSubscribeResponse.d.ts.map +1 -0
- package/dist/schemas/userSubscribeResponse.js +2 -0
- package/dist/schemas/userSubscribeResponse.js.map +1 -0
- package/dist/schemas/userUnbanRequest.d.ts +10 -0
- package/dist/schemas/userUnbanRequest.d.ts.map +1 -0
- package/dist/schemas/userUnbanRequest.js +8 -0
- package/dist/schemas/userUnbanRequest.js.map +1 -0
- package/dist/schemas/userUnreadCountsResponse.d.ts +16 -0
- package/dist/schemas/userUnreadCountsResponse.d.ts.map +1 -0
- package/dist/schemas/userUnreadCountsResponse.js +8 -0
- package/dist/schemas/userUnreadCountsResponse.js.map +1 -0
- package/dist/schemas/widthHeight.d.ts +11 -0
- package/dist/schemas/widthHeight.d.ts.map +1 -0
- package/dist/schemas/widthHeight.js +8 -0
- package/dist/schemas/widthHeight.js.map +1 -0
- package/dist/zod/admin/admin.d.ts +280 -0
- package/dist/zod/admin/admin.d.ts.map +1 -0
- package/dist/zod/admin/admin.js +68 -0
- package/dist/zod/admin/admin.js.map +1 -0
- package/dist/zod/comment/comment.d.ts +16794 -0
- package/dist/zod/comment/comment.d.ts.map +1 -0
- package/dist/zod/comment/comment.js +2510 -0
- package/dist/zod/comment/comment.js.map +1 -0
- package/dist/zod/community/community.d.ts +8665 -0
- package/dist/zod/community/community.d.ts.map +1 -0
- package/dist/zod/community/community.js +1537 -0
- package/dist/zod/community/community.js.map +1 -0
- package/dist/zod/feed/feed.d.ts +1388 -0
- package/dist/zod/feed/feed.d.ts.map +1 -0
- package/dist/zod/feed/feed.js +370 -0
- package/dist/zod/feed/feed.js.map +1 -0
- package/dist/zod/misc/misc.d.ts +15492 -0
- package/dist/zod/misc/misc.d.ts.map +1 -0
- package/dist/zod/misc/misc.js +2292 -0
- package/dist/zod/misc/misc.js.map +1 -0
- package/dist/zod/post/post.d.ts +39728 -0
- package/dist/zod/post/post.d.ts.map +1 -0
- package/dist/zod/post/post.js +6022 -0
- package/dist/zod/post/post.js.map +1 -0
- package/dist/zod/private-message/private-message.d.ts +3130 -0
- package/dist/zod/private-message/private-message.d.ts.map +1 -0
- package/dist/zod/private-message/private-message.js +530 -0
- package/dist/zod/private-message/private-message.js.map +1 -0
- package/dist/zod/site/site.d.ts +3143 -0
- package/dist/zod/site/site.d.ts.map +1 -0
- package/dist/zod/site/site.js +441 -0
- package/dist/zod/site/site.js.map +1 -0
- package/dist/zod/topic/topic.d.ts +225 -0
- package/dist/zod/topic/topic.d.ts.map +1 -0
- package/dist/zod/topic/topic.js +49 -0
- package/dist/zod/topic/topic.js.map +1 -0
- package/dist/zod/upload/upload.d.ts +103 -0
- package/dist/zod/upload/upload.d.ts.map +1 -0
- package/dist/zod/upload/upload.js +53 -0
- package/dist/zod/upload/upload.js.map +1 -0
- package/dist/zod/user/user.d.ts +19853 -0
- package/dist/zod/user/user.d.ts.map +1 -0
- package/dist/zod/user/user.js +2931 -0
- package/dist/zod/user/user.js.map +1 -0
- package/dist/zod-index.d.ts +12 -0
- package/dist/zod-index.d.ts.map +1 -0
- package/dist/zod-index.js +13 -0
- package/dist/zod-index.js.map +1 -0
- package/package.json +49 -0
- package/src/client/admin/admin.ts +118 -0
- package/src/client/comment/comment.ts +727 -0
- package/src/client/community/community.ts +874 -0
- package/src/client/feed/feed.ts +326 -0
- package/src/client/misc/misc.ts +285 -0
- package/src/client/post/post.ts +1043 -0
- package/src/client/private-message/private-message.ts +425 -0
- package/src/client/site/site.ts +248 -0
- package/src/client/topic/topic.ts +69 -0
- package/src/client/upload/upload.ts +235 -0
- package/src/client/user/user.ts +1060 -0
- package/src/create-client.ts +71 -0
- package/src/index.ts +19 -0
- package/src/mutator/custom-fetch.ts +27 -0
- package/src/schemas/adminPurgeComment.ts +15 -0
- package/src/schemas/adminPurgeCommentReason.ts +8 -0
- package/src/schemas/adminPurgeCommentView.ts +15 -0
- package/src/schemas/adminPurgeCommunity.ts +14 -0
- package/src/schemas/adminPurgeCommunityReason.ts +8 -0
- package/src/schemas/adminPurgeCommunityView.ts +13 -0
- package/src/schemas/adminPurgePerson.ts +14 -0
- package/src/schemas/adminPurgePersonReason.ts +8 -0
- package/src/schemas/adminPurgePersonView.ts +13 -0
- package/src/schemas/adminPurgePost.ts +16 -0
- package/src/schemas/adminPurgePostCommunityId.ts +8 -0
- package/src/schemas/adminPurgePostReason.ts +8 -0
- package/src/schemas/adminPurgePostView.ts +15 -0
- package/src/schemas/blockCommunityRequest.ts +11 -0
- package/src/schemas/blockCommunityResponse.ts +12 -0
- package/src/schemas/blockInstanceRequest.ts +11 -0
- package/src/schemas/blockInstanceResponse.ts +10 -0
- package/src/schemas/comment.ts +27 -0
- package/src/schemas/commentAggregates.ts +15 -0
- package/src/schemas/commentEmojiReactions.ts +9 -0
- package/src/schemas/commentLikeView.ts +14 -0
- package/src/schemas/commentReply.ts +14 -0
- package/src/schemas/commentReplyView.ts +31 -0
- package/src/schemas/commentReplyViewSubscribed.ts +16 -0
- package/src/schemas/commentReport.ts +17 -0
- package/src/schemas/commentReportView.ts +34 -0
- package/src/schemas/commentReportViewSubscribed.ts +19 -0
- package/src/schemas/commentView.ts +31 -0
- package/src/schemas/commentViewSubscribed.ts +19 -0
- package/src/schemas/community.ts +33 -0
- package/src/schemas/communityAggregates.ts +19 -0
- package/src/schemas/communityBanner.ts +8 -0
- package/src/schemas/communityBlockView.ts +13 -0
- package/src/schemas/communityFlair.ts +20 -0
- package/src/schemas/communityFlairApId.ts +11 -0
- package/src/schemas/communityFlairCreateRequest.ts +16 -0
- package/src/schemas/communityFlairCreateResponse.ts +20 -0
- package/src/schemas/communityFlairCreateResponseApId.ts +11 -0
- package/src/schemas/communityFlairDeleteRequest.ts +10 -0
- package/src/schemas/communityFlairDeleteResponse.ts +16 -0
- package/src/schemas/communityFlairEditRequest.ts +16 -0
- package/src/schemas/communityFlairEditResponse.ts +20 -0
- package/src/schemas/communityFlairEditResponseApId.ts +11 -0
- package/src/schemas/communityFollowerView.ts +13 -0
- package/src/schemas/communityIcon.ts +8 -0
- package/src/schemas/communityModerationBanItem.ts +20 -0
- package/src/schemas/communityModerationBanItemExpiredAt.ts +8 -0
- package/src/schemas/communityModerationBanItemExpiresAt.ts +8 -0
- package/src/schemas/communityModerationBanRequest.ts +14 -0
- package/src/schemas/communityModerationBansListResponse.ts +13 -0
- package/src/schemas/communityModerationBansListResponseNextPage.ts +8 -0
- package/src/schemas/communityModerationNsfwRequest.ts +11 -0
- package/src/schemas/communityModerationUnbanRequest.ts +11 -0
- package/src/schemas/communityModeratorView.ts +13 -0
- package/src/schemas/communityPostingWarning.ts +8 -0
- package/src/schemas/communityResponse.ts +12 -0
- package/src/schemas/communityView.ts +19 -0
- package/src/schemas/communityViewSubscribed.ts +16 -0
- package/src/schemas/createCommentRequest.ts +13 -0
- package/src/schemas/createCommunityRequest.ts +22 -0
- package/src/schemas/createCommunityRequestBannerUrl.ts +8 -0
- package/src/schemas/createCommunityRequestIconUrl.ts +8 -0
- package/src/schemas/createFeedRequest.ts +30 -0
- package/src/schemas/createFeedRequestBannerUrl.ts +8 -0
- package/src/schemas/createFeedRequestIconUrl.ts +8 -0
- package/src/schemas/createFeedRequestParentFeedId.ts +11 -0
- package/src/schemas/createPostRequest.ts +22 -0
- package/src/schemas/createPostRequestEvent.ts +9 -0
- package/src/schemas/createPostRequestPoll.ts +9 -0
- package/src/schemas/createPrivateMessageRequest.ts +11 -0
- package/src/schemas/defaultError.ts +10 -0
- package/src/schemas/deleteCommentRequest.ts +11 -0
- package/src/schemas/deleteCommunityRequest.ts +11 -0
- package/src/schemas/deleteFeedRequest.ts +11 -0
- package/src/schemas/deletePostRequest.ts +11 -0
- package/src/schemas/deletePrivateMessageRequest.ts +11 -0
- package/src/schemas/domainBlockRequest.ts +11 -0
- package/src/schemas/domainBlockResponse.ts +10 -0
- package/src/schemas/editCommentRequest.ts +14 -0
- package/src/schemas/editCommunityRequest.ts +22 -0
- package/src/schemas/editCommunityRequestBannerUrl.ts +8 -0
- package/src/schemas/editCommunityRequestIconUrl.ts +8 -0
- package/src/schemas/editFeedRequest.ts +27 -0
- package/src/schemas/editFeedRequestBannerUrl.ts +8 -0
- package/src/schemas/editFeedRequestIconUrl.ts +8 -0
- package/src/schemas/editFeedRequestParentFeedId.ts +8 -0
- package/src/schemas/editPostRequest.ts +30 -0
- package/src/schemas/editPostRequestAltText.ts +11 -0
- package/src/schemas/editPostRequestEvent.ts +9 -0
- package/src/schemas/editPostRequestFlair.ts +11 -0
- package/src/schemas/editPostRequestPoll.ts +9 -0
- package/src/schemas/editPostRequestTags.ts +11 -0
- package/src/schemas/editPostRequestUrl.ts +11 -0
- package/src/schemas/editPrivateMessageRequest.ts +11 -0
- package/src/schemas/error.ts +18 -0
- package/src/schemas/errorErrors.ts +11 -0
- package/src/schemas/featurePostRequest.ts +13 -0
- package/src/schemas/featurePostRequestFeatureType.ts +15 -0
- package/src/schemas/federatedInstancesView.ts +13 -0
- package/src/schemas/feedListResponse.ts +11 -0
- package/src/schemas/feedView.ts +44 -0
- package/src/schemas/feedViewBanner.ts +8 -0
- package/src/schemas/feedViewDescription.ts +8 -0
- package/src/schemas/feedViewDescriptionHtml.ts +8 -0
- package/src/schemas/feedViewIcon.ts +8 -0
- package/src/schemas/feedViewParentFeedId.ts +8 -0
- package/src/schemas/followCommunityRequest.ts +11 -0
- package/src/schemas/followFeedRequest.ts +11 -0
- package/src/schemas/getApiAlphaAdminRegistrationApplicationListParams.ts +14 -0
- package/src/schemas/getApiAlphaAdminRegistrationApplicationListSort.ts +15 -0
- package/src/schemas/getApiAlphaCommentLikeListParams.ts +12 -0
- package/src/schemas/getApiAlphaCommentListParams.ts +24 -0
- package/src/schemas/getApiAlphaCommentListSort.ts +19 -0
- package/src/schemas/getApiAlphaCommentParams.ts +10 -0
- package/src/schemas/getApiAlphaCommunityListParams.ts +16 -0
- package/src/schemas/getApiAlphaCommunityListSort.ts +23 -0
- package/src/schemas/getApiAlphaCommunityListType.ts +18 -0
- package/src/schemas/getApiAlphaCommunityModerateBansParams.ts +12 -0
- package/src/schemas/getApiAlphaCommunityParams.ts +11 -0
- package/src/schemas/getApiAlphaFeedListParams.ts +17 -0
- package/src/schemas/getApiAlphaFeedParams.ts +11 -0
- package/src/schemas/getApiAlphaModlogParams.ts +18 -0
- package/src/schemas/getApiAlphaModlogType.ts +29 -0
- package/src/schemas/getApiAlphaPostLikeListParams.ts +12 -0
- package/src/schemas/getApiAlphaPostList2Params.ts +27 -0
- package/src/schemas/getApiAlphaPostList2Sort.ts +30 -0
- package/src/schemas/getApiAlphaPostList2Type.ts +19 -0
- package/src/schemas/getApiAlphaPostListParams.ts +27 -0
- package/src/schemas/getApiAlphaPostListSort.ts +30 -0
- package/src/schemas/getApiAlphaPostListType.ts +19 -0
- package/src/schemas/getApiAlphaPostParams.ts +10 -0
- package/src/schemas/getApiAlphaPostRepliesParams.ts +16 -0
- package/src/schemas/getApiAlphaPostRepliesSort.ts +19 -0
- package/src/schemas/getApiAlphaPostSiteMetadataParams.ts +10 -0
- package/src/schemas/getApiAlphaPrivateMessageConversationParams.ts +19 -0
- package/src/schemas/getApiAlphaPrivateMessageListParams.ts +12 -0
- package/src/schemas/getApiAlphaResolveObjectParams.ts +10 -0
- package/src/schemas/getApiAlphaSearchListingType.ts +19 -0
- package/src/schemas/getApiAlphaSearchNsfw.ts +16 -0
- package/src/schemas/getApiAlphaSearchParams.ts +38 -0
- package/src/schemas/getApiAlphaSearchSort.ts +35 -0
- package/src/schemas/getApiAlphaSearchType.ts +18 -0
- package/src/schemas/getApiAlphaSiteInstanceChooserSearchParams.ts +13 -0
- package/src/schemas/getApiAlphaSuggestCompletionParams.ts +10 -0
- package/src/schemas/getApiAlphaTopicListParams.ts +13 -0
- package/src/schemas/getApiAlphaUserMediaParams.ts +14 -0
- package/src/schemas/getApiAlphaUserMediaSort.ts +19 -0
- package/src/schemas/getApiAlphaUserMentionsParams.ts +14 -0
- package/src/schemas/getApiAlphaUserMentionsSort.ts +19 -0
- package/src/schemas/getApiAlphaUserNotificationsParams.ts +13 -0
- package/src/schemas/getApiAlphaUserNotificationsStatus.ts +17 -0
- package/src/schemas/getApiAlphaUserParams.ts +27 -0
- package/src/schemas/getApiAlphaUserRepliesParams.ts +14 -0
- package/src/schemas/getApiAlphaUserRepliesSort.ts +19 -0
- package/src/schemas/getApiAlphaUserSort.ts +35 -0
- package/src/schemas/getCommentReplyResponse.ts +11 -0
- package/src/schemas/getCommentReportResponse.ts +11 -0
- package/src/schemas/getCommentResponse.ts +11 -0
- package/src/schemas/getCommunityResponse.ts +16 -0
- package/src/schemas/getFederatedInstancesResponse.ts +11 -0
- package/src/schemas/getModLogResponse.ts +39 -0
- package/src/schemas/getPostRepliesResponse.ts +13 -0
- package/src/schemas/getPostRepliesResponseNextPage.ts +8 -0
- package/src/schemas/getPostResponse.ts +16 -0
- package/src/schemas/getPrivateMessageConversationResponse.ts +11 -0
- package/src/schemas/getRegistrationListResponse.ts +11 -0
- package/src/schemas/getSiteInstanceChooserResponse.ts +26 -0
- package/src/schemas/getSiteInstanceChooserSearchResponse.ts +11 -0
- package/src/schemas/getSiteInstanceChooserSearchResponseItem.ts +28 -0
- package/src/schemas/getSiteMetadataResponse.ts +11 -0
- package/src/schemas/getSiteResponse.ts +16 -0
- package/src/schemas/getSiteVersionResponse.ts +10 -0
- package/src/schemas/getSuggestCompletionResponse.ts +10 -0
- package/src/schemas/getUserResponse.ts +19 -0
- package/src/schemas/hidePostRequest.ts +11 -0
- package/src/schemas/imageDeleteRequest.ts +10 -0
- package/src/schemas/imageDeleteResponse.ts +10 -0
- package/src/schemas/imageUploadRequest.ts +10 -0
- package/src/schemas/imageUploadResponse.ts +13 -0
- package/src/schemas/index.ts +433 -0
- package/src/schemas/instance.ts +15 -0
- package/src/schemas/instanceBlockView.ts +13 -0
- package/src/schemas/instanceWithoutFederationState.ts +15 -0
- package/src/schemas/languageView.ts +12 -0
- package/src/schemas/leaveConversationRequest.ts +10 -0
- package/src/schemas/likeCommentRequest.ts +15 -0
- package/src/schemas/likePostRequest.ts +13 -0
- package/src/schemas/listCommentLikesResponse.ts +13 -0
- package/src/schemas/listCommentLikesResponseNextPage.ts +8 -0
- package/src/schemas/listCommentsResponse.ts +13 -0
- package/src/schemas/listCommentsResponseNextPage.ts +8 -0
- package/src/schemas/listCommunitiesResponse.ts +13 -0
- package/src/schemas/listCommunitiesResponseNextPage.ts +8 -0
- package/src/schemas/listPostLikesResponse.ts +13 -0
- package/src/schemas/listPostLikesResponseNextPage.ts +8 -0
- package/src/schemas/listPostsResponse.ts +13 -0
- package/src/schemas/listPostsResponseNextPage.ts +8 -0
- package/src/schemas/listPrivateMessagesResponse.ts +11 -0
- package/src/schemas/localUser.ts +56 -0
- package/src/schemas/localUserAcceptPrivateMessages.ts +20 -0
- package/src/schemas/localUserAiVisibility.ts +17 -0
- package/src/schemas/localUserBotVisibility.ts +17 -0
- package/src/schemas/localUserDefaultCommentSortType.ts +19 -0
- package/src/schemas/localUserDefaultListingType.ts +19 -0
- package/src/schemas/localUserDefaultSortType.ts +35 -0
- package/src/schemas/localUserNsflVisibility.ts +17 -0
- package/src/schemas/localUserNsfwVisibility.ts +17 -0
- package/src/schemas/localUserView.ts +15 -0
- package/src/schemas/lockCommentRequest.ts +11 -0
- package/src/schemas/lockPostRequest.ts +11 -0
- package/src/schemas/markCommentAsAnswerRequest.ts +11 -0
- package/src/schemas/markCommentAsReadRequest.ts +11 -0
- package/src/schemas/markPostAsReadRequest.ts +12 -0
- package/src/schemas/markPrivateMessageAsReadRequest.ts +11 -0
- package/src/schemas/mediaView.ts +11 -0
- package/src/schemas/miniCrossPosts.ts +12 -0
- package/src/schemas/modAdd.ts +16 -0
- package/src/schemas/modAddCommunity.ts +18 -0
- package/src/schemas/modAddCommunityCommunityId.ts +8 -0
- package/src/schemas/modAddCommunityModPersonId.ts +8 -0
- package/src/schemas/modAddCommunityOtherPersonId.ts +8 -0
- package/src/schemas/modAddCommunityView.ts +17 -0
- package/src/schemas/modAddCommunityViewCommunity.ts +9 -0
- package/src/schemas/modAddCommunityViewModdedPerson.ts +9 -0
- package/src/schemas/modAddCommunityViewModerator.ts +9 -0
- package/src/schemas/modAddModPersonId.ts +8 -0
- package/src/schemas/modAddOtherPersonId.ts +8 -0
- package/src/schemas/modAddView.ts +15 -0
- package/src/schemas/modAddViewModdedPerson.ts +9 -0
- package/src/schemas/modAddViewModerator.ts +9 -0
- package/src/schemas/modBan.ts +20 -0
- package/src/schemas/modBanExpires.ts +8 -0
- package/src/schemas/modBanFromCommunity.ts +22 -0
- package/src/schemas/modBanFromCommunityCommunityId.ts +8 -0
- package/src/schemas/modBanFromCommunityExpires.ts +8 -0
- package/src/schemas/modBanFromCommunityModPersonId.ts +8 -0
- package/src/schemas/modBanFromCommunityOtherPersonId.ts +8 -0
- package/src/schemas/modBanFromCommunityReason.ts +8 -0
- package/src/schemas/modBanFromCommunityView.ts +17 -0
- package/src/schemas/modBanFromCommunityViewBannedPerson.ts +9 -0
- package/src/schemas/modBanFromCommunityViewCommunity.ts +9 -0
- package/src/schemas/modBanFromCommunityViewModerator.ts +9 -0
- package/src/schemas/modBanModPersonId.ts +8 -0
- package/src/schemas/modBanOtherPersonId.ts +8 -0
- package/src/schemas/modBanReason.ts +8 -0
- package/src/schemas/modBanView.ts +15 -0
- package/src/schemas/modBanViewBannedPerson.ts +9 -0
- package/src/schemas/modBanViewModerator.ts +9 -0
- package/src/schemas/modCommunityRequest.ts +12 -0
- package/src/schemas/modCommunityResponse.ts +11 -0
- package/src/schemas/modFeaturePost.ts +17 -0
- package/src/schemas/modFeaturePostModPersonId.ts +8 -0
- package/src/schemas/modFeaturePostPostId.ts +8 -0
- package/src/schemas/modFeaturePostView.ts +17 -0
- package/src/schemas/modFeaturePostViewCommunity.ts +9 -0
- package/src/schemas/modFeaturePostViewModerator.ts +9 -0
- package/src/schemas/modFeaturePostViewPost.ts +9 -0
- package/src/schemas/modHideCommunity.ts +18 -0
- package/src/schemas/modHideCommunityCommunityId.ts +8 -0
- package/src/schemas/modHideCommunityModPersonId.ts +8 -0
- package/src/schemas/modHideCommunityReason.ts +8 -0
- package/src/schemas/modHideCommunityView.ts +15 -0
- package/src/schemas/modLockPost.ts +16 -0
- package/src/schemas/modLockPostModPersonId.ts +8 -0
- package/src/schemas/modLockPostPostId.ts +8 -0
- package/src/schemas/modLockPostView.ts +17 -0
- package/src/schemas/modLockPostViewCommunity.ts +9 -0
- package/src/schemas/modLockPostViewModerator.ts +9 -0
- package/src/schemas/modLockPostViewPost.ts +9 -0
- package/src/schemas/modRemoveComment.ts +18 -0
- package/src/schemas/modRemoveCommentCommentId.ts +8 -0
- package/src/schemas/modRemoveCommentModPersonId.ts +8 -0
- package/src/schemas/modRemoveCommentReason.ts +8 -0
- package/src/schemas/modRemoveCommentView.ts +21 -0
- package/src/schemas/modRemoveCommentViewComment.ts +9 -0
- package/src/schemas/modRemoveCommentViewCommenter.ts +9 -0
- package/src/schemas/modRemoveCommentViewCommunity.ts +9 -0
- package/src/schemas/modRemoveCommentViewModerator.ts +9 -0
- package/src/schemas/modRemoveCommentViewPost.ts +9 -0
- package/src/schemas/modRemoveCommunity.ts +18 -0
- package/src/schemas/modRemoveCommunityCommunityId.ts +8 -0
- package/src/schemas/modRemoveCommunityModPersonId.ts +8 -0
- package/src/schemas/modRemoveCommunityReason.ts +8 -0
- package/src/schemas/modRemoveCommunityView.ts +15 -0
- package/src/schemas/modRemoveCommunityViewCommunity.ts +9 -0
- package/src/schemas/modRemoveCommunityViewModerator.ts +9 -0
- package/src/schemas/modRemovePost.ts +18 -0
- package/src/schemas/modRemovePostModPersonId.ts +8 -0
- package/src/schemas/modRemovePostPostId.ts +8 -0
- package/src/schemas/modRemovePostReason.ts +8 -0
- package/src/schemas/modRemovePostView.ts +17 -0
- package/src/schemas/modRemovePostViewCommunity.ts +9 -0
- package/src/schemas/modRemovePostViewModerator.ts +9 -0
- package/src/schemas/modRemovePostViewPost.ts +9 -0
- package/src/schemas/modTransferCommunity.ts +17 -0
- package/src/schemas/modTransferCommunityCommunityId.ts +8 -0
- package/src/schemas/modTransferCommunityModPersonId.ts +8 -0
- package/src/schemas/modTransferCommunityOtherPersonId.ts +8 -0
- package/src/schemas/modTransferCommunityView.ts +17 -0
- package/src/schemas/modTransferCommunityViewModdedPerson.ts +9 -0
- package/src/schemas/modTransferCommunityViewModerator.ts +9 -0
- package/src/schemas/myUserInfo.ts +23 -0
- package/src/schemas/newUserExtraField.ts +18 -0
- package/src/schemas/newUserExtraFieldId.ts +11 -0
- package/src/schemas/newUserExtraFieldLabel.ts +11 -0
- package/src/schemas/newUserExtraFieldText.ts +11 -0
- package/src/schemas/paginationMetadata.ts +16 -0
- package/src/schemas/person.ts +32 -0
- package/src/schemas/personAggregates.ts +12 -0
- package/src/schemas/personAvatar.ts +8 -0
- package/src/schemas/personBanner.ts +8 -0
- package/src/schemas/personBlockView.ts +12 -0
- package/src/schemas/personTitle.ts +8 -0
- package/src/schemas/personView.ts +15 -0
- package/src/schemas/pollChoice.ts +14 -0
- package/src/schemas/pollVoteRequest.ts +12 -0
- package/src/schemas/pollVoteResponse.ts +11 -0
- package/src/schemas/post.ts +46 -0
- package/src/schemas/postAggregates.ts +17 -0
- package/src/schemas/postEmojiReactions.ts +9 -0
- package/src/schemas/postEvent.ts +30 -0
- package/src/schemas/postEventBuyTicketsLink.ts +8 -0
- package/src/schemas/postEventExternalParticipationUrl.ts +8 -0
- package/src/schemas/postEventLocation.ts +12 -0
- package/src/schemas/postEventLocationAnyOf.ts +11 -0
- package/src/schemas/postEventOnlineLink.ts +8 -0
- package/src/schemas/postFlair.ts +8 -0
- package/src/schemas/postLikeView.ts +14 -0
- package/src/schemas/postPoll.ts +19 -0
- package/src/schemas/postPollMode.ts +18 -0
- package/src/schemas/postPostType.ts +19 -0
- package/src/schemas/postReplyView.ts +32 -0
- package/src/schemas/postReplyViewSubscribed.ts +19 -0
- package/src/schemas/postReport.ts +17 -0
- package/src/schemas/postReportResponse.ts +11 -0
- package/src/schemas/postReportView.ts +27 -0
- package/src/schemas/postReportViewSubscribed.ts +16 -0
- package/src/schemas/postSetFlairRequest.ts +13 -0
- package/src/schemas/postSetFlairRequestFlairIdList.ts +11 -0
- package/src/schemas/postSetFlairResponse.ts +34 -0
- package/src/schemas/postSetFlairResponseSubscribed.ts +16 -0
- package/src/schemas/postTags.ts +8 -0
- package/src/schemas/postView.ts +34 -0
- package/src/schemas/postViewSubscribed.ts +16 -0
- package/src/schemas/privateMessage.ts +18 -0
- package/src/schemas/privateMessageResponse.ts +11 -0
- package/src/schemas/privateMessageView.ts +15 -0
- package/src/schemas/reactions.ts +14 -0
- package/src/schemas/reactionsUrl.ts +8 -0
- package/src/schemas/registrationApproveRequest.ts +11 -0
- package/src/schemas/removeCommentRequest.ts +12 -0
- package/src/schemas/removePostRequest.ts +12 -0
- package/src/schemas/reportCommentRequest.ts +14 -0
- package/src/schemas/reportPostRequest.ts +14 -0
- package/src/schemas/reportPrivateMessageRequest.ts +11 -0
- package/src/schemas/resolveObjectResponse.ts +19 -0
- package/src/schemas/saveCommentRequest.ts +11 -0
- package/src/schemas/savePostRequest.ts +11 -0
- package/src/schemas/searchResponse.ts +19 -0
- package/src/schemas/searchResponseType.ts +18 -0
- package/src/schemas/site.ts +26 -0
- package/src/schemas/siteIcon.ts +8 -0
- package/src/schemas/siteMetadataView.ts +13 -0
- package/src/schemas/siteRegistrationMode.ts +16 -0
- package/src/schemas/subscribeCommentRequest.ts +11 -0
- package/src/schemas/subscribeCommunityRequest.ts +11 -0
- package/src/schemas/subscribePostRequest.ts +11 -0
- package/src/schemas/successResponse.ts +10 -0
- package/src/schemas/topicListResponse.ts +11 -0
- package/src/schemas/topicView.ts +19 -0
- package/src/schemas/topicViewParentTopicId.ts +8 -0
- package/src/schemas/unprocessableEntityResponse.ts +12 -0
- package/src/schemas/userBanRequest.ts +20 -0
- package/src/schemas/userBanRequestBanIpAddress.ts +8 -0
- package/src/schemas/userBanRequestPurgeContent.ts +8 -0
- package/src/schemas/userBanRequestReason.ts +12 -0
- package/src/schemas/userBanResponse.ts +11 -0
- package/src/schemas/userBlockRequest.ts +11 -0
- package/src/schemas/userBlockResponse.ts +12 -0
- package/src/schemas/userExtraField.ts +12 -0
- package/src/schemas/userLoginRequest.ts +11 -0
- package/src/schemas/userLoginResponse.ts +10 -0
- package/src/schemas/userMarkAllNotifsReadResponse.ts +10 -0
- package/src/schemas/userMarkAllReadResponse.ts +12 -0
- package/src/schemas/userMeResponse.ts +23 -0
- package/src/schemas/userMediaResponse.ts +13 -0
- package/src/schemas/userMediaResponseNextPage.ts +8 -0
- package/src/schemas/userMentionsResponse.ts +13 -0
- package/src/schemas/userMentionsResponseNextPage.ts +8 -0
- package/src/schemas/userNotificationItemView.ts +39 -0
- package/src/schemas/userNotificationItemViewStatus.ts +18 -0
- package/src/schemas/userNotificationStateRequest.ts +12 -0
- package/src/schemas/userNotificationsCountResponse.ts +10 -0
- package/src/schemas/userNotificationsCounts.ts +12 -0
- package/src/schemas/userNotificationsResponse.ts +18 -0
- package/src/schemas/userNotificationsResponseNextPage.ts +8 -0
- package/src/schemas/userNotificationsResponseStatus.ts +17 -0
- package/src/schemas/userRegistration.ts +26 -0
- package/src/schemas/userRegistrationAnswer.ts +8 -0
- package/src/schemas/userRegistrationEmail.ts +8 -0
- package/src/schemas/userRegistrationIpAddress.ts +8 -0
- package/src/schemas/userRegistrationStatus.ts +15 -0
- package/src/schemas/userRepliesResponse.ts +13 -0
- package/src/schemas/userRepliesResponseNextPage.ts +8 -0
- package/src/schemas/userSaveSettingsRequest.ts +65 -0
- package/src/schemas/userSaveSettingsRequestAcceptPrivateMessages.ts +20 -0
- package/src/schemas/userSaveSettingsRequestAvatar.ts +11 -0
- package/src/schemas/userSaveSettingsRequestBotVisibility.ts +17 -0
- package/src/schemas/userSaveSettingsRequestCommunityKeywordFilter.ts +11 -0
- package/src/schemas/userSaveSettingsRequestCover.ts +11 -0
- package/src/schemas/userSaveSettingsRequestDefaultCommentSortType.ts +17 -0
- package/src/schemas/userSaveSettingsRequestDefaultSortType.ts +19 -0
- package/src/schemas/userSaveSettingsRequestGenaiVisibility.ts +20 -0
- package/src/schemas/userSaveSettingsRequestNsflVisibility.ts +20 -0
- package/src/schemas/userSaveSettingsRequestNsfwVisibility.ts +20 -0
- package/src/schemas/userSaveSettingsResponse.ts +11 -0
- package/src/schemas/userSetFlairRequest.ts +16 -0
- package/src/schemas/userSetFlairRequestFlairText.ts +12 -0
- package/src/schemas/userSetFlairResponse.ts +11 -0
- package/src/schemas/userSetNoteRequest.ts +16 -0
- package/src/schemas/userSetNoteRequestNote.ts +12 -0
- package/src/schemas/userSetNoteResponse.ts +11 -0
- package/src/schemas/userSubscribeRequest.ts +11 -0
- package/src/schemas/userSubscribeResponse.ts +12 -0
- package/src/schemas/userUnbanRequest.ts +10 -0
- package/src/schemas/userUnreadCountsResponse.ts +16 -0
- package/src/schemas/widthHeight.ts +11 -0
- package/src/zod/admin/admin.ts +74 -0
- package/src/zod/comment/comment.ts +2512 -0
- package/src/zod/community/community.ts +1613 -0
- package/src/zod/feed/feed.ts +384 -0
- package/src/zod/misc/misc.ts +2299 -0
- package/src/zod/post/post.ts +5967 -0
- package/src/zod/private-message/private-message.ts +588 -0
- package/src/zod/site/site.ts +467 -0
- package/src/zod/topic/topic.ts +53 -0
- package/src/zod/upload/upload.ts +62 -0
- package/src/zod/user/user.ts +3006 -0
- package/src/zod-index.ts +12 -0
|
@@ -0,0 +1,2512 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.21.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* PieFed 1.6 Alpha API
|
|
5
|
+
* OpenAPI spec version: alpha 1.6
|
|
6
|
+
*/
|
|
7
|
+
import * as zod from 'zod';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @summary List comments, with various filters.
|
|
12
|
+
*/
|
|
13
|
+
export const getApiAlphaCommentListQueryLimitDefault = 10;export const getApiAlphaCommentListQueryPageDefault = 1;export const getApiAlphaCommentListQuerySortDefault = "New";
|
|
14
|
+
|
|
15
|
+
export const getApiAlphaCommentListQueryParams = zod.object({
|
|
16
|
+
"limit": zod.number().default(getApiAlphaCommentListQueryLimitDefault),
|
|
17
|
+
"page": zod.number().default(getApiAlphaCommentListQueryPageDefault),
|
|
18
|
+
"sort": zod.enum(['Hot', 'Top', 'TopAll', 'New', 'Old', 'Controversial']).default(getApiAlphaCommentListQuerySortDefault),
|
|
19
|
+
"liked_only": zod.boolean().optional(),
|
|
20
|
+
"saved_only": zod.boolean().optional(),
|
|
21
|
+
"person_id": zod.number().optional(),
|
|
22
|
+
"community_id": zod.number().optional(),
|
|
23
|
+
"post_id": zod.number().optional(),
|
|
24
|
+
"parent_id": zod.number().optional(),
|
|
25
|
+
"max_depth": zod.number().optional(),
|
|
26
|
+
"depth_first": zod.boolean().optional().describe('guarantee parent comments are on the same page as any fetched comments')
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
export const getApiAlphaCommentListResponseCommentsItemCreatorExtraFieldsMax = 4;
|
|
30
|
+
|
|
31
|
+
export const getApiAlphaCommentListResponseCommentsItemCreatorNoteMax = 50;
|
|
32
|
+
|
|
33
|
+
export const getApiAlphaCommentListResponseCommentsItemPostEventMaxAttendeesDefault = 0;export const getApiAlphaCommentListResponseCommentsItemPostEventParticipantCountDefault = 0;export const getApiAlphaCommentListResponseCommentsItemPostEventFullDefault = false;export const getApiAlphaCommentListResponseCommentsItemPostEventAnonymousParticipationDefault = false;export const getApiAlphaCommentListResponseCommentsItemPostEventOnlineDefault = false;export const getApiAlphaCommentListResponseCommentsItemPostEventEventFeeAmountDefault = 0;export const getApiAlphaCommentListResponseCommentsItemPostPollLocalOnlyDefault = false;export const getApiAlphaCommentListResponseCommentsItemPostPollChoicesItemNumVotesDefault = 0;export const getApiAlphaCommentListResponseCommentsItemPostPollChoicesMax = 10;
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
export const getApiAlphaCommentListResponse = zod.object({
|
|
38
|
+
"comments": zod.array(zod.object({
|
|
39
|
+
"activity_alert": zod.boolean(),
|
|
40
|
+
"banned_from_community": zod.boolean(),
|
|
41
|
+
"comment": zod.object({
|
|
42
|
+
"ap_id": zod.string(),
|
|
43
|
+
"body": zod.string(),
|
|
44
|
+
"deleted": zod.boolean(),
|
|
45
|
+
"id": zod.number(),
|
|
46
|
+
"language_id": zod.number(),
|
|
47
|
+
"local": zod.boolean(),
|
|
48
|
+
"path": zod.string(),
|
|
49
|
+
"post_id": zod.number(),
|
|
50
|
+
"published": zod.string(),
|
|
51
|
+
"removed": zod.boolean(),
|
|
52
|
+
"user_id": zod.number(),
|
|
53
|
+
"distinguished": zod.boolean().optional(),
|
|
54
|
+
"updated": zod.string().optional(),
|
|
55
|
+
"locked": zod.boolean().optional(),
|
|
56
|
+
"answer": zod.boolean().optional(),
|
|
57
|
+
"emoji_reactions": zod.array(zod.object({
|
|
58
|
+
"url": zod.string().nullish(),
|
|
59
|
+
"token": zod.string().optional(),
|
|
60
|
+
"authors": zod.array(zod.string()).optional(),
|
|
61
|
+
"count": zod.number().optional()
|
|
62
|
+
})).nullish()
|
|
63
|
+
}),
|
|
64
|
+
"community": zod.object({
|
|
65
|
+
"actor_id": zod.string(),
|
|
66
|
+
"ap_domain": zod.string().optional(),
|
|
67
|
+
"deleted": zod.boolean(),
|
|
68
|
+
"hidden": zod.boolean(),
|
|
69
|
+
"id": zod.number(),
|
|
70
|
+
"instance_id": zod.number(),
|
|
71
|
+
"local": zod.boolean(),
|
|
72
|
+
"name": zod.string(),
|
|
73
|
+
"nsfw": zod.boolean(),
|
|
74
|
+
"ai_generated": zod.boolean(),
|
|
75
|
+
"published": zod.string(),
|
|
76
|
+
"removed": zod.boolean(),
|
|
77
|
+
"restricted_to_mods": zod.boolean(),
|
|
78
|
+
"title": zod.string(),
|
|
79
|
+
"banned": zod.boolean().optional(),
|
|
80
|
+
"question_answer": zod.boolean().optional(),
|
|
81
|
+
"banner": zod.string().nullish(),
|
|
82
|
+
"description": zod.string().optional(),
|
|
83
|
+
"icon": zod.string().nullish(),
|
|
84
|
+
"posting_warning": zod.string().nullish(),
|
|
85
|
+
"updated": zod.string().optional()
|
|
86
|
+
}),
|
|
87
|
+
"counts": zod.object({
|
|
88
|
+
"child_count": zod.number(),
|
|
89
|
+
"comment_id": zod.number(),
|
|
90
|
+
"downvotes": zod.number(),
|
|
91
|
+
"published": zod.string(),
|
|
92
|
+
"score": zod.number(),
|
|
93
|
+
"upvotes": zod.number()
|
|
94
|
+
}),
|
|
95
|
+
"creator": zod.object({
|
|
96
|
+
"actor_id": zod.string(),
|
|
97
|
+
"banned": zod.boolean(),
|
|
98
|
+
"bot": zod.boolean(),
|
|
99
|
+
"deleted": zod.boolean(),
|
|
100
|
+
"id": zod.number(),
|
|
101
|
+
"instance_id": zod.number(),
|
|
102
|
+
"local": zod.boolean(),
|
|
103
|
+
"user_name": zod.string(),
|
|
104
|
+
"about": zod.string().optional(),
|
|
105
|
+
"about_html": zod.string().optional(),
|
|
106
|
+
"avatar": zod.string().nullish(),
|
|
107
|
+
"banner": zod.string().nullish(),
|
|
108
|
+
"extra_fields": zod.array(zod.object({
|
|
109
|
+
"id": zod.number(),
|
|
110
|
+
"label": zod.string(),
|
|
111
|
+
"text": zod.string()
|
|
112
|
+
})).max(getApiAlphaCommentListResponseCommentsItemCreatorExtraFieldsMax).optional(),
|
|
113
|
+
"note": zod.string().max(getApiAlphaCommentListResponseCommentsItemCreatorNoteMax).optional(),
|
|
114
|
+
"flair": zod.string().optional(),
|
|
115
|
+
"published": zod.string().optional(),
|
|
116
|
+
"title": zod.string().nullish()
|
|
117
|
+
}),
|
|
118
|
+
"creator_banned_from_community": zod.boolean(),
|
|
119
|
+
"creator_blocked": zod.boolean(),
|
|
120
|
+
"creator_is_admin": zod.boolean(),
|
|
121
|
+
"creator_is_moderator": zod.boolean(),
|
|
122
|
+
"post": zod.object({
|
|
123
|
+
"ap_id": zod.string(),
|
|
124
|
+
"community_id": zod.number(),
|
|
125
|
+
"deleted": zod.boolean(),
|
|
126
|
+
"id": zod.number(),
|
|
127
|
+
"language_id": zod.number(),
|
|
128
|
+
"local": zod.boolean(),
|
|
129
|
+
"locked": zod.boolean(),
|
|
130
|
+
"nsfw": zod.boolean(),
|
|
131
|
+
"ai_generated": zod.boolean(),
|
|
132
|
+
"published": zod.string(),
|
|
133
|
+
"removed": zod.boolean(),
|
|
134
|
+
"sticky": zod.boolean(),
|
|
135
|
+
"instance_sticky": zod.boolean(),
|
|
136
|
+
"title": zod.string(),
|
|
137
|
+
"user_id": zod.number(),
|
|
138
|
+
"alt_text": zod.string().optional(),
|
|
139
|
+
"body": zod.string().optional(),
|
|
140
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
141
|
+
"thumbnail_url": zod.string().optional(),
|
|
142
|
+
"updated": zod.string().optional(),
|
|
143
|
+
"url": zod.string().optional(),
|
|
144
|
+
"image_details": zod.object({
|
|
145
|
+
"width": zod.number().optional(),
|
|
146
|
+
"height": zod.number().optional()
|
|
147
|
+
}).optional(),
|
|
148
|
+
"cross_posts": zod.array(zod.object({
|
|
149
|
+
"post_id": zod.number().optional(),
|
|
150
|
+
"reply_count": zod.number().optional(),
|
|
151
|
+
"community_name": zod.string().optional()
|
|
152
|
+
})).optional(),
|
|
153
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
154
|
+
"tags": zod.string().nullish(),
|
|
155
|
+
"flair": zod.string().nullish(),
|
|
156
|
+
"emoji_reactions": zod.array(zod.object({
|
|
157
|
+
"url": zod.string().nullish(),
|
|
158
|
+
"token": zod.string().optional(),
|
|
159
|
+
"authors": zod.array(zod.string()).optional(),
|
|
160
|
+
"count": zod.number().optional()
|
|
161
|
+
})).nullish(),
|
|
162
|
+
"event": zod.object({
|
|
163
|
+
"start": zod.string(),
|
|
164
|
+
"end": zod.string().optional(),
|
|
165
|
+
"timezone": zod.string().optional(),
|
|
166
|
+
"max_attendees": zod.number().optional(),
|
|
167
|
+
"participant_count": zod.number().optional(),
|
|
168
|
+
"full": zod.boolean().optional(),
|
|
169
|
+
"online_link": zod.string().nullish(),
|
|
170
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
171
|
+
"external_participation_url": zod.string().nullish(),
|
|
172
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
173
|
+
"online": zod.boolean().optional(),
|
|
174
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
175
|
+
"event_fee_currency": zod.string().optional(),
|
|
176
|
+
"event_fee_amount": zod.number().optional(),
|
|
177
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
178
|
+
}).optional(),
|
|
179
|
+
"poll": zod.object({
|
|
180
|
+
"end_poll": zod.string().optional(),
|
|
181
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
182
|
+
"local_only": zod.boolean().optional(),
|
|
183
|
+
"latest_vote": zod.string().optional(),
|
|
184
|
+
"choices": zod.array(zod.object({
|
|
185
|
+
"id": zod.number(),
|
|
186
|
+
"choice_text": zod.string(),
|
|
187
|
+
"sort_order": zod.number(),
|
|
188
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
189
|
+
})).max(getApiAlphaCommentListResponseCommentsItemPostPollChoicesMax),
|
|
190
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
191
|
+
}).optional()
|
|
192
|
+
}),
|
|
193
|
+
"saved": zod.boolean(),
|
|
194
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending']).describe('Indicates whether auth\'ed user is subscribed to the community this comment is in or not.'),
|
|
195
|
+
"my_vote": zod.number().optional(),
|
|
196
|
+
"can_auth_user_moderate": zod.boolean().optional()
|
|
197
|
+
})),
|
|
198
|
+
"next_page": zod.string().nullish()
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @summary Like / vote on a comment.
|
|
203
|
+
*/
|
|
204
|
+
export const postApiAlphaCommentLikeBodyPrivateDefault = false;
|
|
205
|
+
|
|
206
|
+
export const postApiAlphaCommentLikeBody = zod.object({
|
|
207
|
+
"comment_id": zod.number(),
|
|
208
|
+
"score": zod.number().describe('-1 to downvote, 1 to upvote, 0 to revert previous vote'),
|
|
209
|
+
"private": zod.boolean().optional().describe('private votes are not federated to other instances'),
|
|
210
|
+
"emoji": zod.string().optional()
|
|
211
|
+
})
|
|
212
|
+
|
|
213
|
+
export const postApiAlphaCommentLikeResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
214
|
+
|
|
215
|
+
export const postApiAlphaCommentLikeResponseCommentViewCreatorNoteMax = 50;
|
|
216
|
+
|
|
217
|
+
export const postApiAlphaCommentLikeResponseCommentViewPostEventMaxAttendeesDefault = 0;export const postApiAlphaCommentLikeResponseCommentViewPostEventParticipantCountDefault = 0;export const postApiAlphaCommentLikeResponseCommentViewPostEventFullDefault = false;export const postApiAlphaCommentLikeResponseCommentViewPostEventAnonymousParticipationDefault = false;export const postApiAlphaCommentLikeResponseCommentViewPostEventOnlineDefault = false;export const postApiAlphaCommentLikeResponseCommentViewPostEventEventFeeAmountDefault = 0;export const postApiAlphaCommentLikeResponseCommentViewPostPollLocalOnlyDefault = false;export const postApiAlphaCommentLikeResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;export const postApiAlphaCommentLikeResponseCommentViewPostPollChoicesMax = 10;
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
export const postApiAlphaCommentLikeResponse = zod.object({
|
|
222
|
+
"comment_view": zod.object({
|
|
223
|
+
"activity_alert": zod.boolean(),
|
|
224
|
+
"banned_from_community": zod.boolean(),
|
|
225
|
+
"comment": zod.object({
|
|
226
|
+
"ap_id": zod.string(),
|
|
227
|
+
"body": zod.string(),
|
|
228
|
+
"deleted": zod.boolean(),
|
|
229
|
+
"id": zod.number(),
|
|
230
|
+
"language_id": zod.number(),
|
|
231
|
+
"local": zod.boolean(),
|
|
232
|
+
"path": zod.string(),
|
|
233
|
+
"post_id": zod.number(),
|
|
234
|
+
"published": zod.string(),
|
|
235
|
+
"removed": zod.boolean(),
|
|
236
|
+
"user_id": zod.number(),
|
|
237
|
+
"distinguished": zod.boolean().optional(),
|
|
238
|
+
"updated": zod.string().optional(),
|
|
239
|
+
"locked": zod.boolean().optional(),
|
|
240
|
+
"answer": zod.boolean().optional(),
|
|
241
|
+
"emoji_reactions": zod.array(zod.object({
|
|
242
|
+
"url": zod.string().nullish(),
|
|
243
|
+
"token": zod.string().optional(),
|
|
244
|
+
"authors": zod.array(zod.string()).optional(),
|
|
245
|
+
"count": zod.number().optional()
|
|
246
|
+
})).nullish()
|
|
247
|
+
}),
|
|
248
|
+
"community": zod.object({
|
|
249
|
+
"actor_id": zod.string(),
|
|
250
|
+
"ap_domain": zod.string().optional(),
|
|
251
|
+
"deleted": zod.boolean(),
|
|
252
|
+
"hidden": zod.boolean(),
|
|
253
|
+
"id": zod.number(),
|
|
254
|
+
"instance_id": zod.number(),
|
|
255
|
+
"local": zod.boolean(),
|
|
256
|
+
"name": zod.string(),
|
|
257
|
+
"nsfw": zod.boolean(),
|
|
258
|
+
"ai_generated": zod.boolean(),
|
|
259
|
+
"published": zod.string(),
|
|
260
|
+
"removed": zod.boolean(),
|
|
261
|
+
"restricted_to_mods": zod.boolean(),
|
|
262
|
+
"title": zod.string(),
|
|
263
|
+
"banned": zod.boolean().optional(),
|
|
264
|
+
"question_answer": zod.boolean().optional(),
|
|
265
|
+
"banner": zod.string().nullish(),
|
|
266
|
+
"description": zod.string().optional(),
|
|
267
|
+
"icon": zod.string().nullish(),
|
|
268
|
+
"posting_warning": zod.string().nullish(),
|
|
269
|
+
"updated": zod.string().optional()
|
|
270
|
+
}),
|
|
271
|
+
"counts": zod.object({
|
|
272
|
+
"child_count": zod.number(),
|
|
273
|
+
"comment_id": zod.number(),
|
|
274
|
+
"downvotes": zod.number(),
|
|
275
|
+
"published": zod.string(),
|
|
276
|
+
"score": zod.number(),
|
|
277
|
+
"upvotes": zod.number()
|
|
278
|
+
}),
|
|
279
|
+
"creator": zod.object({
|
|
280
|
+
"actor_id": zod.string(),
|
|
281
|
+
"banned": zod.boolean(),
|
|
282
|
+
"bot": zod.boolean(),
|
|
283
|
+
"deleted": zod.boolean(),
|
|
284
|
+
"id": zod.number(),
|
|
285
|
+
"instance_id": zod.number(),
|
|
286
|
+
"local": zod.boolean(),
|
|
287
|
+
"user_name": zod.string(),
|
|
288
|
+
"about": zod.string().optional(),
|
|
289
|
+
"about_html": zod.string().optional(),
|
|
290
|
+
"avatar": zod.string().nullish(),
|
|
291
|
+
"banner": zod.string().nullish(),
|
|
292
|
+
"extra_fields": zod.array(zod.object({
|
|
293
|
+
"id": zod.number(),
|
|
294
|
+
"label": zod.string(),
|
|
295
|
+
"text": zod.string()
|
|
296
|
+
})).max(postApiAlphaCommentLikeResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
297
|
+
"note": zod.string().max(postApiAlphaCommentLikeResponseCommentViewCreatorNoteMax).optional(),
|
|
298
|
+
"flair": zod.string().optional(),
|
|
299
|
+
"published": zod.string().optional(),
|
|
300
|
+
"title": zod.string().nullish()
|
|
301
|
+
}),
|
|
302
|
+
"creator_banned_from_community": zod.boolean(),
|
|
303
|
+
"creator_blocked": zod.boolean(),
|
|
304
|
+
"creator_is_admin": zod.boolean(),
|
|
305
|
+
"creator_is_moderator": zod.boolean(),
|
|
306
|
+
"post": zod.object({
|
|
307
|
+
"ap_id": zod.string(),
|
|
308
|
+
"community_id": zod.number(),
|
|
309
|
+
"deleted": zod.boolean(),
|
|
310
|
+
"id": zod.number(),
|
|
311
|
+
"language_id": zod.number(),
|
|
312
|
+
"local": zod.boolean(),
|
|
313
|
+
"locked": zod.boolean(),
|
|
314
|
+
"nsfw": zod.boolean(),
|
|
315
|
+
"ai_generated": zod.boolean(),
|
|
316
|
+
"published": zod.string(),
|
|
317
|
+
"removed": zod.boolean(),
|
|
318
|
+
"sticky": zod.boolean(),
|
|
319
|
+
"instance_sticky": zod.boolean(),
|
|
320
|
+
"title": zod.string(),
|
|
321
|
+
"user_id": zod.number(),
|
|
322
|
+
"alt_text": zod.string().optional(),
|
|
323
|
+
"body": zod.string().optional(),
|
|
324
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
325
|
+
"thumbnail_url": zod.string().optional(),
|
|
326
|
+
"updated": zod.string().optional(),
|
|
327
|
+
"url": zod.string().optional(),
|
|
328
|
+
"image_details": zod.object({
|
|
329
|
+
"width": zod.number().optional(),
|
|
330
|
+
"height": zod.number().optional()
|
|
331
|
+
}).optional(),
|
|
332
|
+
"cross_posts": zod.array(zod.object({
|
|
333
|
+
"post_id": zod.number().optional(),
|
|
334
|
+
"reply_count": zod.number().optional(),
|
|
335
|
+
"community_name": zod.string().optional()
|
|
336
|
+
})).optional(),
|
|
337
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
338
|
+
"tags": zod.string().nullish(),
|
|
339
|
+
"flair": zod.string().nullish(),
|
|
340
|
+
"emoji_reactions": zod.array(zod.object({
|
|
341
|
+
"url": zod.string().nullish(),
|
|
342
|
+
"token": zod.string().optional(),
|
|
343
|
+
"authors": zod.array(zod.string()).optional(),
|
|
344
|
+
"count": zod.number().optional()
|
|
345
|
+
})).nullish(),
|
|
346
|
+
"event": zod.object({
|
|
347
|
+
"start": zod.string(),
|
|
348
|
+
"end": zod.string().optional(),
|
|
349
|
+
"timezone": zod.string().optional(),
|
|
350
|
+
"max_attendees": zod.number().optional(),
|
|
351
|
+
"participant_count": zod.number().optional(),
|
|
352
|
+
"full": zod.boolean().optional(),
|
|
353
|
+
"online_link": zod.string().nullish(),
|
|
354
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
355
|
+
"external_participation_url": zod.string().nullish(),
|
|
356
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
357
|
+
"online": zod.boolean().optional(),
|
|
358
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
359
|
+
"event_fee_currency": zod.string().optional(),
|
|
360
|
+
"event_fee_amount": zod.number().optional(),
|
|
361
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
362
|
+
}).optional(),
|
|
363
|
+
"poll": zod.object({
|
|
364
|
+
"end_poll": zod.string().optional(),
|
|
365
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
366
|
+
"local_only": zod.boolean().optional(),
|
|
367
|
+
"latest_vote": zod.string().optional(),
|
|
368
|
+
"choices": zod.array(zod.object({
|
|
369
|
+
"id": zod.number(),
|
|
370
|
+
"choice_text": zod.string(),
|
|
371
|
+
"sort_order": zod.number(),
|
|
372
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
373
|
+
})).max(postApiAlphaCommentLikeResponseCommentViewPostPollChoicesMax),
|
|
374
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
375
|
+
}).optional()
|
|
376
|
+
}),
|
|
377
|
+
"saved": zod.boolean(),
|
|
378
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending']).describe('Indicates whether auth\'ed user is subscribed to the community this comment is in or not.'),
|
|
379
|
+
"my_vote": zod.number().optional(),
|
|
380
|
+
"can_auth_user_moderate": zod.boolean().optional()
|
|
381
|
+
})
|
|
382
|
+
})
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @summary Save a comment.
|
|
386
|
+
*/
|
|
387
|
+
export const putApiAlphaCommentSaveBody = zod.object({
|
|
388
|
+
"comment_id": zod.number(),
|
|
389
|
+
"save": zod.boolean()
|
|
390
|
+
})
|
|
391
|
+
|
|
392
|
+
export const putApiAlphaCommentSaveResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
393
|
+
|
|
394
|
+
export const putApiAlphaCommentSaveResponseCommentViewCreatorNoteMax = 50;
|
|
395
|
+
|
|
396
|
+
export const putApiAlphaCommentSaveResponseCommentViewPostEventMaxAttendeesDefault = 0;export const putApiAlphaCommentSaveResponseCommentViewPostEventParticipantCountDefault = 0;export const putApiAlphaCommentSaveResponseCommentViewPostEventFullDefault = false;export const putApiAlphaCommentSaveResponseCommentViewPostEventAnonymousParticipationDefault = false;export const putApiAlphaCommentSaveResponseCommentViewPostEventOnlineDefault = false;export const putApiAlphaCommentSaveResponseCommentViewPostEventEventFeeAmountDefault = 0;export const putApiAlphaCommentSaveResponseCommentViewPostPollLocalOnlyDefault = false;export const putApiAlphaCommentSaveResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;export const putApiAlphaCommentSaveResponseCommentViewPostPollChoicesMax = 10;
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
export const putApiAlphaCommentSaveResponse = zod.object({
|
|
401
|
+
"comment_view": zod.object({
|
|
402
|
+
"activity_alert": zod.boolean(),
|
|
403
|
+
"banned_from_community": zod.boolean(),
|
|
404
|
+
"comment": zod.object({
|
|
405
|
+
"ap_id": zod.string(),
|
|
406
|
+
"body": zod.string(),
|
|
407
|
+
"deleted": zod.boolean(),
|
|
408
|
+
"id": zod.number(),
|
|
409
|
+
"language_id": zod.number(),
|
|
410
|
+
"local": zod.boolean(),
|
|
411
|
+
"path": zod.string(),
|
|
412
|
+
"post_id": zod.number(),
|
|
413
|
+
"published": zod.string(),
|
|
414
|
+
"removed": zod.boolean(),
|
|
415
|
+
"user_id": zod.number(),
|
|
416
|
+
"distinguished": zod.boolean().optional(),
|
|
417
|
+
"updated": zod.string().optional(),
|
|
418
|
+
"locked": zod.boolean().optional(),
|
|
419
|
+
"answer": zod.boolean().optional(),
|
|
420
|
+
"emoji_reactions": zod.array(zod.object({
|
|
421
|
+
"url": zod.string().nullish(),
|
|
422
|
+
"token": zod.string().optional(),
|
|
423
|
+
"authors": zod.array(zod.string()).optional(),
|
|
424
|
+
"count": zod.number().optional()
|
|
425
|
+
})).nullish()
|
|
426
|
+
}),
|
|
427
|
+
"community": zod.object({
|
|
428
|
+
"actor_id": zod.string(),
|
|
429
|
+
"ap_domain": zod.string().optional(),
|
|
430
|
+
"deleted": zod.boolean(),
|
|
431
|
+
"hidden": zod.boolean(),
|
|
432
|
+
"id": zod.number(),
|
|
433
|
+
"instance_id": zod.number(),
|
|
434
|
+
"local": zod.boolean(),
|
|
435
|
+
"name": zod.string(),
|
|
436
|
+
"nsfw": zod.boolean(),
|
|
437
|
+
"ai_generated": zod.boolean(),
|
|
438
|
+
"published": zod.string(),
|
|
439
|
+
"removed": zod.boolean(),
|
|
440
|
+
"restricted_to_mods": zod.boolean(),
|
|
441
|
+
"title": zod.string(),
|
|
442
|
+
"banned": zod.boolean().optional(),
|
|
443
|
+
"question_answer": zod.boolean().optional(),
|
|
444
|
+
"banner": zod.string().nullish(),
|
|
445
|
+
"description": zod.string().optional(),
|
|
446
|
+
"icon": zod.string().nullish(),
|
|
447
|
+
"posting_warning": zod.string().nullish(),
|
|
448
|
+
"updated": zod.string().optional()
|
|
449
|
+
}),
|
|
450
|
+
"counts": zod.object({
|
|
451
|
+
"child_count": zod.number(),
|
|
452
|
+
"comment_id": zod.number(),
|
|
453
|
+
"downvotes": zod.number(),
|
|
454
|
+
"published": zod.string(),
|
|
455
|
+
"score": zod.number(),
|
|
456
|
+
"upvotes": zod.number()
|
|
457
|
+
}),
|
|
458
|
+
"creator": zod.object({
|
|
459
|
+
"actor_id": zod.string(),
|
|
460
|
+
"banned": zod.boolean(),
|
|
461
|
+
"bot": zod.boolean(),
|
|
462
|
+
"deleted": zod.boolean(),
|
|
463
|
+
"id": zod.number(),
|
|
464
|
+
"instance_id": zod.number(),
|
|
465
|
+
"local": zod.boolean(),
|
|
466
|
+
"user_name": zod.string(),
|
|
467
|
+
"about": zod.string().optional(),
|
|
468
|
+
"about_html": zod.string().optional(),
|
|
469
|
+
"avatar": zod.string().nullish(),
|
|
470
|
+
"banner": zod.string().nullish(),
|
|
471
|
+
"extra_fields": zod.array(zod.object({
|
|
472
|
+
"id": zod.number(),
|
|
473
|
+
"label": zod.string(),
|
|
474
|
+
"text": zod.string()
|
|
475
|
+
})).max(putApiAlphaCommentSaveResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
476
|
+
"note": zod.string().max(putApiAlphaCommentSaveResponseCommentViewCreatorNoteMax).optional(),
|
|
477
|
+
"flair": zod.string().optional(),
|
|
478
|
+
"published": zod.string().optional(),
|
|
479
|
+
"title": zod.string().nullish()
|
|
480
|
+
}),
|
|
481
|
+
"creator_banned_from_community": zod.boolean(),
|
|
482
|
+
"creator_blocked": zod.boolean(),
|
|
483
|
+
"creator_is_admin": zod.boolean(),
|
|
484
|
+
"creator_is_moderator": zod.boolean(),
|
|
485
|
+
"post": zod.object({
|
|
486
|
+
"ap_id": zod.string(),
|
|
487
|
+
"community_id": zod.number(),
|
|
488
|
+
"deleted": zod.boolean(),
|
|
489
|
+
"id": zod.number(),
|
|
490
|
+
"language_id": zod.number(),
|
|
491
|
+
"local": zod.boolean(),
|
|
492
|
+
"locked": zod.boolean(),
|
|
493
|
+
"nsfw": zod.boolean(),
|
|
494
|
+
"ai_generated": zod.boolean(),
|
|
495
|
+
"published": zod.string(),
|
|
496
|
+
"removed": zod.boolean(),
|
|
497
|
+
"sticky": zod.boolean(),
|
|
498
|
+
"instance_sticky": zod.boolean(),
|
|
499
|
+
"title": zod.string(),
|
|
500
|
+
"user_id": zod.number(),
|
|
501
|
+
"alt_text": zod.string().optional(),
|
|
502
|
+
"body": zod.string().optional(),
|
|
503
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
504
|
+
"thumbnail_url": zod.string().optional(),
|
|
505
|
+
"updated": zod.string().optional(),
|
|
506
|
+
"url": zod.string().optional(),
|
|
507
|
+
"image_details": zod.object({
|
|
508
|
+
"width": zod.number().optional(),
|
|
509
|
+
"height": zod.number().optional()
|
|
510
|
+
}).optional(),
|
|
511
|
+
"cross_posts": zod.array(zod.object({
|
|
512
|
+
"post_id": zod.number().optional(),
|
|
513
|
+
"reply_count": zod.number().optional(),
|
|
514
|
+
"community_name": zod.string().optional()
|
|
515
|
+
})).optional(),
|
|
516
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
517
|
+
"tags": zod.string().nullish(),
|
|
518
|
+
"flair": zod.string().nullish(),
|
|
519
|
+
"emoji_reactions": zod.array(zod.object({
|
|
520
|
+
"url": zod.string().nullish(),
|
|
521
|
+
"token": zod.string().optional(),
|
|
522
|
+
"authors": zod.array(zod.string()).optional(),
|
|
523
|
+
"count": zod.number().optional()
|
|
524
|
+
})).nullish(),
|
|
525
|
+
"event": zod.object({
|
|
526
|
+
"start": zod.string(),
|
|
527
|
+
"end": zod.string().optional(),
|
|
528
|
+
"timezone": zod.string().optional(),
|
|
529
|
+
"max_attendees": zod.number().optional(),
|
|
530
|
+
"participant_count": zod.number().optional(),
|
|
531
|
+
"full": zod.boolean().optional(),
|
|
532
|
+
"online_link": zod.string().nullish(),
|
|
533
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
534
|
+
"external_participation_url": zod.string().nullish(),
|
|
535
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
536
|
+
"online": zod.boolean().optional(),
|
|
537
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
538
|
+
"event_fee_currency": zod.string().optional(),
|
|
539
|
+
"event_fee_amount": zod.number().optional(),
|
|
540
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
541
|
+
}).optional(),
|
|
542
|
+
"poll": zod.object({
|
|
543
|
+
"end_poll": zod.string().optional(),
|
|
544
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
545
|
+
"local_only": zod.boolean().optional(),
|
|
546
|
+
"latest_vote": zod.string().optional(),
|
|
547
|
+
"choices": zod.array(zod.object({
|
|
548
|
+
"id": zod.number(),
|
|
549
|
+
"choice_text": zod.string(),
|
|
550
|
+
"sort_order": zod.number(),
|
|
551
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
552
|
+
})).max(putApiAlphaCommentSaveResponseCommentViewPostPollChoicesMax),
|
|
553
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
554
|
+
}).optional()
|
|
555
|
+
}),
|
|
556
|
+
"saved": zod.boolean(),
|
|
557
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending']).describe('Indicates whether auth\'ed user is subscribed to the community this comment is in or not.'),
|
|
558
|
+
"my_vote": zod.number().optional(),
|
|
559
|
+
"can_auth_user_moderate": zod.boolean().optional()
|
|
560
|
+
})
|
|
561
|
+
})
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* @summary Subscribe to a comment.
|
|
565
|
+
*/
|
|
566
|
+
export const putApiAlphaCommentSubscribeBody = zod.object({
|
|
567
|
+
"comment_id": zod.number(),
|
|
568
|
+
"subscribe": zod.boolean()
|
|
569
|
+
})
|
|
570
|
+
|
|
571
|
+
export const putApiAlphaCommentSubscribeResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
572
|
+
|
|
573
|
+
export const putApiAlphaCommentSubscribeResponseCommentViewCreatorNoteMax = 50;
|
|
574
|
+
|
|
575
|
+
export const putApiAlphaCommentSubscribeResponseCommentViewPostEventMaxAttendeesDefault = 0;export const putApiAlphaCommentSubscribeResponseCommentViewPostEventParticipantCountDefault = 0;export const putApiAlphaCommentSubscribeResponseCommentViewPostEventFullDefault = false;export const putApiAlphaCommentSubscribeResponseCommentViewPostEventAnonymousParticipationDefault = false;export const putApiAlphaCommentSubscribeResponseCommentViewPostEventOnlineDefault = false;export const putApiAlphaCommentSubscribeResponseCommentViewPostEventEventFeeAmountDefault = 0;export const putApiAlphaCommentSubscribeResponseCommentViewPostPollLocalOnlyDefault = false;export const putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;export const putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesMax = 10;
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
export const putApiAlphaCommentSubscribeResponse = zod.object({
|
|
580
|
+
"comment_view": zod.object({
|
|
581
|
+
"activity_alert": zod.boolean(),
|
|
582
|
+
"banned_from_community": zod.boolean(),
|
|
583
|
+
"comment": zod.object({
|
|
584
|
+
"ap_id": zod.string(),
|
|
585
|
+
"body": zod.string(),
|
|
586
|
+
"deleted": zod.boolean(),
|
|
587
|
+
"id": zod.number(),
|
|
588
|
+
"language_id": zod.number(),
|
|
589
|
+
"local": zod.boolean(),
|
|
590
|
+
"path": zod.string(),
|
|
591
|
+
"post_id": zod.number(),
|
|
592
|
+
"published": zod.string(),
|
|
593
|
+
"removed": zod.boolean(),
|
|
594
|
+
"user_id": zod.number(),
|
|
595
|
+
"distinguished": zod.boolean().optional(),
|
|
596
|
+
"updated": zod.string().optional(),
|
|
597
|
+
"locked": zod.boolean().optional(),
|
|
598
|
+
"answer": zod.boolean().optional(),
|
|
599
|
+
"emoji_reactions": zod.array(zod.object({
|
|
600
|
+
"url": zod.string().nullish(),
|
|
601
|
+
"token": zod.string().optional(),
|
|
602
|
+
"authors": zod.array(zod.string()).optional(),
|
|
603
|
+
"count": zod.number().optional()
|
|
604
|
+
})).nullish()
|
|
605
|
+
}),
|
|
606
|
+
"community": zod.object({
|
|
607
|
+
"actor_id": zod.string(),
|
|
608
|
+
"ap_domain": zod.string().optional(),
|
|
609
|
+
"deleted": zod.boolean(),
|
|
610
|
+
"hidden": zod.boolean(),
|
|
611
|
+
"id": zod.number(),
|
|
612
|
+
"instance_id": zod.number(),
|
|
613
|
+
"local": zod.boolean(),
|
|
614
|
+
"name": zod.string(),
|
|
615
|
+
"nsfw": zod.boolean(),
|
|
616
|
+
"ai_generated": zod.boolean(),
|
|
617
|
+
"published": zod.string(),
|
|
618
|
+
"removed": zod.boolean(),
|
|
619
|
+
"restricted_to_mods": zod.boolean(),
|
|
620
|
+
"title": zod.string(),
|
|
621
|
+
"banned": zod.boolean().optional(),
|
|
622
|
+
"question_answer": zod.boolean().optional(),
|
|
623
|
+
"banner": zod.string().nullish(),
|
|
624
|
+
"description": zod.string().optional(),
|
|
625
|
+
"icon": zod.string().nullish(),
|
|
626
|
+
"posting_warning": zod.string().nullish(),
|
|
627
|
+
"updated": zod.string().optional()
|
|
628
|
+
}),
|
|
629
|
+
"counts": zod.object({
|
|
630
|
+
"child_count": zod.number(),
|
|
631
|
+
"comment_id": zod.number(),
|
|
632
|
+
"downvotes": zod.number(),
|
|
633
|
+
"published": zod.string(),
|
|
634
|
+
"score": zod.number(),
|
|
635
|
+
"upvotes": zod.number()
|
|
636
|
+
}),
|
|
637
|
+
"creator": zod.object({
|
|
638
|
+
"actor_id": zod.string(),
|
|
639
|
+
"banned": zod.boolean(),
|
|
640
|
+
"bot": zod.boolean(),
|
|
641
|
+
"deleted": zod.boolean(),
|
|
642
|
+
"id": zod.number(),
|
|
643
|
+
"instance_id": zod.number(),
|
|
644
|
+
"local": zod.boolean(),
|
|
645
|
+
"user_name": zod.string(),
|
|
646
|
+
"about": zod.string().optional(),
|
|
647
|
+
"about_html": zod.string().optional(),
|
|
648
|
+
"avatar": zod.string().nullish(),
|
|
649
|
+
"banner": zod.string().nullish(),
|
|
650
|
+
"extra_fields": zod.array(zod.object({
|
|
651
|
+
"id": zod.number(),
|
|
652
|
+
"label": zod.string(),
|
|
653
|
+
"text": zod.string()
|
|
654
|
+
})).max(putApiAlphaCommentSubscribeResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
655
|
+
"note": zod.string().max(putApiAlphaCommentSubscribeResponseCommentViewCreatorNoteMax).optional(),
|
|
656
|
+
"flair": zod.string().optional(),
|
|
657
|
+
"published": zod.string().optional(),
|
|
658
|
+
"title": zod.string().nullish()
|
|
659
|
+
}),
|
|
660
|
+
"creator_banned_from_community": zod.boolean(),
|
|
661
|
+
"creator_blocked": zod.boolean(),
|
|
662
|
+
"creator_is_admin": zod.boolean(),
|
|
663
|
+
"creator_is_moderator": zod.boolean(),
|
|
664
|
+
"post": zod.object({
|
|
665
|
+
"ap_id": zod.string(),
|
|
666
|
+
"community_id": zod.number(),
|
|
667
|
+
"deleted": zod.boolean(),
|
|
668
|
+
"id": zod.number(),
|
|
669
|
+
"language_id": zod.number(),
|
|
670
|
+
"local": zod.boolean(),
|
|
671
|
+
"locked": zod.boolean(),
|
|
672
|
+
"nsfw": zod.boolean(),
|
|
673
|
+
"ai_generated": zod.boolean(),
|
|
674
|
+
"published": zod.string(),
|
|
675
|
+
"removed": zod.boolean(),
|
|
676
|
+
"sticky": zod.boolean(),
|
|
677
|
+
"instance_sticky": zod.boolean(),
|
|
678
|
+
"title": zod.string(),
|
|
679
|
+
"user_id": zod.number(),
|
|
680
|
+
"alt_text": zod.string().optional(),
|
|
681
|
+
"body": zod.string().optional(),
|
|
682
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
683
|
+
"thumbnail_url": zod.string().optional(),
|
|
684
|
+
"updated": zod.string().optional(),
|
|
685
|
+
"url": zod.string().optional(),
|
|
686
|
+
"image_details": zod.object({
|
|
687
|
+
"width": zod.number().optional(),
|
|
688
|
+
"height": zod.number().optional()
|
|
689
|
+
}).optional(),
|
|
690
|
+
"cross_posts": zod.array(zod.object({
|
|
691
|
+
"post_id": zod.number().optional(),
|
|
692
|
+
"reply_count": zod.number().optional(),
|
|
693
|
+
"community_name": zod.string().optional()
|
|
694
|
+
})).optional(),
|
|
695
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
696
|
+
"tags": zod.string().nullish(),
|
|
697
|
+
"flair": zod.string().nullish(),
|
|
698
|
+
"emoji_reactions": zod.array(zod.object({
|
|
699
|
+
"url": zod.string().nullish(),
|
|
700
|
+
"token": zod.string().optional(),
|
|
701
|
+
"authors": zod.array(zod.string()).optional(),
|
|
702
|
+
"count": zod.number().optional()
|
|
703
|
+
})).nullish(),
|
|
704
|
+
"event": zod.object({
|
|
705
|
+
"start": zod.string(),
|
|
706
|
+
"end": zod.string().optional(),
|
|
707
|
+
"timezone": zod.string().optional(),
|
|
708
|
+
"max_attendees": zod.number().optional(),
|
|
709
|
+
"participant_count": zod.number().optional(),
|
|
710
|
+
"full": zod.boolean().optional(),
|
|
711
|
+
"online_link": zod.string().nullish(),
|
|
712
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
713
|
+
"external_participation_url": zod.string().nullish(),
|
|
714
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
715
|
+
"online": zod.boolean().optional(),
|
|
716
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
717
|
+
"event_fee_currency": zod.string().optional(),
|
|
718
|
+
"event_fee_amount": zod.number().optional(),
|
|
719
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
720
|
+
}).optional(),
|
|
721
|
+
"poll": zod.object({
|
|
722
|
+
"end_poll": zod.string().optional(),
|
|
723
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
724
|
+
"local_only": zod.boolean().optional(),
|
|
725
|
+
"latest_vote": zod.string().optional(),
|
|
726
|
+
"choices": zod.array(zod.object({
|
|
727
|
+
"id": zod.number(),
|
|
728
|
+
"choice_text": zod.string(),
|
|
729
|
+
"sort_order": zod.number(),
|
|
730
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
731
|
+
})).max(putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesMax),
|
|
732
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
733
|
+
}).optional()
|
|
734
|
+
}),
|
|
735
|
+
"saved": zod.boolean(),
|
|
736
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending']).describe('Indicates whether auth\'ed user is subscribed to the community this comment is in or not.'),
|
|
737
|
+
"my_vote": zod.number().optional(),
|
|
738
|
+
"can_auth_user_moderate": zod.boolean().optional()
|
|
739
|
+
})
|
|
740
|
+
})
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* @summary Create a comment.
|
|
744
|
+
*/
|
|
745
|
+
export const postApiAlphaCommentBody = zod.object({
|
|
746
|
+
"body": zod.string(),
|
|
747
|
+
"post_id": zod.number(),
|
|
748
|
+
"parent_id": zod.number().optional(),
|
|
749
|
+
"language_id": zod.number().optional()
|
|
750
|
+
})
|
|
751
|
+
|
|
752
|
+
export const postApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
753
|
+
|
|
754
|
+
export const postApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
|
|
755
|
+
|
|
756
|
+
export const postApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;export const postApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;export const postApiAlphaCommentResponseCommentViewPostEventFullDefault = false;export const postApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;export const postApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;export const postApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;export const postApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;export const postApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;export const postApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
export const postApiAlphaCommentResponse = zod.object({
|
|
761
|
+
"comment_view": zod.object({
|
|
762
|
+
"activity_alert": zod.boolean(),
|
|
763
|
+
"banned_from_community": zod.boolean(),
|
|
764
|
+
"comment": zod.object({
|
|
765
|
+
"ap_id": zod.string(),
|
|
766
|
+
"body": zod.string(),
|
|
767
|
+
"deleted": zod.boolean(),
|
|
768
|
+
"id": zod.number(),
|
|
769
|
+
"language_id": zod.number(),
|
|
770
|
+
"local": zod.boolean(),
|
|
771
|
+
"path": zod.string(),
|
|
772
|
+
"post_id": zod.number(),
|
|
773
|
+
"published": zod.string(),
|
|
774
|
+
"removed": zod.boolean(),
|
|
775
|
+
"user_id": zod.number(),
|
|
776
|
+
"distinguished": zod.boolean().optional(),
|
|
777
|
+
"updated": zod.string().optional(),
|
|
778
|
+
"locked": zod.boolean().optional(),
|
|
779
|
+
"answer": zod.boolean().optional(),
|
|
780
|
+
"emoji_reactions": zod.array(zod.object({
|
|
781
|
+
"url": zod.string().nullish(),
|
|
782
|
+
"token": zod.string().optional(),
|
|
783
|
+
"authors": zod.array(zod.string()).optional(),
|
|
784
|
+
"count": zod.number().optional()
|
|
785
|
+
})).nullish()
|
|
786
|
+
}),
|
|
787
|
+
"community": zod.object({
|
|
788
|
+
"actor_id": zod.string(),
|
|
789
|
+
"ap_domain": zod.string().optional(),
|
|
790
|
+
"deleted": zod.boolean(),
|
|
791
|
+
"hidden": zod.boolean(),
|
|
792
|
+
"id": zod.number(),
|
|
793
|
+
"instance_id": zod.number(),
|
|
794
|
+
"local": zod.boolean(),
|
|
795
|
+
"name": zod.string(),
|
|
796
|
+
"nsfw": zod.boolean(),
|
|
797
|
+
"ai_generated": zod.boolean(),
|
|
798
|
+
"published": zod.string(),
|
|
799
|
+
"removed": zod.boolean(),
|
|
800
|
+
"restricted_to_mods": zod.boolean(),
|
|
801
|
+
"title": zod.string(),
|
|
802
|
+
"banned": zod.boolean().optional(),
|
|
803
|
+
"question_answer": zod.boolean().optional(),
|
|
804
|
+
"banner": zod.string().nullish(),
|
|
805
|
+
"description": zod.string().optional(),
|
|
806
|
+
"icon": zod.string().nullish(),
|
|
807
|
+
"posting_warning": zod.string().nullish(),
|
|
808
|
+
"updated": zod.string().optional()
|
|
809
|
+
}),
|
|
810
|
+
"counts": zod.object({
|
|
811
|
+
"child_count": zod.number(),
|
|
812
|
+
"comment_id": zod.number(),
|
|
813
|
+
"downvotes": zod.number(),
|
|
814
|
+
"published": zod.string(),
|
|
815
|
+
"score": zod.number(),
|
|
816
|
+
"upvotes": zod.number()
|
|
817
|
+
}),
|
|
818
|
+
"creator": zod.object({
|
|
819
|
+
"actor_id": zod.string(),
|
|
820
|
+
"banned": zod.boolean(),
|
|
821
|
+
"bot": zod.boolean(),
|
|
822
|
+
"deleted": zod.boolean(),
|
|
823
|
+
"id": zod.number(),
|
|
824
|
+
"instance_id": zod.number(),
|
|
825
|
+
"local": zod.boolean(),
|
|
826
|
+
"user_name": zod.string(),
|
|
827
|
+
"about": zod.string().optional(),
|
|
828
|
+
"about_html": zod.string().optional(),
|
|
829
|
+
"avatar": zod.string().nullish(),
|
|
830
|
+
"banner": zod.string().nullish(),
|
|
831
|
+
"extra_fields": zod.array(zod.object({
|
|
832
|
+
"id": zod.number(),
|
|
833
|
+
"label": zod.string(),
|
|
834
|
+
"text": zod.string()
|
|
835
|
+
})).max(postApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
836
|
+
"note": zod.string().max(postApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
|
|
837
|
+
"flair": zod.string().optional(),
|
|
838
|
+
"published": zod.string().optional(),
|
|
839
|
+
"title": zod.string().nullish()
|
|
840
|
+
}),
|
|
841
|
+
"creator_banned_from_community": zod.boolean(),
|
|
842
|
+
"creator_blocked": zod.boolean(),
|
|
843
|
+
"creator_is_admin": zod.boolean(),
|
|
844
|
+
"creator_is_moderator": zod.boolean(),
|
|
845
|
+
"post": zod.object({
|
|
846
|
+
"ap_id": zod.string(),
|
|
847
|
+
"community_id": zod.number(),
|
|
848
|
+
"deleted": zod.boolean(),
|
|
849
|
+
"id": zod.number(),
|
|
850
|
+
"language_id": zod.number(),
|
|
851
|
+
"local": zod.boolean(),
|
|
852
|
+
"locked": zod.boolean(),
|
|
853
|
+
"nsfw": zod.boolean(),
|
|
854
|
+
"ai_generated": zod.boolean(),
|
|
855
|
+
"published": zod.string(),
|
|
856
|
+
"removed": zod.boolean(),
|
|
857
|
+
"sticky": zod.boolean(),
|
|
858
|
+
"instance_sticky": zod.boolean(),
|
|
859
|
+
"title": zod.string(),
|
|
860
|
+
"user_id": zod.number(),
|
|
861
|
+
"alt_text": zod.string().optional(),
|
|
862
|
+
"body": zod.string().optional(),
|
|
863
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
864
|
+
"thumbnail_url": zod.string().optional(),
|
|
865
|
+
"updated": zod.string().optional(),
|
|
866
|
+
"url": zod.string().optional(),
|
|
867
|
+
"image_details": zod.object({
|
|
868
|
+
"width": zod.number().optional(),
|
|
869
|
+
"height": zod.number().optional()
|
|
870
|
+
}).optional(),
|
|
871
|
+
"cross_posts": zod.array(zod.object({
|
|
872
|
+
"post_id": zod.number().optional(),
|
|
873
|
+
"reply_count": zod.number().optional(),
|
|
874
|
+
"community_name": zod.string().optional()
|
|
875
|
+
})).optional(),
|
|
876
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
877
|
+
"tags": zod.string().nullish(),
|
|
878
|
+
"flair": zod.string().nullish(),
|
|
879
|
+
"emoji_reactions": zod.array(zod.object({
|
|
880
|
+
"url": zod.string().nullish(),
|
|
881
|
+
"token": zod.string().optional(),
|
|
882
|
+
"authors": zod.array(zod.string()).optional(),
|
|
883
|
+
"count": zod.number().optional()
|
|
884
|
+
})).nullish(),
|
|
885
|
+
"event": zod.object({
|
|
886
|
+
"start": zod.string(),
|
|
887
|
+
"end": zod.string().optional(),
|
|
888
|
+
"timezone": zod.string().optional(),
|
|
889
|
+
"max_attendees": zod.number().optional(),
|
|
890
|
+
"participant_count": zod.number().optional(),
|
|
891
|
+
"full": zod.boolean().optional(),
|
|
892
|
+
"online_link": zod.string().nullish(),
|
|
893
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
894
|
+
"external_participation_url": zod.string().nullish(),
|
|
895
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
896
|
+
"online": zod.boolean().optional(),
|
|
897
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
898
|
+
"event_fee_currency": zod.string().optional(),
|
|
899
|
+
"event_fee_amount": zod.number().optional(),
|
|
900
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
901
|
+
}).optional(),
|
|
902
|
+
"poll": zod.object({
|
|
903
|
+
"end_poll": zod.string().optional(),
|
|
904
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
905
|
+
"local_only": zod.boolean().optional(),
|
|
906
|
+
"latest_vote": zod.string().optional(),
|
|
907
|
+
"choices": zod.array(zod.object({
|
|
908
|
+
"id": zod.number(),
|
|
909
|
+
"choice_text": zod.string(),
|
|
910
|
+
"sort_order": zod.number(),
|
|
911
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
912
|
+
})).max(postApiAlphaCommentResponseCommentViewPostPollChoicesMax),
|
|
913
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
914
|
+
}).optional()
|
|
915
|
+
}),
|
|
916
|
+
"saved": zod.boolean(),
|
|
917
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending']).describe('Indicates whether auth\'ed user is subscribed to the community this comment is in or not.'),
|
|
918
|
+
"my_vote": zod.number().optional(),
|
|
919
|
+
"can_auth_user_moderate": zod.boolean().optional()
|
|
920
|
+
})
|
|
921
|
+
})
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* @summary Edit a comment.
|
|
925
|
+
*/
|
|
926
|
+
export const putApiAlphaCommentBodyDistinguishedDefault = false;
|
|
927
|
+
|
|
928
|
+
export const putApiAlphaCommentBody = zod.object({
|
|
929
|
+
"body": zod.string(),
|
|
930
|
+
"comment_id": zod.number(),
|
|
931
|
+
"language_id": zod.number().optional(),
|
|
932
|
+
"distinguished": zod.boolean().optional().describe('Visibly mark reply as from a moderator in the web UI')
|
|
933
|
+
})
|
|
934
|
+
|
|
935
|
+
export const putApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
936
|
+
|
|
937
|
+
export const putApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
|
|
938
|
+
|
|
939
|
+
export const putApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;export const putApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;export const putApiAlphaCommentResponseCommentViewPostEventFullDefault = false;export const putApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;export const putApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;export const putApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;export const putApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;export const putApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;export const putApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
export const putApiAlphaCommentResponse = zod.object({
|
|
944
|
+
"comment_view": zod.object({
|
|
945
|
+
"activity_alert": zod.boolean(),
|
|
946
|
+
"banned_from_community": zod.boolean(),
|
|
947
|
+
"comment": zod.object({
|
|
948
|
+
"ap_id": zod.string(),
|
|
949
|
+
"body": zod.string(),
|
|
950
|
+
"deleted": zod.boolean(),
|
|
951
|
+
"id": zod.number(),
|
|
952
|
+
"language_id": zod.number(),
|
|
953
|
+
"local": zod.boolean(),
|
|
954
|
+
"path": zod.string(),
|
|
955
|
+
"post_id": zod.number(),
|
|
956
|
+
"published": zod.string(),
|
|
957
|
+
"removed": zod.boolean(),
|
|
958
|
+
"user_id": zod.number(),
|
|
959
|
+
"distinguished": zod.boolean().optional(),
|
|
960
|
+
"updated": zod.string().optional(),
|
|
961
|
+
"locked": zod.boolean().optional(),
|
|
962
|
+
"answer": zod.boolean().optional(),
|
|
963
|
+
"emoji_reactions": zod.array(zod.object({
|
|
964
|
+
"url": zod.string().nullish(),
|
|
965
|
+
"token": zod.string().optional(),
|
|
966
|
+
"authors": zod.array(zod.string()).optional(),
|
|
967
|
+
"count": zod.number().optional()
|
|
968
|
+
})).nullish()
|
|
969
|
+
}),
|
|
970
|
+
"community": zod.object({
|
|
971
|
+
"actor_id": zod.string(),
|
|
972
|
+
"ap_domain": zod.string().optional(),
|
|
973
|
+
"deleted": zod.boolean(),
|
|
974
|
+
"hidden": zod.boolean(),
|
|
975
|
+
"id": zod.number(),
|
|
976
|
+
"instance_id": zod.number(),
|
|
977
|
+
"local": zod.boolean(),
|
|
978
|
+
"name": zod.string(),
|
|
979
|
+
"nsfw": zod.boolean(),
|
|
980
|
+
"ai_generated": zod.boolean(),
|
|
981
|
+
"published": zod.string(),
|
|
982
|
+
"removed": zod.boolean(),
|
|
983
|
+
"restricted_to_mods": zod.boolean(),
|
|
984
|
+
"title": zod.string(),
|
|
985
|
+
"banned": zod.boolean().optional(),
|
|
986
|
+
"question_answer": zod.boolean().optional(),
|
|
987
|
+
"banner": zod.string().nullish(),
|
|
988
|
+
"description": zod.string().optional(),
|
|
989
|
+
"icon": zod.string().nullish(),
|
|
990
|
+
"posting_warning": zod.string().nullish(),
|
|
991
|
+
"updated": zod.string().optional()
|
|
992
|
+
}),
|
|
993
|
+
"counts": zod.object({
|
|
994
|
+
"child_count": zod.number(),
|
|
995
|
+
"comment_id": zod.number(),
|
|
996
|
+
"downvotes": zod.number(),
|
|
997
|
+
"published": zod.string(),
|
|
998
|
+
"score": zod.number(),
|
|
999
|
+
"upvotes": zod.number()
|
|
1000
|
+
}),
|
|
1001
|
+
"creator": zod.object({
|
|
1002
|
+
"actor_id": zod.string(),
|
|
1003
|
+
"banned": zod.boolean(),
|
|
1004
|
+
"bot": zod.boolean(),
|
|
1005
|
+
"deleted": zod.boolean(),
|
|
1006
|
+
"id": zod.number(),
|
|
1007
|
+
"instance_id": zod.number(),
|
|
1008
|
+
"local": zod.boolean(),
|
|
1009
|
+
"user_name": zod.string(),
|
|
1010
|
+
"about": zod.string().optional(),
|
|
1011
|
+
"about_html": zod.string().optional(),
|
|
1012
|
+
"avatar": zod.string().nullish(),
|
|
1013
|
+
"banner": zod.string().nullish(),
|
|
1014
|
+
"extra_fields": zod.array(zod.object({
|
|
1015
|
+
"id": zod.number(),
|
|
1016
|
+
"label": zod.string(),
|
|
1017
|
+
"text": zod.string()
|
|
1018
|
+
})).max(putApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1019
|
+
"note": zod.string().max(putApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
|
|
1020
|
+
"flair": zod.string().optional(),
|
|
1021
|
+
"published": zod.string().optional(),
|
|
1022
|
+
"title": zod.string().nullish()
|
|
1023
|
+
}),
|
|
1024
|
+
"creator_banned_from_community": zod.boolean(),
|
|
1025
|
+
"creator_blocked": zod.boolean(),
|
|
1026
|
+
"creator_is_admin": zod.boolean(),
|
|
1027
|
+
"creator_is_moderator": zod.boolean(),
|
|
1028
|
+
"post": zod.object({
|
|
1029
|
+
"ap_id": zod.string(),
|
|
1030
|
+
"community_id": zod.number(),
|
|
1031
|
+
"deleted": zod.boolean(),
|
|
1032
|
+
"id": zod.number(),
|
|
1033
|
+
"language_id": zod.number(),
|
|
1034
|
+
"local": zod.boolean(),
|
|
1035
|
+
"locked": zod.boolean(),
|
|
1036
|
+
"nsfw": zod.boolean(),
|
|
1037
|
+
"ai_generated": zod.boolean(),
|
|
1038
|
+
"published": zod.string(),
|
|
1039
|
+
"removed": zod.boolean(),
|
|
1040
|
+
"sticky": zod.boolean(),
|
|
1041
|
+
"instance_sticky": zod.boolean(),
|
|
1042
|
+
"title": zod.string(),
|
|
1043
|
+
"user_id": zod.number(),
|
|
1044
|
+
"alt_text": zod.string().optional(),
|
|
1045
|
+
"body": zod.string().optional(),
|
|
1046
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
1047
|
+
"thumbnail_url": zod.string().optional(),
|
|
1048
|
+
"updated": zod.string().optional(),
|
|
1049
|
+
"url": zod.string().optional(),
|
|
1050
|
+
"image_details": zod.object({
|
|
1051
|
+
"width": zod.number().optional(),
|
|
1052
|
+
"height": zod.number().optional()
|
|
1053
|
+
}).optional(),
|
|
1054
|
+
"cross_posts": zod.array(zod.object({
|
|
1055
|
+
"post_id": zod.number().optional(),
|
|
1056
|
+
"reply_count": zod.number().optional(),
|
|
1057
|
+
"community_name": zod.string().optional()
|
|
1058
|
+
})).optional(),
|
|
1059
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
1060
|
+
"tags": zod.string().nullish(),
|
|
1061
|
+
"flair": zod.string().nullish(),
|
|
1062
|
+
"emoji_reactions": zod.array(zod.object({
|
|
1063
|
+
"url": zod.string().nullish(),
|
|
1064
|
+
"token": zod.string().optional(),
|
|
1065
|
+
"authors": zod.array(zod.string()).optional(),
|
|
1066
|
+
"count": zod.number().optional()
|
|
1067
|
+
})).nullish(),
|
|
1068
|
+
"event": zod.object({
|
|
1069
|
+
"start": zod.string(),
|
|
1070
|
+
"end": zod.string().optional(),
|
|
1071
|
+
"timezone": zod.string().optional(),
|
|
1072
|
+
"max_attendees": zod.number().optional(),
|
|
1073
|
+
"participant_count": zod.number().optional(),
|
|
1074
|
+
"full": zod.boolean().optional(),
|
|
1075
|
+
"online_link": zod.string().nullish(),
|
|
1076
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
1077
|
+
"external_participation_url": zod.string().nullish(),
|
|
1078
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
1079
|
+
"online": zod.boolean().optional(),
|
|
1080
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
1081
|
+
"event_fee_currency": zod.string().optional(),
|
|
1082
|
+
"event_fee_amount": zod.number().optional(),
|
|
1083
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
1084
|
+
}).optional(),
|
|
1085
|
+
"poll": zod.object({
|
|
1086
|
+
"end_poll": zod.string().optional(),
|
|
1087
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
1088
|
+
"local_only": zod.boolean().optional(),
|
|
1089
|
+
"latest_vote": zod.string().optional(),
|
|
1090
|
+
"choices": zod.array(zod.object({
|
|
1091
|
+
"id": zod.number(),
|
|
1092
|
+
"choice_text": zod.string(),
|
|
1093
|
+
"sort_order": zod.number(),
|
|
1094
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
1095
|
+
})).max(putApiAlphaCommentResponseCommentViewPostPollChoicesMax),
|
|
1096
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
1097
|
+
}).optional()
|
|
1098
|
+
}),
|
|
1099
|
+
"saved": zod.boolean(),
|
|
1100
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending']).describe('Indicates whether auth\'ed user is subscribed to the community this comment is in or not.'),
|
|
1101
|
+
"my_vote": zod.number().optional(),
|
|
1102
|
+
"can_auth_user_moderate": zod.boolean().optional()
|
|
1103
|
+
})
|
|
1104
|
+
})
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* @summary Get / fetch a comment.
|
|
1108
|
+
*/
|
|
1109
|
+
export const getApiAlphaCommentQueryParams = zod.object({
|
|
1110
|
+
"id": zod.number()
|
|
1111
|
+
})
|
|
1112
|
+
|
|
1113
|
+
export const getApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
1114
|
+
|
|
1115
|
+
export const getApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
|
|
1116
|
+
|
|
1117
|
+
export const getApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;export const getApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;export const getApiAlphaCommentResponseCommentViewPostEventFullDefault = false;export const getApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;export const getApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;export const getApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;export const getApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;export const getApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;export const getApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
export const getApiAlphaCommentResponse = zod.object({
|
|
1122
|
+
"comment_view": zod.object({
|
|
1123
|
+
"activity_alert": zod.boolean(),
|
|
1124
|
+
"banned_from_community": zod.boolean(),
|
|
1125
|
+
"comment": zod.object({
|
|
1126
|
+
"ap_id": zod.string(),
|
|
1127
|
+
"body": zod.string(),
|
|
1128
|
+
"deleted": zod.boolean(),
|
|
1129
|
+
"id": zod.number(),
|
|
1130
|
+
"language_id": zod.number(),
|
|
1131
|
+
"local": zod.boolean(),
|
|
1132
|
+
"path": zod.string(),
|
|
1133
|
+
"post_id": zod.number(),
|
|
1134
|
+
"published": zod.string(),
|
|
1135
|
+
"removed": zod.boolean(),
|
|
1136
|
+
"user_id": zod.number(),
|
|
1137
|
+
"distinguished": zod.boolean().optional(),
|
|
1138
|
+
"updated": zod.string().optional(),
|
|
1139
|
+
"locked": zod.boolean().optional(),
|
|
1140
|
+
"answer": zod.boolean().optional(),
|
|
1141
|
+
"emoji_reactions": zod.array(zod.object({
|
|
1142
|
+
"url": zod.string().nullish(),
|
|
1143
|
+
"token": zod.string().optional(),
|
|
1144
|
+
"authors": zod.array(zod.string()).optional(),
|
|
1145
|
+
"count": zod.number().optional()
|
|
1146
|
+
})).nullish()
|
|
1147
|
+
}),
|
|
1148
|
+
"community": zod.object({
|
|
1149
|
+
"actor_id": zod.string(),
|
|
1150
|
+
"ap_domain": zod.string().optional(),
|
|
1151
|
+
"deleted": zod.boolean(),
|
|
1152
|
+
"hidden": zod.boolean(),
|
|
1153
|
+
"id": zod.number(),
|
|
1154
|
+
"instance_id": zod.number(),
|
|
1155
|
+
"local": zod.boolean(),
|
|
1156
|
+
"name": zod.string(),
|
|
1157
|
+
"nsfw": zod.boolean(),
|
|
1158
|
+
"ai_generated": zod.boolean(),
|
|
1159
|
+
"published": zod.string(),
|
|
1160
|
+
"removed": zod.boolean(),
|
|
1161
|
+
"restricted_to_mods": zod.boolean(),
|
|
1162
|
+
"title": zod.string(),
|
|
1163
|
+
"banned": zod.boolean().optional(),
|
|
1164
|
+
"question_answer": zod.boolean().optional(),
|
|
1165
|
+
"banner": zod.string().nullish(),
|
|
1166
|
+
"description": zod.string().optional(),
|
|
1167
|
+
"icon": zod.string().nullish(),
|
|
1168
|
+
"posting_warning": zod.string().nullish(),
|
|
1169
|
+
"updated": zod.string().optional()
|
|
1170
|
+
}),
|
|
1171
|
+
"counts": zod.object({
|
|
1172
|
+
"child_count": zod.number(),
|
|
1173
|
+
"comment_id": zod.number(),
|
|
1174
|
+
"downvotes": zod.number(),
|
|
1175
|
+
"published": zod.string(),
|
|
1176
|
+
"score": zod.number(),
|
|
1177
|
+
"upvotes": zod.number()
|
|
1178
|
+
}),
|
|
1179
|
+
"creator": zod.object({
|
|
1180
|
+
"actor_id": zod.string(),
|
|
1181
|
+
"banned": zod.boolean(),
|
|
1182
|
+
"bot": zod.boolean(),
|
|
1183
|
+
"deleted": zod.boolean(),
|
|
1184
|
+
"id": zod.number(),
|
|
1185
|
+
"instance_id": zod.number(),
|
|
1186
|
+
"local": zod.boolean(),
|
|
1187
|
+
"user_name": zod.string(),
|
|
1188
|
+
"about": zod.string().optional(),
|
|
1189
|
+
"about_html": zod.string().optional(),
|
|
1190
|
+
"avatar": zod.string().nullish(),
|
|
1191
|
+
"banner": zod.string().nullish(),
|
|
1192
|
+
"extra_fields": zod.array(zod.object({
|
|
1193
|
+
"id": zod.number(),
|
|
1194
|
+
"label": zod.string(),
|
|
1195
|
+
"text": zod.string()
|
|
1196
|
+
})).max(getApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1197
|
+
"note": zod.string().max(getApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
|
|
1198
|
+
"flair": zod.string().optional(),
|
|
1199
|
+
"published": zod.string().optional(),
|
|
1200
|
+
"title": zod.string().nullish()
|
|
1201
|
+
}),
|
|
1202
|
+
"creator_banned_from_community": zod.boolean(),
|
|
1203
|
+
"creator_blocked": zod.boolean(),
|
|
1204
|
+
"creator_is_admin": zod.boolean(),
|
|
1205
|
+
"creator_is_moderator": zod.boolean(),
|
|
1206
|
+
"post": zod.object({
|
|
1207
|
+
"ap_id": zod.string(),
|
|
1208
|
+
"community_id": zod.number(),
|
|
1209
|
+
"deleted": zod.boolean(),
|
|
1210
|
+
"id": zod.number(),
|
|
1211
|
+
"language_id": zod.number(),
|
|
1212
|
+
"local": zod.boolean(),
|
|
1213
|
+
"locked": zod.boolean(),
|
|
1214
|
+
"nsfw": zod.boolean(),
|
|
1215
|
+
"ai_generated": zod.boolean(),
|
|
1216
|
+
"published": zod.string(),
|
|
1217
|
+
"removed": zod.boolean(),
|
|
1218
|
+
"sticky": zod.boolean(),
|
|
1219
|
+
"instance_sticky": zod.boolean(),
|
|
1220
|
+
"title": zod.string(),
|
|
1221
|
+
"user_id": zod.number(),
|
|
1222
|
+
"alt_text": zod.string().optional(),
|
|
1223
|
+
"body": zod.string().optional(),
|
|
1224
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
1225
|
+
"thumbnail_url": zod.string().optional(),
|
|
1226
|
+
"updated": zod.string().optional(),
|
|
1227
|
+
"url": zod.string().optional(),
|
|
1228
|
+
"image_details": zod.object({
|
|
1229
|
+
"width": zod.number().optional(),
|
|
1230
|
+
"height": zod.number().optional()
|
|
1231
|
+
}).optional(),
|
|
1232
|
+
"cross_posts": zod.array(zod.object({
|
|
1233
|
+
"post_id": zod.number().optional(),
|
|
1234
|
+
"reply_count": zod.number().optional(),
|
|
1235
|
+
"community_name": zod.string().optional()
|
|
1236
|
+
})).optional(),
|
|
1237
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
1238
|
+
"tags": zod.string().nullish(),
|
|
1239
|
+
"flair": zod.string().nullish(),
|
|
1240
|
+
"emoji_reactions": zod.array(zod.object({
|
|
1241
|
+
"url": zod.string().nullish(),
|
|
1242
|
+
"token": zod.string().optional(),
|
|
1243
|
+
"authors": zod.array(zod.string()).optional(),
|
|
1244
|
+
"count": zod.number().optional()
|
|
1245
|
+
})).nullish(),
|
|
1246
|
+
"event": zod.object({
|
|
1247
|
+
"start": zod.string(),
|
|
1248
|
+
"end": zod.string().optional(),
|
|
1249
|
+
"timezone": zod.string().optional(),
|
|
1250
|
+
"max_attendees": zod.number().optional(),
|
|
1251
|
+
"participant_count": zod.number().optional(),
|
|
1252
|
+
"full": zod.boolean().optional(),
|
|
1253
|
+
"online_link": zod.string().nullish(),
|
|
1254
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
1255
|
+
"external_participation_url": zod.string().nullish(),
|
|
1256
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
1257
|
+
"online": zod.boolean().optional(),
|
|
1258
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
1259
|
+
"event_fee_currency": zod.string().optional(),
|
|
1260
|
+
"event_fee_amount": zod.number().optional(),
|
|
1261
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
1262
|
+
}).optional(),
|
|
1263
|
+
"poll": zod.object({
|
|
1264
|
+
"end_poll": zod.string().optional(),
|
|
1265
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
1266
|
+
"local_only": zod.boolean().optional(),
|
|
1267
|
+
"latest_vote": zod.string().optional(),
|
|
1268
|
+
"choices": zod.array(zod.object({
|
|
1269
|
+
"id": zod.number(),
|
|
1270
|
+
"choice_text": zod.string(),
|
|
1271
|
+
"sort_order": zod.number(),
|
|
1272
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
1273
|
+
})).max(getApiAlphaCommentResponseCommentViewPostPollChoicesMax),
|
|
1274
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
1275
|
+
}).optional()
|
|
1276
|
+
}),
|
|
1277
|
+
"saved": zod.boolean(),
|
|
1278
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending']).describe('Indicates whether auth\'ed user is subscribed to the community this comment is in or not.'),
|
|
1279
|
+
"my_vote": zod.number().optional(),
|
|
1280
|
+
"can_auth_user_moderate": zod.boolean().optional()
|
|
1281
|
+
})
|
|
1282
|
+
})
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* @summary Delete a comment.
|
|
1286
|
+
*/
|
|
1287
|
+
export const postApiAlphaCommentDeleteBody = zod.object({
|
|
1288
|
+
"comment_id": zod.number(),
|
|
1289
|
+
"deleted": zod.boolean()
|
|
1290
|
+
})
|
|
1291
|
+
|
|
1292
|
+
export const postApiAlphaCommentDeleteResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
1293
|
+
|
|
1294
|
+
export const postApiAlphaCommentDeleteResponseCommentViewCreatorNoteMax = 50;
|
|
1295
|
+
|
|
1296
|
+
export const postApiAlphaCommentDeleteResponseCommentViewPostEventMaxAttendeesDefault = 0;export const postApiAlphaCommentDeleteResponseCommentViewPostEventParticipantCountDefault = 0;export const postApiAlphaCommentDeleteResponseCommentViewPostEventFullDefault = false;export const postApiAlphaCommentDeleteResponseCommentViewPostEventAnonymousParticipationDefault = false;export const postApiAlphaCommentDeleteResponseCommentViewPostEventOnlineDefault = false;export const postApiAlphaCommentDeleteResponseCommentViewPostEventEventFeeAmountDefault = 0;export const postApiAlphaCommentDeleteResponseCommentViewPostPollLocalOnlyDefault = false;export const postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;export const postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesMax = 10;
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
export const postApiAlphaCommentDeleteResponse = zod.object({
|
|
1301
|
+
"comment_view": zod.object({
|
|
1302
|
+
"activity_alert": zod.boolean(),
|
|
1303
|
+
"banned_from_community": zod.boolean(),
|
|
1304
|
+
"comment": zod.object({
|
|
1305
|
+
"ap_id": zod.string(),
|
|
1306
|
+
"body": zod.string(),
|
|
1307
|
+
"deleted": zod.boolean(),
|
|
1308
|
+
"id": zod.number(),
|
|
1309
|
+
"language_id": zod.number(),
|
|
1310
|
+
"local": zod.boolean(),
|
|
1311
|
+
"path": zod.string(),
|
|
1312
|
+
"post_id": zod.number(),
|
|
1313
|
+
"published": zod.string(),
|
|
1314
|
+
"removed": zod.boolean(),
|
|
1315
|
+
"user_id": zod.number(),
|
|
1316
|
+
"distinguished": zod.boolean().optional(),
|
|
1317
|
+
"updated": zod.string().optional(),
|
|
1318
|
+
"locked": zod.boolean().optional(),
|
|
1319
|
+
"answer": zod.boolean().optional(),
|
|
1320
|
+
"emoji_reactions": zod.array(zod.object({
|
|
1321
|
+
"url": zod.string().nullish(),
|
|
1322
|
+
"token": zod.string().optional(),
|
|
1323
|
+
"authors": zod.array(zod.string()).optional(),
|
|
1324
|
+
"count": zod.number().optional()
|
|
1325
|
+
})).nullish()
|
|
1326
|
+
}),
|
|
1327
|
+
"community": zod.object({
|
|
1328
|
+
"actor_id": zod.string(),
|
|
1329
|
+
"ap_domain": zod.string().optional(),
|
|
1330
|
+
"deleted": zod.boolean(),
|
|
1331
|
+
"hidden": zod.boolean(),
|
|
1332
|
+
"id": zod.number(),
|
|
1333
|
+
"instance_id": zod.number(),
|
|
1334
|
+
"local": zod.boolean(),
|
|
1335
|
+
"name": zod.string(),
|
|
1336
|
+
"nsfw": zod.boolean(),
|
|
1337
|
+
"ai_generated": zod.boolean(),
|
|
1338
|
+
"published": zod.string(),
|
|
1339
|
+
"removed": zod.boolean(),
|
|
1340
|
+
"restricted_to_mods": zod.boolean(),
|
|
1341
|
+
"title": zod.string(),
|
|
1342
|
+
"banned": zod.boolean().optional(),
|
|
1343
|
+
"question_answer": zod.boolean().optional(),
|
|
1344
|
+
"banner": zod.string().nullish(),
|
|
1345
|
+
"description": zod.string().optional(),
|
|
1346
|
+
"icon": zod.string().nullish(),
|
|
1347
|
+
"posting_warning": zod.string().nullish(),
|
|
1348
|
+
"updated": zod.string().optional()
|
|
1349
|
+
}),
|
|
1350
|
+
"counts": zod.object({
|
|
1351
|
+
"child_count": zod.number(),
|
|
1352
|
+
"comment_id": zod.number(),
|
|
1353
|
+
"downvotes": zod.number(),
|
|
1354
|
+
"published": zod.string(),
|
|
1355
|
+
"score": zod.number(),
|
|
1356
|
+
"upvotes": zod.number()
|
|
1357
|
+
}),
|
|
1358
|
+
"creator": zod.object({
|
|
1359
|
+
"actor_id": zod.string(),
|
|
1360
|
+
"banned": zod.boolean(),
|
|
1361
|
+
"bot": zod.boolean(),
|
|
1362
|
+
"deleted": zod.boolean(),
|
|
1363
|
+
"id": zod.number(),
|
|
1364
|
+
"instance_id": zod.number(),
|
|
1365
|
+
"local": zod.boolean(),
|
|
1366
|
+
"user_name": zod.string(),
|
|
1367
|
+
"about": zod.string().optional(),
|
|
1368
|
+
"about_html": zod.string().optional(),
|
|
1369
|
+
"avatar": zod.string().nullish(),
|
|
1370
|
+
"banner": zod.string().nullish(),
|
|
1371
|
+
"extra_fields": zod.array(zod.object({
|
|
1372
|
+
"id": zod.number(),
|
|
1373
|
+
"label": zod.string(),
|
|
1374
|
+
"text": zod.string()
|
|
1375
|
+
})).max(postApiAlphaCommentDeleteResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1376
|
+
"note": zod.string().max(postApiAlphaCommentDeleteResponseCommentViewCreatorNoteMax).optional(),
|
|
1377
|
+
"flair": zod.string().optional(),
|
|
1378
|
+
"published": zod.string().optional(),
|
|
1379
|
+
"title": zod.string().nullish()
|
|
1380
|
+
}),
|
|
1381
|
+
"creator_banned_from_community": zod.boolean(),
|
|
1382
|
+
"creator_blocked": zod.boolean(),
|
|
1383
|
+
"creator_is_admin": zod.boolean(),
|
|
1384
|
+
"creator_is_moderator": zod.boolean(),
|
|
1385
|
+
"post": zod.object({
|
|
1386
|
+
"ap_id": zod.string(),
|
|
1387
|
+
"community_id": zod.number(),
|
|
1388
|
+
"deleted": zod.boolean(),
|
|
1389
|
+
"id": zod.number(),
|
|
1390
|
+
"language_id": zod.number(),
|
|
1391
|
+
"local": zod.boolean(),
|
|
1392
|
+
"locked": zod.boolean(),
|
|
1393
|
+
"nsfw": zod.boolean(),
|
|
1394
|
+
"ai_generated": zod.boolean(),
|
|
1395
|
+
"published": zod.string(),
|
|
1396
|
+
"removed": zod.boolean(),
|
|
1397
|
+
"sticky": zod.boolean(),
|
|
1398
|
+
"instance_sticky": zod.boolean(),
|
|
1399
|
+
"title": zod.string(),
|
|
1400
|
+
"user_id": zod.number(),
|
|
1401
|
+
"alt_text": zod.string().optional(),
|
|
1402
|
+
"body": zod.string().optional(),
|
|
1403
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
1404
|
+
"thumbnail_url": zod.string().optional(),
|
|
1405
|
+
"updated": zod.string().optional(),
|
|
1406
|
+
"url": zod.string().optional(),
|
|
1407
|
+
"image_details": zod.object({
|
|
1408
|
+
"width": zod.number().optional(),
|
|
1409
|
+
"height": zod.number().optional()
|
|
1410
|
+
}).optional(),
|
|
1411
|
+
"cross_posts": zod.array(zod.object({
|
|
1412
|
+
"post_id": zod.number().optional(),
|
|
1413
|
+
"reply_count": zod.number().optional(),
|
|
1414
|
+
"community_name": zod.string().optional()
|
|
1415
|
+
})).optional(),
|
|
1416
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
1417
|
+
"tags": zod.string().nullish(),
|
|
1418
|
+
"flair": zod.string().nullish(),
|
|
1419
|
+
"emoji_reactions": zod.array(zod.object({
|
|
1420
|
+
"url": zod.string().nullish(),
|
|
1421
|
+
"token": zod.string().optional(),
|
|
1422
|
+
"authors": zod.array(zod.string()).optional(),
|
|
1423
|
+
"count": zod.number().optional()
|
|
1424
|
+
})).nullish(),
|
|
1425
|
+
"event": zod.object({
|
|
1426
|
+
"start": zod.string(),
|
|
1427
|
+
"end": zod.string().optional(),
|
|
1428
|
+
"timezone": zod.string().optional(),
|
|
1429
|
+
"max_attendees": zod.number().optional(),
|
|
1430
|
+
"participant_count": zod.number().optional(),
|
|
1431
|
+
"full": zod.boolean().optional(),
|
|
1432
|
+
"online_link": zod.string().nullish(),
|
|
1433
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
1434
|
+
"external_participation_url": zod.string().nullish(),
|
|
1435
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
1436
|
+
"online": zod.boolean().optional(),
|
|
1437
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
1438
|
+
"event_fee_currency": zod.string().optional(),
|
|
1439
|
+
"event_fee_amount": zod.number().optional(),
|
|
1440
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
1441
|
+
}).optional(),
|
|
1442
|
+
"poll": zod.object({
|
|
1443
|
+
"end_poll": zod.string().optional(),
|
|
1444
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
1445
|
+
"local_only": zod.boolean().optional(),
|
|
1446
|
+
"latest_vote": zod.string().optional(),
|
|
1447
|
+
"choices": zod.array(zod.object({
|
|
1448
|
+
"id": zod.number(),
|
|
1449
|
+
"choice_text": zod.string(),
|
|
1450
|
+
"sort_order": zod.number(),
|
|
1451
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
1452
|
+
})).max(postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesMax),
|
|
1453
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
1454
|
+
}).optional()
|
|
1455
|
+
}),
|
|
1456
|
+
"saved": zod.boolean(),
|
|
1457
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending']).describe('Indicates whether auth\'ed user is subscribed to the community this comment is in or not.'),
|
|
1458
|
+
"my_vote": zod.number().optional(),
|
|
1459
|
+
"can_auth_user_moderate": zod.boolean().optional()
|
|
1460
|
+
})
|
|
1461
|
+
})
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* @summary Report a comment.
|
|
1465
|
+
*/
|
|
1466
|
+
export const postApiAlphaCommentReportBodyReportRemoteDefault = true;
|
|
1467
|
+
|
|
1468
|
+
export const postApiAlphaCommentReportBody = zod.object({
|
|
1469
|
+
"comment_id": zod.number(),
|
|
1470
|
+
"reason": zod.string(),
|
|
1471
|
+
"description": zod.string().optional(),
|
|
1472
|
+
"report_remote": zod.boolean().default(postApiAlphaCommentReportBodyReportRemoteDefault).describe('Also send report to originating instance')
|
|
1473
|
+
})
|
|
1474
|
+
|
|
1475
|
+
export const postApiAlphaCommentReportResponseCommentReportViewCreatorExtraFieldsMax = 4;
|
|
1476
|
+
|
|
1477
|
+
export const postApiAlphaCommentReportResponseCommentReportViewCreatorNoteMax = 50;
|
|
1478
|
+
|
|
1479
|
+
export const postApiAlphaCommentReportResponseCommentReportViewPostEventMaxAttendeesDefault = 0;export const postApiAlphaCommentReportResponseCommentReportViewPostEventParticipantCountDefault = 0;export const postApiAlphaCommentReportResponseCommentReportViewPostEventFullDefault = false;export const postApiAlphaCommentReportResponseCommentReportViewPostEventAnonymousParticipationDefault = false;export const postApiAlphaCommentReportResponseCommentReportViewPostEventOnlineDefault = false;export const postApiAlphaCommentReportResponseCommentReportViewPostEventEventFeeAmountDefault = 0;export const postApiAlphaCommentReportResponseCommentReportViewPostPollLocalOnlyDefault = false;export const postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesItemNumVotesDefault = 0;export const postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesMax = 10;
|
|
1480
|
+
|
|
1481
|
+
export const postApiAlphaCommentReportResponseCommentReportViewCommentCreatorExtraFieldsMax = 4;
|
|
1482
|
+
|
|
1483
|
+
export const postApiAlphaCommentReportResponseCommentReportViewCommentCreatorNoteMax = 50;
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
|
|
1487
|
+
export const postApiAlphaCommentReportResponse = zod.object({
|
|
1488
|
+
"comment_report_view": zod.object({
|
|
1489
|
+
"activity_alert": zod.boolean(),
|
|
1490
|
+
"banned_from_community": zod.boolean(),
|
|
1491
|
+
"comment": zod.object({
|
|
1492
|
+
"ap_id": zod.string(),
|
|
1493
|
+
"body": zod.string(),
|
|
1494
|
+
"deleted": zod.boolean(),
|
|
1495
|
+
"id": zod.number(),
|
|
1496
|
+
"language_id": zod.number(),
|
|
1497
|
+
"local": zod.boolean(),
|
|
1498
|
+
"path": zod.string(),
|
|
1499
|
+
"post_id": zod.number(),
|
|
1500
|
+
"published": zod.string(),
|
|
1501
|
+
"removed": zod.boolean(),
|
|
1502
|
+
"user_id": zod.number(),
|
|
1503
|
+
"distinguished": zod.boolean().optional(),
|
|
1504
|
+
"updated": zod.string().optional(),
|
|
1505
|
+
"locked": zod.boolean().optional(),
|
|
1506
|
+
"answer": zod.boolean().optional(),
|
|
1507
|
+
"emoji_reactions": zod.array(zod.object({
|
|
1508
|
+
"url": zod.string().nullish(),
|
|
1509
|
+
"token": zod.string().optional(),
|
|
1510
|
+
"authors": zod.array(zod.string()).optional(),
|
|
1511
|
+
"count": zod.number().optional()
|
|
1512
|
+
})).nullish()
|
|
1513
|
+
}),
|
|
1514
|
+
"community": zod.object({
|
|
1515
|
+
"actor_id": zod.string(),
|
|
1516
|
+
"ap_domain": zod.string().optional(),
|
|
1517
|
+
"deleted": zod.boolean(),
|
|
1518
|
+
"hidden": zod.boolean(),
|
|
1519
|
+
"id": zod.number(),
|
|
1520
|
+
"instance_id": zod.number(),
|
|
1521
|
+
"local": zod.boolean(),
|
|
1522
|
+
"name": zod.string(),
|
|
1523
|
+
"nsfw": zod.boolean(),
|
|
1524
|
+
"ai_generated": zod.boolean(),
|
|
1525
|
+
"published": zod.string(),
|
|
1526
|
+
"removed": zod.boolean(),
|
|
1527
|
+
"restricted_to_mods": zod.boolean(),
|
|
1528
|
+
"title": zod.string(),
|
|
1529
|
+
"banned": zod.boolean().optional(),
|
|
1530
|
+
"question_answer": zod.boolean().optional(),
|
|
1531
|
+
"banner": zod.string().nullish(),
|
|
1532
|
+
"description": zod.string().optional(),
|
|
1533
|
+
"icon": zod.string().nullish(),
|
|
1534
|
+
"posting_warning": zod.string().nullish(),
|
|
1535
|
+
"updated": zod.string().optional()
|
|
1536
|
+
}),
|
|
1537
|
+
"counts": zod.object({
|
|
1538
|
+
"child_count": zod.number(),
|
|
1539
|
+
"comment_id": zod.number(),
|
|
1540
|
+
"downvotes": zod.number(),
|
|
1541
|
+
"published": zod.string(),
|
|
1542
|
+
"score": zod.number(),
|
|
1543
|
+
"upvotes": zod.number()
|
|
1544
|
+
}),
|
|
1545
|
+
"creator": zod.object({
|
|
1546
|
+
"actor_id": zod.string(),
|
|
1547
|
+
"banned": zod.boolean(),
|
|
1548
|
+
"bot": zod.boolean(),
|
|
1549
|
+
"deleted": zod.boolean(),
|
|
1550
|
+
"id": zod.number(),
|
|
1551
|
+
"instance_id": zod.number(),
|
|
1552
|
+
"local": zod.boolean(),
|
|
1553
|
+
"user_name": zod.string(),
|
|
1554
|
+
"about": zod.string().optional(),
|
|
1555
|
+
"about_html": zod.string().optional(),
|
|
1556
|
+
"avatar": zod.string().nullish(),
|
|
1557
|
+
"banner": zod.string().nullish(),
|
|
1558
|
+
"extra_fields": zod.array(zod.object({
|
|
1559
|
+
"id": zod.number(),
|
|
1560
|
+
"label": zod.string(),
|
|
1561
|
+
"text": zod.string()
|
|
1562
|
+
})).max(postApiAlphaCommentReportResponseCommentReportViewCreatorExtraFieldsMax).optional(),
|
|
1563
|
+
"note": zod.string().max(postApiAlphaCommentReportResponseCommentReportViewCreatorNoteMax).optional(),
|
|
1564
|
+
"flair": zod.string().optional(),
|
|
1565
|
+
"published": zod.string().optional(),
|
|
1566
|
+
"title": zod.string().nullish()
|
|
1567
|
+
}),
|
|
1568
|
+
"creator_banned_from_community": zod.boolean(),
|
|
1569
|
+
"creator_blocked": zod.boolean(),
|
|
1570
|
+
"creator_is_admin": zod.boolean(),
|
|
1571
|
+
"creator_is_moderator": zod.boolean(),
|
|
1572
|
+
"post": zod.object({
|
|
1573
|
+
"ap_id": zod.string(),
|
|
1574
|
+
"community_id": zod.number(),
|
|
1575
|
+
"deleted": zod.boolean(),
|
|
1576
|
+
"id": zod.number(),
|
|
1577
|
+
"language_id": zod.number(),
|
|
1578
|
+
"local": zod.boolean(),
|
|
1579
|
+
"locked": zod.boolean(),
|
|
1580
|
+
"nsfw": zod.boolean(),
|
|
1581
|
+
"ai_generated": zod.boolean(),
|
|
1582
|
+
"published": zod.string(),
|
|
1583
|
+
"removed": zod.boolean(),
|
|
1584
|
+
"sticky": zod.boolean(),
|
|
1585
|
+
"instance_sticky": zod.boolean(),
|
|
1586
|
+
"title": zod.string(),
|
|
1587
|
+
"user_id": zod.number(),
|
|
1588
|
+
"alt_text": zod.string().optional(),
|
|
1589
|
+
"body": zod.string().optional(),
|
|
1590
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
1591
|
+
"thumbnail_url": zod.string().optional(),
|
|
1592
|
+
"updated": zod.string().optional(),
|
|
1593
|
+
"url": zod.string().optional(),
|
|
1594
|
+
"image_details": zod.object({
|
|
1595
|
+
"width": zod.number().optional(),
|
|
1596
|
+
"height": zod.number().optional()
|
|
1597
|
+
}).optional(),
|
|
1598
|
+
"cross_posts": zod.array(zod.object({
|
|
1599
|
+
"post_id": zod.number().optional(),
|
|
1600
|
+
"reply_count": zod.number().optional(),
|
|
1601
|
+
"community_name": zod.string().optional()
|
|
1602
|
+
})).optional(),
|
|
1603
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
1604
|
+
"tags": zod.string().nullish(),
|
|
1605
|
+
"flair": zod.string().nullish(),
|
|
1606
|
+
"emoji_reactions": zod.array(zod.object({
|
|
1607
|
+
"url": zod.string().nullish(),
|
|
1608
|
+
"token": zod.string().optional(),
|
|
1609
|
+
"authors": zod.array(zod.string()).optional(),
|
|
1610
|
+
"count": zod.number().optional()
|
|
1611
|
+
})).nullish(),
|
|
1612
|
+
"event": zod.object({
|
|
1613
|
+
"start": zod.string(),
|
|
1614
|
+
"end": zod.string().optional(),
|
|
1615
|
+
"timezone": zod.string().optional(),
|
|
1616
|
+
"max_attendees": zod.number().optional(),
|
|
1617
|
+
"participant_count": zod.number().optional(),
|
|
1618
|
+
"full": zod.boolean().optional(),
|
|
1619
|
+
"online_link": zod.string().nullish(),
|
|
1620
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
1621
|
+
"external_participation_url": zod.string().nullish(),
|
|
1622
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
1623
|
+
"online": zod.boolean().optional(),
|
|
1624
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
1625
|
+
"event_fee_currency": zod.string().optional(),
|
|
1626
|
+
"event_fee_amount": zod.number().optional(),
|
|
1627
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
1628
|
+
}).optional(),
|
|
1629
|
+
"poll": zod.object({
|
|
1630
|
+
"end_poll": zod.string().optional(),
|
|
1631
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
1632
|
+
"local_only": zod.boolean().optional(),
|
|
1633
|
+
"latest_vote": zod.string().optional(),
|
|
1634
|
+
"choices": zod.array(zod.object({
|
|
1635
|
+
"id": zod.number(),
|
|
1636
|
+
"choice_text": zod.string(),
|
|
1637
|
+
"sort_order": zod.number(),
|
|
1638
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
1639
|
+
})).max(postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesMax),
|
|
1640
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
1641
|
+
}).optional()
|
|
1642
|
+
}),
|
|
1643
|
+
"saved": zod.boolean(),
|
|
1644
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending']).describe('Indicates whether auth\'ed user is subscribed to the community this comment is in or not.'),
|
|
1645
|
+
"my_vote": zod.number().optional(),
|
|
1646
|
+
"can_auth_user_moderate": zod.boolean().optional(),
|
|
1647
|
+
"comment_report": zod.object({
|
|
1648
|
+
"id": zod.number(),
|
|
1649
|
+
"creator_id": zod.number(),
|
|
1650
|
+
"comment_id": zod.number(),
|
|
1651
|
+
"original_comment_text": zod.string().optional(),
|
|
1652
|
+
"reason": zod.string().optional(),
|
|
1653
|
+
"resolved": zod.boolean(),
|
|
1654
|
+
"published": zod.string(),
|
|
1655
|
+
"updated": zod.string().optional()
|
|
1656
|
+
}),
|
|
1657
|
+
"comment_creator": zod.object({
|
|
1658
|
+
"actor_id": zod.string(),
|
|
1659
|
+
"banned": zod.boolean(),
|
|
1660
|
+
"bot": zod.boolean(),
|
|
1661
|
+
"deleted": zod.boolean(),
|
|
1662
|
+
"id": zod.number(),
|
|
1663
|
+
"instance_id": zod.number(),
|
|
1664
|
+
"local": zod.boolean(),
|
|
1665
|
+
"user_name": zod.string(),
|
|
1666
|
+
"about": zod.string().optional(),
|
|
1667
|
+
"about_html": zod.string().optional(),
|
|
1668
|
+
"avatar": zod.string().nullish(),
|
|
1669
|
+
"banner": zod.string().nullish(),
|
|
1670
|
+
"extra_fields": zod.array(zod.object({
|
|
1671
|
+
"id": zod.number(),
|
|
1672
|
+
"label": zod.string(),
|
|
1673
|
+
"text": zod.string()
|
|
1674
|
+
})).max(postApiAlphaCommentReportResponseCommentReportViewCommentCreatorExtraFieldsMax).optional(),
|
|
1675
|
+
"note": zod.string().max(postApiAlphaCommentReportResponseCommentReportViewCommentCreatorNoteMax).optional(),
|
|
1676
|
+
"flair": zod.string().optional(),
|
|
1677
|
+
"published": zod.string().optional(),
|
|
1678
|
+
"title": zod.string().nullish()
|
|
1679
|
+
})
|
|
1680
|
+
})
|
|
1681
|
+
})
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* @summary Remove a comment as a moderator.
|
|
1685
|
+
*/
|
|
1686
|
+
export const postApiAlphaCommentRemoveBody = zod.object({
|
|
1687
|
+
"comment_id": zod.number(),
|
|
1688
|
+
"removed": zod.boolean(),
|
|
1689
|
+
"reason": zod.string().optional()
|
|
1690
|
+
})
|
|
1691
|
+
|
|
1692
|
+
export const postApiAlphaCommentRemoveResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
1693
|
+
|
|
1694
|
+
export const postApiAlphaCommentRemoveResponseCommentViewCreatorNoteMax = 50;
|
|
1695
|
+
|
|
1696
|
+
export const postApiAlphaCommentRemoveResponseCommentViewPostEventMaxAttendeesDefault = 0;export const postApiAlphaCommentRemoveResponseCommentViewPostEventParticipantCountDefault = 0;export const postApiAlphaCommentRemoveResponseCommentViewPostEventFullDefault = false;export const postApiAlphaCommentRemoveResponseCommentViewPostEventAnonymousParticipationDefault = false;export const postApiAlphaCommentRemoveResponseCommentViewPostEventOnlineDefault = false;export const postApiAlphaCommentRemoveResponseCommentViewPostEventEventFeeAmountDefault = 0;export const postApiAlphaCommentRemoveResponseCommentViewPostPollLocalOnlyDefault = false;export const postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;export const postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesMax = 10;
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
|
|
1700
|
+
export const postApiAlphaCommentRemoveResponse = zod.object({
|
|
1701
|
+
"comment_view": zod.object({
|
|
1702
|
+
"activity_alert": zod.boolean(),
|
|
1703
|
+
"banned_from_community": zod.boolean(),
|
|
1704
|
+
"comment": zod.object({
|
|
1705
|
+
"ap_id": zod.string(),
|
|
1706
|
+
"body": zod.string(),
|
|
1707
|
+
"deleted": zod.boolean(),
|
|
1708
|
+
"id": zod.number(),
|
|
1709
|
+
"language_id": zod.number(),
|
|
1710
|
+
"local": zod.boolean(),
|
|
1711
|
+
"path": zod.string(),
|
|
1712
|
+
"post_id": zod.number(),
|
|
1713
|
+
"published": zod.string(),
|
|
1714
|
+
"removed": zod.boolean(),
|
|
1715
|
+
"user_id": zod.number(),
|
|
1716
|
+
"distinguished": zod.boolean().optional(),
|
|
1717
|
+
"updated": zod.string().optional(),
|
|
1718
|
+
"locked": zod.boolean().optional(),
|
|
1719
|
+
"answer": zod.boolean().optional(),
|
|
1720
|
+
"emoji_reactions": zod.array(zod.object({
|
|
1721
|
+
"url": zod.string().nullish(),
|
|
1722
|
+
"token": zod.string().optional(),
|
|
1723
|
+
"authors": zod.array(zod.string()).optional(),
|
|
1724
|
+
"count": zod.number().optional()
|
|
1725
|
+
})).nullish()
|
|
1726
|
+
}),
|
|
1727
|
+
"community": zod.object({
|
|
1728
|
+
"actor_id": zod.string(),
|
|
1729
|
+
"ap_domain": zod.string().optional(),
|
|
1730
|
+
"deleted": zod.boolean(),
|
|
1731
|
+
"hidden": zod.boolean(),
|
|
1732
|
+
"id": zod.number(),
|
|
1733
|
+
"instance_id": zod.number(),
|
|
1734
|
+
"local": zod.boolean(),
|
|
1735
|
+
"name": zod.string(),
|
|
1736
|
+
"nsfw": zod.boolean(),
|
|
1737
|
+
"ai_generated": zod.boolean(),
|
|
1738
|
+
"published": zod.string(),
|
|
1739
|
+
"removed": zod.boolean(),
|
|
1740
|
+
"restricted_to_mods": zod.boolean(),
|
|
1741
|
+
"title": zod.string(),
|
|
1742
|
+
"banned": zod.boolean().optional(),
|
|
1743
|
+
"question_answer": zod.boolean().optional(),
|
|
1744
|
+
"banner": zod.string().nullish(),
|
|
1745
|
+
"description": zod.string().optional(),
|
|
1746
|
+
"icon": zod.string().nullish(),
|
|
1747
|
+
"posting_warning": zod.string().nullish(),
|
|
1748
|
+
"updated": zod.string().optional()
|
|
1749
|
+
}),
|
|
1750
|
+
"counts": zod.object({
|
|
1751
|
+
"child_count": zod.number(),
|
|
1752
|
+
"comment_id": zod.number(),
|
|
1753
|
+
"downvotes": zod.number(),
|
|
1754
|
+
"published": zod.string(),
|
|
1755
|
+
"score": zod.number(),
|
|
1756
|
+
"upvotes": zod.number()
|
|
1757
|
+
}),
|
|
1758
|
+
"creator": zod.object({
|
|
1759
|
+
"actor_id": zod.string(),
|
|
1760
|
+
"banned": zod.boolean(),
|
|
1761
|
+
"bot": zod.boolean(),
|
|
1762
|
+
"deleted": zod.boolean(),
|
|
1763
|
+
"id": zod.number(),
|
|
1764
|
+
"instance_id": zod.number(),
|
|
1765
|
+
"local": zod.boolean(),
|
|
1766
|
+
"user_name": zod.string(),
|
|
1767
|
+
"about": zod.string().optional(),
|
|
1768
|
+
"about_html": zod.string().optional(),
|
|
1769
|
+
"avatar": zod.string().nullish(),
|
|
1770
|
+
"banner": zod.string().nullish(),
|
|
1771
|
+
"extra_fields": zod.array(zod.object({
|
|
1772
|
+
"id": zod.number(),
|
|
1773
|
+
"label": zod.string(),
|
|
1774
|
+
"text": zod.string()
|
|
1775
|
+
})).max(postApiAlphaCommentRemoveResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1776
|
+
"note": zod.string().max(postApiAlphaCommentRemoveResponseCommentViewCreatorNoteMax).optional(),
|
|
1777
|
+
"flair": zod.string().optional(),
|
|
1778
|
+
"published": zod.string().optional(),
|
|
1779
|
+
"title": zod.string().nullish()
|
|
1780
|
+
}),
|
|
1781
|
+
"creator_banned_from_community": zod.boolean(),
|
|
1782
|
+
"creator_blocked": zod.boolean(),
|
|
1783
|
+
"creator_is_admin": zod.boolean(),
|
|
1784
|
+
"creator_is_moderator": zod.boolean(),
|
|
1785
|
+
"post": zod.object({
|
|
1786
|
+
"ap_id": zod.string(),
|
|
1787
|
+
"community_id": zod.number(),
|
|
1788
|
+
"deleted": zod.boolean(),
|
|
1789
|
+
"id": zod.number(),
|
|
1790
|
+
"language_id": zod.number(),
|
|
1791
|
+
"local": zod.boolean(),
|
|
1792
|
+
"locked": zod.boolean(),
|
|
1793
|
+
"nsfw": zod.boolean(),
|
|
1794
|
+
"ai_generated": zod.boolean(),
|
|
1795
|
+
"published": zod.string(),
|
|
1796
|
+
"removed": zod.boolean(),
|
|
1797
|
+
"sticky": zod.boolean(),
|
|
1798
|
+
"instance_sticky": zod.boolean(),
|
|
1799
|
+
"title": zod.string(),
|
|
1800
|
+
"user_id": zod.number(),
|
|
1801
|
+
"alt_text": zod.string().optional(),
|
|
1802
|
+
"body": zod.string().optional(),
|
|
1803
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
1804
|
+
"thumbnail_url": zod.string().optional(),
|
|
1805
|
+
"updated": zod.string().optional(),
|
|
1806
|
+
"url": zod.string().optional(),
|
|
1807
|
+
"image_details": zod.object({
|
|
1808
|
+
"width": zod.number().optional(),
|
|
1809
|
+
"height": zod.number().optional()
|
|
1810
|
+
}).optional(),
|
|
1811
|
+
"cross_posts": zod.array(zod.object({
|
|
1812
|
+
"post_id": zod.number().optional(),
|
|
1813
|
+
"reply_count": zod.number().optional(),
|
|
1814
|
+
"community_name": zod.string().optional()
|
|
1815
|
+
})).optional(),
|
|
1816
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
1817
|
+
"tags": zod.string().nullish(),
|
|
1818
|
+
"flair": zod.string().nullish(),
|
|
1819
|
+
"emoji_reactions": zod.array(zod.object({
|
|
1820
|
+
"url": zod.string().nullish(),
|
|
1821
|
+
"token": zod.string().optional(),
|
|
1822
|
+
"authors": zod.array(zod.string()).optional(),
|
|
1823
|
+
"count": zod.number().optional()
|
|
1824
|
+
})).nullish(),
|
|
1825
|
+
"event": zod.object({
|
|
1826
|
+
"start": zod.string(),
|
|
1827
|
+
"end": zod.string().optional(),
|
|
1828
|
+
"timezone": zod.string().optional(),
|
|
1829
|
+
"max_attendees": zod.number().optional(),
|
|
1830
|
+
"participant_count": zod.number().optional(),
|
|
1831
|
+
"full": zod.boolean().optional(),
|
|
1832
|
+
"online_link": zod.string().nullish(),
|
|
1833
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
1834
|
+
"external_participation_url": zod.string().nullish(),
|
|
1835
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
1836
|
+
"online": zod.boolean().optional(),
|
|
1837
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
1838
|
+
"event_fee_currency": zod.string().optional(),
|
|
1839
|
+
"event_fee_amount": zod.number().optional(),
|
|
1840
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
1841
|
+
}).optional(),
|
|
1842
|
+
"poll": zod.object({
|
|
1843
|
+
"end_poll": zod.string().optional(),
|
|
1844
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
1845
|
+
"local_only": zod.boolean().optional(),
|
|
1846
|
+
"latest_vote": zod.string().optional(),
|
|
1847
|
+
"choices": zod.array(zod.object({
|
|
1848
|
+
"id": zod.number(),
|
|
1849
|
+
"choice_text": zod.string(),
|
|
1850
|
+
"sort_order": zod.number(),
|
|
1851
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
1852
|
+
})).max(postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesMax),
|
|
1853
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
1854
|
+
}).optional()
|
|
1855
|
+
}),
|
|
1856
|
+
"saved": zod.boolean(),
|
|
1857
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending']).describe('Indicates whether auth\'ed user is subscribed to the community this comment is in or not.'),
|
|
1858
|
+
"my_vote": zod.number().optional(),
|
|
1859
|
+
"can_auth_user_moderate": zod.boolean().optional()
|
|
1860
|
+
})
|
|
1861
|
+
})
|
|
1862
|
+
|
|
1863
|
+
/**
|
|
1864
|
+
* @summary Mark a comment reply as read.
|
|
1865
|
+
*/
|
|
1866
|
+
export const postApiAlphaCommentMarkAsReadBody = zod.object({
|
|
1867
|
+
"comment_reply_id": zod.number(),
|
|
1868
|
+
"read": zod.boolean()
|
|
1869
|
+
})
|
|
1870
|
+
|
|
1871
|
+
export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorExtraFieldsMax = 4;
|
|
1872
|
+
|
|
1873
|
+
export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorNoteMax = 50;
|
|
1874
|
+
|
|
1875
|
+
export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventMaxAttendeesDefault = 0;export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventParticipantCountDefault = 0;export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventFullDefault = false;export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventAnonymousParticipationDefault = false;export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventOnlineDefault = false;export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventEventFeeAmountDefault = 0;export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollLocalOnlyDefault = false;export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = 0;export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesMax = 10;
|
|
1876
|
+
|
|
1877
|
+
export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientExtraFieldsMax = 4;
|
|
1878
|
+
|
|
1879
|
+
export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientNoteMax = 50;
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
export const postApiAlphaCommentMarkAsReadResponse = zod.object({
|
|
1884
|
+
"comment_reply_view": zod.object({
|
|
1885
|
+
"activity_alert": zod.boolean(),
|
|
1886
|
+
"comment": zod.object({
|
|
1887
|
+
"ap_id": zod.string(),
|
|
1888
|
+
"body": zod.string(),
|
|
1889
|
+
"deleted": zod.boolean(),
|
|
1890
|
+
"id": zod.number(),
|
|
1891
|
+
"language_id": zod.number(),
|
|
1892
|
+
"local": zod.boolean(),
|
|
1893
|
+
"path": zod.string(),
|
|
1894
|
+
"post_id": zod.number(),
|
|
1895
|
+
"published": zod.string(),
|
|
1896
|
+
"removed": zod.boolean(),
|
|
1897
|
+
"user_id": zod.number(),
|
|
1898
|
+
"distinguished": zod.boolean().optional(),
|
|
1899
|
+
"updated": zod.string().optional(),
|
|
1900
|
+
"locked": zod.boolean().optional(),
|
|
1901
|
+
"answer": zod.boolean().optional(),
|
|
1902
|
+
"emoji_reactions": zod.array(zod.object({
|
|
1903
|
+
"url": zod.string().nullish(),
|
|
1904
|
+
"token": zod.string().optional(),
|
|
1905
|
+
"authors": zod.array(zod.string()).optional(),
|
|
1906
|
+
"count": zod.number().optional()
|
|
1907
|
+
})).nullish()
|
|
1908
|
+
}),
|
|
1909
|
+
"comment_reply": zod.object({
|
|
1910
|
+
"id": zod.number(),
|
|
1911
|
+
"comment_id": zod.number(),
|
|
1912
|
+
"published": zod.string(),
|
|
1913
|
+
"read": zod.boolean(),
|
|
1914
|
+
"recipient_id": zod.number()
|
|
1915
|
+
}),
|
|
1916
|
+
"community": zod.object({
|
|
1917
|
+
"actor_id": zod.string(),
|
|
1918
|
+
"ap_domain": zod.string().optional(),
|
|
1919
|
+
"deleted": zod.boolean(),
|
|
1920
|
+
"hidden": zod.boolean(),
|
|
1921
|
+
"id": zod.number(),
|
|
1922
|
+
"instance_id": zod.number(),
|
|
1923
|
+
"local": zod.boolean(),
|
|
1924
|
+
"name": zod.string(),
|
|
1925
|
+
"nsfw": zod.boolean(),
|
|
1926
|
+
"ai_generated": zod.boolean(),
|
|
1927
|
+
"published": zod.string(),
|
|
1928
|
+
"removed": zod.boolean(),
|
|
1929
|
+
"restricted_to_mods": zod.boolean(),
|
|
1930
|
+
"title": zod.string(),
|
|
1931
|
+
"banned": zod.boolean().optional(),
|
|
1932
|
+
"question_answer": zod.boolean().optional(),
|
|
1933
|
+
"banner": zod.string().nullish(),
|
|
1934
|
+
"description": zod.string().optional(),
|
|
1935
|
+
"icon": zod.string().nullish(),
|
|
1936
|
+
"posting_warning": zod.string().nullish(),
|
|
1937
|
+
"updated": zod.string().optional()
|
|
1938
|
+
}),
|
|
1939
|
+
"counts": zod.object({
|
|
1940
|
+
"child_count": zod.number(),
|
|
1941
|
+
"comment_id": zod.number(),
|
|
1942
|
+
"downvotes": zod.number(),
|
|
1943
|
+
"published": zod.string(),
|
|
1944
|
+
"score": zod.number(),
|
|
1945
|
+
"upvotes": zod.number()
|
|
1946
|
+
}),
|
|
1947
|
+
"creator": zod.object({
|
|
1948
|
+
"actor_id": zod.string(),
|
|
1949
|
+
"banned": zod.boolean(),
|
|
1950
|
+
"bot": zod.boolean(),
|
|
1951
|
+
"deleted": zod.boolean(),
|
|
1952
|
+
"id": zod.number(),
|
|
1953
|
+
"instance_id": zod.number(),
|
|
1954
|
+
"local": zod.boolean(),
|
|
1955
|
+
"user_name": zod.string(),
|
|
1956
|
+
"about": zod.string().optional(),
|
|
1957
|
+
"about_html": zod.string().optional(),
|
|
1958
|
+
"avatar": zod.string().nullish(),
|
|
1959
|
+
"banner": zod.string().nullish(),
|
|
1960
|
+
"extra_fields": zod.array(zod.object({
|
|
1961
|
+
"id": zod.number(),
|
|
1962
|
+
"label": zod.string(),
|
|
1963
|
+
"text": zod.string()
|
|
1964
|
+
})).max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorExtraFieldsMax).optional(),
|
|
1965
|
+
"note": zod.string().max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorNoteMax).optional(),
|
|
1966
|
+
"flair": zod.string().optional(),
|
|
1967
|
+
"published": zod.string().optional(),
|
|
1968
|
+
"title": zod.string().nullish()
|
|
1969
|
+
}),
|
|
1970
|
+
"creator_banned_from_community": zod.boolean(),
|
|
1971
|
+
"creator_blocked": zod.boolean(),
|
|
1972
|
+
"creator_is_admin": zod.boolean(),
|
|
1973
|
+
"creator_is_moderator": zod.boolean(),
|
|
1974
|
+
"my_vote": zod.number(),
|
|
1975
|
+
"post": zod.object({
|
|
1976
|
+
"ap_id": zod.string(),
|
|
1977
|
+
"community_id": zod.number(),
|
|
1978
|
+
"deleted": zod.boolean(),
|
|
1979
|
+
"id": zod.number(),
|
|
1980
|
+
"language_id": zod.number(),
|
|
1981
|
+
"local": zod.boolean(),
|
|
1982
|
+
"locked": zod.boolean(),
|
|
1983
|
+
"nsfw": zod.boolean(),
|
|
1984
|
+
"ai_generated": zod.boolean(),
|
|
1985
|
+
"published": zod.string(),
|
|
1986
|
+
"removed": zod.boolean(),
|
|
1987
|
+
"sticky": zod.boolean(),
|
|
1988
|
+
"instance_sticky": zod.boolean(),
|
|
1989
|
+
"title": zod.string(),
|
|
1990
|
+
"user_id": zod.number(),
|
|
1991
|
+
"alt_text": zod.string().optional(),
|
|
1992
|
+
"body": zod.string().optional(),
|
|
1993
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
1994
|
+
"thumbnail_url": zod.string().optional(),
|
|
1995
|
+
"updated": zod.string().optional(),
|
|
1996
|
+
"url": zod.string().optional(),
|
|
1997
|
+
"image_details": zod.object({
|
|
1998
|
+
"width": zod.number().optional(),
|
|
1999
|
+
"height": zod.number().optional()
|
|
2000
|
+
}).optional(),
|
|
2001
|
+
"cross_posts": zod.array(zod.object({
|
|
2002
|
+
"post_id": zod.number().optional(),
|
|
2003
|
+
"reply_count": zod.number().optional(),
|
|
2004
|
+
"community_name": zod.string().optional()
|
|
2005
|
+
})).optional(),
|
|
2006
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
2007
|
+
"tags": zod.string().nullish(),
|
|
2008
|
+
"flair": zod.string().nullish(),
|
|
2009
|
+
"emoji_reactions": zod.array(zod.object({
|
|
2010
|
+
"url": zod.string().nullish(),
|
|
2011
|
+
"token": zod.string().optional(),
|
|
2012
|
+
"authors": zod.array(zod.string()).optional(),
|
|
2013
|
+
"count": zod.number().optional()
|
|
2014
|
+
})).nullish(),
|
|
2015
|
+
"event": zod.object({
|
|
2016
|
+
"start": zod.string(),
|
|
2017
|
+
"end": zod.string().optional(),
|
|
2018
|
+
"timezone": zod.string().optional(),
|
|
2019
|
+
"max_attendees": zod.number().optional(),
|
|
2020
|
+
"participant_count": zod.number().optional(),
|
|
2021
|
+
"full": zod.boolean().optional(),
|
|
2022
|
+
"online_link": zod.string().nullish(),
|
|
2023
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
2024
|
+
"external_participation_url": zod.string().nullish(),
|
|
2025
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
2026
|
+
"online": zod.boolean().optional(),
|
|
2027
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
2028
|
+
"event_fee_currency": zod.string().optional(),
|
|
2029
|
+
"event_fee_amount": zod.number().optional(),
|
|
2030
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
2031
|
+
}).optional(),
|
|
2032
|
+
"poll": zod.object({
|
|
2033
|
+
"end_poll": zod.string().optional(),
|
|
2034
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
2035
|
+
"local_only": zod.boolean().optional(),
|
|
2036
|
+
"latest_vote": zod.string().optional(),
|
|
2037
|
+
"choices": zod.array(zod.object({
|
|
2038
|
+
"id": zod.number(),
|
|
2039
|
+
"choice_text": zod.string(),
|
|
2040
|
+
"sort_order": zod.number(),
|
|
2041
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
2042
|
+
})).max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesMax),
|
|
2043
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
2044
|
+
}).optional()
|
|
2045
|
+
}),
|
|
2046
|
+
"recipient": zod.object({
|
|
2047
|
+
"actor_id": zod.string(),
|
|
2048
|
+
"banned": zod.boolean(),
|
|
2049
|
+
"bot": zod.boolean(),
|
|
2050
|
+
"deleted": zod.boolean(),
|
|
2051
|
+
"id": zod.number(),
|
|
2052
|
+
"instance_id": zod.number(),
|
|
2053
|
+
"local": zod.boolean(),
|
|
2054
|
+
"user_name": zod.string(),
|
|
2055
|
+
"about": zod.string().optional(),
|
|
2056
|
+
"about_html": zod.string().optional(),
|
|
2057
|
+
"avatar": zod.string().nullish(),
|
|
2058
|
+
"banner": zod.string().nullish(),
|
|
2059
|
+
"extra_fields": zod.array(zod.object({
|
|
2060
|
+
"id": zod.number(),
|
|
2061
|
+
"label": zod.string(),
|
|
2062
|
+
"text": zod.string()
|
|
2063
|
+
})).max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientExtraFieldsMax).optional(),
|
|
2064
|
+
"note": zod.string().max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientNoteMax).optional(),
|
|
2065
|
+
"flair": zod.string().optional(),
|
|
2066
|
+
"published": zod.string().optional(),
|
|
2067
|
+
"title": zod.string().nullish()
|
|
2068
|
+
}),
|
|
2069
|
+
"saved": zod.boolean(),
|
|
2070
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending'])
|
|
2071
|
+
})
|
|
2072
|
+
})
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* @summary Mark a comment as the preferred answer to a question.
|
|
2076
|
+
*/
|
|
2077
|
+
export const postApiAlphaCommentMarkAsAnswerBody = zod.object({
|
|
2078
|
+
"comment_reply_id": zod.number(),
|
|
2079
|
+
"answer": zod.boolean()
|
|
2080
|
+
})
|
|
2081
|
+
|
|
2082
|
+
export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorExtraFieldsMax = 4;
|
|
2083
|
+
|
|
2084
|
+
export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorNoteMax = 50;
|
|
2085
|
+
|
|
2086
|
+
export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventMaxAttendeesDefault = 0;export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventParticipantCountDefault = 0;export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventFullDefault = false;export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventAnonymousParticipationDefault = false;export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventOnlineDefault = false;export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventEventFeeAmountDefault = 0;export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollLocalOnlyDefault = false;export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = 0;export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesMax = 10;
|
|
2087
|
+
|
|
2088
|
+
export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientExtraFieldsMax = 4;
|
|
2089
|
+
|
|
2090
|
+
export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientNoteMax = 50;
|
|
2091
|
+
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
export const postApiAlphaCommentMarkAsAnswerResponse = zod.object({
|
|
2095
|
+
"comment_reply_view": zod.object({
|
|
2096
|
+
"activity_alert": zod.boolean(),
|
|
2097
|
+
"comment": zod.object({
|
|
2098
|
+
"ap_id": zod.string(),
|
|
2099
|
+
"body": zod.string(),
|
|
2100
|
+
"deleted": zod.boolean(),
|
|
2101
|
+
"id": zod.number(),
|
|
2102
|
+
"language_id": zod.number(),
|
|
2103
|
+
"local": zod.boolean(),
|
|
2104
|
+
"path": zod.string(),
|
|
2105
|
+
"post_id": zod.number(),
|
|
2106
|
+
"published": zod.string(),
|
|
2107
|
+
"removed": zod.boolean(),
|
|
2108
|
+
"user_id": zod.number(),
|
|
2109
|
+
"distinguished": zod.boolean().optional(),
|
|
2110
|
+
"updated": zod.string().optional(),
|
|
2111
|
+
"locked": zod.boolean().optional(),
|
|
2112
|
+
"answer": zod.boolean().optional(),
|
|
2113
|
+
"emoji_reactions": zod.array(zod.object({
|
|
2114
|
+
"url": zod.string().nullish(),
|
|
2115
|
+
"token": zod.string().optional(),
|
|
2116
|
+
"authors": zod.array(zod.string()).optional(),
|
|
2117
|
+
"count": zod.number().optional()
|
|
2118
|
+
})).nullish()
|
|
2119
|
+
}),
|
|
2120
|
+
"comment_reply": zod.object({
|
|
2121
|
+
"id": zod.number(),
|
|
2122
|
+
"comment_id": zod.number(),
|
|
2123
|
+
"published": zod.string(),
|
|
2124
|
+
"read": zod.boolean(),
|
|
2125
|
+
"recipient_id": zod.number()
|
|
2126
|
+
}),
|
|
2127
|
+
"community": zod.object({
|
|
2128
|
+
"actor_id": zod.string(),
|
|
2129
|
+
"ap_domain": zod.string().optional(),
|
|
2130
|
+
"deleted": zod.boolean(),
|
|
2131
|
+
"hidden": zod.boolean(),
|
|
2132
|
+
"id": zod.number(),
|
|
2133
|
+
"instance_id": zod.number(),
|
|
2134
|
+
"local": zod.boolean(),
|
|
2135
|
+
"name": zod.string(),
|
|
2136
|
+
"nsfw": zod.boolean(),
|
|
2137
|
+
"ai_generated": zod.boolean(),
|
|
2138
|
+
"published": zod.string(),
|
|
2139
|
+
"removed": zod.boolean(),
|
|
2140
|
+
"restricted_to_mods": zod.boolean(),
|
|
2141
|
+
"title": zod.string(),
|
|
2142
|
+
"banned": zod.boolean().optional(),
|
|
2143
|
+
"question_answer": zod.boolean().optional(),
|
|
2144
|
+
"banner": zod.string().nullish(),
|
|
2145
|
+
"description": zod.string().optional(),
|
|
2146
|
+
"icon": zod.string().nullish(),
|
|
2147
|
+
"posting_warning": zod.string().nullish(),
|
|
2148
|
+
"updated": zod.string().optional()
|
|
2149
|
+
}),
|
|
2150
|
+
"counts": zod.object({
|
|
2151
|
+
"child_count": zod.number(),
|
|
2152
|
+
"comment_id": zod.number(),
|
|
2153
|
+
"downvotes": zod.number(),
|
|
2154
|
+
"published": zod.string(),
|
|
2155
|
+
"score": zod.number(),
|
|
2156
|
+
"upvotes": zod.number()
|
|
2157
|
+
}),
|
|
2158
|
+
"creator": zod.object({
|
|
2159
|
+
"actor_id": zod.string(),
|
|
2160
|
+
"banned": zod.boolean(),
|
|
2161
|
+
"bot": zod.boolean(),
|
|
2162
|
+
"deleted": zod.boolean(),
|
|
2163
|
+
"id": zod.number(),
|
|
2164
|
+
"instance_id": zod.number(),
|
|
2165
|
+
"local": zod.boolean(),
|
|
2166
|
+
"user_name": zod.string(),
|
|
2167
|
+
"about": zod.string().optional(),
|
|
2168
|
+
"about_html": zod.string().optional(),
|
|
2169
|
+
"avatar": zod.string().nullish(),
|
|
2170
|
+
"banner": zod.string().nullish(),
|
|
2171
|
+
"extra_fields": zod.array(zod.object({
|
|
2172
|
+
"id": zod.number(),
|
|
2173
|
+
"label": zod.string(),
|
|
2174
|
+
"text": zod.string()
|
|
2175
|
+
})).max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorExtraFieldsMax).optional(),
|
|
2176
|
+
"note": zod.string().max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorNoteMax).optional(),
|
|
2177
|
+
"flair": zod.string().optional(),
|
|
2178
|
+
"published": zod.string().optional(),
|
|
2179
|
+
"title": zod.string().nullish()
|
|
2180
|
+
}),
|
|
2181
|
+
"creator_banned_from_community": zod.boolean(),
|
|
2182
|
+
"creator_blocked": zod.boolean(),
|
|
2183
|
+
"creator_is_admin": zod.boolean(),
|
|
2184
|
+
"creator_is_moderator": zod.boolean(),
|
|
2185
|
+
"my_vote": zod.number(),
|
|
2186
|
+
"post": zod.object({
|
|
2187
|
+
"ap_id": zod.string(),
|
|
2188
|
+
"community_id": zod.number(),
|
|
2189
|
+
"deleted": zod.boolean(),
|
|
2190
|
+
"id": zod.number(),
|
|
2191
|
+
"language_id": zod.number(),
|
|
2192
|
+
"local": zod.boolean(),
|
|
2193
|
+
"locked": zod.boolean(),
|
|
2194
|
+
"nsfw": zod.boolean(),
|
|
2195
|
+
"ai_generated": zod.boolean(),
|
|
2196
|
+
"published": zod.string(),
|
|
2197
|
+
"removed": zod.boolean(),
|
|
2198
|
+
"sticky": zod.boolean(),
|
|
2199
|
+
"instance_sticky": zod.boolean(),
|
|
2200
|
+
"title": zod.string(),
|
|
2201
|
+
"user_id": zod.number(),
|
|
2202
|
+
"alt_text": zod.string().optional(),
|
|
2203
|
+
"body": zod.string().optional(),
|
|
2204
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
2205
|
+
"thumbnail_url": zod.string().optional(),
|
|
2206
|
+
"updated": zod.string().optional(),
|
|
2207
|
+
"url": zod.string().optional(),
|
|
2208
|
+
"image_details": zod.object({
|
|
2209
|
+
"width": zod.number().optional(),
|
|
2210
|
+
"height": zod.number().optional()
|
|
2211
|
+
}).optional(),
|
|
2212
|
+
"cross_posts": zod.array(zod.object({
|
|
2213
|
+
"post_id": zod.number().optional(),
|
|
2214
|
+
"reply_count": zod.number().optional(),
|
|
2215
|
+
"community_name": zod.string().optional()
|
|
2216
|
+
})).optional(),
|
|
2217
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
2218
|
+
"tags": zod.string().nullish(),
|
|
2219
|
+
"flair": zod.string().nullish(),
|
|
2220
|
+
"emoji_reactions": zod.array(zod.object({
|
|
2221
|
+
"url": zod.string().nullish(),
|
|
2222
|
+
"token": zod.string().optional(),
|
|
2223
|
+
"authors": zod.array(zod.string()).optional(),
|
|
2224
|
+
"count": zod.number().optional()
|
|
2225
|
+
})).nullish(),
|
|
2226
|
+
"event": zod.object({
|
|
2227
|
+
"start": zod.string(),
|
|
2228
|
+
"end": zod.string().optional(),
|
|
2229
|
+
"timezone": zod.string().optional(),
|
|
2230
|
+
"max_attendees": zod.number().optional(),
|
|
2231
|
+
"participant_count": zod.number().optional(),
|
|
2232
|
+
"full": zod.boolean().optional(),
|
|
2233
|
+
"online_link": zod.string().nullish(),
|
|
2234
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
2235
|
+
"external_participation_url": zod.string().nullish(),
|
|
2236
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
2237
|
+
"online": zod.boolean().optional(),
|
|
2238
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
2239
|
+
"event_fee_currency": zod.string().optional(),
|
|
2240
|
+
"event_fee_amount": zod.number().optional(),
|
|
2241
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
2242
|
+
}).optional(),
|
|
2243
|
+
"poll": zod.object({
|
|
2244
|
+
"end_poll": zod.string().optional(),
|
|
2245
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
2246
|
+
"local_only": zod.boolean().optional(),
|
|
2247
|
+
"latest_vote": zod.string().optional(),
|
|
2248
|
+
"choices": zod.array(zod.object({
|
|
2249
|
+
"id": zod.number(),
|
|
2250
|
+
"choice_text": zod.string(),
|
|
2251
|
+
"sort_order": zod.number(),
|
|
2252
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
2253
|
+
})).max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesMax),
|
|
2254
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
2255
|
+
}).optional()
|
|
2256
|
+
}),
|
|
2257
|
+
"recipient": zod.object({
|
|
2258
|
+
"actor_id": zod.string(),
|
|
2259
|
+
"banned": zod.boolean(),
|
|
2260
|
+
"bot": zod.boolean(),
|
|
2261
|
+
"deleted": zod.boolean(),
|
|
2262
|
+
"id": zod.number(),
|
|
2263
|
+
"instance_id": zod.number(),
|
|
2264
|
+
"local": zod.boolean(),
|
|
2265
|
+
"user_name": zod.string(),
|
|
2266
|
+
"about": zod.string().optional(),
|
|
2267
|
+
"about_html": zod.string().optional(),
|
|
2268
|
+
"avatar": zod.string().nullish(),
|
|
2269
|
+
"banner": zod.string().nullish(),
|
|
2270
|
+
"extra_fields": zod.array(zod.object({
|
|
2271
|
+
"id": zod.number(),
|
|
2272
|
+
"label": zod.string(),
|
|
2273
|
+
"text": zod.string()
|
|
2274
|
+
})).max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientExtraFieldsMax).optional(),
|
|
2275
|
+
"note": zod.string().max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientNoteMax).optional(),
|
|
2276
|
+
"flair": zod.string().optional(),
|
|
2277
|
+
"published": zod.string().optional(),
|
|
2278
|
+
"title": zod.string().nullish()
|
|
2279
|
+
}),
|
|
2280
|
+
"saved": zod.boolean(),
|
|
2281
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending'])
|
|
2282
|
+
})
|
|
2283
|
+
})
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* @summary Lock a comment chain as a moderator.
|
|
2287
|
+
*/
|
|
2288
|
+
export const postApiAlphaCommentLockBody = zod.object({
|
|
2289
|
+
"comment_id": zod.number(),
|
|
2290
|
+
"locked": zod.boolean()
|
|
2291
|
+
})
|
|
2292
|
+
|
|
2293
|
+
export const postApiAlphaCommentLockResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
2294
|
+
|
|
2295
|
+
export const postApiAlphaCommentLockResponseCommentViewCreatorNoteMax = 50;
|
|
2296
|
+
|
|
2297
|
+
export const postApiAlphaCommentLockResponseCommentViewPostEventMaxAttendeesDefault = 0;export const postApiAlphaCommentLockResponseCommentViewPostEventParticipantCountDefault = 0;export const postApiAlphaCommentLockResponseCommentViewPostEventFullDefault = false;export const postApiAlphaCommentLockResponseCommentViewPostEventAnonymousParticipationDefault = false;export const postApiAlphaCommentLockResponseCommentViewPostEventOnlineDefault = false;export const postApiAlphaCommentLockResponseCommentViewPostEventEventFeeAmountDefault = 0;export const postApiAlphaCommentLockResponseCommentViewPostPollLocalOnlyDefault = false;export const postApiAlphaCommentLockResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;export const postApiAlphaCommentLockResponseCommentViewPostPollChoicesMax = 10;
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
|
|
2301
|
+
export const postApiAlphaCommentLockResponse = zod.object({
|
|
2302
|
+
"comment_view": zod.object({
|
|
2303
|
+
"activity_alert": zod.boolean(),
|
|
2304
|
+
"banned_from_community": zod.boolean(),
|
|
2305
|
+
"comment": zod.object({
|
|
2306
|
+
"ap_id": zod.string(),
|
|
2307
|
+
"body": zod.string(),
|
|
2308
|
+
"deleted": zod.boolean(),
|
|
2309
|
+
"id": zod.number(),
|
|
2310
|
+
"language_id": zod.number(),
|
|
2311
|
+
"local": zod.boolean(),
|
|
2312
|
+
"path": zod.string(),
|
|
2313
|
+
"post_id": zod.number(),
|
|
2314
|
+
"published": zod.string(),
|
|
2315
|
+
"removed": zod.boolean(),
|
|
2316
|
+
"user_id": zod.number(),
|
|
2317
|
+
"distinguished": zod.boolean().optional(),
|
|
2318
|
+
"updated": zod.string().optional(),
|
|
2319
|
+
"locked": zod.boolean().optional(),
|
|
2320
|
+
"answer": zod.boolean().optional(),
|
|
2321
|
+
"emoji_reactions": zod.array(zod.object({
|
|
2322
|
+
"url": zod.string().nullish(),
|
|
2323
|
+
"token": zod.string().optional(),
|
|
2324
|
+
"authors": zod.array(zod.string()).optional(),
|
|
2325
|
+
"count": zod.number().optional()
|
|
2326
|
+
})).nullish()
|
|
2327
|
+
}),
|
|
2328
|
+
"community": zod.object({
|
|
2329
|
+
"actor_id": zod.string(),
|
|
2330
|
+
"ap_domain": zod.string().optional(),
|
|
2331
|
+
"deleted": zod.boolean(),
|
|
2332
|
+
"hidden": zod.boolean(),
|
|
2333
|
+
"id": zod.number(),
|
|
2334
|
+
"instance_id": zod.number(),
|
|
2335
|
+
"local": zod.boolean(),
|
|
2336
|
+
"name": zod.string(),
|
|
2337
|
+
"nsfw": zod.boolean(),
|
|
2338
|
+
"ai_generated": zod.boolean(),
|
|
2339
|
+
"published": zod.string(),
|
|
2340
|
+
"removed": zod.boolean(),
|
|
2341
|
+
"restricted_to_mods": zod.boolean(),
|
|
2342
|
+
"title": zod.string(),
|
|
2343
|
+
"banned": zod.boolean().optional(),
|
|
2344
|
+
"question_answer": zod.boolean().optional(),
|
|
2345
|
+
"banner": zod.string().nullish(),
|
|
2346
|
+
"description": zod.string().optional(),
|
|
2347
|
+
"icon": zod.string().nullish(),
|
|
2348
|
+
"posting_warning": zod.string().nullish(),
|
|
2349
|
+
"updated": zod.string().optional()
|
|
2350
|
+
}),
|
|
2351
|
+
"counts": zod.object({
|
|
2352
|
+
"child_count": zod.number(),
|
|
2353
|
+
"comment_id": zod.number(),
|
|
2354
|
+
"downvotes": zod.number(),
|
|
2355
|
+
"published": zod.string(),
|
|
2356
|
+
"score": zod.number(),
|
|
2357
|
+
"upvotes": zod.number()
|
|
2358
|
+
}),
|
|
2359
|
+
"creator": zod.object({
|
|
2360
|
+
"actor_id": zod.string(),
|
|
2361
|
+
"banned": zod.boolean(),
|
|
2362
|
+
"bot": zod.boolean(),
|
|
2363
|
+
"deleted": zod.boolean(),
|
|
2364
|
+
"id": zod.number(),
|
|
2365
|
+
"instance_id": zod.number(),
|
|
2366
|
+
"local": zod.boolean(),
|
|
2367
|
+
"user_name": zod.string(),
|
|
2368
|
+
"about": zod.string().optional(),
|
|
2369
|
+
"about_html": zod.string().optional(),
|
|
2370
|
+
"avatar": zod.string().nullish(),
|
|
2371
|
+
"banner": zod.string().nullish(),
|
|
2372
|
+
"extra_fields": zod.array(zod.object({
|
|
2373
|
+
"id": zod.number(),
|
|
2374
|
+
"label": zod.string(),
|
|
2375
|
+
"text": zod.string()
|
|
2376
|
+
})).max(postApiAlphaCommentLockResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
2377
|
+
"note": zod.string().max(postApiAlphaCommentLockResponseCommentViewCreatorNoteMax).optional(),
|
|
2378
|
+
"flair": zod.string().optional(),
|
|
2379
|
+
"published": zod.string().optional(),
|
|
2380
|
+
"title": zod.string().nullish()
|
|
2381
|
+
}),
|
|
2382
|
+
"creator_banned_from_community": zod.boolean(),
|
|
2383
|
+
"creator_blocked": zod.boolean(),
|
|
2384
|
+
"creator_is_admin": zod.boolean(),
|
|
2385
|
+
"creator_is_moderator": zod.boolean(),
|
|
2386
|
+
"post": zod.object({
|
|
2387
|
+
"ap_id": zod.string(),
|
|
2388
|
+
"community_id": zod.number(),
|
|
2389
|
+
"deleted": zod.boolean(),
|
|
2390
|
+
"id": zod.number(),
|
|
2391
|
+
"language_id": zod.number(),
|
|
2392
|
+
"local": zod.boolean(),
|
|
2393
|
+
"locked": zod.boolean(),
|
|
2394
|
+
"nsfw": zod.boolean(),
|
|
2395
|
+
"ai_generated": zod.boolean(),
|
|
2396
|
+
"published": zod.string(),
|
|
2397
|
+
"removed": zod.boolean(),
|
|
2398
|
+
"sticky": zod.boolean(),
|
|
2399
|
+
"instance_sticky": zod.boolean(),
|
|
2400
|
+
"title": zod.string(),
|
|
2401
|
+
"user_id": zod.number(),
|
|
2402
|
+
"alt_text": zod.string().optional(),
|
|
2403
|
+
"body": zod.string().optional(),
|
|
2404
|
+
"small_thumbnail_url": zod.string().optional(),
|
|
2405
|
+
"thumbnail_url": zod.string().optional(),
|
|
2406
|
+
"updated": zod.string().optional(),
|
|
2407
|
+
"url": zod.string().optional(),
|
|
2408
|
+
"image_details": zod.object({
|
|
2409
|
+
"width": zod.number().optional(),
|
|
2410
|
+
"height": zod.number().optional()
|
|
2411
|
+
}).optional(),
|
|
2412
|
+
"cross_posts": zod.array(zod.object({
|
|
2413
|
+
"post_id": zod.number().optional(),
|
|
2414
|
+
"reply_count": zod.number().optional(),
|
|
2415
|
+
"community_name": zod.string().optional()
|
|
2416
|
+
})).optional(),
|
|
2417
|
+
"post_type": zod.enum(['Link', 'Discussion', 'Image', 'Video', 'Poll', 'Event']),
|
|
2418
|
+
"tags": zod.string().nullish(),
|
|
2419
|
+
"flair": zod.string().nullish(),
|
|
2420
|
+
"emoji_reactions": zod.array(zod.object({
|
|
2421
|
+
"url": zod.string().nullish(),
|
|
2422
|
+
"token": zod.string().optional(),
|
|
2423
|
+
"authors": zod.array(zod.string()).optional(),
|
|
2424
|
+
"count": zod.number().optional()
|
|
2425
|
+
})).nullish(),
|
|
2426
|
+
"event": zod.object({
|
|
2427
|
+
"start": zod.string(),
|
|
2428
|
+
"end": zod.string().optional(),
|
|
2429
|
+
"timezone": zod.string().optional(),
|
|
2430
|
+
"max_attendees": zod.number().optional(),
|
|
2431
|
+
"participant_count": zod.number().optional(),
|
|
2432
|
+
"full": zod.boolean().optional(),
|
|
2433
|
+
"online_link": zod.string().nullish(),
|
|
2434
|
+
"join_mode": zod.string().optional().describe('free, restricted, external, invite'),
|
|
2435
|
+
"external_participation_url": zod.string().nullish(),
|
|
2436
|
+
"anonymous_participation": zod.boolean().optional(),
|
|
2437
|
+
"online": zod.boolean().optional(),
|
|
2438
|
+
"buy_tickets_link": zod.string().nullish(),
|
|
2439
|
+
"event_fee_currency": zod.string().optional(),
|
|
2440
|
+
"event_fee_amount": zod.number().optional(),
|
|
2441
|
+
"location": zod.record(zod.string(), zod.unknown()).nullish().describe('JSON object containing location details')
|
|
2442
|
+
}).optional(),
|
|
2443
|
+
"poll": zod.object({
|
|
2444
|
+
"end_poll": zod.string().optional(),
|
|
2445
|
+
"mode": zod.enum(['single', 'multiple']).describe('single or multiple - determines whether people can vote for one or multiple options'),
|
|
2446
|
+
"local_only": zod.boolean().optional(),
|
|
2447
|
+
"latest_vote": zod.string().optional(),
|
|
2448
|
+
"choices": zod.array(zod.object({
|
|
2449
|
+
"id": zod.number(),
|
|
2450
|
+
"choice_text": zod.string(),
|
|
2451
|
+
"sort_order": zod.number(),
|
|
2452
|
+
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
2453
|
+
})).max(postApiAlphaCommentLockResponseCommentViewPostPollChoicesMax),
|
|
2454
|
+
"my_votes": zod.array(zod.number()).optional()
|
|
2455
|
+
}).optional()
|
|
2456
|
+
}),
|
|
2457
|
+
"saved": zod.boolean(),
|
|
2458
|
+
"subscribed": zod.enum(['Subscribed', 'NotSubscribed', 'Pending']).describe('Indicates whether auth\'ed user is subscribed to the community this comment is in or not.'),
|
|
2459
|
+
"my_vote": zod.number().optional(),
|
|
2460
|
+
"can_auth_user_moderate": zod.boolean().optional()
|
|
2461
|
+
})
|
|
2462
|
+
})
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* @summary View comment votes as a moderator.
|
|
2466
|
+
*/
|
|
2467
|
+
export const getApiAlphaCommentLikeListQueryPageDefault = 1;export const getApiAlphaCommentLikeListQueryLimitDefault = 50;
|
|
2468
|
+
|
|
2469
|
+
export const getApiAlphaCommentLikeListQueryParams = zod.object({
|
|
2470
|
+
"comment_id": zod.number(),
|
|
2471
|
+
"page": zod.number().default(getApiAlphaCommentLikeListQueryPageDefault),
|
|
2472
|
+
"limit": zod.number().default(getApiAlphaCommentLikeListQueryLimitDefault)
|
|
2473
|
+
})
|
|
2474
|
+
|
|
2475
|
+
export const getApiAlphaCommentLikeListResponseCommentLikesItemCreatorExtraFieldsMax = 4;
|
|
2476
|
+
|
|
2477
|
+
export const getApiAlphaCommentLikeListResponseCommentLikesItemCreatorNoteMax = 50;
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
|
|
2481
|
+
export const getApiAlphaCommentLikeListResponse = zod.object({
|
|
2482
|
+
"comment_likes": zod.array(zod.object({
|
|
2483
|
+
"score": zod.number(),
|
|
2484
|
+
"creator_banned_from_community": zod.boolean(),
|
|
2485
|
+
"creator_banned": zod.boolean(),
|
|
2486
|
+
"creator": zod.object({
|
|
2487
|
+
"actor_id": zod.string(),
|
|
2488
|
+
"banned": zod.boolean(),
|
|
2489
|
+
"bot": zod.boolean(),
|
|
2490
|
+
"deleted": zod.boolean(),
|
|
2491
|
+
"id": zod.number(),
|
|
2492
|
+
"instance_id": zod.number(),
|
|
2493
|
+
"local": zod.boolean(),
|
|
2494
|
+
"user_name": zod.string(),
|
|
2495
|
+
"about": zod.string().optional(),
|
|
2496
|
+
"about_html": zod.string().optional(),
|
|
2497
|
+
"avatar": zod.string().nullish(),
|
|
2498
|
+
"banner": zod.string().nullish(),
|
|
2499
|
+
"extra_fields": zod.array(zod.object({
|
|
2500
|
+
"id": zod.number(),
|
|
2501
|
+
"label": zod.string(),
|
|
2502
|
+
"text": zod.string()
|
|
2503
|
+
})).max(getApiAlphaCommentLikeListResponseCommentLikesItemCreatorExtraFieldsMax).optional(),
|
|
2504
|
+
"note": zod.string().max(getApiAlphaCommentLikeListResponseCommentLikesItemCreatorNoteMax).optional(),
|
|
2505
|
+
"flair": zod.string().optional(),
|
|
2506
|
+
"published": zod.string().optional(),
|
|
2507
|
+
"title": zod.string().nullish()
|
|
2508
|
+
})
|
|
2509
|
+
})),
|
|
2510
|
+
"next_page": zod.string().nullish()
|
|
2511
|
+
})
|
|
2512
|
+
|