@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
|
@@ -20,7 +20,6 @@ import type {
|
|
|
20
20
|
CommunityModerationUnbanRequest,
|
|
21
21
|
CommunityResponse,
|
|
22
22
|
CreateCommunityRequest,
|
|
23
|
-
DefaultError,
|
|
24
23
|
DeleteCommunityRequest,
|
|
25
24
|
EditCommunityRequest,
|
|
26
25
|
FollowCommunityRequest,
|
|
@@ -33,7 +32,6 @@ import type {
|
|
|
33
32
|
ModCommunityResponse,
|
|
34
33
|
PostView,
|
|
35
34
|
SubscribeCommunityRequest,
|
|
36
|
-
UnprocessableEntityResponse,
|
|
37
35
|
UserMeResponse
|
|
38
36
|
} from '../../schemas';
|
|
39
37
|
|
|
@@ -42,30 +40,6 @@ import { customFetch } from '../../mutator/custom-fetch';
|
|
|
42
40
|
/**
|
|
43
41
|
* @summary Get / fetch a community.
|
|
44
42
|
*/
|
|
45
|
-
export type getApiAlphaCommunityResponse200 = {
|
|
46
|
-
data: GetCommunityResponse
|
|
47
|
-
status: 200
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export type getApiAlphaCommunityResponse400 = {
|
|
51
|
-
data: DefaultError
|
|
52
|
-
status: 400
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export type getApiAlphaCommunityResponse422 = {
|
|
56
|
-
data: UnprocessableEntityResponse
|
|
57
|
-
status: 422
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export type getApiAlphaCommunityResponseSuccess = (getApiAlphaCommunityResponse200) & {
|
|
61
|
-
headers: Headers;
|
|
62
|
-
};
|
|
63
|
-
export type getApiAlphaCommunityResponseError = (getApiAlphaCommunityResponse400 | getApiAlphaCommunityResponse422) & {
|
|
64
|
-
headers: Headers;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
export type getApiAlphaCommunityResponse = (getApiAlphaCommunityResponseSuccess | getApiAlphaCommunityResponseError)
|
|
68
|
-
|
|
69
43
|
export const getGetApiAlphaCommunityUrl = (params?: GetApiAlphaCommunityParams,) => {
|
|
70
44
|
const normalizedParams = new URLSearchParams();
|
|
71
45
|
|
|
@@ -81,9 +55,9 @@ export const getGetApiAlphaCommunityUrl = (params?: GetApiAlphaCommunityParams,)
|
|
|
81
55
|
return stringifiedParams.length > 0 ? `/api/alpha/community?${stringifiedParams}` : `/api/alpha/community`
|
|
82
56
|
}
|
|
83
57
|
|
|
84
|
-
export const getApiAlphaCommunity = async (params?: GetApiAlphaCommunityParams, options?: RequestInit): Promise<
|
|
58
|
+
export const getApiAlphaCommunity = async (params?: GetApiAlphaCommunityParams, options?: RequestInit): Promise<GetCommunityResponse> => {
|
|
85
59
|
|
|
86
|
-
return customFetch<
|
|
60
|
+
return customFetch<GetCommunityResponse>(getGetApiAlphaCommunityUrl(params),
|
|
87
61
|
{
|
|
88
62
|
...options,
|
|
89
63
|
method: 'GET'
|
|
@@ -96,35 +70,6 @@ export const getApiAlphaCommunity = async (params?: GetApiAlphaCommunityParams,
|
|
|
96
70
|
/**
|
|
97
71
|
* @summary Create a new community.
|
|
98
72
|
*/
|
|
99
|
-
export type postApiAlphaCommunityResponse200 = {
|
|
100
|
-
data: CommunityResponse
|
|
101
|
-
status: 200
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export type postApiAlphaCommunityResponse400 = {
|
|
105
|
-
data: DefaultError
|
|
106
|
-
status: 400
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export type postApiAlphaCommunityResponse422 = {
|
|
110
|
-
data: UnprocessableEntityResponse
|
|
111
|
-
status: 422
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export type postApiAlphaCommunityResponse429 = {
|
|
115
|
-
data: DefaultError
|
|
116
|
-
status: 429
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export type postApiAlphaCommunityResponseSuccess = (postApiAlphaCommunityResponse200) & {
|
|
120
|
-
headers: Headers;
|
|
121
|
-
};
|
|
122
|
-
export type postApiAlphaCommunityResponseError = (postApiAlphaCommunityResponse400 | postApiAlphaCommunityResponse422 | postApiAlphaCommunityResponse429) & {
|
|
123
|
-
headers: Headers;
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
export type postApiAlphaCommunityResponse = (postApiAlphaCommunityResponseSuccess | postApiAlphaCommunityResponseError)
|
|
127
|
-
|
|
128
73
|
export const getPostApiAlphaCommunityUrl = () => {
|
|
129
74
|
|
|
130
75
|
|
|
@@ -133,9 +78,9 @@ export const getPostApiAlphaCommunityUrl = () => {
|
|
|
133
78
|
return `/api/alpha/community`
|
|
134
79
|
}
|
|
135
80
|
|
|
136
|
-
export const postApiAlphaCommunity = async (createCommunityRequest: CreateCommunityRequest, options?: RequestInit): Promise<
|
|
81
|
+
export const postApiAlphaCommunity = async (createCommunityRequest: CreateCommunityRequest, options?: RequestInit): Promise<CommunityResponse> => {
|
|
137
82
|
|
|
138
|
-
return customFetch<
|
|
83
|
+
return customFetch<CommunityResponse>(getPostApiAlphaCommunityUrl(),
|
|
139
84
|
{
|
|
140
85
|
...options,
|
|
141
86
|
method: 'POST',
|
|
@@ -149,30 +94,6 @@ export const postApiAlphaCommunity = async (createCommunityRequest: CreateCommun
|
|
|
149
94
|
/**
|
|
150
95
|
* @summary Edit community.
|
|
151
96
|
*/
|
|
152
|
-
export type putApiAlphaCommunityResponse200 = {
|
|
153
|
-
data: CommunityResponse
|
|
154
|
-
status: 200
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
export type putApiAlphaCommunityResponse400 = {
|
|
158
|
-
data: DefaultError
|
|
159
|
-
status: 400
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export type putApiAlphaCommunityResponse422 = {
|
|
163
|
-
data: UnprocessableEntityResponse
|
|
164
|
-
status: 422
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export type putApiAlphaCommunityResponseSuccess = (putApiAlphaCommunityResponse200) & {
|
|
168
|
-
headers: Headers;
|
|
169
|
-
};
|
|
170
|
-
export type putApiAlphaCommunityResponseError = (putApiAlphaCommunityResponse400 | putApiAlphaCommunityResponse422) & {
|
|
171
|
-
headers: Headers;
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
export type putApiAlphaCommunityResponse = (putApiAlphaCommunityResponseSuccess | putApiAlphaCommunityResponseError)
|
|
175
|
-
|
|
176
97
|
export const getPutApiAlphaCommunityUrl = () => {
|
|
177
98
|
|
|
178
99
|
|
|
@@ -181,9 +102,9 @@ export const getPutApiAlphaCommunityUrl = () => {
|
|
|
181
102
|
return `/api/alpha/community`
|
|
182
103
|
}
|
|
183
104
|
|
|
184
|
-
export const putApiAlphaCommunity = async (editCommunityRequest: EditCommunityRequest, options?: RequestInit): Promise<
|
|
105
|
+
export const putApiAlphaCommunity = async (editCommunityRequest: EditCommunityRequest, options?: RequestInit): Promise<CommunityResponse> => {
|
|
185
106
|
|
|
186
|
-
return customFetch<
|
|
107
|
+
return customFetch<CommunityResponse>(getPutApiAlphaCommunityUrl(),
|
|
187
108
|
{
|
|
188
109
|
...options,
|
|
189
110
|
method: 'PUT',
|
|
@@ -197,30 +118,6 @@ export const putApiAlphaCommunity = async (editCommunityRequest: EditCommunityRe
|
|
|
197
118
|
/**
|
|
198
119
|
* @summary List communities, with various filters.
|
|
199
120
|
*/
|
|
200
|
-
export type getApiAlphaCommunityListResponse200 = {
|
|
201
|
-
data: ListCommunitiesResponse
|
|
202
|
-
status: 200
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
export type getApiAlphaCommunityListResponse400 = {
|
|
206
|
-
data: DefaultError
|
|
207
|
-
status: 400
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export type getApiAlphaCommunityListResponse422 = {
|
|
211
|
-
data: UnprocessableEntityResponse
|
|
212
|
-
status: 422
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
export type getApiAlphaCommunityListResponseSuccess = (getApiAlphaCommunityListResponse200) & {
|
|
216
|
-
headers: Headers;
|
|
217
|
-
};
|
|
218
|
-
export type getApiAlphaCommunityListResponseError = (getApiAlphaCommunityListResponse400 | getApiAlphaCommunityListResponse422) & {
|
|
219
|
-
headers: Headers;
|
|
220
|
-
};
|
|
221
|
-
|
|
222
|
-
export type getApiAlphaCommunityListResponse = (getApiAlphaCommunityListResponseSuccess | getApiAlphaCommunityListResponseError)
|
|
223
|
-
|
|
224
121
|
export const getGetApiAlphaCommunityListUrl = (params?: GetApiAlphaCommunityListParams,) => {
|
|
225
122
|
const normalizedParams = new URLSearchParams();
|
|
226
123
|
|
|
@@ -236,9 +133,9 @@ export const getGetApiAlphaCommunityListUrl = (params?: GetApiAlphaCommunityList
|
|
|
236
133
|
return stringifiedParams.length > 0 ? `/api/alpha/community/list?${stringifiedParams}` : `/api/alpha/community/list`
|
|
237
134
|
}
|
|
238
135
|
|
|
239
|
-
export const getApiAlphaCommunityList = async (params?: GetApiAlphaCommunityListParams, options?: RequestInit): Promise<
|
|
136
|
+
export const getApiAlphaCommunityList = async (params?: GetApiAlphaCommunityListParams, options?: RequestInit): Promise<ListCommunitiesResponse> => {
|
|
240
137
|
|
|
241
|
-
return customFetch<
|
|
138
|
+
return customFetch<ListCommunitiesResponse>(getGetApiAlphaCommunityListUrl(params),
|
|
242
139
|
{
|
|
243
140
|
...options,
|
|
244
141
|
method: 'GET'
|
|
@@ -251,30 +148,6 @@ export const getApiAlphaCommunityList = async (params?: GetApiAlphaCommunityList
|
|
|
251
148
|
/**
|
|
252
149
|
* @summary Follow / subscribe to a community.
|
|
253
150
|
*/
|
|
254
|
-
export type postApiAlphaCommunityFollowResponse200 = {
|
|
255
|
-
data: CommunityResponse
|
|
256
|
-
status: 200
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
export type postApiAlphaCommunityFollowResponse400 = {
|
|
260
|
-
data: DefaultError
|
|
261
|
-
status: 400
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
export type postApiAlphaCommunityFollowResponse422 = {
|
|
265
|
-
data: UnprocessableEntityResponse
|
|
266
|
-
status: 422
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
export type postApiAlphaCommunityFollowResponseSuccess = (postApiAlphaCommunityFollowResponse200) & {
|
|
270
|
-
headers: Headers;
|
|
271
|
-
};
|
|
272
|
-
export type postApiAlphaCommunityFollowResponseError = (postApiAlphaCommunityFollowResponse400 | postApiAlphaCommunityFollowResponse422) & {
|
|
273
|
-
headers: Headers;
|
|
274
|
-
};
|
|
275
|
-
|
|
276
|
-
export type postApiAlphaCommunityFollowResponse = (postApiAlphaCommunityFollowResponseSuccess | postApiAlphaCommunityFollowResponseError)
|
|
277
|
-
|
|
278
151
|
export const getPostApiAlphaCommunityFollowUrl = () => {
|
|
279
152
|
|
|
280
153
|
|
|
@@ -283,9 +156,9 @@ export const getPostApiAlphaCommunityFollowUrl = () => {
|
|
|
283
156
|
return `/api/alpha/community/follow`
|
|
284
157
|
}
|
|
285
158
|
|
|
286
|
-
export const postApiAlphaCommunityFollow = async (followCommunityRequest: FollowCommunityRequest, options?: RequestInit): Promise<
|
|
159
|
+
export const postApiAlphaCommunityFollow = async (followCommunityRequest: FollowCommunityRequest, options?: RequestInit): Promise<CommunityResponse> => {
|
|
287
160
|
|
|
288
|
-
return customFetch<
|
|
161
|
+
return customFetch<CommunityResponse>(getPostApiAlphaCommunityFollowUrl(),
|
|
289
162
|
{
|
|
290
163
|
...options,
|
|
291
164
|
method: 'POST',
|
|
@@ -299,25 +172,6 @@ export const postApiAlphaCommunityFollow = async (followCommunityRequest: Follow
|
|
|
299
172
|
/**
|
|
300
173
|
* @summary Leave all communities and feeds for which the user is not a moderator or owner.
|
|
301
174
|
*/
|
|
302
|
-
export type postApiAlphaCommunityLeaveAllResponse200 = {
|
|
303
|
-
data: UserMeResponse
|
|
304
|
-
status: 200
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
export type postApiAlphaCommunityLeaveAllResponse400 = {
|
|
308
|
-
data: DefaultError
|
|
309
|
-
status: 400
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
export type postApiAlphaCommunityLeaveAllResponseSuccess = (postApiAlphaCommunityLeaveAllResponse200) & {
|
|
313
|
-
headers: Headers;
|
|
314
|
-
};
|
|
315
|
-
export type postApiAlphaCommunityLeaveAllResponseError = (postApiAlphaCommunityLeaveAllResponse400) & {
|
|
316
|
-
headers: Headers;
|
|
317
|
-
};
|
|
318
|
-
|
|
319
|
-
export type postApiAlphaCommunityLeaveAllResponse = (postApiAlphaCommunityLeaveAllResponseSuccess | postApiAlphaCommunityLeaveAllResponseError)
|
|
320
|
-
|
|
321
175
|
export const getPostApiAlphaCommunityLeaveAllUrl = () => {
|
|
322
176
|
|
|
323
177
|
|
|
@@ -326,9 +180,9 @@ export const getPostApiAlphaCommunityLeaveAllUrl = () => {
|
|
|
326
180
|
return `/api/alpha/community/leave_all`
|
|
327
181
|
}
|
|
328
182
|
|
|
329
|
-
export const postApiAlphaCommunityLeaveAll = async ( options?: RequestInit): Promise<
|
|
183
|
+
export const postApiAlphaCommunityLeaveAll = async ( options?: RequestInit): Promise<UserMeResponse> => {
|
|
330
184
|
|
|
331
|
-
return customFetch<
|
|
185
|
+
return customFetch<UserMeResponse>(getPostApiAlphaCommunityLeaveAllUrl(),
|
|
332
186
|
{
|
|
333
187
|
...options,
|
|
334
188
|
method: 'POST'
|
|
@@ -341,30 +195,6 @@ export const postApiAlphaCommunityLeaveAll = async ( options?: RequestInit): Pro
|
|
|
341
195
|
/**
|
|
342
196
|
* @summary Block a community.
|
|
343
197
|
*/
|
|
344
|
-
export type postApiAlphaCommunityBlockResponse200 = {
|
|
345
|
-
data: BlockCommunityResponse
|
|
346
|
-
status: 200
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
export type postApiAlphaCommunityBlockResponse400 = {
|
|
350
|
-
data: DefaultError
|
|
351
|
-
status: 400
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
export type postApiAlphaCommunityBlockResponse422 = {
|
|
355
|
-
data: UnprocessableEntityResponse
|
|
356
|
-
status: 422
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
export type postApiAlphaCommunityBlockResponseSuccess = (postApiAlphaCommunityBlockResponse200) & {
|
|
360
|
-
headers: Headers;
|
|
361
|
-
};
|
|
362
|
-
export type postApiAlphaCommunityBlockResponseError = (postApiAlphaCommunityBlockResponse400 | postApiAlphaCommunityBlockResponse422) & {
|
|
363
|
-
headers: Headers;
|
|
364
|
-
};
|
|
365
|
-
|
|
366
|
-
export type postApiAlphaCommunityBlockResponse = (postApiAlphaCommunityBlockResponseSuccess | postApiAlphaCommunityBlockResponseError)
|
|
367
|
-
|
|
368
198
|
export const getPostApiAlphaCommunityBlockUrl = () => {
|
|
369
199
|
|
|
370
200
|
|
|
@@ -373,9 +203,9 @@ export const getPostApiAlphaCommunityBlockUrl = () => {
|
|
|
373
203
|
return `/api/alpha/community/block`
|
|
374
204
|
}
|
|
375
205
|
|
|
376
|
-
export const postApiAlphaCommunityBlock = async (blockCommunityRequest: BlockCommunityRequest, options?: RequestInit): Promise<
|
|
206
|
+
export const postApiAlphaCommunityBlock = async (blockCommunityRequest: BlockCommunityRequest, options?: RequestInit): Promise<BlockCommunityResponse> => {
|
|
377
207
|
|
|
378
|
-
return customFetch<
|
|
208
|
+
return customFetch<BlockCommunityResponse>(getPostApiAlphaCommunityBlockUrl(),
|
|
379
209
|
{
|
|
380
210
|
...options,
|
|
381
211
|
method: 'POST',
|
|
@@ -389,30 +219,6 @@ export const postApiAlphaCommunityBlock = async (blockCommunityRequest: BlockCom
|
|
|
389
219
|
/**
|
|
390
220
|
* @summary Subscribe to activities in a community.
|
|
391
221
|
*/
|
|
392
|
-
export type putApiAlphaCommunitySubscribeResponse200 = {
|
|
393
|
-
data: CommunityResponse
|
|
394
|
-
status: 200
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
export type putApiAlphaCommunitySubscribeResponse400 = {
|
|
398
|
-
data: DefaultError
|
|
399
|
-
status: 400
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
export type putApiAlphaCommunitySubscribeResponse422 = {
|
|
403
|
-
data: UnprocessableEntityResponse
|
|
404
|
-
status: 422
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
export type putApiAlphaCommunitySubscribeResponseSuccess = (putApiAlphaCommunitySubscribeResponse200) & {
|
|
408
|
-
headers: Headers;
|
|
409
|
-
};
|
|
410
|
-
export type putApiAlphaCommunitySubscribeResponseError = (putApiAlphaCommunitySubscribeResponse400 | putApiAlphaCommunitySubscribeResponse422) & {
|
|
411
|
-
headers: Headers;
|
|
412
|
-
};
|
|
413
|
-
|
|
414
|
-
export type putApiAlphaCommunitySubscribeResponse = (putApiAlphaCommunitySubscribeResponseSuccess | putApiAlphaCommunitySubscribeResponseError)
|
|
415
|
-
|
|
416
222
|
export const getPutApiAlphaCommunitySubscribeUrl = () => {
|
|
417
223
|
|
|
418
224
|
|
|
@@ -421,9 +227,9 @@ export const getPutApiAlphaCommunitySubscribeUrl = () => {
|
|
|
421
227
|
return `/api/alpha/community/subscribe`
|
|
422
228
|
}
|
|
423
229
|
|
|
424
|
-
export const putApiAlphaCommunitySubscribe = async (subscribeCommunityRequest: SubscribeCommunityRequest, options?: RequestInit): Promise<
|
|
230
|
+
export const putApiAlphaCommunitySubscribe = async (subscribeCommunityRequest: SubscribeCommunityRequest, options?: RequestInit): Promise<CommunityResponse> => {
|
|
425
231
|
|
|
426
|
-
return customFetch<
|
|
232
|
+
return customFetch<CommunityResponse>(getPutApiAlphaCommunitySubscribeUrl(),
|
|
427
233
|
{
|
|
428
234
|
...options,
|
|
429
235
|
method: 'PUT',
|
|
@@ -437,30 +243,6 @@ export const putApiAlphaCommunitySubscribe = async (subscribeCommunityRequest: S
|
|
|
437
243
|
/**
|
|
438
244
|
* @summary Delete a community.
|
|
439
245
|
*/
|
|
440
|
-
export type postApiAlphaCommunityDeleteResponse200 = {
|
|
441
|
-
data: CommunityResponse
|
|
442
|
-
status: 200
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
export type postApiAlphaCommunityDeleteResponse400 = {
|
|
446
|
-
data: DefaultError
|
|
447
|
-
status: 400
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
export type postApiAlphaCommunityDeleteResponse422 = {
|
|
451
|
-
data: UnprocessableEntityResponse
|
|
452
|
-
status: 422
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
export type postApiAlphaCommunityDeleteResponseSuccess = (postApiAlphaCommunityDeleteResponse200) & {
|
|
456
|
-
headers: Headers;
|
|
457
|
-
};
|
|
458
|
-
export type postApiAlphaCommunityDeleteResponseError = (postApiAlphaCommunityDeleteResponse400 | postApiAlphaCommunityDeleteResponse422) & {
|
|
459
|
-
headers: Headers;
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
export type postApiAlphaCommunityDeleteResponse = (postApiAlphaCommunityDeleteResponseSuccess | postApiAlphaCommunityDeleteResponseError)
|
|
463
|
-
|
|
464
246
|
export const getPostApiAlphaCommunityDeleteUrl = () => {
|
|
465
247
|
|
|
466
248
|
|
|
@@ -469,9 +251,9 @@ export const getPostApiAlphaCommunityDeleteUrl = () => {
|
|
|
469
251
|
return `/api/alpha/community/delete`
|
|
470
252
|
}
|
|
471
253
|
|
|
472
|
-
export const postApiAlphaCommunityDelete = async (deleteCommunityRequest: DeleteCommunityRequest, options?: RequestInit): Promise<
|
|
254
|
+
export const postApiAlphaCommunityDelete = async (deleteCommunityRequest: DeleteCommunityRequest, options?: RequestInit): Promise<CommunityResponse> => {
|
|
473
255
|
|
|
474
|
-
return customFetch<
|
|
256
|
+
return customFetch<CommunityResponse>(getPostApiAlphaCommunityDeleteUrl(),
|
|
475
257
|
{
|
|
476
258
|
...options,
|
|
477
259
|
method: 'POST',
|
|
@@ -485,30 +267,6 @@ export const postApiAlphaCommunityDelete = async (deleteCommunityRequest: Delete
|
|
|
485
267
|
/**
|
|
486
268
|
* @summary Add or remove a moderator for your community.
|
|
487
269
|
*/
|
|
488
|
-
export type postApiAlphaCommunityModResponse200 = {
|
|
489
|
-
data: ModCommunityResponse
|
|
490
|
-
status: 200
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
export type postApiAlphaCommunityModResponse400 = {
|
|
494
|
-
data: DefaultError
|
|
495
|
-
status: 400
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
export type postApiAlphaCommunityModResponse422 = {
|
|
499
|
-
data: UnprocessableEntityResponse
|
|
500
|
-
status: 422
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
export type postApiAlphaCommunityModResponseSuccess = (postApiAlphaCommunityModResponse200) & {
|
|
504
|
-
headers: Headers;
|
|
505
|
-
};
|
|
506
|
-
export type postApiAlphaCommunityModResponseError = (postApiAlphaCommunityModResponse400 | postApiAlphaCommunityModResponse422) & {
|
|
507
|
-
headers: Headers;
|
|
508
|
-
};
|
|
509
|
-
|
|
510
|
-
export type postApiAlphaCommunityModResponse = (postApiAlphaCommunityModResponseSuccess | postApiAlphaCommunityModResponseError)
|
|
511
|
-
|
|
512
270
|
export const getPostApiAlphaCommunityModUrl = () => {
|
|
513
271
|
|
|
514
272
|
|
|
@@ -517,9 +275,9 @@ export const getPostApiAlphaCommunityModUrl = () => {
|
|
|
517
275
|
return `/api/alpha/community/mod`
|
|
518
276
|
}
|
|
519
277
|
|
|
520
|
-
export const postApiAlphaCommunityMod = async (modCommunityRequest: ModCommunityRequest, options?: RequestInit): Promise<
|
|
278
|
+
export const postApiAlphaCommunityMod = async (modCommunityRequest: ModCommunityRequest, options?: RequestInit): Promise<ModCommunityResponse> => {
|
|
521
279
|
|
|
522
|
-
return customFetch<
|
|
280
|
+
return customFetch<ModCommunityResponse>(getPostApiAlphaCommunityModUrl(),
|
|
523
281
|
{
|
|
524
282
|
...options,
|
|
525
283
|
method: 'POST',
|
|
@@ -533,30 +291,6 @@ export const postApiAlphaCommunityMod = async (modCommunityRequest: ModCommunity
|
|
|
533
291
|
/**
|
|
534
292
|
* @summary Get the list of banned users for a community.
|
|
535
293
|
*/
|
|
536
|
-
export type getApiAlphaCommunityModerateBansResponse200 = {
|
|
537
|
-
data: CommunityModerationBansListResponse
|
|
538
|
-
status: 200
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
export type getApiAlphaCommunityModerateBansResponse400 = {
|
|
542
|
-
data: DefaultError
|
|
543
|
-
status: 400
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
export type getApiAlphaCommunityModerateBansResponse422 = {
|
|
547
|
-
data: UnprocessableEntityResponse
|
|
548
|
-
status: 422
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
export type getApiAlphaCommunityModerateBansResponseSuccess = (getApiAlphaCommunityModerateBansResponse200) & {
|
|
552
|
-
headers: Headers;
|
|
553
|
-
};
|
|
554
|
-
export type getApiAlphaCommunityModerateBansResponseError = (getApiAlphaCommunityModerateBansResponse400 | getApiAlphaCommunityModerateBansResponse422) & {
|
|
555
|
-
headers: Headers;
|
|
556
|
-
};
|
|
557
|
-
|
|
558
|
-
export type getApiAlphaCommunityModerateBansResponse = (getApiAlphaCommunityModerateBansResponseSuccess | getApiAlphaCommunityModerateBansResponseError)
|
|
559
|
-
|
|
560
294
|
export const getGetApiAlphaCommunityModerateBansUrl = (params: GetApiAlphaCommunityModerateBansParams,) => {
|
|
561
295
|
const normalizedParams = new URLSearchParams();
|
|
562
296
|
|
|
@@ -572,9 +306,9 @@ export const getGetApiAlphaCommunityModerateBansUrl = (params: GetApiAlphaCommun
|
|
|
572
306
|
return stringifiedParams.length > 0 ? `/api/alpha/community/moderate/bans?${stringifiedParams}` : `/api/alpha/community/moderate/bans`
|
|
573
307
|
}
|
|
574
308
|
|
|
575
|
-
export const getApiAlphaCommunityModerateBans = async (params: GetApiAlphaCommunityModerateBansParams, options?: RequestInit): Promise<
|
|
309
|
+
export const getApiAlphaCommunityModerateBans = async (params: GetApiAlphaCommunityModerateBansParams, options?: RequestInit): Promise<CommunityModerationBansListResponse> => {
|
|
576
310
|
|
|
577
|
-
return customFetch<
|
|
311
|
+
return customFetch<CommunityModerationBansListResponse>(getGetApiAlphaCommunityModerateBansUrl(params),
|
|
578
312
|
{
|
|
579
313
|
...options,
|
|
580
314
|
method: 'GET'
|
|
@@ -587,30 +321,6 @@ export const getApiAlphaCommunityModerateBans = async (params: GetApiAlphaCommun
|
|
|
587
321
|
/**
|
|
588
322
|
* @summary Unban a user from a community.
|
|
589
323
|
*/
|
|
590
|
-
export type putApiAlphaCommunityModerateUnbanResponse200 = {
|
|
591
|
-
data: CommunityModerationBanItem
|
|
592
|
-
status: 200
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
export type putApiAlphaCommunityModerateUnbanResponse400 = {
|
|
596
|
-
data: DefaultError
|
|
597
|
-
status: 400
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
export type putApiAlphaCommunityModerateUnbanResponse422 = {
|
|
601
|
-
data: UnprocessableEntityResponse
|
|
602
|
-
status: 422
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
export type putApiAlphaCommunityModerateUnbanResponseSuccess = (putApiAlphaCommunityModerateUnbanResponse200) & {
|
|
606
|
-
headers: Headers;
|
|
607
|
-
};
|
|
608
|
-
export type putApiAlphaCommunityModerateUnbanResponseError = (putApiAlphaCommunityModerateUnbanResponse400 | putApiAlphaCommunityModerateUnbanResponse422) & {
|
|
609
|
-
headers: Headers;
|
|
610
|
-
};
|
|
611
|
-
|
|
612
|
-
export type putApiAlphaCommunityModerateUnbanResponse = (putApiAlphaCommunityModerateUnbanResponseSuccess | putApiAlphaCommunityModerateUnbanResponseError)
|
|
613
|
-
|
|
614
324
|
export const getPutApiAlphaCommunityModerateUnbanUrl = () => {
|
|
615
325
|
|
|
616
326
|
|
|
@@ -619,9 +329,9 @@ export const getPutApiAlphaCommunityModerateUnbanUrl = () => {
|
|
|
619
329
|
return `/api/alpha/community/moderate/unban`
|
|
620
330
|
}
|
|
621
331
|
|
|
622
|
-
export const putApiAlphaCommunityModerateUnban = async (communityModerationUnbanRequest: CommunityModerationUnbanRequest, options?: RequestInit): Promise<
|
|
332
|
+
export const putApiAlphaCommunityModerateUnban = async (communityModerationUnbanRequest: CommunityModerationUnbanRequest, options?: RequestInit): Promise<CommunityModerationBanItem> => {
|
|
623
333
|
|
|
624
|
-
return customFetch<
|
|
334
|
+
return customFetch<CommunityModerationBanItem>(getPutApiAlphaCommunityModerateUnbanUrl(),
|
|
625
335
|
{
|
|
626
336
|
...options,
|
|
627
337
|
method: 'PUT',
|
|
@@ -635,30 +345,6 @@ export const putApiAlphaCommunityModerateUnban = async (communityModerationUnban
|
|
|
635
345
|
/**
|
|
636
346
|
* @summary Ban a user from a community.
|
|
637
347
|
*/
|
|
638
|
-
export type postApiAlphaCommunityModerateBanResponse200 = {
|
|
639
|
-
data: CommunityModerationBanItem
|
|
640
|
-
status: 200
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
export type postApiAlphaCommunityModerateBanResponse400 = {
|
|
644
|
-
data: DefaultError
|
|
645
|
-
status: 400
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
export type postApiAlphaCommunityModerateBanResponse422 = {
|
|
649
|
-
data: UnprocessableEntityResponse
|
|
650
|
-
status: 422
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
export type postApiAlphaCommunityModerateBanResponseSuccess = (postApiAlphaCommunityModerateBanResponse200) & {
|
|
654
|
-
headers: Headers;
|
|
655
|
-
};
|
|
656
|
-
export type postApiAlphaCommunityModerateBanResponseError = (postApiAlphaCommunityModerateBanResponse400 | postApiAlphaCommunityModerateBanResponse422) & {
|
|
657
|
-
headers: Headers;
|
|
658
|
-
};
|
|
659
|
-
|
|
660
|
-
export type postApiAlphaCommunityModerateBanResponse = (postApiAlphaCommunityModerateBanResponseSuccess | postApiAlphaCommunityModerateBanResponseError)
|
|
661
|
-
|
|
662
348
|
export const getPostApiAlphaCommunityModerateBanUrl = () => {
|
|
663
349
|
|
|
664
350
|
|
|
@@ -667,9 +353,9 @@ export const getPostApiAlphaCommunityModerateBanUrl = () => {
|
|
|
667
353
|
return `/api/alpha/community/moderate/ban`
|
|
668
354
|
}
|
|
669
355
|
|
|
670
|
-
export const postApiAlphaCommunityModerateBan = async (communityModerationBanRequest: CommunityModerationBanRequest, options?: RequestInit): Promise<
|
|
356
|
+
export const postApiAlphaCommunityModerateBan = async (communityModerationBanRequest: CommunityModerationBanRequest, options?: RequestInit): Promise<CommunityModerationBanItem> => {
|
|
671
357
|
|
|
672
|
-
return customFetch<
|
|
358
|
+
return customFetch<CommunityModerationBanItem>(getPostApiAlphaCommunityModerateBanUrl(),
|
|
673
359
|
{
|
|
674
360
|
...options,
|
|
675
361
|
method: 'POST',
|
|
@@ -683,30 +369,6 @@ export const postApiAlphaCommunityModerateBan = async (communityModerationBanReq
|
|
|
683
369
|
/**
|
|
684
370
|
* @summary Mark or unmark a post as NSFW.
|
|
685
371
|
*/
|
|
686
|
-
export type postApiAlphaCommunityModeratePostNsfwResponse200 = {
|
|
687
|
-
data: PostView
|
|
688
|
-
status: 200
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
export type postApiAlphaCommunityModeratePostNsfwResponse400 = {
|
|
692
|
-
data: DefaultError
|
|
693
|
-
status: 400
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
export type postApiAlphaCommunityModeratePostNsfwResponse422 = {
|
|
697
|
-
data: UnprocessableEntityResponse
|
|
698
|
-
status: 422
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
export type postApiAlphaCommunityModeratePostNsfwResponseSuccess = (postApiAlphaCommunityModeratePostNsfwResponse200) & {
|
|
702
|
-
headers: Headers;
|
|
703
|
-
};
|
|
704
|
-
export type postApiAlphaCommunityModeratePostNsfwResponseError = (postApiAlphaCommunityModeratePostNsfwResponse400 | postApiAlphaCommunityModeratePostNsfwResponse422) & {
|
|
705
|
-
headers: Headers;
|
|
706
|
-
};
|
|
707
|
-
|
|
708
|
-
export type postApiAlphaCommunityModeratePostNsfwResponse = (postApiAlphaCommunityModeratePostNsfwResponseSuccess | postApiAlphaCommunityModeratePostNsfwResponseError)
|
|
709
|
-
|
|
710
372
|
export const getPostApiAlphaCommunityModeratePostNsfwUrl = () => {
|
|
711
373
|
|
|
712
374
|
|
|
@@ -715,9 +377,9 @@ export const getPostApiAlphaCommunityModeratePostNsfwUrl = () => {
|
|
|
715
377
|
return `/api/alpha/community/moderate/post/nsfw`
|
|
716
378
|
}
|
|
717
379
|
|
|
718
|
-
export const postApiAlphaCommunityModeratePostNsfw = async (communityModerationNsfwRequest: CommunityModerationNsfwRequest, options?: RequestInit): Promise<
|
|
380
|
+
export const postApiAlphaCommunityModeratePostNsfw = async (communityModerationNsfwRequest: CommunityModerationNsfwRequest, options?: RequestInit): Promise<PostView> => {
|
|
719
381
|
|
|
720
|
-
return customFetch<
|
|
382
|
+
return customFetch<PostView>(getPostApiAlphaCommunityModeratePostNsfwUrl(),
|
|
721
383
|
{
|
|
722
384
|
...options,
|
|
723
385
|
method: 'POST',
|
|
@@ -731,30 +393,6 @@ export const postApiAlphaCommunityModeratePostNsfw = async (communityModerationN
|
|
|
731
393
|
/**
|
|
732
394
|
* @summary Create a new post flair in the community
|
|
733
395
|
*/
|
|
734
|
-
export type postApiAlphaCommunityFlairResponse200 = {
|
|
735
|
-
data: CommunityFlairCreateResponse
|
|
736
|
-
status: 200
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
export type postApiAlphaCommunityFlairResponse400 = {
|
|
740
|
-
data: DefaultError
|
|
741
|
-
status: 400
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
export type postApiAlphaCommunityFlairResponse422 = {
|
|
745
|
-
data: UnprocessableEntityResponse
|
|
746
|
-
status: 422
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
export type postApiAlphaCommunityFlairResponseSuccess = (postApiAlphaCommunityFlairResponse200) & {
|
|
750
|
-
headers: Headers;
|
|
751
|
-
};
|
|
752
|
-
export type postApiAlphaCommunityFlairResponseError = (postApiAlphaCommunityFlairResponse400 | postApiAlphaCommunityFlairResponse422) & {
|
|
753
|
-
headers: Headers;
|
|
754
|
-
};
|
|
755
|
-
|
|
756
|
-
export type postApiAlphaCommunityFlairResponse = (postApiAlphaCommunityFlairResponseSuccess | postApiAlphaCommunityFlairResponseError)
|
|
757
|
-
|
|
758
396
|
export const getPostApiAlphaCommunityFlairUrl = () => {
|
|
759
397
|
|
|
760
398
|
|
|
@@ -763,9 +401,9 @@ export const getPostApiAlphaCommunityFlairUrl = () => {
|
|
|
763
401
|
return `/api/alpha/community/flair`
|
|
764
402
|
}
|
|
765
403
|
|
|
766
|
-
export const postApiAlphaCommunityFlair = async (communityFlairCreateRequest: CommunityFlairCreateRequest, options?: RequestInit): Promise<
|
|
404
|
+
export const postApiAlphaCommunityFlair = async (communityFlairCreateRequest: CommunityFlairCreateRequest, options?: RequestInit): Promise<CommunityFlairCreateResponse> => {
|
|
767
405
|
|
|
768
|
-
return customFetch<
|
|
406
|
+
return customFetch<CommunityFlairCreateResponse>(getPostApiAlphaCommunityFlairUrl(),
|
|
769
407
|
{
|
|
770
408
|
...options,
|
|
771
409
|
method: 'POST',
|
|
@@ -779,30 +417,6 @@ export const postApiAlphaCommunityFlair = async (communityFlairCreateRequest: Co
|
|
|
779
417
|
/**
|
|
780
418
|
* @summary Edit an existing post flair in the community
|
|
781
419
|
*/
|
|
782
|
-
export type putApiAlphaCommunityFlairResponse200 = {
|
|
783
|
-
data: CommunityFlairEditResponse
|
|
784
|
-
status: 200
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
export type putApiAlphaCommunityFlairResponse400 = {
|
|
788
|
-
data: DefaultError
|
|
789
|
-
status: 400
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
export type putApiAlphaCommunityFlairResponse422 = {
|
|
793
|
-
data: UnprocessableEntityResponse
|
|
794
|
-
status: 422
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
export type putApiAlphaCommunityFlairResponseSuccess = (putApiAlphaCommunityFlairResponse200) & {
|
|
798
|
-
headers: Headers;
|
|
799
|
-
};
|
|
800
|
-
export type putApiAlphaCommunityFlairResponseError = (putApiAlphaCommunityFlairResponse400 | putApiAlphaCommunityFlairResponse422) & {
|
|
801
|
-
headers: Headers;
|
|
802
|
-
};
|
|
803
|
-
|
|
804
|
-
export type putApiAlphaCommunityFlairResponse = (putApiAlphaCommunityFlairResponseSuccess | putApiAlphaCommunityFlairResponseError)
|
|
805
|
-
|
|
806
420
|
export const getPutApiAlphaCommunityFlairUrl = () => {
|
|
807
421
|
|
|
808
422
|
|
|
@@ -811,9 +425,9 @@ export const getPutApiAlphaCommunityFlairUrl = () => {
|
|
|
811
425
|
return `/api/alpha/community/flair`
|
|
812
426
|
}
|
|
813
427
|
|
|
814
|
-
export const putApiAlphaCommunityFlair = async (communityFlairEditRequest: CommunityFlairEditRequest, options?: RequestInit): Promise<
|
|
428
|
+
export const putApiAlphaCommunityFlair = async (communityFlairEditRequest: CommunityFlairEditRequest, options?: RequestInit): Promise<CommunityFlairEditResponse> => {
|
|
815
429
|
|
|
816
|
-
return customFetch<
|
|
430
|
+
return customFetch<CommunityFlairEditResponse>(getPutApiAlphaCommunityFlairUrl(),
|
|
817
431
|
{
|
|
818
432
|
...options,
|
|
819
433
|
method: 'PUT',
|
|
@@ -827,30 +441,6 @@ export const putApiAlphaCommunityFlair = async (communityFlairEditRequest: Commu
|
|
|
827
441
|
/**
|
|
828
442
|
* @summary Delete a post flair in a community
|
|
829
443
|
*/
|
|
830
|
-
export type postApiAlphaCommunityFlairDeleteResponse200 = {
|
|
831
|
-
data: CommunityFlairDeleteResponse
|
|
832
|
-
status: 200
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
export type postApiAlphaCommunityFlairDeleteResponse400 = {
|
|
836
|
-
data: DefaultError
|
|
837
|
-
status: 400
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
export type postApiAlphaCommunityFlairDeleteResponse422 = {
|
|
841
|
-
data: UnprocessableEntityResponse
|
|
842
|
-
status: 422
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
export type postApiAlphaCommunityFlairDeleteResponseSuccess = (postApiAlphaCommunityFlairDeleteResponse200) & {
|
|
846
|
-
headers: Headers;
|
|
847
|
-
};
|
|
848
|
-
export type postApiAlphaCommunityFlairDeleteResponseError = (postApiAlphaCommunityFlairDeleteResponse400 | postApiAlphaCommunityFlairDeleteResponse422) & {
|
|
849
|
-
headers: Headers;
|
|
850
|
-
};
|
|
851
|
-
|
|
852
|
-
export type postApiAlphaCommunityFlairDeleteResponse = (postApiAlphaCommunityFlairDeleteResponseSuccess | postApiAlphaCommunityFlairDeleteResponseError)
|
|
853
|
-
|
|
854
444
|
export const getPostApiAlphaCommunityFlairDeleteUrl = () => {
|
|
855
445
|
|
|
856
446
|
|
|
@@ -859,9 +449,9 @@ export const getPostApiAlphaCommunityFlairDeleteUrl = () => {
|
|
|
859
449
|
return `/api/alpha/community/flair/delete`
|
|
860
450
|
}
|
|
861
451
|
|
|
862
|
-
export const postApiAlphaCommunityFlairDelete = async (communityFlairDeleteRequest: CommunityFlairDeleteRequest, options?: RequestInit): Promise<
|
|
452
|
+
export const postApiAlphaCommunityFlairDelete = async (communityFlairDeleteRequest: CommunityFlairDeleteRequest, options?: RequestInit): Promise<CommunityFlairDeleteResponse> => {
|
|
863
453
|
|
|
864
|
-
return customFetch<
|
|
454
|
+
return customFetch<CommunityFlairDeleteResponse>(getPostApiAlphaCommunityFlairDeleteUrl(),
|
|
865
455
|
{
|
|
866
456
|
...options,
|
|
867
457
|
method: 'POST',
|