@blorp-labs/piefed-api-client 0.0.0-7e59b13 → 0.0.0-90bfbe5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +61 -10
- package/dist/client/admin/admin.d.ts +3 -41
- package/dist/client/admin/admin.d.ts.map +1 -1
- package/dist/client/admin/admin.js +20 -7
- package/dist/client/admin/admin.js.map +1 -1
- package/dist/client/comment/comment.d.ts +15 -285
- package/dist/client/comment/comment.d.ts.map +1 -1
- package/dist/client/comment/comment.js +116 -43
- package/dist/client/comment/comment.js.map +1 -1
- package/dist/client/community/community.d.ts +18 -341
- package/dist/client/community/community.d.ts.map +1 -1
- package/dist/client/community/community.js +140 -52
- package/dist/client/community/community.js.map +1 -1
- package/dist/client/feed/feed.d.ts +7 -125
- package/dist/client/feed/feed.d.ts.map +1 -1
- package/dist/client/feed/feed.js +52 -19
- package/dist/client/feed/feed.js.map +1 -1
- package/dist/client/misc/misc.d.ts +6 -101
- package/dist/client/misc/misc.d.ts.map +1 -1
- package/dist/client/misc/misc.js +44 -16
- package/dist/client/misc/misc.js.map +1 -1
- package/dist/client/post/post.d.ts +21 -405
- package/dist/client/post/post.d.ts.map +1 -1
- package/dist/client/post/post.js +164 -61
- package/dist/client/post/post.js.map +1 -1
- package/dist/client/private-message/private-message.d.ts +9 -165
- package/dist/client/private-message/private-message.d.ts.map +1 -1
- package/dist/client/private-message/private-message.js +68 -25
- package/dist/client/private-message/private-message.js.map +1 -1
- package/dist/client/site/site.d.ts +6 -89
- package/dist/client/site/site.d.ts.map +1 -1
- package/dist/client/site/site.js +44 -16
- package/dist/client/site/site.js.map +1 -1
- package/dist/client/topic/topic.d.ts +2 -21
- package/dist/client/topic/topic.d.ts.map +1 -1
- package/dist/client/topic/topic.js +12 -4
- package/dist/client/topic/topic.js.map +1 -1
- package/dist/client/upload/upload.d.ts +5 -97
- package/dist/client/upload/upload.d.ts.map +1 -1
- package/dist/client/upload/upload.js +36 -13
- package/dist/client/upload/upload.js.map +1 -1
- package/dist/client/user/user.d.ts +22 -405
- package/dist/client/user/user.d.ts.map +1 -1
- package/dist/client/user/user.js +172 -64
- package/dist/client/user/user.js.map +1 -1
- package/dist/create-client.d.ts +15 -214
- package/dist/create-client.d.ts.map +1 -1
- package/dist/create-client.js +69 -30
- package/dist/create-client.js.map +1 -1
- package/dist/index.d.ts +1 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -15
- package/dist/index.js.map +1 -1
- package/dist/mutator/custom-fetch.d.ts +5 -3
- package/dist/mutator/custom-fetch.d.ts.map +1 -1
- package/dist/mutator/custom-fetch.js +31 -7
- package/dist/mutator/custom-fetch.js.map +1 -1
- package/dist/schemas/adminPurgeComment.js +2 -1
- package/dist/schemas/adminPurgeCommentReason.js +2 -1
- package/dist/schemas/adminPurgeCommentReason.js.map +1 -1
- package/dist/schemas/adminPurgeCommentView.js +2 -1
- package/dist/schemas/adminPurgeCommunity.js +2 -1
- package/dist/schemas/adminPurgeCommunityReason.js +2 -1
- package/dist/schemas/adminPurgeCommunityReason.js.map +1 -1
- package/dist/schemas/adminPurgeCommunityView.js +2 -1
- package/dist/schemas/adminPurgePerson.js +2 -1
- package/dist/schemas/adminPurgePersonReason.js +2 -1
- package/dist/schemas/adminPurgePersonReason.js.map +1 -1
- package/dist/schemas/adminPurgePersonView.js +2 -1
- package/dist/schemas/adminPurgePost.js +2 -1
- package/dist/schemas/adminPurgePostCommunityId.js +2 -1
- package/dist/schemas/adminPurgePostCommunityId.js.map +1 -1
- package/dist/schemas/adminPurgePostReason.js +2 -1
- package/dist/schemas/adminPurgePostReason.js.map +1 -1
- package/dist/schemas/adminPurgePostView.js +2 -1
- package/dist/schemas/blockCommunityRequest.js +2 -1
- package/dist/schemas/blockCommunityRequest.js.map +1 -1
- package/dist/schemas/blockCommunityResponse.js +2 -1
- package/dist/schemas/blockInstanceRequest.js +2 -1
- package/dist/schemas/blockInstanceRequest.js.map +1 -1
- package/dist/schemas/blockInstanceResponse.js +2 -1
- package/dist/schemas/blockInstanceResponse.js.map +1 -1
- package/dist/schemas/comment.js +2 -1
- package/dist/schemas/commentAggregates.js +2 -1
- package/dist/schemas/commentAggregates.js.map +1 -1
- package/dist/schemas/commentEmojiReactions.js +2 -1
- package/dist/schemas/commentLikeView.js +2 -1
- package/dist/schemas/commentReply.js +2 -1
- package/dist/schemas/commentReply.js.map +1 -1
- package/dist/schemas/commentReplyView.js +2 -1
- package/dist/schemas/commentReplyViewSubscribed.js +4 -1
- package/dist/schemas/commentReplyViewSubscribed.js.map +1 -1
- package/dist/schemas/commentReport.js +2 -1
- package/dist/schemas/commentReport.js.map +1 -1
- package/dist/schemas/commentReportView.js +2 -1
- package/dist/schemas/commentReportViewSubscribed.js +4 -1
- package/dist/schemas/commentReportViewSubscribed.js.map +1 -1
- package/dist/schemas/commentView.js +2 -1
- package/dist/schemas/commentViewSubscribed.js +4 -1
- package/dist/schemas/commentViewSubscribed.js.map +1 -1
- package/dist/schemas/community.js +2 -1
- package/dist/schemas/communityAggregates.js +2 -1
- package/dist/schemas/communityAggregates.js.map +1 -1
- package/dist/schemas/communityBanner.js +2 -1
- package/dist/schemas/communityBanner.js.map +1 -1
- package/dist/schemas/communityBlockView.js +2 -1
- package/dist/schemas/communityFlair.js +2 -1
- package/dist/schemas/communityFlairApId.js +2 -1
- package/dist/schemas/communityFlairApId.js.map +1 -1
- package/dist/schemas/communityFlairCreateRequest.js +2 -1
- package/dist/schemas/communityFlairCreateRequest.js.map +1 -1
- package/dist/schemas/communityFlairCreateResponse.js +2 -1
- package/dist/schemas/communityFlairCreateResponseApId.js +2 -1
- package/dist/schemas/communityFlairCreateResponseApId.js.map +1 -1
- package/dist/schemas/communityFlairDeleteRequest.js +2 -1
- package/dist/schemas/communityFlairDeleteRequest.js.map +1 -1
- package/dist/schemas/communityFlairDeleteResponse.js +2 -1
- package/dist/schemas/communityFlairEditRequest.js +2 -1
- package/dist/schemas/communityFlairEditRequest.js.map +1 -1
- package/dist/schemas/communityFlairEditResponse.js +2 -1
- package/dist/schemas/communityFlairEditResponseApId.js +2 -1
- package/dist/schemas/communityFlairEditResponseApId.js.map +1 -1
- package/dist/schemas/communityFollowerView.js +2 -1
- package/dist/schemas/communityIcon.js +2 -1
- package/dist/schemas/communityIcon.js.map +1 -1
- package/dist/schemas/communityModerationBanItem.js +2 -1
- package/dist/schemas/communityModerationBanItemExpiredAt.js +2 -1
- package/dist/schemas/communityModerationBanItemExpiredAt.js.map +1 -1
- package/dist/schemas/communityModerationBanItemExpiresAt.js +2 -1
- package/dist/schemas/communityModerationBanItemExpiresAt.js.map +1 -1
- package/dist/schemas/communityModerationBanRequest.js +2 -1
- package/dist/schemas/communityModerationBanRequest.js.map +1 -1
- package/dist/schemas/communityModerationBansListResponse.js +2 -1
- package/dist/schemas/communityModerationBansListResponseNextPage.js +2 -1
- package/dist/schemas/communityModerationBansListResponseNextPage.js.map +1 -1
- package/dist/schemas/communityModerationNsfwRequest.js +2 -1
- package/dist/schemas/communityModerationNsfwRequest.js.map +1 -1
- package/dist/schemas/communityModerationUnbanRequest.js +2 -1
- package/dist/schemas/communityModerationUnbanRequest.js.map +1 -1
- package/dist/schemas/communityModeratorView.js +2 -1
- package/dist/schemas/communityPostingWarning.js +2 -1
- package/dist/schemas/communityPostingWarning.js.map +1 -1
- package/dist/schemas/communityResponse.js +2 -1
- package/dist/schemas/communityView.js +2 -1
- package/dist/schemas/communityViewSubscribed.js +4 -1
- package/dist/schemas/communityViewSubscribed.js.map +1 -1
- package/dist/schemas/createCommentRequest.js +2 -1
- package/dist/schemas/createCommentRequest.js.map +1 -1
- package/dist/schemas/createCommunityRequest.js +2 -1
- package/dist/schemas/createCommunityRequestBannerUrl.js +2 -1
- package/dist/schemas/createCommunityRequestBannerUrl.js.map +1 -1
- package/dist/schemas/createCommunityRequestIconUrl.js +2 -1
- package/dist/schemas/createCommunityRequestIconUrl.js.map +1 -1
- package/dist/schemas/createFeedRequest.js +2 -1
- package/dist/schemas/createFeedRequestBannerUrl.js +2 -1
- package/dist/schemas/createFeedRequestBannerUrl.js.map +1 -1
- package/dist/schemas/createFeedRequestIconUrl.js +2 -1
- package/dist/schemas/createFeedRequestIconUrl.js.map +1 -1
- package/dist/schemas/createFeedRequestParentFeedId.js +2 -1
- package/dist/schemas/createFeedRequestParentFeedId.js.map +1 -1
- package/dist/schemas/createPostRequest.js +2 -1
- package/dist/schemas/createPostRequestEvent.js +2 -1
- package/dist/schemas/createPostRequestPoll.js +2 -1
- package/dist/schemas/createPrivateMessageRequest.js +2 -1
- package/dist/schemas/createPrivateMessageRequest.js.map +1 -1
- package/dist/schemas/defaultError.js +2 -1
- package/dist/schemas/defaultError.js.map +1 -1
- package/dist/schemas/deleteCommentRequest.js +2 -1
- package/dist/schemas/deleteCommentRequest.js.map +1 -1
- package/dist/schemas/deleteCommunityRequest.js +2 -1
- package/dist/schemas/deleteCommunityRequest.js.map +1 -1
- package/dist/schemas/deleteFeedRequest.js +2 -1
- package/dist/schemas/deleteFeedRequest.js.map +1 -1
- package/dist/schemas/deletePostRequest.js +2 -1
- package/dist/schemas/deletePostRequest.js.map +1 -1
- package/dist/schemas/deletePrivateMessageRequest.js +2 -1
- package/dist/schemas/deletePrivateMessageRequest.js.map +1 -1
- package/dist/schemas/domainBlockRequest.js +2 -1
- package/dist/schemas/domainBlockRequest.js.map +1 -1
- package/dist/schemas/domainBlockResponse.js +2 -1
- package/dist/schemas/domainBlockResponse.js.map +1 -1
- package/dist/schemas/editCommentRequest.js +2 -1
- package/dist/schemas/editCommentRequest.js.map +1 -1
- package/dist/schemas/editCommunityRequest.js +2 -1
- package/dist/schemas/editCommunityRequestBannerUrl.js +2 -1
- package/dist/schemas/editCommunityRequestBannerUrl.js.map +1 -1
- package/dist/schemas/editCommunityRequestIconUrl.js +2 -1
- package/dist/schemas/editCommunityRequestIconUrl.js.map +1 -1
- package/dist/schemas/editFeedRequest.js +2 -1
- package/dist/schemas/editFeedRequestBannerUrl.js +2 -1
- package/dist/schemas/editFeedRequestBannerUrl.js.map +1 -1
- package/dist/schemas/editFeedRequestIconUrl.js +2 -1
- package/dist/schemas/editFeedRequestIconUrl.js.map +1 -1
- package/dist/schemas/editFeedRequestParentFeedId.js +2 -1
- package/dist/schemas/editFeedRequestParentFeedId.js.map +1 -1
- package/dist/schemas/editPostRequest.js +2 -1
- package/dist/schemas/editPostRequestAltText.js +2 -1
- package/dist/schemas/editPostRequestAltText.js.map +1 -1
- package/dist/schemas/editPostRequestEvent.js +2 -1
- package/dist/schemas/editPostRequestFlair.js +2 -1
- package/dist/schemas/editPostRequestFlair.js.map +1 -1
- package/dist/schemas/editPostRequestPoll.js +2 -1
- package/dist/schemas/editPostRequestTags.js +2 -1
- package/dist/schemas/editPostRequestTags.js.map +1 -1
- package/dist/schemas/editPostRequestUrl.js +2 -1
- package/dist/schemas/editPostRequestUrl.js.map +1 -1
- package/dist/schemas/editPrivateMessageRequest.js +2 -1
- package/dist/schemas/editPrivateMessageRequest.js.map +1 -1
- package/dist/schemas/error.js +2 -1
- package/dist/schemas/errorErrors.js +2 -1
- package/dist/schemas/errorErrors.js.map +1 -1
- package/dist/schemas/featurePostRequest.js +2 -1
- package/dist/schemas/featurePostRequestFeatureType.js +4 -1
- package/dist/schemas/featurePostRequestFeatureType.js.map +1 -1
- package/dist/schemas/federatedInstancesView.js +2 -1
- package/dist/schemas/feedListResponse.js +2 -1
- package/dist/schemas/feedView.js +2 -1
- package/dist/schemas/feedViewBanner.js +2 -1
- package/dist/schemas/feedViewBanner.js.map +1 -1
- package/dist/schemas/feedViewDescription.js +2 -1
- package/dist/schemas/feedViewDescription.js.map +1 -1
- package/dist/schemas/feedViewDescriptionHtml.js +2 -1
- package/dist/schemas/feedViewDescriptionHtml.js.map +1 -1
- package/dist/schemas/feedViewIcon.js +2 -1
- package/dist/schemas/feedViewIcon.js.map +1 -1
- package/dist/schemas/feedViewParentFeedId.js +2 -1
- package/dist/schemas/feedViewParentFeedId.js.map +1 -1
- package/dist/schemas/followCommunityRequest.js +2 -1
- package/dist/schemas/followCommunityRequest.js.map +1 -1
- package/dist/schemas/followFeedRequest.js +2 -1
- package/dist/schemas/followFeedRequest.js.map +1 -1
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListParams.js +2 -1
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.js +4 -1
- package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.js.map +1 -1
- package/dist/schemas/getApiAlphaCommentLikeListParams.js +2 -1
- package/dist/schemas/getApiAlphaCommentLikeListParams.js.map +1 -1
- package/dist/schemas/getApiAlphaCommentListParams.js +2 -1
- package/dist/schemas/getApiAlphaCommentListSort.js +4 -1
- package/dist/schemas/getApiAlphaCommentListSort.js.map +1 -1
- package/dist/schemas/getApiAlphaCommentParams.js +2 -1
- package/dist/schemas/getApiAlphaCommentParams.js.map +1 -1
- package/dist/schemas/getApiAlphaCommunityListParams.js +2 -1
- package/dist/schemas/getApiAlphaCommunityListSort.js +4 -1
- package/dist/schemas/getApiAlphaCommunityListSort.js.map +1 -1
- package/dist/schemas/getApiAlphaCommunityListType.js +4 -1
- package/dist/schemas/getApiAlphaCommunityListType.js.map +1 -1
- package/dist/schemas/getApiAlphaCommunityModerateBansParams.js +2 -1
- package/dist/schemas/getApiAlphaCommunityModerateBansParams.js.map +1 -1
- package/dist/schemas/getApiAlphaCommunityParams.js +2 -1
- package/dist/schemas/getApiAlphaCommunityParams.js.map +1 -1
- package/dist/schemas/getApiAlphaFeedListParams.js +2 -1
- package/dist/schemas/getApiAlphaFeedListParams.js.map +1 -1
- package/dist/schemas/getApiAlphaFeedParams.js +2 -1
- package/dist/schemas/getApiAlphaFeedParams.js.map +1 -1
- package/dist/schemas/getApiAlphaModlogParams.js +2 -1
- package/dist/schemas/getApiAlphaModlogType.js +4 -1
- package/dist/schemas/getApiAlphaModlogType.js.map +1 -1
- package/dist/schemas/getApiAlphaPostLikeListParams.js +2 -1
- package/dist/schemas/getApiAlphaPostLikeListParams.js.map +1 -1
- package/dist/schemas/getApiAlphaPostList2Params.js +2 -1
- package/dist/schemas/getApiAlphaPostList2Sort.js +4 -1
- package/dist/schemas/getApiAlphaPostList2Sort.js.map +1 -1
- package/dist/schemas/getApiAlphaPostList2Type.js +4 -1
- package/dist/schemas/getApiAlphaPostList2Type.js.map +1 -1
- package/dist/schemas/getApiAlphaPostListParams.js +2 -1
- package/dist/schemas/getApiAlphaPostListSort.js +4 -1
- package/dist/schemas/getApiAlphaPostListSort.js.map +1 -1
- package/dist/schemas/getApiAlphaPostListType.js +4 -1
- package/dist/schemas/getApiAlphaPostListType.js.map +1 -1
- package/dist/schemas/getApiAlphaPostParams.js +2 -1
- package/dist/schemas/getApiAlphaPostParams.js.map +1 -1
- package/dist/schemas/getApiAlphaPostRepliesParams.js +2 -1
- package/dist/schemas/getApiAlphaPostRepliesSort.js +4 -1
- package/dist/schemas/getApiAlphaPostRepliesSort.js.map +1 -1
- package/dist/schemas/getApiAlphaPostSiteMetadataParams.js +2 -1
- package/dist/schemas/getApiAlphaPostSiteMetadataParams.js.map +1 -1
- package/dist/schemas/getApiAlphaPrivateMessageConversationParams.js +2 -1
- package/dist/schemas/getApiAlphaPrivateMessageConversationParams.js.map +1 -1
- package/dist/schemas/getApiAlphaPrivateMessageListParams.js +2 -1
- package/dist/schemas/getApiAlphaPrivateMessageListParams.js.map +1 -1
- package/dist/schemas/getApiAlphaResolveObjectParams.js +2 -1
- package/dist/schemas/getApiAlphaResolveObjectParams.js.map +1 -1
- package/dist/schemas/getApiAlphaSearchListingType.js +4 -1
- package/dist/schemas/getApiAlphaSearchListingType.js.map +1 -1
- package/dist/schemas/getApiAlphaSearchNsfw.js +4 -1
- package/dist/schemas/getApiAlphaSearchNsfw.js.map +1 -1
- package/dist/schemas/getApiAlphaSearchParams.js +2 -1
- package/dist/schemas/getApiAlphaSearchSort.js +4 -1
- package/dist/schemas/getApiAlphaSearchSort.js.map +1 -1
- package/dist/schemas/getApiAlphaSearchType.js +4 -1
- package/dist/schemas/getApiAlphaSearchType.js.map +1 -1
- package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.js +2 -1
- package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.js.map +1 -1
- package/dist/schemas/getApiAlphaSuggestCompletionParams.js +2 -1
- package/dist/schemas/getApiAlphaSuggestCompletionParams.js.map +1 -1
- package/dist/schemas/getApiAlphaTopicListParams.js +2 -1
- package/dist/schemas/getApiAlphaTopicListParams.js.map +1 -1
- package/dist/schemas/getApiAlphaUserMediaParams.js +2 -1
- package/dist/schemas/getApiAlphaUserMediaSort.js +4 -1
- package/dist/schemas/getApiAlphaUserMediaSort.js.map +1 -1
- package/dist/schemas/getApiAlphaUserMentionsParams.js +2 -1
- package/dist/schemas/getApiAlphaUserMentionsSort.js +4 -1
- package/dist/schemas/getApiAlphaUserMentionsSort.js.map +1 -1
- package/dist/schemas/getApiAlphaUserNotificationsParams.js +2 -1
- package/dist/schemas/getApiAlphaUserNotificationsStatus.js +4 -1
- package/dist/schemas/getApiAlphaUserNotificationsStatus.js.map +1 -1
- package/dist/schemas/getApiAlphaUserParams.js +2 -1
- package/dist/schemas/getApiAlphaUserRepliesParams.js +2 -1
- package/dist/schemas/getApiAlphaUserRepliesSort.js +4 -1
- package/dist/schemas/getApiAlphaUserRepliesSort.js.map +1 -1
- package/dist/schemas/getApiAlphaUserSort.js +4 -1
- package/dist/schemas/getApiAlphaUserSort.js.map +1 -1
- package/dist/schemas/getCommentReplyResponse.js +2 -1
- package/dist/schemas/getCommentReportResponse.js +2 -1
- package/dist/schemas/getCommentResponse.js +2 -1
- package/dist/schemas/getCommunityResponse.js +2 -1
- package/dist/schemas/getFederatedInstancesResponse.js +2 -1
- package/dist/schemas/getModLogResponse.js +2 -1
- package/dist/schemas/getPostRepliesResponse.js +2 -1
- package/dist/schemas/getPostRepliesResponseNextPage.js +2 -1
- package/dist/schemas/getPostRepliesResponseNextPage.js.map +1 -1
- package/dist/schemas/getPostResponse.js +2 -1
- package/dist/schemas/getPrivateMessageConversationResponse.js +2 -1
- package/dist/schemas/getRegistrationListResponse.js +2 -1
- package/dist/schemas/getSiteInstanceChooserResponse.js +2 -1
- package/dist/schemas/getSiteInstanceChooserSearchResponse.js +2 -1
- package/dist/schemas/getSiteInstanceChooserSearchResponseItem.js +2 -1
- package/dist/schemas/getSiteInstanceChooserSearchResponseItem.js.map +1 -1
- package/dist/schemas/getSiteMetadataResponse.js +2 -1
- package/dist/schemas/getSiteResponse.js +2 -1
- package/dist/schemas/getSiteVersionResponse.js +2 -1
- package/dist/schemas/getSiteVersionResponse.js.map +1 -1
- package/dist/schemas/getSuggestCompletionResponse.js +2 -1
- package/dist/schemas/getSuggestCompletionResponse.js.map +1 -1
- package/dist/schemas/getUserResponse.js +2 -1
- package/dist/schemas/hidePostRequest.js +2 -1
- package/dist/schemas/hidePostRequest.js.map +1 -1
- package/dist/schemas/imageDeleteRequest.js +2 -1
- package/dist/schemas/imageDeleteRequest.js.map +1 -1
- package/dist/schemas/imageDeleteResponse.js +2 -1
- package/dist/schemas/imageDeleteResponse.js.map +1 -1
- package/dist/schemas/imageUploadRequest.js +2 -1
- package/dist/schemas/imageUploadRequest.js.map +1 -1
- package/dist/schemas/imageUploadResponse.js +2 -1
- package/dist/schemas/imageUploadResponse.js.map +1 -1
- package/dist/schemas/index.js +442 -426
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/instance.js +2 -1
- package/dist/schemas/instance.js.map +1 -1
- package/dist/schemas/instanceBlockView.js +2 -1
- package/dist/schemas/instanceWithoutFederationState.js +2 -1
- package/dist/schemas/instanceWithoutFederationState.js.map +1 -1
- package/dist/schemas/languageView.js +2 -1
- package/dist/schemas/languageView.js.map +1 -1
- package/dist/schemas/leaveConversationRequest.js +2 -1
- package/dist/schemas/leaveConversationRequest.js.map +1 -1
- package/dist/schemas/likeCommentRequest.js +2 -1
- package/dist/schemas/likeCommentRequest.js.map +1 -1
- package/dist/schemas/likePostRequest.js +2 -1
- package/dist/schemas/likePostRequest.js.map +1 -1
- package/dist/schemas/listCommentLikesResponse.js +2 -1
- package/dist/schemas/listCommentLikesResponseNextPage.js +2 -1
- package/dist/schemas/listCommentLikesResponseNextPage.js.map +1 -1
- package/dist/schemas/listCommentsResponse.js +2 -1
- package/dist/schemas/listCommentsResponseNextPage.js +2 -1
- package/dist/schemas/listCommentsResponseNextPage.js.map +1 -1
- package/dist/schemas/listCommunitiesResponse.js +2 -1
- package/dist/schemas/listCommunitiesResponseNextPage.js +2 -1
- package/dist/schemas/listCommunitiesResponseNextPage.js.map +1 -1
- package/dist/schemas/listPostLikesResponse.js +2 -1
- package/dist/schemas/listPostLikesResponseNextPage.js +2 -1
- package/dist/schemas/listPostLikesResponseNextPage.js.map +1 -1
- package/dist/schemas/listPostsResponse.js +2 -1
- package/dist/schemas/listPostsResponseNextPage.js +2 -1
- package/dist/schemas/listPostsResponseNextPage.js.map +1 -1
- package/dist/schemas/listPrivateMessagesResponse.js +2 -1
- package/dist/schemas/localUser.js +2 -1
- package/dist/schemas/localUserAcceptPrivateMessages.js +4 -1
- package/dist/schemas/localUserAcceptPrivateMessages.js.map +1 -1
- package/dist/schemas/localUserAiVisibility.js +4 -1
- package/dist/schemas/localUserAiVisibility.js.map +1 -1
- package/dist/schemas/localUserBotVisibility.js +4 -1
- package/dist/schemas/localUserBotVisibility.js.map +1 -1
- package/dist/schemas/localUserDefaultCommentSortType.js +4 -1
- package/dist/schemas/localUserDefaultCommentSortType.js.map +1 -1
- package/dist/schemas/localUserDefaultListingType.js +4 -1
- package/dist/schemas/localUserDefaultListingType.js.map +1 -1
- package/dist/schemas/localUserDefaultSortType.js +4 -1
- package/dist/schemas/localUserDefaultSortType.js.map +1 -1
- package/dist/schemas/localUserNsflVisibility.js +4 -1
- package/dist/schemas/localUserNsflVisibility.js.map +1 -1
- package/dist/schemas/localUserNsfwVisibility.js +4 -1
- package/dist/schemas/localUserNsfwVisibility.js.map +1 -1
- package/dist/schemas/localUserView.js +2 -1
- package/dist/schemas/lockCommentRequest.js +2 -1
- package/dist/schemas/lockCommentRequest.js.map +1 -1
- package/dist/schemas/lockPostRequest.js +2 -1
- package/dist/schemas/lockPostRequest.js.map +1 -1
- package/dist/schemas/markCommentAsAnswerRequest.js +2 -1
- package/dist/schemas/markCommentAsAnswerRequest.js.map +1 -1
- package/dist/schemas/markCommentAsReadRequest.js +2 -1
- package/dist/schemas/markCommentAsReadRequest.js.map +1 -1
- package/dist/schemas/markPostAsReadRequest.js +2 -1
- package/dist/schemas/markPostAsReadRequest.js.map +1 -1
- package/dist/schemas/markPrivateMessageAsReadRequest.js +2 -1
- package/dist/schemas/markPrivateMessageAsReadRequest.js.map +1 -1
- package/dist/schemas/mediaView.js +2 -1
- package/dist/schemas/mediaView.js.map +1 -1
- package/dist/schemas/miniCrossPosts.js +2 -1
- package/dist/schemas/miniCrossPosts.js.map +1 -1
- package/dist/schemas/modAdd.js +2 -1
- package/dist/schemas/modAddCommunity.js +2 -1
- package/dist/schemas/modAddCommunityCommunityId.js +2 -1
- package/dist/schemas/modAddCommunityCommunityId.js.map +1 -1
- package/dist/schemas/modAddCommunityModPersonId.js +2 -1
- package/dist/schemas/modAddCommunityModPersonId.js.map +1 -1
- package/dist/schemas/modAddCommunityOtherPersonId.js +2 -1
- package/dist/schemas/modAddCommunityOtherPersonId.js.map +1 -1
- package/dist/schemas/modAddCommunityView.js +2 -1
- package/dist/schemas/modAddCommunityViewCommunity.js +2 -1
- package/dist/schemas/modAddCommunityViewModdedPerson.js +2 -1
- package/dist/schemas/modAddCommunityViewModerator.js +2 -1
- package/dist/schemas/modAddModPersonId.js +2 -1
- package/dist/schemas/modAddModPersonId.js.map +1 -1
- package/dist/schemas/modAddOtherPersonId.js +2 -1
- package/dist/schemas/modAddOtherPersonId.js.map +1 -1
- package/dist/schemas/modAddView.js +2 -1
- package/dist/schemas/modAddViewModdedPerson.js +2 -1
- package/dist/schemas/modAddViewModerator.js +2 -1
- package/dist/schemas/modBan.js +2 -1
- package/dist/schemas/modBanExpires.js +2 -1
- package/dist/schemas/modBanExpires.js.map +1 -1
- package/dist/schemas/modBanFromCommunity.js +2 -1
- package/dist/schemas/modBanFromCommunityCommunityId.js +2 -1
- package/dist/schemas/modBanFromCommunityCommunityId.js.map +1 -1
- package/dist/schemas/modBanFromCommunityExpires.js +2 -1
- package/dist/schemas/modBanFromCommunityExpires.js.map +1 -1
- package/dist/schemas/modBanFromCommunityModPersonId.js +2 -1
- package/dist/schemas/modBanFromCommunityModPersonId.js.map +1 -1
- package/dist/schemas/modBanFromCommunityOtherPersonId.js +2 -1
- package/dist/schemas/modBanFromCommunityOtherPersonId.js.map +1 -1
- package/dist/schemas/modBanFromCommunityReason.js +2 -1
- package/dist/schemas/modBanFromCommunityReason.js.map +1 -1
- package/dist/schemas/modBanFromCommunityView.js +2 -1
- package/dist/schemas/modBanFromCommunityViewBannedPerson.js +2 -1
- package/dist/schemas/modBanFromCommunityViewCommunity.js +2 -1
- package/dist/schemas/modBanFromCommunityViewModerator.js +2 -1
- package/dist/schemas/modBanModPersonId.js +2 -1
- package/dist/schemas/modBanModPersonId.js.map +1 -1
- package/dist/schemas/modBanOtherPersonId.js +2 -1
- package/dist/schemas/modBanOtherPersonId.js.map +1 -1
- package/dist/schemas/modBanReason.js +2 -1
- package/dist/schemas/modBanReason.js.map +1 -1
- package/dist/schemas/modBanView.js +2 -1
- package/dist/schemas/modBanViewBannedPerson.js +2 -1
- package/dist/schemas/modBanViewModerator.js +2 -1
- package/dist/schemas/modCommunityRequest.js +2 -1
- package/dist/schemas/modCommunityRequest.js.map +1 -1
- package/dist/schemas/modCommunityResponse.js +2 -1
- package/dist/schemas/modFeaturePost.js +2 -1
- package/dist/schemas/modFeaturePostModPersonId.js +2 -1
- package/dist/schemas/modFeaturePostModPersonId.js.map +1 -1
- package/dist/schemas/modFeaturePostPostId.js +2 -1
- package/dist/schemas/modFeaturePostPostId.js.map +1 -1
- package/dist/schemas/modFeaturePostView.js +2 -1
- package/dist/schemas/modFeaturePostViewCommunity.js +2 -1
- package/dist/schemas/modFeaturePostViewModerator.js +2 -1
- package/dist/schemas/modFeaturePostViewPost.js +2 -1
- package/dist/schemas/modHideCommunity.js +2 -1
- package/dist/schemas/modHideCommunityCommunityId.js +2 -1
- package/dist/schemas/modHideCommunityCommunityId.js.map +1 -1
- package/dist/schemas/modHideCommunityModPersonId.js +2 -1
- package/dist/schemas/modHideCommunityModPersonId.js.map +1 -1
- package/dist/schemas/modHideCommunityReason.js +2 -1
- package/dist/schemas/modHideCommunityReason.js.map +1 -1
- package/dist/schemas/modHideCommunityView.js +2 -1
- package/dist/schemas/modLockPost.js +2 -1
- package/dist/schemas/modLockPostModPersonId.js +2 -1
- package/dist/schemas/modLockPostModPersonId.js.map +1 -1
- package/dist/schemas/modLockPostPostId.js +2 -1
- package/dist/schemas/modLockPostPostId.js.map +1 -1
- package/dist/schemas/modLockPostView.js +2 -1
- package/dist/schemas/modLockPostViewCommunity.js +2 -1
- package/dist/schemas/modLockPostViewModerator.js +2 -1
- package/dist/schemas/modLockPostViewPost.js +2 -1
- package/dist/schemas/modRemoveComment.js +2 -1
- package/dist/schemas/modRemoveCommentCommentId.js +2 -1
- package/dist/schemas/modRemoveCommentCommentId.js.map +1 -1
- package/dist/schemas/modRemoveCommentModPersonId.js +2 -1
- package/dist/schemas/modRemoveCommentModPersonId.js.map +1 -1
- package/dist/schemas/modRemoveCommentReason.js +2 -1
- package/dist/schemas/modRemoveCommentReason.js.map +1 -1
- package/dist/schemas/modRemoveCommentView.js +2 -1
- package/dist/schemas/modRemoveCommentViewComment.js +2 -1
- package/dist/schemas/modRemoveCommentViewCommenter.js +2 -1
- package/dist/schemas/modRemoveCommentViewCommunity.js +2 -1
- package/dist/schemas/modRemoveCommentViewModerator.js +2 -1
- package/dist/schemas/modRemoveCommentViewPost.js +2 -1
- package/dist/schemas/modRemoveCommunity.js +2 -1
- package/dist/schemas/modRemoveCommunityCommunityId.js +2 -1
- package/dist/schemas/modRemoveCommunityCommunityId.js.map +1 -1
- package/dist/schemas/modRemoveCommunityModPersonId.js +2 -1
- package/dist/schemas/modRemoveCommunityModPersonId.js.map +1 -1
- package/dist/schemas/modRemoveCommunityReason.js +2 -1
- package/dist/schemas/modRemoveCommunityReason.js.map +1 -1
- package/dist/schemas/modRemoveCommunityView.js +2 -1
- package/dist/schemas/modRemoveCommunityViewCommunity.js +2 -1
- package/dist/schemas/modRemoveCommunityViewModerator.js +2 -1
- package/dist/schemas/modRemovePost.js +2 -1
- package/dist/schemas/modRemovePostModPersonId.js +2 -1
- package/dist/schemas/modRemovePostModPersonId.js.map +1 -1
- package/dist/schemas/modRemovePostPostId.js +2 -1
- package/dist/schemas/modRemovePostPostId.js.map +1 -1
- package/dist/schemas/modRemovePostReason.js +2 -1
- package/dist/schemas/modRemovePostReason.js.map +1 -1
- package/dist/schemas/modRemovePostView.js +2 -1
- package/dist/schemas/modRemovePostViewCommunity.js +2 -1
- package/dist/schemas/modRemovePostViewModerator.js +2 -1
- package/dist/schemas/modRemovePostViewPost.js +2 -1
- package/dist/schemas/modTransferCommunity.js +2 -1
- package/dist/schemas/modTransferCommunityCommunityId.js +2 -1
- package/dist/schemas/modTransferCommunityCommunityId.js.map +1 -1
- package/dist/schemas/modTransferCommunityModPersonId.js +2 -1
- package/dist/schemas/modTransferCommunityModPersonId.js.map +1 -1
- package/dist/schemas/modTransferCommunityOtherPersonId.js +2 -1
- package/dist/schemas/modTransferCommunityOtherPersonId.js.map +1 -1
- package/dist/schemas/modTransferCommunityView.js +2 -1
- package/dist/schemas/modTransferCommunityViewModdedPerson.js +2 -1
- package/dist/schemas/modTransferCommunityViewModerator.js +2 -1
- package/dist/schemas/myUserInfo.js +2 -1
- package/dist/schemas/newUserExtraField.js +2 -1
- package/dist/schemas/newUserExtraFieldId.js +2 -1
- package/dist/schemas/newUserExtraFieldId.js.map +1 -1
- package/dist/schemas/newUserExtraFieldLabel.js +2 -1
- package/dist/schemas/newUserExtraFieldLabel.js.map +1 -1
- package/dist/schemas/newUserExtraFieldText.js +2 -1
- package/dist/schemas/newUserExtraFieldText.js.map +1 -1
- package/dist/schemas/paginationMetadata.js +2 -1
- package/dist/schemas/paginationMetadata.js.map +1 -1
- package/dist/schemas/person.js +2 -1
- package/dist/schemas/personAggregates.js +2 -1
- package/dist/schemas/personAggregates.js.map +1 -1
- package/dist/schemas/personAvatar.js +2 -1
- package/dist/schemas/personAvatar.js.map +1 -1
- package/dist/schemas/personBanner.js +2 -1
- package/dist/schemas/personBanner.js.map +1 -1
- package/dist/schemas/personBlockView.js +2 -1
- package/dist/schemas/personTitle.js +2 -1
- package/dist/schemas/personTitle.js.map +1 -1
- package/dist/schemas/personView.js +2 -1
- package/dist/schemas/pollChoice.js +2 -1
- package/dist/schemas/pollChoice.js.map +1 -1
- package/dist/schemas/pollVoteRequest.js +2 -1
- package/dist/schemas/pollVoteRequest.js.map +1 -1
- package/dist/schemas/pollVoteResponse.js +2 -1
- package/dist/schemas/post.js +2 -1
- package/dist/schemas/postAggregates.js +2 -1
- package/dist/schemas/postAggregates.js.map +1 -1
- package/dist/schemas/postEmojiReactions.js +2 -1
- package/dist/schemas/postEvent.js +2 -1
- package/dist/schemas/postEventBuyTicketsLink.js +2 -1
- package/dist/schemas/postEventBuyTicketsLink.js.map +1 -1
- package/dist/schemas/postEventExternalParticipationUrl.js +2 -1
- package/dist/schemas/postEventExternalParticipationUrl.js.map +1 -1
- package/dist/schemas/postEventLocation.js +2 -1
- package/dist/schemas/postEventLocationAnyOf.js +2 -1
- package/dist/schemas/postEventLocationAnyOf.js.map +1 -1
- package/dist/schemas/postEventOnlineLink.js +2 -1
- package/dist/schemas/postEventOnlineLink.js.map +1 -1
- package/dist/schemas/postFlair.js +2 -1
- package/dist/schemas/postFlair.js.map +1 -1
- package/dist/schemas/postLikeView.js +2 -1
- package/dist/schemas/postPoll.js +2 -1
- package/dist/schemas/postPollMode.js +4 -1
- package/dist/schemas/postPollMode.js.map +1 -1
- package/dist/schemas/postPostType.js +4 -1
- package/dist/schemas/postPostType.js.map +1 -1
- package/dist/schemas/postReplyView.js +2 -1
- package/dist/schemas/postReplyViewSubscribed.js +4 -1
- package/dist/schemas/postReplyViewSubscribed.js.map +1 -1
- package/dist/schemas/postReport.js +2 -1
- package/dist/schemas/postReport.js.map +1 -1
- package/dist/schemas/postReportResponse.js +2 -1
- package/dist/schemas/postReportView.js +2 -1
- package/dist/schemas/postReportViewSubscribed.js +4 -1
- package/dist/schemas/postReportViewSubscribed.js.map +1 -1
- package/dist/schemas/postSetFlairRequest.js +2 -1
- package/dist/schemas/postSetFlairRequestFlairIdList.js +2 -1
- package/dist/schemas/postSetFlairRequestFlairIdList.js.map +1 -1
- package/dist/schemas/postSetFlairResponse.js +2 -1
- package/dist/schemas/postSetFlairResponseSubscribed.js +4 -1
- package/dist/schemas/postSetFlairResponseSubscribed.js.map +1 -1
- package/dist/schemas/postTags.js +2 -1
- package/dist/schemas/postTags.js.map +1 -1
- package/dist/schemas/postView.js +2 -1
- package/dist/schemas/postViewSubscribed.js +4 -1
- package/dist/schemas/postViewSubscribed.js.map +1 -1
- package/dist/schemas/privateMessage.js +2 -1
- package/dist/schemas/privateMessage.js.map +1 -1
- package/dist/schemas/privateMessageResponse.js +2 -1
- package/dist/schemas/privateMessageView.js +2 -1
- package/dist/schemas/reactions.js +2 -1
- package/dist/schemas/reactionsUrl.js +2 -1
- package/dist/schemas/reactionsUrl.js.map +1 -1
- package/dist/schemas/registrationApproveRequest.js +2 -1
- package/dist/schemas/registrationApproveRequest.js.map +1 -1
- package/dist/schemas/removeCommentRequest.js +2 -1
- package/dist/schemas/removeCommentRequest.js.map +1 -1
- package/dist/schemas/removePostRequest.js +2 -1
- package/dist/schemas/removePostRequest.js.map +1 -1
- package/dist/schemas/reportCommentRequest.js +2 -1
- package/dist/schemas/reportCommentRequest.js.map +1 -1
- package/dist/schemas/reportPostRequest.js +2 -1
- package/dist/schemas/reportPostRequest.js.map +1 -1
- package/dist/schemas/reportPrivateMessageRequest.js +2 -1
- package/dist/schemas/reportPrivateMessageRequest.js.map +1 -1
- package/dist/schemas/resolveObjectResponse.js +2 -1
- package/dist/schemas/saveCommentRequest.js +2 -1
- package/dist/schemas/saveCommentRequest.js.map +1 -1
- package/dist/schemas/savePostRequest.js +2 -1
- package/dist/schemas/savePostRequest.js.map +1 -1
- package/dist/schemas/searchResponse.js +2 -1
- package/dist/schemas/searchResponseType.js +4 -1
- package/dist/schemas/searchResponseType.js.map +1 -1
- package/dist/schemas/site.js +2 -1
- package/dist/schemas/siteIcon.js +2 -1
- package/dist/schemas/siteIcon.js.map +1 -1
- package/dist/schemas/siteMetadataView.js +2 -1
- package/dist/schemas/siteMetadataView.js.map +1 -1
- package/dist/schemas/siteRegistrationMode.js +4 -1
- package/dist/schemas/siteRegistrationMode.js.map +1 -1
- package/dist/schemas/subscribeCommentRequest.js +2 -1
- package/dist/schemas/subscribeCommentRequest.js.map +1 -1
- package/dist/schemas/subscribeCommunityRequest.js +2 -1
- package/dist/schemas/subscribeCommunityRequest.js.map +1 -1
- package/dist/schemas/subscribePostRequest.js +2 -1
- package/dist/schemas/subscribePostRequest.js.map +1 -1
- package/dist/schemas/successResponse.js +2 -1
- package/dist/schemas/successResponse.js.map +1 -1
- package/dist/schemas/topicListResponse.js +2 -1
- package/dist/schemas/topicView.js +2 -1
- package/dist/schemas/topicViewParentTopicId.js +2 -1
- package/dist/schemas/topicViewParentTopicId.js.map +1 -1
- package/dist/schemas/unprocessableEntityResponse.js +2 -1
- package/dist/schemas/userBanRequest.js +2 -1
- package/dist/schemas/userBanRequestBanIpAddress.js +2 -1
- package/dist/schemas/userBanRequestBanIpAddress.js.map +1 -1
- package/dist/schemas/userBanRequestPurgeContent.js +2 -1
- package/dist/schemas/userBanRequestPurgeContent.js.map +1 -1
- package/dist/schemas/userBanRequestReason.js +2 -1
- package/dist/schemas/userBanRequestReason.js.map +1 -1
- package/dist/schemas/userBanResponse.js +2 -1
- package/dist/schemas/userBlockRequest.js +2 -1
- package/dist/schemas/userBlockRequest.js.map +1 -1
- package/dist/schemas/userBlockResponse.js +2 -1
- package/dist/schemas/userExtraField.js +2 -1
- package/dist/schemas/userExtraField.js.map +1 -1
- package/dist/schemas/userLoginRequest.js +2 -1
- package/dist/schemas/userLoginRequest.js.map +1 -1
- package/dist/schemas/userLoginResponse.js +2 -1
- package/dist/schemas/userLoginResponse.js.map +1 -1
- package/dist/schemas/userMarkAllNotifsReadResponse.js +2 -1
- package/dist/schemas/userMarkAllNotifsReadResponse.js.map +1 -1
- package/dist/schemas/userMarkAllReadResponse.js +2 -1
- package/dist/schemas/userMeResponse.js +2 -1
- package/dist/schemas/userMediaResponse.js +2 -1
- package/dist/schemas/userMediaResponseNextPage.js +2 -1
- package/dist/schemas/userMediaResponseNextPage.js.map +1 -1
- package/dist/schemas/userMentionsResponse.js +2 -1
- package/dist/schemas/userMentionsResponseNextPage.js +2 -1
- package/dist/schemas/userMentionsResponseNextPage.js.map +1 -1
- package/dist/schemas/userNotificationItemView.js +2 -1
- package/dist/schemas/userNotificationItemViewStatus.js +4 -1
- package/dist/schemas/userNotificationItemViewStatus.js.map +1 -1
- package/dist/schemas/userNotificationStateRequest.js +2 -1
- package/dist/schemas/userNotificationStateRequest.js.map +1 -1
- package/dist/schemas/userNotificationsCountResponse.js +2 -1
- package/dist/schemas/userNotificationsCountResponse.js.map +1 -1
- package/dist/schemas/userNotificationsCounts.js +2 -1
- package/dist/schemas/userNotificationsCounts.js.map +1 -1
- package/dist/schemas/userNotificationsResponse.js +2 -1
- package/dist/schemas/userNotificationsResponseNextPage.js +2 -1
- package/dist/schemas/userNotificationsResponseNextPage.js.map +1 -1
- package/dist/schemas/userNotificationsResponseStatus.js +4 -1
- package/dist/schemas/userNotificationsResponseStatus.js.map +1 -1
- package/dist/schemas/userRegistration.js +2 -1
- package/dist/schemas/userRegistrationAnswer.js +2 -1
- package/dist/schemas/userRegistrationAnswer.js.map +1 -1
- package/dist/schemas/userRegistrationEmail.js +2 -1
- package/dist/schemas/userRegistrationEmail.js.map +1 -1
- package/dist/schemas/userRegistrationIpAddress.js +2 -1
- package/dist/schemas/userRegistrationIpAddress.js.map +1 -1
- package/dist/schemas/userRegistrationStatus.js +4 -1
- package/dist/schemas/userRegistrationStatus.js.map +1 -1
- package/dist/schemas/userRepliesResponse.js +2 -1
- package/dist/schemas/userRepliesResponseNextPage.js +2 -1
- package/dist/schemas/userRepliesResponseNextPage.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequest.js +2 -1
- package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.js +4 -1
- package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestAvatar.js +2 -1
- package/dist/schemas/userSaveSettingsRequestAvatar.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestBotVisibility.js +4 -1
- package/dist/schemas/userSaveSettingsRequestBotVisibility.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.js +2 -1
- package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestCover.js +2 -1
- package/dist/schemas/userSaveSettingsRequestCover.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.js +4 -1
- package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestDefaultSortType.js +4 -1
- package/dist/schemas/userSaveSettingsRequestDefaultSortType.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestGenaiVisibility.js +4 -1
- package/dist/schemas/userSaveSettingsRequestGenaiVisibility.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestNsflVisibility.js +4 -1
- package/dist/schemas/userSaveSettingsRequestNsflVisibility.js.map +1 -1
- package/dist/schemas/userSaveSettingsRequestNsfwVisibility.js +4 -1
- package/dist/schemas/userSaveSettingsRequestNsfwVisibility.js.map +1 -1
- package/dist/schemas/userSaveSettingsResponse.js +2 -1
- package/dist/schemas/userSetFlairRequest.js +2 -1
- package/dist/schemas/userSetFlairRequestFlairText.js +2 -1
- package/dist/schemas/userSetFlairRequestFlairText.js.map +1 -1
- package/dist/schemas/userSetFlairResponse.js +2 -1
- package/dist/schemas/userSetNoteRequest.js +2 -1
- package/dist/schemas/userSetNoteRequestNote.js +2 -1
- package/dist/schemas/userSetNoteRequestNote.js.map +1 -1
- package/dist/schemas/userSetNoteResponse.js +2 -1
- package/dist/schemas/userSubscribeRequest.js +2 -1
- package/dist/schemas/userSubscribeRequest.js.map +1 -1
- package/dist/schemas/userSubscribeResponse.js +2 -1
- package/dist/schemas/userUnbanRequest.js +2 -1
- package/dist/schemas/userUnbanRequest.js.map +1 -1
- package/dist/schemas/userUnreadCountsResponse.js +2 -1
- package/dist/schemas/userUnreadCountsResponse.js.map +1 -1
- package/dist/schemas/widthHeight.js +2 -1
- package/dist/schemas/widthHeight.js.map +1 -1
- package/dist/zod/admin/admin.js +52 -16
- package/dist/zod/admin/admin.js.map +1 -1
- package/dist/zod/comment/comment.js +280 -241
- package/dist/zod/comment/comment.js.map +1 -1
- package/dist/zod/community/community.js +158 -121
- package/dist/zod/community/community.js.map +1 -1
- package/dist/zod/feed/feed.js +54 -18
- package/dist/zod/feed/feed.js.map +1 -1
- package/dist/zod/misc/misc.js +246 -208
- package/dist/zod/misc/misc.js.map +1 -1
- package/dist/zod/post/post.js +578 -534
- package/dist/zod/post/post.js.map +1 -1
- package/dist/zod/private-message/private-message.js +112 -76
- package/dist/zod/private-message/private-message.js.map +1 -1
- package/dist/zod/site/site.js +76 -40
- package/dist/zod/site/site.js.map +1 -1
- package/dist/zod/topic/topic.js +41 -5
- package/dist/zod/topic/topic.js.map +1 -1
- package/dist/zod/upload/upload.js +45 -9
- package/dist/zod/upload/upload.js.map +1 -1
- package/dist/zod/user/user.js +351 -311
- package/dist/zod/user/user.js.map +1 -1
- package/dist/zod-index.js +27 -11
- package/dist/zod-index.js.map +1 -1
- package/package.json +7 -4
- package/src/__tests__/create-client.test.ts +317 -0
- package/src/client/admin/admin.ts +5 -55
- package/src/client/comment/comment.ts +29 -372
- package/src/client/community/community.ts +34 -444
- package/src/client/feed/feed.ts +13 -164
- package/src/client/misc/misc.ts +11 -133
- package/src/client/post/post.ts +41 -528
- package/src/client/private-message/private-message.ts +17 -216
- package/src/client/site/site.ts +11 -118
- package/src/client/topic/topic.ts +3 -29
- package/src/client/upload/upload.ts +9 -127
- package/src/client/user/user.ts +42 -528
- package/src/create-client.ts +35 -19
- package/src/index.ts +1 -14
- package/src/mutator/custom-fetch.ts +20 -6
|
@@ -1,20 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventAnonymousParticipationDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventFullDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventParticipantCountDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventMaxAttendeesDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorNoteMax = exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorExtraFieldsMax = exports.putApiAlphaCommentSubscribeBody = exports.putApiAlphaCommentSaveResponse = exports.putApiAlphaCommentSaveResponseCommentViewPostPollChoicesMax = exports.putApiAlphaCommentSaveResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostPollLocalOnlyDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventEventFeeAmountDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventOnlineDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventAnonymousParticipationDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventFullDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventParticipantCountDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventMaxAttendeesDefault = exports.putApiAlphaCommentSaveResponseCommentViewCreatorNoteMax = exports.putApiAlphaCommentSaveResponseCommentViewCreatorExtraFieldsMax = exports.putApiAlphaCommentSaveBody = exports.postApiAlphaCommentLikeResponse = exports.postApiAlphaCommentLikeResponseCommentViewPostPollChoicesMax = exports.postApiAlphaCommentLikeResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventOnlineDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventFullDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventParticipantCountDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentLikeResponseCommentViewCreatorNoteMax = exports.postApiAlphaCommentLikeResponseCommentViewCreatorExtraFieldsMax = exports.postApiAlphaCommentLikeBody = exports.postApiAlphaCommentLikeBodyPrivateDefault = exports.getApiAlphaCommentListResponse = exports.getApiAlphaCommentListResponseCommentsItemPostPollChoicesMax = exports.getApiAlphaCommentListResponseCommentsItemPostPollChoicesItemNumVotesDefault = exports.getApiAlphaCommentListResponseCommentsItemPostPollLocalOnlyDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventEventFeeAmountDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventOnlineDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventAnonymousParticipationDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventFullDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventParticipantCountDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventMaxAttendeesDefault = exports.getApiAlphaCommentListResponseCommentsItemCreatorNoteMax = exports.getApiAlphaCommentListResponseCommentsItemCreatorExtraFieldsMax = exports.getApiAlphaCommentListQueryParams = exports.getApiAlphaCommentListQuerySortDefault = exports.getApiAlphaCommentListQueryPageDefault = exports.getApiAlphaCommentListQueryLimitDefault = void 0;
|
|
37
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentDeleteResponseCommentViewCreatorNoteMax = exports.postApiAlphaCommentDeleteResponseCommentViewCreatorExtraFieldsMax = exports.postApiAlphaCommentDeleteBody = exports.getApiAlphaCommentResponse = exports.getApiAlphaCommentResponseCommentViewPostPollChoicesMax = exports.getApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.getApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = exports.getApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = exports.getApiAlphaCommentResponseCommentViewPostEventOnlineDefault = exports.getApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = exports.getApiAlphaCommentResponseCommentViewPostEventFullDefault = exports.getApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = exports.getApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = exports.getApiAlphaCommentResponseCommentViewCreatorNoteMax = exports.getApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = exports.getApiAlphaCommentQueryParams = exports.putApiAlphaCommentResponse = exports.putApiAlphaCommentResponseCommentViewPostPollChoicesMax = exports.putApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.putApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = exports.putApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = exports.putApiAlphaCommentResponseCommentViewPostEventOnlineDefault = exports.putApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = exports.putApiAlphaCommentResponseCommentViewPostEventFullDefault = exports.putApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = exports.putApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = exports.putApiAlphaCommentResponseCommentViewCreatorNoteMax = exports.putApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = exports.putApiAlphaCommentBody = exports.putApiAlphaCommentBodyDistinguishedDefault = exports.postApiAlphaCommentResponse = exports.postApiAlphaCommentResponseCommentViewPostPollChoicesMax = exports.postApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentResponseCommentViewPostEventOnlineDefault = exports.postApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentResponseCommentViewPostEventFullDefault = exports.postApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = exports.postApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentResponseCommentViewCreatorNoteMax = exports.postApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = exports.postApiAlphaCommentBody = exports.putApiAlphaCommentSubscribeResponse = exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesMax = exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollLocalOnlyDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventEventFeeAmountDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventOnlineDefault = void 0;
|
|
38
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesMax = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventOnlineDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventFullDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventParticipantCountDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorNoteMax = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorExtraFieldsMax = exports.postApiAlphaCommentMarkAsReadBody = exports.postApiAlphaCommentRemoveResponse = exports.postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesMax = exports.postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventOnlineDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventFullDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventParticipantCountDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentRemoveResponseCommentViewCreatorNoteMax = exports.postApiAlphaCommentRemoveResponseCommentViewCreatorExtraFieldsMax = exports.postApiAlphaCommentRemoveBody = exports.postApiAlphaCommentReportResponse = exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorNoteMax = exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorExtraFieldsMax = exports.postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesMax = exports.postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventOnlineDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventFullDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventParticipantCountDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentReportResponseCommentReportViewCreatorNoteMax = exports.postApiAlphaCommentReportResponseCommentReportViewCreatorExtraFieldsMax = exports.postApiAlphaCommentReportBody = exports.postApiAlphaCommentReportBodyReportRemoteDefault = exports.postApiAlphaCommentDeleteResponse = exports.postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesMax = exports.postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostEventOnlineDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostEventFullDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostEventParticipantCountDefault = void 0;
|
|
39
|
+
exports.getApiAlphaCommentLikeListResponse = exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorNoteMax = exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorExtraFieldsMax = exports.getApiAlphaCommentLikeListQueryParams = exports.getApiAlphaCommentLikeListQueryLimitDefault = exports.getApiAlphaCommentLikeListQueryPageDefault = exports.postApiAlphaCommentLockResponse = exports.postApiAlphaCommentLockResponseCommentViewPostPollChoicesMax = exports.postApiAlphaCommentLockResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentLockResponseCommentViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventOnlineDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventFullDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventParticipantCountDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentLockResponseCommentViewCreatorNoteMax = exports.postApiAlphaCommentLockResponseCommentViewCreatorExtraFieldsMax = exports.postApiAlphaCommentLockBody = exports.postApiAlphaCommentMarkAsAnswerResponse = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientNoteMax = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientExtraFieldsMax = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesMax = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventOnlineDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventFullDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventParticipantCountDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorNoteMax = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorExtraFieldsMax = exports.postApiAlphaCommentMarkAsAnswerBody = exports.postApiAlphaCommentMarkAsReadResponse = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientNoteMax = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientExtraFieldsMax = void 0;
|
|
1
40
|
/**
|
|
2
41
|
* Generated by orval v7.21.0 🍺
|
|
3
42
|
* Do not edit manually.
|
|
4
43
|
* PieFed 1.6 Alpha API
|
|
5
44
|
* OpenAPI spec version: alpha 1.6
|
|
6
45
|
*/
|
|
7
|
-
|
|
46
|
+
const zod = __importStar(require("zod"));
|
|
8
47
|
/**
|
|
9
48
|
* @summary List comments, with various filters.
|
|
10
49
|
*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"limit": zod.number().default(getApiAlphaCommentListQueryLimitDefault),
|
|
16
|
-
"page": zod.number().default(getApiAlphaCommentListQueryPageDefault),
|
|
17
|
-
"sort": zod.enum(['Hot', 'Top', 'TopAll', 'New', 'Old', 'Controversial']).default(getApiAlphaCommentListQuerySortDefault),
|
|
50
|
+
exports.getApiAlphaCommentListQueryLimitDefault = 10;
|
|
51
|
+
exports.getApiAlphaCommentListQueryPageDefault = 1;
|
|
52
|
+
exports.getApiAlphaCommentListQuerySortDefault = "New";
|
|
53
|
+
exports.getApiAlphaCommentListQueryParams = zod.object({
|
|
54
|
+
"limit": zod.number().default(exports.getApiAlphaCommentListQueryLimitDefault),
|
|
55
|
+
"page": zod.number().default(exports.getApiAlphaCommentListQueryPageDefault),
|
|
56
|
+
"sort": zod.enum(['Hot', 'Top', 'TopAll', 'New', 'Old', 'Controversial']).default(exports.getApiAlphaCommentListQuerySortDefault),
|
|
18
57
|
"liked_only": zod.boolean().optional(),
|
|
19
58
|
"saved_only": zod.boolean().optional(),
|
|
20
59
|
"person_id": zod.number().optional(),
|
|
@@ -24,18 +63,18 @@ export const getApiAlphaCommentListQueryParams = zod.object({
|
|
|
24
63
|
"max_depth": zod.number().optional(),
|
|
25
64
|
"depth_first": zod.boolean().optional().describe('guarantee parent comments are on the same page as any fetched comments')
|
|
26
65
|
});
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
66
|
+
exports.getApiAlphaCommentListResponseCommentsItemCreatorExtraFieldsMax = 4;
|
|
67
|
+
exports.getApiAlphaCommentListResponseCommentsItemCreatorNoteMax = 50;
|
|
68
|
+
exports.getApiAlphaCommentListResponseCommentsItemPostEventMaxAttendeesDefault = 0;
|
|
69
|
+
exports.getApiAlphaCommentListResponseCommentsItemPostEventParticipantCountDefault = 0;
|
|
70
|
+
exports.getApiAlphaCommentListResponseCommentsItemPostEventFullDefault = false;
|
|
71
|
+
exports.getApiAlphaCommentListResponseCommentsItemPostEventAnonymousParticipationDefault = false;
|
|
72
|
+
exports.getApiAlphaCommentListResponseCommentsItemPostEventOnlineDefault = false;
|
|
73
|
+
exports.getApiAlphaCommentListResponseCommentsItemPostEventEventFeeAmountDefault = 0;
|
|
74
|
+
exports.getApiAlphaCommentListResponseCommentsItemPostPollLocalOnlyDefault = false;
|
|
75
|
+
exports.getApiAlphaCommentListResponseCommentsItemPostPollChoicesItemNumVotesDefault = 0;
|
|
76
|
+
exports.getApiAlphaCommentListResponseCommentsItemPostPollChoicesMax = 10;
|
|
77
|
+
exports.getApiAlphaCommentListResponse = zod.object({
|
|
39
78
|
"comments": zod.array(zod.object({
|
|
40
79
|
"activity_alert": zod.boolean(),
|
|
41
80
|
"banned_from_community": zod.boolean(),
|
|
@@ -110,8 +149,8 @@ export const getApiAlphaCommentListResponse = zod.object({
|
|
|
110
149
|
"id": zod.number(),
|
|
111
150
|
"label": zod.string(),
|
|
112
151
|
"text": zod.string()
|
|
113
|
-
})).max(getApiAlphaCommentListResponseCommentsItemCreatorExtraFieldsMax).optional(),
|
|
114
|
-
"note": zod.string().max(getApiAlphaCommentListResponseCommentsItemCreatorNoteMax).optional(),
|
|
152
|
+
})).max(exports.getApiAlphaCommentListResponseCommentsItemCreatorExtraFieldsMax).optional(),
|
|
153
|
+
"note": zod.string().max(exports.getApiAlphaCommentListResponseCommentsItemCreatorNoteMax).optional(),
|
|
115
154
|
"flair": zod.string().optional(),
|
|
116
155
|
"published": zod.string().optional(),
|
|
117
156
|
"title": zod.string().nullish()
|
|
@@ -187,7 +226,7 @@ export const getApiAlphaCommentListResponse = zod.object({
|
|
|
187
226
|
"choice_text": zod.string(),
|
|
188
227
|
"sort_order": zod.number(),
|
|
189
228
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
190
|
-
})).max(getApiAlphaCommentListResponseCommentsItemPostPollChoicesMax),
|
|
229
|
+
})).max(exports.getApiAlphaCommentListResponseCommentsItemPostPollChoicesMax),
|
|
191
230
|
"my_votes": zod.array(zod.number()).optional()
|
|
192
231
|
}).optional()
|
|
193
232
|
}),
|
|
@@ -201,25 +240,25 @@ export const getApiAlphaCommentListResponse = zod.object({
|
|
|
201
240
|
/**
|
|
202
241
|
* @summary Like / vote on a comment.
|
|
203
242
|
*/
|
|
204
|
-
|
|
205
|
-
|
|
243
|
+
exports.postApiAlphaCommentLikeBodyPrivateDefault = false;
|
|
244
|
+
exports.postApiAlphaCommentLikeBody = zod.object({
|
|
206
245
|
"comment_id": zod.number(),
|
|
207
246
|
"score": zod.number().describe('-1 to downvote, 1 to upvote, 0 to revert previous vote'),
|
|
208
247
|
"private": zod.boolean().optional().describe('private votes are not federated to other instances'),
|
|
209
248
|
"emoji": zod.string().optional()
|
|
210
249
|
});
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
250
|
+
exports.postApiAlphaCommentLikeResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
251
|
+
exports.postApiAlphaCommentLikeResponseCommentViewCreatorNoteMax = 50;
|
|
252
|
+
exports.postApiAlphaCommentLikeResponseCommentViewPostEventMaxAttendeesDefault = 0;
|
|
253
|
+
exports.postApiAlphaCommentLikeResponseCommentViewPostEventParticipantCountDefault = 0;
|
|
254
|
+
exports.postApiAlphaCommentLikeResponseCommentViewPostEventFullDefault = false;
|
|
255
|
+
exports.postApiAlphaCommentLikeResponseCommentViewPostEventAnonymousParticipationDefault = false;
|
|
256
|
+
exports.postApiAlphaCommentLikeResponseCommentViewPostEventOnlineDefault = false;
|
|
257
|
+
exports.postApiAlphaCommentLikeResponseCommentViewPostEventEventFeeAmountDefault = 0;
|
|
258
|
+
exports.postApiAlphaCommentLikeResponseCommentViewPostPollLocalOnlyDefault = false;
|
|
259
|
+
exports.postApiAlphaCommentLikeResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
|
|
260
|
+
exports.postApiAlphaCommentLikeResponseCommentViewPostPollChoicesMax = 10;
|
|
261
|
+
exports.postApiAlphaCommentLikeResponse = zod.object({
|
|
223
262
|
"comment_view": zod.object({
|
|
224
263
|
"activity_alert": zod.boolean(),
|
|
225
264
|
"banned_from_community": zod.boolean(),
|
|
@@ -294,8 +333,8 @@ export const postApiAlphaCommentLikeResponse = zod.object({
|
|
|
294
333
|
"id": zod.number(),
|
|
295
334
|
"label": zod.string(),
|
|
296
335
|
"text": zod.string()
|
|
297
|
-
})).max(postApiAlphaCommentLikeResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
298
|
-
"note": zod.string().max(postApiAlphaCommentLikeResponseCommentViewCreatorNoteMax).optional(),
|
|
336
|
+
})).max(exports.postApiAlphaCommentLikeResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
337
|
+
"note": zod.string().max(exports.postApiAlphaCommentLikeResponseCommentViewCreatorNoteMax).optional(),
|
|
299
338
|
"flair": zod.string().optional(),
|
|
300
339
|
"published": zod.string().optional(),
|
|
301
340
|
"title": zod.string().nullish()
|
|
@@ -371,7 +410,7 @@ export const postApiAlphaCommentLikeResponse = zod.object({
|
|
|
371
410
|
"choice_text": zod.string(),
|
|
372
411
|
"sort_order": zod.number(),
|
|
373
412
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
374
|
-
})).max(postApiAlphaCommentLikeResponseCommentViewPostPollChoicesMax),
|
|
413
|
+
})).max(exports.postApiAlphaCommentLikeResponseCommentViewPostPollChoicesMax),
|
|
375
414
|
"my_votes": zod.array(zod.number()).optional()
|
|
376
415
|
}).optional()
|
|
377
416
|
}),
|
|
@@ -384,22 +423,22 @@ export const postApiAlphaCommentLikeResponse = zod.object({
|
|
|
384
423
|
/**
|
|
385
424
|
* @summary Save a comment.
|
|
386
425
|
*/
|
|
387
|
-
|
|
426
|
+
exports.putApiAlphaCommentSaveBody = zod.object({
|
|
388
427
|
"comment_id": zod.number(),
|
|
389
428
|
"save": zod.boolean()
|
|
390
429
|
});
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
430
|
+
exports.putApiAlphaCommentSaveResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
431
|
+
exports.putApiAlphaCommentSaveResponseCommentViewCreatorNoteMax = 50;
|
|
432
|
+
exports.putApiAlphaCommentSaveResponseCommentViewPostEventMaxAttendeesDefault = 0;
|
|
433
|
+
exports.putApiAlphaCommentSaveResponseCommentViewPostEventParticipantCountDefault = 0;
|
|
434
|
+
exports.putApiAlphaCommentSaveResponseCommentViewPostEventFullDefault = false;
|
|
435
|
+
exports.putApiAlphaCommentSaveResponseCommentViewPostEventAnonymousParticipationDefault = false;
|
|
436
|
+
exports.putApiAlphaCommentSaveResponseCommentViewPostEventOnlineDefault = false;
|
|
437
|
+
exports.putApiAlphaCommentSaveResponseCommentViewPostEventEventFeeAmountDefault = 0;
|
|
438
|
+
exports.putApiAlphaCommentSaveResponseCommentViewPostPollLocalOnlyDefault = false;
|
|
439
|
+
exports.putApiAlphaCommentSaveResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
|
|
440
|
+
exports.putApiAlphaCommentSaveResponseCommentViewPostPollChoicesMax = 10;
|
|
441
|
+
exports.putApiAlphaCommentSaveResponse = zod.object({
|
|
403
442
|
"comment_view": zod.object({
|
|
404
443
|
"activity_alert": zod.boolean(),
|
|
405
444
|
"banned_from_community": zod.boolean(),
|
|
@@ -474,8 +513,8 @@ export const putApiAlphaCommentSaveResponse = zod.object({
|
|
|
474
513
|
"id": zod.number(),
|
|
475
514
|
"label": zod.string(),
|
|
476
515
|
"text": zod.string()
|
|
477
|
-
})).max(putApiAlphaCommentSaveResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
478
|
-
"note": zod.string().max(putApiAlphaCommentSaveResponseCommentViewCreatorNoteMax).optional(),
|
|
516
|
+
})).max(exports.putApiAlphaCommentSaveResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
517
|
+
"note": zod.string().max(exports.putApiAlphaCommentSaveResponseCommentViewCreatorNoteMax).optional(),
|
|
479
518
|
"flair": zod.string().optional(),
|
|
480
519
|
"published": zod.string().optional(),
|
|
481
520
|
"title": zod.string().nullish()
|
|
@@ -551,7 +590,7 @@ export const putApiAlphaCommentSaveResponse = zod.object({
|
|
|
551
590
|
"choice_text": zod.string(),
|
|
552
591
|
"sort_order": zod.number(),
|
|
553
592
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
554
|
-
})).max(putApiAlphaCommentSaveResponseCommentViewPostPollChoicesMax),
|
|
593
|
+
})).max(exports.putApiAlphaCommentSaveResponseCommentViewPostPollChoicesMax),
|
|
555
594
|
"my_votes": zod.array(zod.number()).optional()
|
|
556
595
|
}).optional()
|
|
557
596
|
}),
|
|
@@ -564,22 +603,22 @@ export const putApiAlphaCommentSaveResponse = zod.object({
|
|
|
564
603
|
/**
|
|
565
604
|
* @summary Subscribe to a comment.
|
|
566
605
|
*/
|
|
567
|
-
|
|
606
|
+
exports.putApiAlphaCommentSubscribeBody = zod.object({
|
|
568
607
|
"comment_id": zod.number(),
|
|
569
608
|
"subscribe": zod.boolean()
|
|
570
609
|
});
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
610
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
611
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorNoteMax = 50;
|
|
612
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventMaxAttendeesDefault = 0;
|
|
613
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventParticipantCountDefault = 0;
|
|
614
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventFullDefault = false;
|
|
615
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventAnonymousParticipationDefault = false;
|
|
616
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventOnlineDefault = false;
|
|
617
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventEventFeeAmountDefault = 0;
|
|
618
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollLocalOnlyDefault = false;
|
|
619
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
|
|
620
|
+
exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesMax = 10;
|
|
621
|
+
exports.putApiAlphaCommentSubscribeResponse = zod.object({
|
|
583
622
|
"comment_view": zod.object({
|
|
584
623
|
"activity_alert": zod.boolean(),
|
|
585
624
|
"banned_from_community": zod.boolean(),
|
|
@@ -654,8 +693,8 @@ export const putApiAlphaCommentSubscribeResponse = zod.object({
|
|
|
654
693
|
"id": zod.number(),
|
|
655
694
|
"label": zod.string(),
|
|
656
695
|
"text": zod.string()
|
|
657
|
-
})).max(putApiAlphaCommentSubscribeResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
658
|
-
"note": zod.string().max(putApiAlphaCommentSubscribeResponseCommentViewCreatorNoteMax).optional(),
|
|
696
|
+
})).max(exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
697
|
+
"note": zod.string().max(exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorNoteMax).optional(),
|
|
659
698
|
"flair": zod.string().optional(),
|
|
660
699
|
"published": zod.string().optional(),
|
|
661
700
|
"title": zod.string().nullish()
|
|
@@ -731,7 +770,7 @@ export const putApiAlphaCommentSubscribeResponse = zod.object({
|
|
|
731
770
|
"choice_text": zod.string(),
|
|
732
771
|
"sort_order": zod.number(),
|
|
733
772
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
734
|
-
})).max(putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesMax),
|
|
773
|
+
})).max(exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesMax),
|
|
735
774
|
"my_votes": zod.array(zod.number()).optional()
|
|
736
775
|
}).optional()
|
|
737
776
|
}),
|
|
@@ -744,24 +783,24 @@ export const putApiAlphaCommentSubscribeResponse = zod.object({
|
|
|
744
783
|
/**
|
|
745
784
|
* @summary Create a comment.
|
|
746
785
|
*/
|
|
747
|
-
|
|
786
|
+
exports.postApiAlphaCommentBody = zod.object({
|
|
748
787
|
"body": zod.string(),
|
|
749
788
|
"post_id": zod.number(),
|
|
750
789
|
"parent_id": zod.number().optional(),
|
|
751
790
|
"language_id": zod.number().optional()
|
|
752
791
|
});
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
792
|
+
exports.postApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
793
|
+
exports.postApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
|
|
794
|
+
exports.postApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;
|
|
795
|
+
exports.postApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;
|
|
796
|
+
exports.postApiAlphaCommentResponseCommentViewPostEventFullDefault = false;
|
|
797
|
+
exports.postApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;
|
|
798
|
+
exports.postApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;
|
|
799
|
+
exports.postApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;
|
|
800
|
+
exports.postApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;
|
|
801
|
+
exports.postApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
|
|
802
|
+
exports.postApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
|
|
803
|
+
exports.postApiAlphaCommentResponse = zod.object({
|
|
765
804
|
"comment_view": zod.object({
|
|
766
805
|
"activity_alert": zod.boolean(),
|
|
767
806
|
"banned_from_community": zod.boolean(),
|
|
@@ -836,8 +875,8 @@ export const postApiAlphaCommentResponse = zod.object({
|
|
|
836
875
|
"id": zod.number(),
|
|
837
876
|
"label": zod.string(),
|
|
838
877
|
"text": zod.string()
|
|
839
|
-
})).max(postApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
840
|
-
"note": zod.string().max(postApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
|
|
878
|
+
})).max(exports.postApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
879
|
+
"note": zod.string().max(exports.postApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
|
|
841
880
|
"flair": zod.string().optional(),
|
|
842
881
|
"published": zod.string().optional(),
|
|
843
882
|
"title": zod.string().nullish()
|
|
@@ -913,7 +952,7 @@ export const postApiAlphaCommentResponse = zod.object({
|
|
|
913
952
|
"choice_text": zod.string(),
|
|
914
953
|
"sort_order": zod.number(),
|
|
915
954
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
916
|
-
})).max(postApiAlphaCommentResponseCommentViewPostPollChoicesMax),
|
|
955
|
+
})).max(exports.postApiAlphaCommentResponseCommentViewPostPollChoicesMax),
|
|
917
956
|
"my_votes": zod.array(zod.number()).optional()
|
|
918
957
|
}).optional()
|
|
919
958
|
}),
|
|
@@ -926,25 +965,25 @@ export const postApiAlphaCommentResponse = zod.object({
|
|
|
926
965
|
/**
|
|
927
966
|
* @summary Edit a comment.
|
|
928
967
|
*/
|
|
929
|
-
|
|
930
|
-
|
|
968
|
+
exports.putApiAlphaCommentBodyDistinguishedDefault = false;
|
|
969
|
+
exports.putApiAlphaCommentBody = zod.object({
|
|
931
970
|
"body": zod.string(),
|
|
932
971
|
"comment_id": zod.number(),
|
|
933
972
|
"language_id": zod.number().optional(),
|
|
934
973
|
"distinguished": zod.boolean().optional().describe('Visibly mark reply as from a moderator in the web UI')
|
|
935
974
|
});
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
975
|
+
exports.putApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
976
|
+
exports.putApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
|
|
977
|
+
exports.putApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;
|
|
978
|
+
exports.putApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;
|
|
979
|
+
exports.putApiAlphaCommentResponseCommentViewPostEventFullDefault = false;
|
|
980
|
+
exports.putApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;
|
|
981
|
+
exports.putApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;
|
|
982
|
+
exports.putApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;
|
|
983
|
+
exports.putApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;
|
|
984
|
+
exports.putApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
|
|
985
|
+
exports.putApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
|
|
986
|
+
exports.putApiAlphaCommentResponse = zod.object({
|
|
948
987
|
"comment_view": zod.object({
|
|
949
988
|
"activity_alert": zod.boolean(),
|
|
950
989
|
"banned_from_community": zod.boolean(),
|
|
@@ -1019,8 +1058,8 @@ export const putApiAlphaCommentResponse = zod.object({
|
|
|
1019
1058
|
"id": zod.number(),
|
|
1020
1059
|
"label": zod.string(),
|
|
1021
1060
|
"text": zod.string()
|
|
1022
|
-
})).max(putApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1023
|
-
"note": zod.string().max(putApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
|
|
1061
|
+
})).max(exports.putApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1062
|
+
"note": zod.string().max(exports.putApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
|
|
1024
1063
|
"flair": zod.string().optional(),
|
|
1025
1064
|
"published": zod.string().optional(),
|
|
1026
1065
|
"title": zod.string().nullish()
|
|
@@ -1096,7 +1135,7 @@ export const putApiAlphaCommentResponse = zod.object({
|
|
|
1096
1135
|
"choice_text": zod.string(),
|
|
1097
1136
|
"sort_order": zod.number(),
|
|
1098
1137
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
1099
|
-
})).max(putApiAlphaCommentResponseCommentViewPostPollChoicesMax),
|
|
1138
|
+
})).max(exports.putApiAlphaCommentResponseCommentViewPostPollChoicesMax),
|
|
1100
1139
|
"my_votes": zod.array(zod.number()).optional()
|
|
1101
1140
|
}).optional()
|
|
1102
1141
|
}),
|
|
@@ -1109,21 +1148,21 @@ export const putApiAlphaCommentResponse = zod.object({
|
|
|
1109
1148
|
/**
|
|
1110
1149
|
* @summary Get / fetch a comment.
|
|
1111
1150
|
*/
|
|
1112
|
-
|
|
1151
|
+
exports.getApiAlphaCommentQueryParams = zod.object({
|
|
1113
1152
|
"id": zod.number()
|
|
1114
1153
|
});
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1154
|
+
exports.getApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
1155
|
+
exports.getApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
|
|
1156
|
+
exports.getApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;
|
|
1157
|
+
exports.getApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;
|
|
1158
|
+
exports.getApiAlphaCommentResponseCommentViewPostEventFullDefault = false;
|
|
1159
|
+
exports.getApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;
|
|
1160
|
+
exports.getApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;
|
|
1161
|
+
exports.getApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;
|
|
1162
|
+
exports.getApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;
|
|
1163
|
+
exports.getApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
|
|
1164
|
+
exports.getApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
|
|
1165
|
+
exports.getApiAlphaCommentResponse = zod.object({
|
|
1127
1166
|
"comment_view": zod.object({
|
|
1128
1167
|
"activity_alert": zod.boolean(),
|
|
1129
1168
|
"banned_from_community": zod.boolean(),
|
|
@@ -1198,8 +1237,8 @@ export const getApiAlphaCommentResponse = zod.object({
|
|
|
1198
1237
|
"id": zod.number(),
|
|
1199
1238
|
"label": zod.string(),
|
|
1200
1239
|
"text": zod.string()
|
|
1201
|
-
})).max(getApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1202
|
-
"note": zod.string().max(getApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
|
|
1240
|
+
})).max(exports.getApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1241
|
+
"note": zod.string().max(exports.getApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
|
|
1203
1242
|
"flair": zod.string().optional(),
|
|
1204
1243
|
"published": zod.string().optional(),
|
|
1205
1244
|
"title": zod.string().nullish()
|
|
@@ -1275,7 +1314,7 @@ export const getApiAlphaCommentResponse = zod.object({
|
|
|
1275
1314
|
"choice_text": zod.string(),
|
|
1276
1315
|
"sort_order": zod.number(),
|
|
1277
1316
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
1278
|
-
})).max(getApiAlphaCommentResponseCommentViewPostPollChoicesMax),
|
|
1317
|
+
})).max(exports.getApiAlphaCommentResponseCommentViewPostPollChoicesMax),
|
|
1279
1318
|
"my_votes": zod.array(zod.number()).optional()
|
|
1280
1319
|
}).optional()
|
|
1281
1320
|
}),
|
|
@@ -1288,22 +1327,22 @@ export const getApiAlphaCommentResponse = zod.object({
|
|
|
1288
1327
|
/**
|
|
1289
1328
|
* @summary Delete a comment.
|
|
1290
1329
|
*/
|
|
1291
|
-
|
|
1330
|
+
exports.postApiAlphaCommentDeleteBody = zod.object({
|
|
1292
1331
|
"comment_id": zod.number(),
|
|
1293
1332
|
"deleted": zod.boolean()
|
|
1294
1333
|
});
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1334
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
1335
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewCreatorNoteMax = 50;
|
|
1336
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewPostEventMaxAttendeesDefault = 0;
|
|
1337
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewPostEventParticipantCountDefault = 0;
|
|
1338
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewPostEventFullDefault = false;
|
|
1339
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewPostEventAnonymousParticipationDefault = false;
|
|
1340
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewPostEventOnlineDefault = false;
|
|
1341
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewPostEventEventFeeAmountDefault = 0;
|
|
1342
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewPostPollLocalOnlyDefault = false;
|
|
1343
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
|
|
1344
|
+
exports.postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesMax = 10;
|
|
1345
|
+
exports.postApiAlphaCommentDeleteResponse = zod.object({
|
|
1307
1346
|
"comment_view": zod.object({
|
|
1308
1347
|
"activity_alert": zod.boolean(),
|
|
1309
1348
|
"banned_from_community": zod.boolean(),
|
|
@@ -1378,8 +1417,8 @@ export const postApiAlphaCommentDeleteResponse = zod.object({
|
|
|
1378
1417
|
"id": zod.number(),
|
|
1379
1418
|
"label": zod.string(),
|
|
1380
1419
|
"text": zod.string()
|
|
1381
|
-
})).max(postApiAlphaCommentDeleteResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1382
|
-
"note": zod.string().max(postApiAlphaCommentDeleteResponseCommentViewCreatorNoteMax).optional(),
|
|
1420
|
+
})).max(exports.postApiAlphaCommentDeleteResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1421
|
+
"note": zod.string().max(exports.postApiAlphaCommentDeleteResponseCommentViewCreatorNoteMax).optional(),
|
|
1383
1422
|
"flair": zod.string().optional(),
|
|
1384
1423
|
"published": zod.string().optional(),
|
|
1385
1424
|
"title": zod.string().nullish()
|
|
@@ -1455,7 +1494,7 @@ export const postApiAlphaCommentDeleteResponse = zod.object({
|
|
|
1455
1494
|
"choice_text": zod.string(),
|
|
1456
1495
|
"sort_order": zod.number(),
|
|
1457
1496
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
1458
|
-
})).max(postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesMax),
|
|
1497
|
+
})).max(exports.postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesMax),
|
|
1459
1498
|
"my_votes": zod.array(zod.number()).optional()
|
|
1460
1499
|
}).optional()
|
|
1461
1500
|
}),
|
|
@@ -1468,27 +1507,27 @@ export const postApiAlphaCommentDeleteResponse = zod.object({
|
|
|
1468
1507
|
/**
|
|
1469
1508
|
* @summary Report a comment.
|
|
1470
1509
|
*/
|
|
1471
|
-
|
|
1472
|
-
|
|
1510
|
+
exports.postApiAlphaCommentReportBodyReportRemoteDefault = true;
|
|
1511
|
+
exports.postApiAlphaCommentReportBody = zod.object({
|
|
1473
1512
|
"comment_id": zod.number(),
|
|
1474
1513
|
"reason": zod.string(),
|
|
1475
1514
|
"description": zod.string().optional(),
|
|
1476
|
-
"report_remote": zod.boolean().default(postApiAlphaCommentReportBodyReportRemoteDefault).describe('Also send report to originating instance')
|
|
1515
|
+
"report_remote": zod.boolean().default(exports.postApiAlphaCommentReportBodyReportRemoteDefault).describe('Also send report to originating instance')
|
|
1477
1516
|
});
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1517
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewCreatorExtraFieldsMax = 4;
|
|
1518
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewCreatorNoteMax = 50;
|
|
1519
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewPostEventMaxAttendeesDefault = 0;
|
|
1520
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewPostEventParticipantCountDefault = 0;
|
|
1521
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewPostEventFullDefault = false;
|
|
1522
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewPostEventAnonymousParticipationDefault = false;
|
|
1523
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewPostEventOnlineDefault = false;
|
|
1524
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewPostEventEventFeeAmountDefault = 0;
|
|
1525
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewPostPollLocalOnlyDefault = false;
|
|
1526
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesItemNumVotesDefault = 0;
|
|
1527
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesMax = 10;
|
|
1528
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorExtraFieldsMax = 4;
|
|
1529
|
+
exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorNoteMax = 50;
|
|
1530
|
+
exports.postApiAlphaCommentReportResponse = zod.object({
|
|
1492
1531
|
"comment_report_view": zod.object({
|
|
1493
1532
|
"activity_alert": zod.boolean(),
|
|
1494
1533
|
"banned_from_community": zod.boolean(),
|
|
@@ -1563,8 +1602,8 @@ export const postApiAlphaCommentReportResponse = zod.object({
|
|
|
1563
1602
|
"id": zod.number(),
|
|
1564
1603
|
"label": zod.string(),
|
|
1565
1604
|
"text": zod.string()
|
|
1566
|
-
})).max(postApiAlphaCommentReportResponseCommentReportViewCreatorExtraFieldsMax).optional(),
|
|
1567
|
-
"note": zod.string().max(postApiAlphaCommentReportResponseCommentReportViewCreatorNoteMax).optional(),
|
|
1605
|
+
})).max(exports.postApiAlphaCommentReportResponseCommentReportViewCreatorExtraFieldsMax).optional(),
|
|
1606
|
+
"note": zod.string().max(exports.postApiAlphaCommentReportResponseCommentReportViewCreatorNoteMax).optional(),
|
|
1568
1607
|
"flair": zod.string().optional(),
|
|
1569
1608
|
"published": zod.string().optional(),
|
|
1570
1609
|
"title": zod.string().nullish()
|
|
@@ -1640,7 +1679,7 @@ export const postApiAlphaCommentReportResponse = zod.object({
|
|
|
1640
1679
|
"choice_text": zod.string(),
|
|
1641
1680
|
"sort_order": zod.number(),
|
|
1642
1681
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
1643
|
-
})).max(postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesMax),
|
|
1682
|
+
})).max(exports.postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesMax),
|
|
1644
1683
|
"my_votes": zod.array(zod.number()).optional()
|
|
1645
1684
|
}).optional()
|
|
1646
1685
|
}),
|
|
@@ -1675,8 +1714,8 @@ export const postApiAlphaCommentReportResponse = zod.object({
|
|
|
1675
1714
|
"id": zod.number(),
|
|
1676
1715
|
"label": zod.string(),
|
|
1677
1716
|
"text": zod.string()
|
|
1678
|
-
})).max(postApiAlphaCommentReportResponseCommentReportViewCommentCreatorExtraFieldsMax).optional(),
|
|
1679
|
-
"note": zod.string().max(postApiAlphaCommentReportResponseCommentReportViewCommentCreatorNoteMax).optional(),
|
|
1717
|
+
})).max(exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorExtraFieldsMax).optional(),
|
|
1718
|
+
"note": zod.string().max(exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorNoteMax).optional(),
|
|
1680
1719
|
"flair": zod.string().optional(),
|
|
1681
1720
|
"published": zod.string().optional(),
|
|
1682
1721
|
"title": zod.string().nullish()
|
|
@@ -1686,23 +1725,23 @@ export const postApiAlphaCommentReportResponse = zod.object({
|
|
|
1686
1725
|
/**
|
|
1687
1726
|
* @summary Remove a comment as a moderator.
|
|
1688
1727
|
*/
|
|
1689
|
-
|
|
1728
|
+
exports.postApiAlphaCommentRemoveBody = zod.object({
|
|
1690
1729
|
"comment_id": zod.number(),
|
|
1691
1730
|
"removed": zod.boolean(),
|
|
1692
1731
|
"reason": zod.string().optional()
|
|
1693
1732
|
});
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1733
|
+
exports.postApiAlphaCommentRemoveResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
1734
|
+
exports.postApiAlphaCommentRemoveResponseCommentViewCreatorNoteMax = 50;
|
|
1735
|
+
exports.postApiAlphaCommentRemoveResponseCommentViewPostEventMaxAttendeesDefault = 0;
|
|
1736
|
+
exports.postApiAlphaCommentRemoveResponseCommentViewPostEventParticipantCountDefault = 0;
|
|
1737
|
+
exports.postApiAlphaCommentRemoveResponseCommentViewPostEventFullDefault = false;
|
|
1738
|
+
exports.postApiAlphaCommentRemoveResponseCommentViewPostEventAnonymousParticipationDefault = false;
|
|
1739
|
+
exports.postApiAlphaCommentRemoveResponseCommentViewPostEventOnlineDefault = false;
|
|
1740
|
+
exports.postApiAlphaCommentRemoveResponseCommentViewPostEventEventFeeAmountDefault = 0;
|
|
1741
|
+
exports.postApiAlphaCommentRemoveResponseCommentViewPostPollLocalOnlyDefault = false;
|
|
1742
|
+
exports.postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
|
|
1743
|
+
exports.postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesMax = 10;
|
|
1744
|
+
exports.postApiAlphaCommentRemoveResponse = zod.object({
|
|
1706
1745
|
"comment_view": zod.object({
|
|
1707
1746
|
"activity_alert": zod.boolean(),
|
|
1708
1747
|
"banned_from_community": zod.boolean(),
|
|
@@ -1777,8 +1816,8 @@ export const postApiAlphaCommentRemoveResponse = zod.object({
|
|
|
1777
1816
|
"id": zod.number(),
|
|
1778
1817
|
"label": zod.string(),
|
|
1779
1818
|
"text": zod.string()
|
|
1780
|
-
})).max(postApiAlphaCommentRemoveResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1781
|
-
"note": zod.string().max(postApiAlphaCommentRemoveResponseCommentViewCreatorNoteMax).optional(),
|
|
1819
|
+
})).max(exports.postApiAlphaCommentRemoveResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
1820
|
+
"note": zod.string().max(exports.postApiAlphaCommentRemoveResponseCommentViewCreatorNoteMax).optional(),
|
|
1782
1821
|
"flair": zod.string().optional(),
|
|
1783
1822
|
"published": zod.string().optional(),
|
|
1784
1823
|
"title": zod.string().nullish()
|
|
@@ -1854,7 +1893,7 @@ export const postApiAlphaCommentRemoveResponse = zod.object({
|
|
|
1854
1893
|
"choice_text": zod.string(),
|
|
1855
1894
|
"sort_order": zod.number(),
|
|
1856
1895
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
1857
|
-
})).max(postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesMax),
|
|
1896
|
+
})).max(exports.postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesMax),
|
|
1858
1897
|
"my_votes": zod.array(zod.number()).optional()
|
|
1859
1898
|
}).optional()
|
|
1860
1899
|
}),
|
|
@@ -1867,24 +1906,24 @@ export const postApiAlphaCommentRemoveResponse = zod.object({
|
|
|
1867
1906
|
/**
|
|
1868
1907
|
* @summary Mark a comment reply as read.
|
|
1869
1908
|
*/
|
|
1870
|
-
|
|
1909
|
+
exports.postApiAlphaCommentMarkAsReadBody = zod.object({
|
|
1871
1910
|
"comment_reply_id": zod.number(),
|
|
1872
1911
|
"read": zod.boolean()
|
|
1873
1912
|
});
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1913
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorExtraFieldsMax = 4;
|
|
1914
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorNoteMax = 50;
|
|
1915
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventMaxAttendeesDefault = 0;
|
|
1916
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventParticipantCountDefault = 0;
|
|
1917
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventFullDefault = false;
|
|
1918
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventAnonymousParticipationDefault = false;
|
|
1919
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventOnlineDefault = false;
|
|
1920
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventEventFeeAmountDefault = 0;
|
|
1921
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollLocalOnlyDefault = false;
|
|
1922
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = 0;
|
|
1923
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesMax = 10;
|
|
1924
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientExtraFieldsMax = 4;
|
|
1925
|
+
exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientNoteMax = 50;
|
|
1926
|
+
exports.postApiAlphaCommentMarkAsReadResponse = zod.object({
|
|
1888
1927
|
"comment_reply_view": zod.object({
|
|
1889
1928
|
"activity_alert": zod.boolean(),
|
|
1890
1929
|
"comment": zod.object({
|
|
@@ -1965,8 +2004,8 @@ export const postApiAlphaCommentMarkAsReadResponse = zod.object({
|
|
|
1965
2004
|
"id": zod.number(),
|
|
1966
2005
|
"label": zod.string(),
|
|
1967
2006
|
"text": zod.string()
|
|
1968
|
-
})).max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorExtraFieldsMax).optional(),
|
|
1969
|
-
"note": zod.string().max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorNoteMax).optional(),
|
|
2007
|
+
})).max(exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorExtraFieldsMax).optional(),
|
|
2008
|
+
"note": zod.string().max(exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorNoteMax).optional(),
|
|
1970
2009
|
"flair": zod.string().optional(),
|
|
1971
2010
|
"published": zod.string().optional(),
|
|
1972
2011
|
"title": zod.string().nullish()
|
|
@@ -2043,7 +2082,7 @@ export const postApiAlphaCommentMarkAsReadResponse = zod.object({
|
|
|
2043
2082
|
"choice_text": zod.string(),
|
|
2044
2083
|
"sort_order": zod.number(),
|
|
2045
2084
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
2046
|
-
})).max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesMax),
|
|
2085
|
+
})).max(exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesMax),
|
|
2047
2086
|
"my_votes": zod.array(zod.number()).optional()
|
|
2048
2087
|
}).optional()
|
|
2049
2088
|
}),
|
|
@@ -2064,8 +2103,8 @@ export const postApiAlphaCommentMarkAsReadResponse = zod.object({
|
|
|
2064
2103
|
"id": zod.number(),
|
|
2065
2104
|
"label": zod.string(),
|
|
2066
2105
|
"text": zod.string()
|
|
2067
|
-
})).max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientExtraFieldsMax).optional(),
|
|
2068
|
-
"note": zod.string().max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientNoteMax).optional(),
|
|
2106
|
+
})).max(exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientExtraFieldsMax).optional(),
|
|
2107
|
+
"note": zod.string().max(exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientNoteMax).optional(),
|
|
2069
2108
|
"flair": zod.string().optional(),
|
|
2070
2109
|
"published": zod.string().optional(),
|
|
2071
2110
|
"title": zod.string().nullish()
|
|
@@ -2077,24 +2116,24 @@ export const postApiAlphaCommentMarkAsReadResponse = zod.object({
|
|
|
2077
2116
|
/**
|
|
2078
2117
|
* @summary Mark a comment as the preferred answer to a question.
|
|
2079
2118
|
*/
|
|
2080
|
-
|
|
2119
|
+
exports.postApiAlphaCommentMarkAsAnswerBody = zod.object({
|
|
2081
2120
|
"comment_reply_id": zod.number(),
|
|
2082
2121
|
"answer": zod.boolean()
|
|
2083
2122
|
});
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2123
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorExtraFieldsMax = 4;
|
|
2124
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorNoteMax = 50;
|
|
2125
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventMaxAttendeesDefault = 0;
|
|
2126
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventParticipantCountDefault = 0;
|
|
2127
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventFullDefault = false;
|
|
2128
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventAnonymousParticipationDefault = false;
|
|
2129
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventOnlineDefault = false;
|
|
2130
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventEventFeeAmountDefault = 0;
|
|
2131
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollLocalOnlyDefault = false;
|
|
2132
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = 0;
|
|
2133
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesMax = 10;
|
|
2134
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientExtraFieldsMax = 4;
|
|
2135
|
+
exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientNoteMax = 50;
|
|
2136
|
+
exports.postApiAlphaCommentMarkAsAnswerResponse = zod.object({
|
|
2098
2137
|
"comment_reply_view": zod.object({
|
|
2099
2138
|
"activity_alert": zod.boolean(),
|
|
2100
2139
|
"comment": zod.object({
|
|
@@ -2175,8 +2214,8 @@ export const postApiAlphaCommentMarkAsAnswerResponse = zod.object({
|
|
|
2175
2214
|
"id": zod.number(),
|
|
2176
2215
|
"label": zod.string(),
|
|
2177
2216
|
"text": zod.string()
|
|
2178
|
-
})).max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorExtraFieldsMax).optional(),
|
|
2179
|
-
"note": zod.string().max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorNoteMax).optional(),
|
|
2217
|
+
})).max(exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorExtraFieldsMax).optional(),
|
|
2218
|
+
"note": zod.string().max(exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorNoteMax).optional(),
|
|
2180
2219
|
"flair": zod.string().optional(),
|
|
2181
2220
|
"published": zod.string().optional(),
|
|
2182
2221
|
"title": zod.string().nullish()
|
|
@@ -2253,7 +2292,7 @@ export const postApiAlphaCommentMarkAsAnswerResponse = zod.object({
|
|
|
2253
2292
|
"choice_text": zod.string(),
|
|
2254
2293
|
"sort_order": zod.number(),
|
|
2255
2294
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
2256
|
-
})).max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesMax),
|
|
2295
|
+
})).max(exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesMax),
|
|
2257
2296
|
"my_votes": zod.array(zod.number()).optional()
|
|
2258
2297
|
}).optional()
|
|
2259
2298
|
}),
|
|
@@ -2274,8 +2313,8 @@ export const postApiAlphaCommentMarkAsAnswerResponse = zod.object({
|
|
|
2274
2313
|
"id": zod.number(),
|
|
2275
2314
|
"label": zod.string(),
|
|
2276
2315
|
"text": zod.string()
|
|
2277
|
-
})).max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientExtraFieldsMax).optional(),
|
|
2278
|
-
"note": zod.string().max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientNoteMax).optional(),
|
|
2316
|
+
})).max(exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientExtraFieldsMax).optional(),
|
|
2317
|
+
"note": zod.string().max(exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientNoteMax).optional(),
|
|
2279
2318
|
"flair": zod.string().optional(),
|
|
2280
2319
|
"published": zod.string().optional(),
|
|
2281
2320
|
"title": zod.string().nullish()
|
|
@@ -2287,22 +2326,22 @@ export const postApiAlphaCommentMarkAsAnswerResponse = zod.object({
|
|
|
2287
2326
|
/**
|
|
2288
2327
|
* @summary Lock a comment chain as a moderator.
|
|
2289
2328
|
*/
|
|
2290
|
-
|
|
2329
|
+
exports.postApiAlphaCommentLockBody = zod.object({
|
|
2291
2330
|
"comment_id": zod.number(),
|
|
2292
2331
|
"locked": zod.boolean()
|
|
2293
2332
|
});
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2333
|
+
exports.postApiAlphaCommentLockResponseCommentViewCreatorExtraFieldsMax = 4;
|
|
2334
|
+
exports.postApiAlphaCommentLockResponseCommentViewCreatorNoteMax = 50;
|
|
2335
|
+
exports.postApiAlphaCommentLockResponseCommentViewPostEventMaxAttendeesDefault = 0;
|
|
2336
|
+
exports.postApiAlphaCommentLockResponseCommentViewPostEventParticipantCountDefault = 0;
|
|
2337
|
+
exports.postApiAlphaCommentLockResponseCommentViewPostEventFullDefault = false;
|
|
2338
|
+
exports.postApiAlphaCommentLockResponseCommentViewPostEventAnonymousParticipationDefault = false;
|
|
2339
|
+
exports.postApiAlphaCommentLockResponseCommentViewPostEventOnlineDefault = false;
|
|
2340
|
+
exports.postApiAlphaCommentLockResponseCommentViewPostEventEventFeeAmountDefault = 0;
|
|
2341
|
+
exports.postApiAlphaCommentLockResponseCommentViewPostPollLocalOnlyDefault = false;
|
|
2342
|
+
exports.postApiAlphaCommentLockResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
|
|
2343
|
+
exports.postApiAlphaCommentLockResponseCommentViewPostPollChoicesMax = 10;
|
|
2344
|
+
exports.postApiAlphaCommentLockResponse = zod.object({
|
|
2306
2345
|
"comment_view": zod.object({
|
|
2307
2346
|
"activity_alert": zod.boolean(),
|
|
2308
2347
|
"banned_from_community": zod.boolean(),
|
|
@@ -2377,8 +2416,8 @@ export const postApiAlphaCommentLockResponse = zod.object({
|
|
|
2377
2416
|
"id": zod.number(),
|
|
2378
2417
|
"label": zod.string(),
|
|
2379
2418
|
"text": zod.string()
|
|
2380
|
-
})).max(postApiAlphaCommentLockResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
2381
|
-
"note": zod.string().max(postApiAlphaCommentLockResponseCommentViewCreatorNoteMax).optional(),
|
|
2419
|
+
})).max(exports.postApiAlphaCommentLockResponseCommentViewCreatorExtraFieldsMax).optional(),
|
|
2420
|
+
"note": zod.string().max(exports.postApiAlphaCommentLockResponseCommentViewCreatorNoteMax).optional(),
|
|
2382
2421
|
"flair": zod.string().optional(),
|
|
2383
2422
|
"published": zod.string().optional(),
|
|
2384
2423
|
"title": zod.string().nullish()
|
|
@@ -2454,7 +2493,7 @@ export const postApiAlphaCommentLockResponse = zod.object({
|
|
|
2454
2493
|
"choice_text": zod.string(),
|
|
2455
2494
|
"sort_order": zod.number(),
|
|
2456
2495
|
"num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
|
|
2457
|
-
})).max(postApiAlphaCommentLockResponseCommentViewPostPollChoicesMax),
|
|
2496
|
+
})).max(exports.postApiAlphaCommentLockResponseCommentViewPostPollChoicesMax),
|
|
2458
2497
|
"my_votes": zod.array(zod.number()).optional()
|
|
2459
2498
|
}).optional()
|
|
2460
2499
|
}),
|
|
@@ -2467,16 +2506,16 @@ export const postApiAlphaCommentLockResponse = zod.object({
|
|
|
2467
2506
|
/**
|
|
2468
2507
|
* @summary View comment votes as a moderator.
|
|
2469
2508
|
*/
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2509
|
+
exports.getApiAlphaCommentLikeListQueryPageDefault = 1;
|
|
2510
|
+
exports.getApiAlphaCommentLikeListQueryLimitDefault = 50;
|
|
2511
|
+
exports.getApiAlphaCommentLikeListQueryParams = zod.object({
|
|
2473
2512
|
"comment_id": zod.number(),
|
|
2474
|
-
"page": zod.number().default(getApiAlphaCommentLikeListQueryPageDefault),
|
|
2475
|
-
"limit": zod.number().default(getApiAlphaCommentLikeListQueryLimitDefault)
|
|
2513
|
+
"page": zod.number().default(exports.getApiAlphaCommentLikeListQueryPageDefault),
|
|
2514
|
+
"limit": zod.number().default(exports.getApiAlphaCommentLikeListQueryLimitDefault)
|
|
2476
2515
|
});
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2516
|
+
exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorExtraFieldsMax = 4;
|
|
2517
|
+
exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorNoteMax = 50;
|
|
2518
|
+
exports.getApiAlphaCommentLikeListResponse = zod.object({
|
|
2480
2519
|
"comment_likes": zod.array(zod.object({
|
|
2481
2520
|
"score": zod.number(),
|
|
2482
2521
|
"creator_banned_from_community": zod.boolean(),
|
|
@@ -2498,8 +2537,8 @@ export const getApiAlphaCommentLikeListResponse = zod.object({
|
|
|
2498
2537
|
"id": zod.number(),
|
|
2499
2538
|
"label": zod.string(),
|
|
2500
2539
|
"text": zod.string()
|
|
2501
|
-
})).max(getApiAlphaCommentLikeListResponseCommentLikesItemCreatorExtraFieldsMax).optional(),
|
|
2502
|
-
"note": zod.string().max(getApiAlphaCommentLikeListResponseCommentLikesItemCreatorNoteMax).optional(),
|
|
2540
|
+
})).max(exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorExtraFieldsMax).optional(),
|
|
2541
|
+
"note": zod.string().max(exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorNoteMax).optional(),
|
|
2503
2542
|
"flair": zod.string().optional(),
|
|
2504
2543
|
"published": zod.string().optional(),
|
|
2505
2544
|
"title": zod.string().nullish()
|