e621 2.2.6 → 3.0.1
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 +21 -0
- package/README.md +14 -41
- package/dist/lib/Debug.d.ts +1 -0
- package/dist/lib/Debug.js +16 -0
- package/dist/lib/errors.d.ts +8 -0
- package/dist/lib/errors.js +37 -0
- package/dist/lib/generated/client/client.d.ts +2 -0
- package/dist/lib/generated/client/client.js +236 -0
- package/dist/lib/generated/client/index.d.ts +8 -0
- package/dist/lib/generated/client/index.js +7 -0
- package/dist/lib/generated/client/types.d.ts +117 -0
- package/dist/lib/generated/client/types.js +3 -0
- package/dist/lib/generated/client/utils.d.ts +33 -0
- package/dist/lib/generated/client/utils.js +229 -0
- package/dist/lib/generated/client.d.ts +12 -0
- package/dist/lib/generated/client.js +4 -0
- package/dist/lib/generated/core/auth.d.ts +18 -0
- package/dist/lib/generated/core/auth.js +15 -0
- package/dist/lib/generated/core/bodySerializer.d.ts +25 -0
- package/dist/lib/generated/core/bodySerializer.js +58 -0
- package/dist/lib/generated/core/params.d.ts +43 -0
- package/dist/lib/generated/core/params.js +101 -0
- package/dist/lib/generated/core/pathSerializer.d.ts +33 -0
- package/dist/lib/generated/core/pathSerializer.js +107 -0
- package/dist/lib/generated/core/queryKeySerializer.d.ts +18 -0
- package/dist/lib/generated/core/queryKeySerializer.js +93 -0
- package/dist/lib/generated/core/serverSentEvents.d.ts +71 -0
- package/dist/lib/generated/core/serverSentEvents.js +134 -0
- package/dist/lib/generated/core/types.d.ts +78 -0
- package/dist/lib/generated/core/types.js +3 -0
- package/dist/lib/generated/core/utils.d.ts +19 -0
- package/dist/lib/generated/core/utils.js +88 -0
- package/dist/lib/generated/schemas.d.ts +2989 -0
- package/dist/lib/generated/schemas.js +4014 -0
- package/dist/lib/generated/sdk.d.ts +1417 -0
- package/dist/lib/generated/sdk.js +2633 -0
- package/dist/lib/generated/source.json +18815 -0
- package/dist/lib/generated/types.d.ts +9923 -0
- package/dist/lib/generated/types.js +3 -0
- package/dist/lib/generated.d.ts +4 -0
- package/dist/lib/generated.js +5 -0
- package/dist/lib/index.d.ts +58 -0
- package/dist/lib/index.js +74 -0
- package/dist/lib/models/ApiKey.d.ts +14 -0
- package/dist/lib/models/ApiKey.js +17 -0
- package/dist/lib/models/Artist.d.ts +61 -0
- package/dist/lib/models/Artist.js +86 -0
- package/dist/lib/models/ArtistUrl.d.ts +14 -0
- package/dist/lib/models/ArtistUrl.js +17 -0
- package/dist/lib/models/ArtistVersion.d.ts +14 -0
- package/dist/lib/models/ArtistVersion.js +17 -0
- package/dist/lib/models/AvoidPosting.d.ts +63 -0
- package/dist/lib/models/AvoidPosting.js +97 -0
- package/dist/lib/models/AvoidPostingVersion.d.ts +14 -0
- package/dist/lib/models/AvoidPostingVersion.js +17 -0
- package/dist/lib/models/Ban.d.ts +14 -0
- package/dist/lib/models/Ban.js +17 -0
- package/dist/lib/models/Base.d.ts +11 -0
- package/dist/lib/models/Base.js +39 -0
- package/dist/lib/models/Blip.d.ts +79 -0
- package/dist/lib/models/Blip.js +120 -0
- package/dist/lib/models/BulkUpdateRequest.d.ts +49 -0
- package/dist/lib/models/BulkUpdateRequest.js +75 -0
- package/dist/lib/models/Comment.d.ts +101 -0
- package/dist/lib/models/Comment.js +157 -0
- package/dist/lib/models/CurrentUser.d.ts +14 -0
- package/dist/lib/models/CurrentUser.js +17 -0
- package/dist/lib/models/DMail.d.ts +46 -0
- package/dist/lib/models/DMail.js +73 -0
- package/dist/lib/models/EditHistory.d.ts +14 -0
- package/dist/lib/models/EditHistory.js +17 -0
- package/dist/lib/models/EmailBlacklist.d.ts +26 -0
- package/dist/lib/models/EmailBlacklist.js +37 -0
- package/dist/lib/models/ForumPost.d.ts +98 -0
- package/dist/lib/models/ForumPost.js +154 -0
- package/dist/lib/models/ForumPostVote.d.ts +24 -0
- package/dist/lib/models/ForumPostVote.js +35 -0
- package/dist/lib/models/ForumTopic.d.ts +81 -0
- package/dist/lib/models/ForumTopic.js +131 -0
- package/dist/lib/models/FullCurrentUser.d.ts +14 -0
- package/dist/lib/models/FullCurrentUser.js +17 -0
- package/dist/lib/models/FullUser.d.ts +14 -0
- package/dist/lib/models/FullUser.js +17 -0
- package/dist/lib/models/Help.d.ts +39 -0
- package/dist/lib/models/Help.js +57 -0
- package/dist/lib/models/IpBan.d.ts +28 -0
- package/dist/lib/models/IpBan.js +39 -0
- package/dist/lib/models/IqdbPost.d.ts +14 -0
- package/dist/lib/models/IqdbPost.js +17 -0
- package/dist/lib/models/Mascot.d.ts +39 -0
- package/dist/lib/models/Mascot.js +57 -0
- package/dist/lib/models/ModAction.d.ts +14 -0
- package/dist/lib/models/ModAction.js +17 -0
- package/dist/lib/models/NewsUpdate.d.ts +39 -0
- package/dist/lib/models/NewsUpdate.js +57 -0
- package/dist/lib/models/Note.d.ts +45 -0
- package/dist/lib/models/Note.js +71 -0
- package/dist/lib/models/NoteVersion.d.ts +24 -0
- package/dist/lib/models/NoteVersion.js +35 -0
- package/dist/lib/models/Pool.d.ts +67 -0
- package/dist/lib/models/Pool.js +109 -0
- package/dist/lib/models/PoolVersion.d.ts +24 -0
- package/dist/lib/models/PoolVersion.js +35 -0
- package/dist/lib/models/Post.d.ts +175 -0
- package/dist/lib/models/Post.js +287 -0
- package/dist/lib/models/PostApproval.d.ts +26 -0
- package/dist/lib/models/PostApproval.js +37 -0
- package/dist/lib/models/PostDisapproval.d.ts +14 -0
- package/dist/lib/models/PostDisapproval.js +17 -0
- package/dist/lib/models/PostEvent.d.ts +14 -0
- package/dist/lib/models/PostEvent.js +17 -0
- package/dist/lib/models/PostFlag.d.ts +38 -0
- package/dist/lib/models/PostFlag.js +57 -0
- package/dist/lib/models/PostReplacement.d.ts +75 -0
- package/dist/lib/models/PostReplacement.js +117 -0
- package/dist/lib/models/PostSet.d.ts +75 -0
- package/dist/lib/models/PostSet.js +117 -0
- package/dist/lib/models/PostVersion.d.ts +58 -0
- package/dist/lib/models/PostVersion.js +93 -0
- package/dist/lib/models/RisingSearchTrend.d.ts +14 -0
- package/dist/lib/models/RisingSearchTrend.js +17 -0
- package/dist/lib/models/SearchTrend.d.ts +14 -0
- package/dist/lib/models/SearchTrend.js +17 -0
- package/dist/lib/models/SearchTrendBlacklist.d.ts +14 -0
- package/dist/lib/models/SearchTrendBlacklist.js +17 -0
- package/dist/lib/models/StaffNote.d.ts +53 -0
- package/dist/lib/models/StaffNote.js +79 -0
- package/dist/lib/models/Tag.d.ts +59 -0
- package/dist/lib/models/Tag.js +91 -0
- package/dist/lib/models/TagAlias.d.ts +51 -0
- package/dist/lib/models/TagAlias.js +77 -0
- package/dist/lib/models/TagCorrection.d.ts +15 -0
- package/dist/lib/models/TagCorrection.js +20 -0
- package/dist/lib/models/TagImplication.d.ts +51 -0
- package/dist/lib/models/TagImplication.js +77 -0
- package/dist/lib/models/TagPreview.d.ts +14 -0
- package/dist/lib/models/TagPreview.js +17 -0
- package/dist/lib/models/TagTypeVersion.d.ts +14 -0
- package/dist/lib/models/TagTypeVersion.js +17 -0
- package/dist/lib/models/Takedown.d.ts +87 -0
- package/dist/lib/models/Takedown.js +137 -0
- package/dist/lib/models/Ticket.d.ts +51 -0
- package/dist/lib/models/Ticket.js +77 -0
- package/dist/lib/models/Upload.d.ts +14 -0
- package/dist/lib/models/Upload.js +17 -0
- package/dist/lib/models/UploadWhitelist.d.ts +37 -0
- package/dist/lib/models/UploadWhitelist.js +55 -0
- package/dist/lib/models/User.d.ts +97 -0
- package/dist/lib/models/User.js +160 -0
- package/dist/lib/models/UserFeedback.d.ts +63 -0
- package/dist/lib/models/UserFeedback.js +97 -0
- package/dist/lib/models/UserNameChangeRequest.d.ts +26 -0
- package/dist/lib/models/UserNameChangeRequest.js +37 -0
- package/dist/lib/models/WikiPage.d.ts +49 -0
- package/dist/lib/models/WikiPage.js +75 -0
- package/dist/lib/models/WikiPageVersion.d.ts +24 -0
- package/dist/lib/models/WikiPageVersion.js +35 -0
- package/dist/lib/models/index.d.ts +56 -0
- package/dist/lib/models/index.js +57 -0
- package/dist/lib/modules/ArtistUrls.d.ts +18 -0
- package/dist/lib/modules/ArtistUrls.js +28 -0
- package/dist/lib/modules/ArtistVersions.d.ts +18 -0
- package/dist/lib/modules/ArtistVersions.js +28 -0
- package/dist/lib/modules/Artists.d.ts +90 -0
- package/dist/lib/modules/Artists.js +151 -0
- package/dist/lib/modules/AvoidPostingVersions.d.ts +18 -0
- package/dist/lib/modules/AvoidPostingVersions.js +28 -0
- package/dist/lib/modules/AvoidPostings.d.ts +112 -0
- package/dist/lib/modules/AvoidPostings.js +181 -0
- package/dist/lib/modules/Bans.d.ts +26 -0
- package/dist/lib/modules/Bans.js +47 -0
- package/dist/lib/modules/Base.d.ts +20 -0
- package/dist/lib/modules/Base.js +39 -0
- package/dist/lib/modules/Blips.d.ts +108 -0
- package/dist/lib/modules/Blips.js +188 -0
- package/dist/lib/modules/BulkUpdateRequests.d.ts +76 -0
- package/dist/lib/modules/BulkUpdateRequests.js +136 -0
- package/dist/lib/modules/CommentVotes.d.ts +30 -0
- package/dist/lib/modules/CommentVotes.js +56 -0
- package/dist/lib/modules/Comments.d.ts +115 -0
- package/dist/lib/modules/Comments.js +195 -0
- package/dist/lib/modules/DMails.d.ts +70 -0
- package/dist/lib/modules/DMails.js +134 -0
- package/dist/lib/modules/DText.d.ts +22 -0
- package/dist/lib/modules/DText.js +32 -0
- package/dist/lib/modules/EditHistories.d.ts +34 -0
- package/dist/lib/modules/EditHistories.js +56 -0
- package/dist/lib/modules/EmailBlacklists.d.ts +45 -0
- package/dist/lib/modules/EmailBlacklists.js +74 -0
- package/dist/lib/modules/Favorites.d.ts +44 -0
- package/dist/lib/modules/Favorites.js +73 -0
- package/dist/lib/modules/ForumPosts.d.ts +110 -0
- package/dist/lib/modules/ForumPosts.js +190 -0
- package/dist/lib/modules/ForumTopics.d.ts +125 -0
- package/dist/lib/modules/ForumTopics.js +237 -0
- package/dist/lib/modules/HelpPages.d.ts +67 -0
- package/dist/lib/modules/HelpPages.js +118 -0
- package/dist/lib/modules/IpBans.d.ts +47 -0
- package/dist/lib/modules/IpBans.js +76 -0
- package/dist/lib/modules/IqdbQueries.d.ts +36 -0
- package/dist/lib/modules/IqdbQueries.js +63 -0
- package/dist/lib/modules/Mascots.d.ts +60 -0
- package/dist/lib/modules/Mascots.js +98 -0
- package/dist/lib/modules/ModActions.d.ts +34 -0
- package/dist/lib/modules/ModActions.js +55 -0
- package/dist/lib/modules/NewsUpdates.d.ts +60 -0
- package/dist/lib/modules/NewsUpdates.js +98 -0
- package/dist/lib/modules/NoteVersions.d.ts +18 -0
- package/dist/lib/modules/NoteVersions.js +28 -0
- package/dist/lib/modules/Notes.d.ts +72 -0
- package/dist/lib/modules/Notes.js +133 -0
- package/dist/lib/modules/PoolVersions.d.ts +18 -0
- package/dist/lib/modules/PoolVersions.js +28 -0
- package/dist/lib/modules/Pools.d.ts +107 -0
- package/dist/lib/modules/Pools.js +197 -0
- package/dist/lib/modules/Popular.d.ts +18 -0
- package/dist/lib/modules/Popular.js +31 -0
- package/dist/lib/modules/PostApprovals.d.ts +42 -0
- package/dist/lib/modules/PostApprovals.js +77 -0
- package/dist/lib/modules/PostDisapprovals.d.ts +37 -0
- package/dist/lib/modules/PostDisapprovals.js +55 -0
- package/dist/lib/modules/PostEvents.d.ts +20 -0
- package/dist/lib/modules/PostEvents.js +30 -0
- package/dist/lib/modules/PostFlags.d.ts +53 -0
- package/dist/lib/modules/PostFlags.js +93 -0
- package/dist/lib/modules/PostReplacements.d.ts +97 -0
- package/dist/lib/modules/PostReplacements.js +167 -0
- package/dist/lib/modules/PostSets.d.ts +119 -0
- package/dist/lib/modules/PostSets.js +211 -0
- package/dist/lib/modules/PostVersions.d.ts +51 -0
- package/dist/lib/modules/PostVersions.js +94 -0
- package/dist/lib/modules/PostVotes.d.ts +28 -0
- package/dist/lib/modules/PostVotes.js +54 -0
- package/dist/lib/modules/Posts.d.ts +193 -0
- package/dist/lib/modules/Posts.js +395 -0
- package/dist/lib/modules/RelatedTags.d.ts +22 -0
- package/dist/lib/modules/RelatedTags.js +29 -0
- package/dist/lib/modules/SearchTrendBlacklists.d.ts +64 -0
- package/dist/lib/modules/SearchTrendBlacklists.js +101 -0
- package/dist/lib/modules/SearchTrends.d.ts +57 -0
- package/dist/lib/modules/SearchTrends.js +92 -0
- package/dist/lib/modules/StaffNotes.d.ts +80 -0
- package/dist/lib/modules/StaffNotes.js +140 -0
- package/dist/lib/modules/TagAliases.d.ts +80 -0
- package/dist/lib/modules/TagAliases.js +140 -0
- package/dist/lib/modules/TagCorrections.d.ts +25 -0
- package/dist/lib/modules/TagCorrections.js +52 -0
- package/dist/lib/modules/TagImplications.d.ts +80 -0
- package/dist/lib/modules/TagImplications.js +140 -0
- package/dist/lib/modules/TagTypeVersions.d.ts +18 -0
- package/dist/lib/modules/TagTypeVersions.js +28 -0
- package/dist/lib/modules/Tags.d.ts +64 -0
- package/dist/lib/modules/Tags.js +116 -0
- package/dist/lib/modules/Takedowns.d.ts +123 -0
- package/dist/lib/modules/Takedowns.js +211 -0
- package/dist/lib/modules/Tickets.d.ts +71 -0
- package/dist/lib/modules/Tickets.js +123 -0
- package/dist/lib/modules/UploadWhitelists.d.ts +71 -0
- package/dist/lib/modules/UploadWhitelists.js +117 -0
- package/dist/lib/modules/Uploads.d.ts +42 -0
- package/dist/lib/modules/Uploads.js +78 -0
- package/dist/lib/modules/UserFeedbacks.d.ts +94 -0
- package/dist/lib/modules/UserFeedbacks.js +165 -0
- package/dist/lib/modules/UserNameChangeRequests.d.ts +59 -0
- package/dist/lib/modules/UserNameChangeRequests.js +99 -0
- package/dist/lib/modules/Users.d.ts +135 -0
- package/dist/lib/modules/Users.js +263 -0
- package/dist/lib/modules/WikiPageVersions.d.ts +26 -0
- package/dist/lib/modules/WikiPageVersions.js +47 -0
- package/dist/lib/modules/WikiPages.d.ts +76 -0
- package/dist/lib/modules/WikiPages.js +137 -0
- package/dist/lib/modules/admin/Users.d.ts +45 -0
- package/dist/lib/modules/admin/Users.js +77 -0
- package/dist/lib/modules/comments/Votes.d.ts +31 -0
- package/dist/lib/modules/comments/Votes.js +51 -0
- package/dist/lib/modules/forum_posts/Votes.d.ts +29 -0
- package/dist/lib/modules/forum_posts/Votes.js +51 -0
- package/dist/lib/modules/index.d.ts +178 -0
- package/dist/lib/modules/index.js +118 -0
- package/dist/lib/modules/posts/Flag.d.ts +16 -0
- package/dist/lib/modules/posts/Flag.js +31 -0
- package/dist/lib/modules/posts/Votes.d.ts +31 -0
- package/dist/lib/modules/posts/Votes.js +51 -0
- package/dist/lib/modules/users/DMails.d.ts +29 -0
- package/dist/lib/modules/users/DMails.js +55 -0
- package/dist/lib/util.d.ts +50 -0
- package/dist/lib/util.js +49 -0
- package/dist/package.json +73 -0
- package/package.json +46 -20
- package/tsconfig.json +54 -0
- package/.mocharc.json +0 -6
- package/.ncurc.json +0 -3
- package/.node-version +0 -1
- package/Features/Artists.md +0 -39
- package/Features/Blips.md +0 -33
- package/Features/E621SearchInconsistencies.md +0 -54
- package/Features/FuturePlans.md +0 -50
- package/Features/Notes.md +0 -34
- package/Features/Pools.md +0 -38
- package/Features/PostFlags.md +0 -31
- package/Features/PostSets.md +0 -36
- package/Features/Posts.md +0 -46
- package/Features/README.md +0 -15
- package/Features/Tags.md +0 -34
- package/Features/Takedowns.md +0 -32
- package/Features/UserFeedback.md +0 -32
- package/Features/Users.md +0 -36
- package/Features/WikiPages.md +0 -36
- package/build/package.json +0 -45
- package/build/src/index.d.ts +0 -68
- package/build/src/index.js +0 -194
- package/build/src/modules/Artists.d.ts +0 -128
- package/build/src/modules/Artists.js +0 -295
- package/build/src/modules/Blips.d.ts +0 -79
- package/build/src/modules/Blips.js +0 -157
- package/build/src/modules/Notes.d.ts +0 -88
- package/build/src/modules/Notes.js +0 -189
- package/build/src/modules/Pools.d.ts +0 -130
- package/build/src/modules/Pools.js +0 -261
- package/build/src/modules/PostFlags.d.ts +0 -55
- package/build/src/modules/PostFlags.js +0 -126
- package/build/src/modules/PostSets.d.ts +0 -102
- package/build/src/modules/PostSets.js +0 -208
- package/build/src/modules/Posts.d.ts +0 -154
- package/build/src/modules/Posts.js +0 -390
- package/build/src/modules/Tags.d.ts +0 -78
- package/build/src/modules/Tags.js +0 -174
- package/build/src/modules/Takedowns.d.ts +0 -81
- package/build/src/modules/Takedowns.js +0 -195
- package/build/src/modules/UserFeedback.d.ts +0 -66
- package/build/src/modules/UserFeedback.js +0 -136
- package/build/src/modules/Users.d.ts +0 -117
- package/build/src/modules/Users.js +0 -261
- package/build/src/modules/WikiPages.d.ts +0 -107
- package/build/src/modules/WikiPages.js +0 -220
- package/build/src/structures/Artist.d.ts +0 -36
- package/build/src/structures/Artist.js +0 -51
- package/build/src/structures/ArtistHistory.d.ts +0 -39
- package/build/src/structures/ArtistHistory.js +0 -50
- package/build/src/structures/AuthenticatedUser.d.ts +0 -109
- package/build/src/structures/AuthenticatedUser.js +0 -128
- package/build/src/structures/Blip.d.ts +0 -66
- package/build/src/structures/Blip.js +0 -85
- package/build/src/structures/Note.d.ts +0 -32
- package/build/src/structures/Note.js +0 -41
- package/build/src/structures/NoteHistory.d.ts +0 -38
- package/build/src/structures/NoteHistory.js +0 -47
- package/build/src/structures/Pool.d.ts +0 -85
- package/build/src/structures/Pool.js +0 -112
- package/build/src/structures/PoolHistory.d.ts +0 -43
- package/build/src/structures/PoolHistory.js +0 -54
- package/build/src/structures/Post.d.ts +0 -157
- package/build/src/structures/Post.js +0 -170
- package/build/src/structures/PostApproval.d.ts +0 -25
- package/build/src/structures/PostApproval.js +0 -33
- package/build/src/structures/PostFlag.d.ts +0 -38
- package/build/src/structures/PostFlag.js +0 -47
- package/build/src/structures/PostHistory.d.ts +0 -52
- package/build/src/structures/PostHistory.js +0 -93
- package/build/src/structures/PostSet.d.ts +0 -71
- package/build/src/structures/PostSet.js +0 -93
- package/build/src/structures/Tag.d.ts +0 -61
- package/build/src/structures/Tag.js +0 -87
- package/build/src/structures/TagHistory.d.ts +0 -28
- package/build/src/structures/TagHistory.js +0 -36
- package/build/src/structures/Takedown.d.ts +0 -49
- package/build/src/structures/Takedown.js +0 -64
- package/build/src/structures/User.d.ts +0 -62
- package/build/src/structures/User.js +0 -80
- package/build/src/structures/WikiPage.d.ts +0 -17
- package/build/src/structures/WikiPage.js +0 -27
- package/build/src/structures/WikiPageHistory.d.ts +0 -38
- package/build/src/structures/WikiPageHistory.js +0 -49
- package/build/src/types/artists.d.ts +0 -82
- package/build/src/types/blips.d.ts +0 -37
- package/build/src/types/index.d.ts +0 -96
- package/build/src/types/notes.d.ts +0 -64
- package/build/src/types/pools.d.ts +0 -62
- package/build/src/types/post_flags.d.ts +0 -36
- package/build/src/types/post_sets.d.ts +0 -33
- package/build/src/types/posts.d.ts +0 -181
- package/build/src/types/tags.d.ts +0 -56
- package/build/src/types/takedowns.d.ts +0 -62
- package/build/src/types/user_feedback.d.ts +0 -27
- package/build/src/types/users.d.ts +0 -277
- package/build/src/types/wiki_pages.d.ts +0 -66
- package/build/src/util/Debug.d.ts +0 -1
- package/build/src/util/Debug.js +0 -16
- package/build/src/util/FormHelper.d.ts +0 -9
- package/build/src/util/FormHelper.js +0 -15
- package/build/src/util/MultipartData.d.ts +0 -7
- package/build/src/util/MultipartData.js +0 -39
- package/build/src/util/RequestHandler.d.ts +0 -38
- package/build/src/util/RequestHandler.js +0 -343
- package/build/src/util/Timer.d.ts +0 -6
- package/build/src/util/Timer.js +0 -74
|
@@ -0,0 +1,2989 @@
|
|
|
1
|
+
export declare const AccessDeniedResponseSchema: {
|
|
2
|
+
readonly type: "object";
|
|
3
|
+
readonly required: readonly ["success", "reason"];
|
|
4
|
+
readonly properties: {
|
|
5
|
+
readonly success: {
|
|
6
|
+
readonly type: "boolean";
|
|
7
|
+
};
|
|
8
|
+
readonly reason: {
|
|
9
|
+
readonly type: "string";
|
|
10
|
+
readonly enum: readonly ["Access Denied"];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare const NotFoundResponseSchema: {
|
|
15
|
+
readonly type: "object";
|
|
16
|
+
readonly required: readonly ["success", "reason"];
|
|
17
|
+
readonly properties: {
|
|
18
|
+
readonly success: {
|
|
19
|
+
readonly type: "boolean";
|
|
20
|
+
};
|
|
21
|
+
readonly reason: {
|
|
22
|
+
readonly type: "string";
|
|
23
|
+
readonly enum: readonly ["not found"];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const WarningRecordTypeSchema: {
|
|
28
|
+
readonly type: "object";
|
|
29
|
+
readonly required: readonly ["record_type"];
|
|
30
|
+
readonly properties: {
|
|
31
|
+
readonly record_type: {
|
|
32
|
+
readonly type: "string";
|
|
33
|
+
readonly enum: readonly ["unmark", "ban", "record", "warning"];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export declare const ModActionActionsSchema: {
|
|
38
|
+
readonly type: "string";
|
|
39
|
+
readonly enum: readonly ["artist_page_rename", "artist_page_lock", "artist_page_unlock", "artist_user_linked", "artist_user_unlinked", "avoid_posting_create", "avoid_posting_update", "avoid_posting_delete", "avoid_posting_undelete", "avoid_posting_destroy", "blip_delete", "blip_hide", "blip_unhide", "blip_update", "comment_delete", "comment_hide", "comment_unhide", "comment_update", "forum_category_create", "forum_category_delete", "forum_category_update", "forum_post_delete", "forum_post_hide", "forum_post_unhide", "forum_post_update", "forum_topic_delete", "forum_topic_hide", "forum_topic_unhide", "forum_topic_lock", "forum_topic_unlock", "forum_topic_stick", "forum_topic_unstick", "forum_topic_update", "help_create", "help_delete", "help_update", "ip_ban_create", "ip_ban_delete", "mascot_create", "mascot_update", "mascot_delete", "pool_delete", "report_reason_create", "report_reason_delete", "report_reason_update", "set_update", "set_delete", "set_change_visibility", "tag_alias_create", "tag_alias_update", "tag_implication_create", "tag_implication_update", "ticket_claim", "ticket_unclaim", "ticket_update", "upload_whitelist_create", "upload_whitelist_update", "upload_whitelist_delete", "user_blacklist_changed", "user_text_change", "user_upload_limit_change", "user_flags_change", "user_level_change", "user_name_change", "user_delete", "user_ban", "user_ban_update", "user_unban", "user_feedback_create", "user_feedback_update", "user_feedback_delete", "user_feedback_undelete", "user_feedback_destroy", "wiki_page_rename", "wiki_page_delete", "wiki_page_lock", "wiki_page_unlock", "mass_update", "nuke_tag", "takedown_delete", "takedown_process", "user_flush_favorites", "post_version_hide", "post_version_unhide", "user_uploads_toggle", "staff_note_create", "staff_note_update", "staff_note_delete", "staff_note_undelete", "search_trend_blacklist_purge", "created_positive_record", "created_neutral_record", "created_negative_record", "created_flag_reason", "edited_flag_reason", "deleted_flag_reason", "post_move_favorites", "post_delete", "post_undelete", "post_destroy", "post_rating_lock", "post_unapprove", "post_replacement_accept", "post_replacement_reject", "post_replacement_delete"];
|
|
40
|
+
};
|
|
41
|
+
export declare const PostEventActionsSchema: {
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
readonly enum: readonly ["deleted", "undeleted", "approved", "unapproved", "flag_created", "flag_removed", "favorites_moved", "favorites_received", "rating_locked", "rating_unlocked", "status_locked", "status_unlocked", "note_locked", "note_unlocked", "comment_locked", "comment_unlocked", "replacement_accepted", "replacement_rejected", "replacement_promoted", "replacement_deleted", "expunged", "changed_bg_color", "replacement_penalty_changed"];
|
|
44
|
+
};
|
|
45
|
+
export declare const RatingsSchema: {
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
readonly enum: readonly ["s", "q", "e"];
|
|
48
|
+
};
|
|
49
|
+
export declare const TagCategoriesSchema: {
|
|
50
|
+
readonly type: "integer";
|
|
51
|
+
readonly enum: readonly [0, 1, 3, 4, 5, 6, 7, 8];
|
|
52
|
+
};
|
|
53
|
+
export declare const FeedbackCategoriesSchema: {
|
|
54
|
+
readonly type: "string";
|
|
55
|
+
readonly enum: readonly ["negative", "neutral", "positive"];
|
|
56
|
+
};
|
|
57
|
+
export declare const TagRequestStatusesSchema: {
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
readonly enum: readonly ["active", "deleted", "processing", "queued", "retired", "error", "pending"];
|
|
60
|
+
};
|
|
61
|
+
export declare const WarningTypesSchema: {
|
|
62
|
+
readonly type: "string";
|
|
63
|
+
readonly enum: readonly ["warning", "record", "ban"];
|
|
64
|
+
};
|
|
65
|
+
export declare const PoolCategoriesSchema: {
|
|
66
|
+
readonly type: "string";
|
|
67
|
+
readonly enum: readonly ["collection", "series"];
|
|
68
|
+
};
|
|
69
|
+
export declare const TicketTypesSchema: {
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
readonly enum: readonly ["blip", "comment", "dmail", "forum", "pool", "post", "set", "user", "wiki", "replacement"];
|
|
72
|
+
};
|
|
73
|
+
export declare const TicketStatusesSchema: {
|
|
74
|
+
readonly type: "string";
|
|
75
|
+
readonly enum: readonly ["pending", "partial", "approved"];
|
|
76
|
+
};
|
|
77
|
+
export declare const ArtistSchema: {
|
|
78
|
+
readonly type: "object";
|
|
79
|
+
readonly required: readonly ["id", "name", "updated_at", "is_active", "other_names", "group_name", "linked_user_id", "created_at", "creator_id", "is_locked", "notes", "urls"];
|
|
80
|
+
readonly properties: {
|
|
81
|
+
readonly id: {
|
|
82
|
+
readonly type: "integer";
|
|
83
|
+
};
|
|
84
|
+
readonly name: {
|
|
85
|
+
readonly type: "string";
|
|
86
|
+
};
|
|
87
|
+
readonly updated_at: {
|
|
88
|
+
readonly type: "string";
|
|
89
|
+
readonly format: "date-time";
|
|
90
|
+
};
|
|
91
|
+
readonly is_active: {
|
|
92
|
+
readonly type: "boolean";
|
|
93
|
+
};
|
|
94
|
+
readonly other_names: {
|
|
95
|
+
readonly type: "array";
|
|
96
|
+
readonly items: {
|
|
97
|
+
readonly type: "string";
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
readonly group_name: {
|
|
101
|
+
readonly type: "string";
|
|
102
|
+
};
|
|
103
|
+
readonly linked_user_id: {
|
|
104
|
+
readonly type: "integer";
|
|
105
|
+
readonly nullable: true;
|
|
106
|
+
};
|
|
107
|
+
readonly created_at: {
|
|
108
|
+
readonly type: "string";
|
|
109
|
+
readonly format: "date-time";
|
|
110
|
+
};
|
|
111
|
+
readonly creator_id: {
|
|
112
|
+
readonly type: "integer";
|
|
113
|
+
};
|
|
114
|
+
readonly is_locked: {
|
|
115
|
+
readonly type: "boolean";
|
|
116
|
+
};
|
|
117
|
+
readonly notes: {
|
|
118
|
+
readonly type: "string";
|
|
119
|
+
readonly nullable: true;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
export declare const ArtistUrlSchema: {
|
|
124
|
+
readonly type: "object";
|
|
125
|
+
readonly required: readonly ["id", "artist_id", "url", "normalized_url", "created_at", "updated_at", "is_active"];
|
|
126
|
+
readonly properties: {
|
|
127
|
+
readonly id: {
|
|
128
|
+
readonly type: "integer";
|
|
129
|
+
};
|
|
130
|
+
readonly artist_id: {
|
|
131
|
+
readonly type: "integer";
|
|
132
|
+
};
|
|
133
|
+
readonly url: {
|
|
134
|
+
readonly type: "string";
|
|
135
|
+
readonly format: "uri";
|
|
136
|
+
};
|
|
137
|
+
readonly normalized_url: {
|
|
138
|
+
readonly type: "string";
|
|
139
|
+
readonly format: "uri";
|
|
140
|
+
};
|
|
141
|
+
readonly created_at: {
|
|
142
|
+
readonly type: "string";
|
|
143
|
+
readonly format: "date-time";
|
|
144
|
+
};
|
|
145
|
+
readonly updated_at: {
|
|
146
|
+
readonly type: "string";
|
|
147
|
+
readonly format: "date-time";
|
|
148
|
+
};
|
|
149
|
+
readonly is_active: {
|
|
150
|
+
readonly type: "boolean";
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
export declare const ArtistVersionSchema: {
|
|
155
|
+
readonly type: "object";
|
|
156
|
+
readonly required: readonly ["id", "artist_id", "name", "updater_id", "created_at", "updated_at", "is_active", "other_names", "notes_changed", "urls"];
|
|
157
|
+
readonly properties: {
|
|
158
|
+
readonly id: {
|
|
159
|
+
readonly type: "integer";
|
|
160
|
+
};
|
|
161
|
+
readonly artist_id: {
|
|
162
|
+
readonly type: "integer";
|
|
163
|
+
};
|
|
164
|
+
readonly name: {
|
|
165
|
+
readonly type: "string";
|
|
166
|
+
};
|
|
167
|
+
readonly updater_id: {
|
|
168
|
+
readonly type: "integer";
|
|
169
|
+
};
|
|
170
|
+
readonly created_at: {
|
|
171
|
+
readonly type: "string";
|
|
172
|
+
readonly format: "date-time";
|
|
173
|
+
};
|
|
174
|
+
readonly updated_at: {
|
|
175
|
+
readonly type: "string";
|
|
176
|
+
readonly format: "date-time";
|
|
177
|
+
};
|
|
178
|
+
readonly is_active: {
|
|
179
|
+
readonly type: "boolean";
|
|
180
|
+
};
|
|
181
|
+
readonly other_names: {
|
|
182
|
+
readonly type: "array";
|
|
183
|
+
readonly items: {
|
|
184
|
+
readonly type: "string";
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
readonly notes_changed: {
|
|
188
|
+
readonly type: "boolean";
|
|
189
|
+
};
|
|
190
|
+
readonly urls: {
|
|
191
|
+
readonly type: "array";
|
|
192
|
+
readonly items: {
|
|
193
|
+
readonly type: "string";
|
|
194
|
+
readonly format: "uri";
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
export declare const AvoidPostingSchema: {
|
|
200
|
+
readonly type: "object";
|
|
201
|
+
readonly required: readonly ["id", "creator_id", "updater_id", "artist_id", "details", "is_active", "created_at", "updated_at"];
|
|
202
|
+
readonly properties: {
|
|
203
|
+
readonly id: {
|
|
204
|
+
readonly type: "integer";
|
|
205
|
+
};
|
|
206
|
+
readonly creator_id: {
|
|
207
|
+
readonly type: "integer";
|
|
208
|
+
};
|
|
209
|
+
readonly updater_id: {
|
|
210
|
+
readonly type: "integer";
|
|
211
|
+
};
|
|
212
|
+
readonly artist_id: {
|
|
213
|
+
readonly type: "integer";
|
|
214
|
+
};
|
|
215
|
+
readonly staff_notes: {
|
|
216
|
+
readonly type: "string";
|
|
217
|
+
readonly description: "Only visible to Janitor+";
|
|
218
|
+
};
|
|
219
|
+
readonly details: {
|
|
220
|
+
readonly type: "string";
|
|
221
|
+
};
|
|
222
|
+
readonly is_active: {
|
|
223
|
+
readonly type: "boolean";
|
|
224
|
+
};
|
|
225
|
+
readonly created_at: {
|
|
226
|
+
readonly type: "string";
|
|
227
|
+
readonly format: "date-time";
|
|
228
|
+
};
|
|
229
|
+
readonly updated_at: {
|
|
230
|
+
readonly type: "string";
|
|
231
|
+
readonly format: "date-time";
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
export declare const AvoidPostingVersionSchema: {
|
|
236
|
+
readonly type: "object";
|
|
237
|
+
readonly required: readonly ["id", "updater_id", "avoid_posting_id", "details", "is_active", "updated_at"];
|
|
238
|
+
readonly properties: {
|
|
239
|
+
readonly id: {
|
|
240
|
+
readonly type: "integer";
|
|
241
|
+
};
|
|
242
|
+
readonly updater_id: {
|
|
243
|
+
readonly type: "integer";
|
|
244
|
+
};
|
|
245
|
+
readonly avoid_posting_id: {
|
|
246
|
+
readonly type: "integer";
|
|
247
|
+
};
|
|
248
|
+
readonly details: {
|
|
249
|
+
readonly type: "string";
|
|
250
|
+
};
|
|
251
|
+
readonly staff_notes: {
|
|
252
|
+
readonly type: "string";
|
|
253
|
+
readonly description: "Only visible to Janitor+";
|
|
254
|
+
};
|
|
255
|
+
readonly is_active: {
|
|
256
|
+
readonly type: "boolean";
|
|
257
|
+
};
|
|
258
|
+
readonly updated_at: {
|
|
259
|
+
readonly type: "string";
|
|
260
|
+
readonly format: "date-time";
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
export declare const BanSchema: {
|
|
265
|
+
readonly type: "object";
|
|
266
|
+
readonly required: readonly ["id", "user_id", "reason", "expires_at", "banner_id", "created_at", "updated_at"];
|
|
267
|
+
readonly properties: {
|
|
268
|
+
readonly id: {
|
|
269
|
+
readonly type: "integer";
|
|
270
|
+
};
|
|
271
|
+
readonly user_id: {
|
|
272
|
+
readonly type: "integer";
|
|
273
|
+
};
|
|
274
|
+
readonly reason: {
|
|
275
|
+
readonly type: "string";
|
|
276
|
+
};
|
|
277
|
+
readonly expires_at: {
|
|
278
|
+
readonly type: "string";
|
|
279
|
+
readonly format: "date-time";
|
|
280
|
+
readonly nullable: true;
|
|
281
|
+
};
|
|
282
|
+
readonly banner_id: {
|
|
283
|
+
readonly type: "integer";
|
|
284
|
+
};
|
|
285
|
+
readonly created_at: {
|
|
286
|
+
readonly type: "string";
|
|
287
|
+
readonly format: "date-time";
|
|
288
|
+
};
|
|
289
|
+
readonly updated_at: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
readonly format: "date-time";
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
export declare const BlipSchema: {
|
|
296
|
+
readonly type: "object";
|
|
297
|
+
readonly required: readonly ["id", "creator_id", "body", "response_to", "created_at", "updated_at", "is_hidden", "warning_type", "warning_user_id", "updater_id", "creator_name"];
|
|
298
|
+
readonly properties: {
|
|
299
|
+
readonly id: {
|
|
300
|
+
readonly type: "integer";
|
|
301
|
+
};
|
|
302
|
+
readonly creator_id: {
|
|
303
|
+
readonly type: "integer";
|
|
304
|
+
};
|
|
305
|
+
readonly body: {
|
|
306
|
+
readonly type: "string";
|
|
307
|
+
};
|
|
308
|
+
readonly response_to: {
|
|
309
|
+
readonly type: "integer";
|
|
310
|
+
};
|
|
311
|
+
readonly created_at: {
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
readonly format: "date-time";
|
|
314
|
+
};
|
|
315
|
+
readonly updated_at: {
|
|
316
|
+
readonly type: "string";
|
|
317
|
+
readonly format: "date-time";
|
|
318
|
+
};
|
|
319
|
+
readonly is_hidden: {
|
|
320
|
+
readonly type: "boolean";
|
|
321
|
+
};
|
|
322
|
+
readonly warning_type: {
|
|
323
|
+
readonly $ref: "#/components/schemas/WarningTypes";
|
|
324
|
+
};
|
|
325
|
+
readonly warning_user_id: {
|
|
326
|
+
readonly type: "integer";
|
|
327
|
+
};
|
|
328
|
+
readonly updater_id: {
|
|
329
|
+
readonly type: "integer";
|
|
330
|
+
};
|
|
331
|
+
readonly creator_name: {
|
|
332
|
+
readonly type: "string";
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
export declare const BulkRelatedTagSchema: {
|
|
337
|
+
readonly allOf: readonly [{
|
|
338
|
+
readonly $ref: "#/components/schemas/RelatedTag";
|
|
339
|
+
}, {
|
|
340
|
+
readonly type: "object";
|
|
341
|
+
readonly required: readonly ["count"];
|
|
342
|
+
readonly properties: {
|
|
343
|
+
readonly count: {
|
|
344
|
+
readonly type: "integer";
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
}];
|
|
348
|
+
};
|
|
349
|
+
export declare const BulkUpdateRequestSchema: {
|
|
350
|
+
readonly type: "object";
|
|
351
|
+
readonly required: readonly ["id", "creator_id", "forum_topic_id", "script", "status", "created_at", "updated_at", "approver_id", "forum_post_id", "title"];
|
|
352
|
+
readonly properties: {
|
|
353
|
+
readonly id: {
|
|
354
|
+
readonly type: "integer";
|
|
355
|
+
};
|
|
356
|
+
readonly creator_id: {
|
|
357
|
+
readonly type: "integer";
|
|
358
|
+
};
|
|
359
|
+
readonly forum_topic_id: {
|
|
360
|
+
readonly type: "integer";
|
|
361
|
+
readonly nullable: true;
|
|
362
|
+
};
|
|
363
|
+
readonly script: {
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
readonly example: readonly ["alias a -> b"];
|
|
366
|
+
};
|
|
367
|
+
readonly status: {
|
|
368
|
+
readonly type: "string";
|
|
369
|
+
readonly enum: readonly ["approved", "rejected", "pending"];
|
|
370
|
+
};
|
|
371
|
+
readonly created_at: {
|
|
372
|
+
readonly type: "string";
|
|
373
|
+
readonly format: "date-time";
|
|
374
|
+
};
|
|
375
|
+
readonly updated_at: {
|
|
376
|
+
readonly type: "string";
|
|
377
|
+
readonly format: "date-time";
|
|
378
|
+
};
|
|
379
|
+
readonly approver_id: {
|
|
380
|
+
readonly type: "integer";
|
|
381
|
+
readonly nullable: true;
|
|
382
|
+
};
|
|
383
|
+
readonly forum_post_id: {
|
|
384
|
+
readonly type: "integer";
|
|
385
|
+
readonly nullable: true;
|
|
386
|
+
};
|
|
387
|
+
readonly title: {
|
|
388
|
+
readonly type: "string";
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
export declare const CommentSchema: {
|
|
393
|
+
readonly type: "object";
|
|
394
|
+
readonly required: readonly ["id", "created_at", "post_id", "creator_id", "body", "score", "updated_at", "updater_id", "do_not_bump_post", "is_hidden", "is_sticky", "warning_type", "warning_user_id", "creator_name", "updater_name"];
|
|
395
|
+
readonly properties: {
|
|
396
|
+
readonly id: {
|
|
397
|
+
readonly type: "integer";
|
|
398
|
+
};
|
|
399
|
+
readonly created_at: {
|
|
400
|
+
readonly type: "string";
|
|
401
|
+
readonly format: "date-time";
|
|
402
|
+
};
|
|
403
|
+
readonly post_id: {
|
|
404
|
+
readonly type: "integer";
|
|
405
|
+
};
|
|
406
|
+
readonly creator_id: {
|
|
407
|
+
readonly type: "integer";
|
|
408
|
+
};
|
|
409
|
+
readonly body: {
|
|
410
|
+
readonly type: "string";
|
|
411
|
+
};
|
|
412
|
+
readonly score: {
|
|
413
|
+
readonly type: "integer";
|
|
414
|
+
};
|
|
415
|
+
readonly updated_at: {
|
|
416
|
+
readonly type: "string";
|
|
417
|
+
readonly format: "date-time";
|
|
418
|
+
};
|
|
419
|
+
readonly updater_id: {
|
|
420
|
+
readonly type: "integer";
|
|
421
|
+
};
|
|
422
|
+
readonly do_not_bump_post: {
|
|
423
|
+
readonly type: "boolean";
|
|
424
|
+
readonly deprecated: true;
|
|
425
|
+
};
|
|
426
|
+
readonly is_hidden: {
|
|
427
|
+
readonly type: "boolean";
|
|
428
|
+
};
|
|
429
|
+
readonly is_sticky: {
|
|
430
|
+
readonly type: "boolean";
|
|
431
|
+
};
|
|
432
|
+
readonly warning_type: {
|
|
433
|
+
readonly $ref: "#/components/schemas/WarningTypes";
|
|
434
|
+
};
|
|
435
|
+
readonly warning_user_id: {
|
|
436
|
+
readonly type: "integer";
|
|
437
|
+
readonly nullable: true;
|
|
438
|
+
};
|
|
439
|
+
readonly creator_name: {
|
|
440
|
+
readonly type: "string";
|
|
441
|
+
};
|
|
442
|
+
readonly updater_name: {
|
|
443
|
+
readonly type: "string";
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
export declare const CurrentUserSchema: {
|
|
448
|
+
readonly allOf: readonly [{
|
|
449
|
+
readonly $ref: "#/components/schemas/User";
|
|
450
|
+
}, {
|
|
451
|
+
readonly type: "object";
|
|
452
|
+
readonly required: readonly ["blacklist_users", "description_collapsed_initially", "hide_comments", "show_hidden_comments", "show_post_statistics", "receive_email_notifications", "enable_keyboard_navigation", "enable_privacy_mode", "style_usernames", "enable_auto_complete", "disable_cropped_thumbnails", "enable_safe_mode", "disable_responsive_mode", "no_flagging", "disable_user_dmails", "enable_compact_uploader", "replacements_beta", "updated_at", "email", "last_logged_in_at", "last_forum_read_at", "recent_tags", "comment_threshold", "default_image_size", "favorite_tags", "blacklisted_tags", "time_zone", "per_page", "custom_style", "favorite_count", "api_regen_multiplier", "api_burst_limit", "remaining_api_limit", "statement_timeout", "favorite_limit", "tag_query_limit", "has_mail", "forum_notification_dot"];
|
|
453
|
+
readonly properties: {
|
|
454
|
+
readonly blacklist_users: {
|
|
455
|
+
readonly type: "boolean";
|
|
456
|
+
};
|
|
457
|
+
readonly description_collapsed_initially: {
|
|
458
|
+
readonly type: "boolean";
|
|
459
|
+
};
|
|
460
|
+
readonly hide_comments: {
|
|
461
|
+
readonly type: "boolean";
|
|
462
|
+
};
|
|
463
|
+
readonly show_hidden_comments: {
|
|
464
|
+
readonly type: "boolean";
|
|
465
|
+
};
|
|
466
|
+
readonly show_post_statistics: {
|
|
467
|
+
readonly type: "boolean";
|
|
468
|
+
};
|
|
469
|
+
readonly receive_email_notifications: {
|
|
470
|
+
readonly type: "boolean";
|
|
471
|
+
};
|
|
472
|
+
readonly enable_keyboard_navigation: {
|
|
473
|
+
readonly type: "boolean";
|
|
474
|
+
};
|
|
475
|
+
readonly enable_privacy_mode: {
|
|
476
|
+
readonly type: "boolean";
|
|
477
|
+
};
|
|
478
|
+
readonly style_usernames: {
|
|
479
|
+
readonly type: "boolean";
|
|
480
|
+
};
|
|
481
|
+
readonly enable_auto_complete: {
|
|
482
|
+
readonly type: "boolean";
|
|
483
|
+
};
|
|
484
|
+
readonly can_approve_posts: {
|
|
485
|
+
readonly type: "boolean";
|
|
486
|
+
};
|
|
487
|
+
readonly disable_cropped_thumbnails: {
|
|
488
|
+
readonly type: "boolean";
|
|
489
|
+
};
|
|
490
|
+
readonly enable_safe_mode: {
|
|
491
|
+
readonly type: "boolean";
|
|
492
|
+
};
|
|
493
|
+
readonly disable_responsive_mode: {
|
|
494
|
+
readonly type: "boolean";
|
|
495
|
+
};
|
|
496
|
+
readonly no_flagging: {
|
|
497
|
+
readonly type: "boolean";
|
|
498
|
+
};
|
|
499
|
+
readonly disable_user_dmails: {
|
|
500
|
+
readonly type: "boolean";
|
|
501
|
+
};
|
|
502
|
+
readonly enable_compact_uploader: {
|
|
503
|
+
readonly type: "boolean";
|
|
504
|
+
};
|
|
505
|
+
readonly replacements_beta: {
|
|
506
|
+
readonly type: "boolean";
|
|
507
|
+
};
|
|
508
|
+
readonly updated_at: {
|
|
509
|
+
readonly type: "string";
|
|
510
|
+
readonly format: "date-time";
|
|
511
|
+
};
|
|
512
|
+
readonly email: {
|
|
513
|
+
readonly type: "string";
|
|
514
|
+
};
|
|
515
|
+
readonly last_logged_in_at: {
|
|
516
|
+
readonly type: "string";
|
|
517
|
+
};
|
|
518
|
+
readonly last_forum_read_at: {
|
|
519
|
+
readonly type: "string";
|
|
520
|
+
};
|
|
521
|
+
readonly recent_tags: {
|
|
522
|
+
readonly type: "string";
|
|
523
|
+
};
|
|
524
|
+
readonly comment_threshold: {
|
|
525
|
+
readonly type: "integer";
|
|
526
|
+
};
|
|
527
|
+
readonly default_image_size: {
|
|
528
|
+
readonly type: "string";
|
|
529
|
+
readonly enum: readonly ["large", "fit", "fitv", "original"];
|
|
530
|
+
};
|
|
531
|
+
readonly favorite_tags: {
|
|
532
|
+
readonly type: "string";
|
|
533
|
+
};
|
|
534
|
+
readonly blacklisted_tags: {
|
|
535
|
+
readonly type: "string";
|
|
536
|
+
};
|
|
537
|
+
readonly time_zone: {
|
|
538
|
+
readonly type: "string";
|
|
539
|
+
};
|
|
540
|
+
readonly per_page: {
|
|
541
|
+
readonly type: "integer";
|
|
542
|
+
};
|
|
543
|
+
readonly custom_style: {
|
|
544
|
+
readonly type: "string";
|
|
545
|
+
};
|
|
546
|
+
readonly favorite_count: {
|
|
547
|
+
readonly type: "integer";
|
|
548
|
+
};
|
|
549
|
+
readonly api_regen_multiplier: {
|
|
550
|
+
readonly type: "integer";
|
|
551
|
+
};
|
|
552
|
+
readonly api_burst_limit: {
|
|
553
|
+
readonly type: "integer";
|
|
554
|
+
};
|
|
555
|
+
readonly remaining_api_limit: {
|
|
556
|
+
readonly type: "integer";
|
|
557
|
+
};
|
|
558
|
+
readonly statement_timeout: {
|
|
559
|
+
readonly type: "integer";
|
|
560
|
+
};
|
|
561
|
+
readonly favorite_limit: {
|
|
562
|
+
readonly type: "integer";
|
|
563
|
+
};
|
|
564
|
+
readonly tag_query_limit: {
|
|
565
|
+
readonly type: "integer";
|
|
566
|
+
};
|
|
567
|
+
readonly has_mail: {
|
|
568
|
+
readonly type: "boolean";
|
|
569
|
+
};
|
|
570
|
+
readonly forum_notification_dot: {
|
|
571
|
+
readonly type: "boolean";
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
}];
|
|
575
|
+
};
|
|
576
|
+
export declare const DMailSchema: {
|
|
577
|
+
readonly type: "object";
|
|
578
|
+
readonly required: readonly ["id", "owner_id", "from_id", "to_id", "title", "body", "is_read", "is_deleted", "created_at", "updated_at", "to_name", "from_name"];
|
|
579
|
+
readonly properties: {
|
|
580
|
+
readonly id: {
|
|
581
|
+
readonly type: "integer";
|
|
582
|
+
};
|
|
583
|
+
readonly owner_id: {
|
|
584
|
+
readonly type: "integer";
|
|
585
|
+
};
|
|
586
|
+
readonly from_id: {
|
|
587
|
+
readonly type: "integer";
|
|
588
|
+
};
|
|
589
|
+
readonly to_id: {
|
|
590
|
+
readonly type: "integer";
|
|
591
|
+
};
|
|
592
|
+
readonly title: {
|
|
593
|
+
readonly type: "string";
|
|
594
|
+
};
|
|
595
|
+
readonly body: {
|
|
596
|
+
readonly type: "string";
|
|
597
|
+
};
|
|
598
|
+
readonly is_read: {
|
|
599
|
+
readonly type: "boolean";
|
|
600
|
+
};
|
|
601
|
+
readonly is_deleted: {
|
|
602
|
+
readonly type: "boolean";
|
|
603
|
+
};
|
|
604
|
+
readonly created_at: {
|
|
605
|
+
readonly type: "string";
|
|
606
|
+
readonly format: "date-time";
|
|
607
|
+
};
|
|
608
|
+
readonly updated_at: {
|
|
609
|
+
readonly type: "string";
|
|
610
|
+
readonly format: "date-time";
|
|
611
|
+
};
|
|
612
|
+
readonly to_name: {
|
|
613
|
+
readonly type: "string";
|
|
614
|
+
};
|
|
615
|
+
readonly from_name: {
|
|
616
|
+
readonly type: "string";
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
export declare const DeferredPostSchema: {
|
|
621
|
+
readonly type: "object";
|
|
622
|
+
readonly required: readonly ["id", "flags", "tags", "rating", "file_ext", "width", "height", "size", "created_at", "uploader", "uploader_id", "score", "fav_count", "is_favorited", "pools", "md5", "preview_url", "large_url", "file_url", "preview_width", "preview_height"];
|
|
623
|
+
readonly properties: {
|
|
624
|
+
readonly id: {
|
|
625
|
+
readonly type: "integer";
|
|
626
|
+
};
|
|
627
|
+
readonly flags: {
|
|
628
|
+
readonly type: "string";
|
|
629
|
+
};
|
|
630
|
+
readonly tags: {
|
|
631
|
+
readonly type: "string";
|
|
632
|
+
};
|
|
633
|
+
readonly rating: {
|
|
634
|
+
readonly $ref: "#/components/schemas/Ratings";
|
|
635
|
+
};
|
|
636
|
+
readonly file_ext: {
|
|
637
|
+
readonly type: "string";
|
|
638
|
+
};
|
|
639
|
+
readonly width: {
|
|
640
|
+
readonly type: "integer";
|
|
641
|
+
};
|
|
642
|
+
readonly height: {
|
|
643
|
+
readonly type: "integer";
|
|
644
|
+
};
|
|
645
|
+
readonly size: {
|
|
646
|
+
readonly type: "integer";
|
|
647
|
+
readonly format: "int64";
|
|
648
|
+
};
|
|
649
|
+
readonly created_at: {
|
|
650
|
+
readonly type: "string";
|
|
651
|
+
readonly format: "date-time";
|
|
652
|
+
};
|
|
653
|
+
readonly uploader: {
|
|
654
|
+
readonly type: "string";
|
|
655
|
+
};
|
|
656
|
+
readonly uploader_id: {
|
|
657
|
+
readonly type: "integer";
|
|
658
|
+
};
|
|
659
|
+
readonly score: {
|
|
660
|
+
readonly type: "integer";
|
|
661
|
+
};
|
|
662
|
+
readonly fav_count: {
|
|
663
|
+
readonly type: "integer";
|
|
664
|
+
};
|
|
665
|
+
readonly is_favorited: {
|
|
666
|
+
readonly type: "boolean";
|
|
667
|
+
};
|
|
668
|
+
readonly pools: {
|
|
669
|
+
readonly type: "array";
|
|
670
|
+
readonly items: {
|
|
671
|
+
readonly type: "integer";
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
readonly md5: {
|
|
675
|
+
readonly type: "string";
|
|
676
|
+
};
|
|
677
|
+
readonly preview_url: {
|
|
678
|
+
readonly type: "string";
|
|
679
|
+
readonly nullable: true;
|
|
680
|
+
};
|
|
681
|
+
readonly large_url: {
|
|
682
|
+
readonly type: "string";
|
|
683
|
+
readonly nullable: true;
|
|
684
|
+
};
|
|
685
|
+
readonly file_url: {
|
|
686
|
+
readonly type: "string";
|
|
687
|
+
readonly nullable: true;
|
|
688
|
+
};
|
|
689
|
+
readonly preview_width: {
|
|
690
|
+
readonly type: "integer";
|
|
691
|
+
};
|
|
692
|
+
readonly preview_height: {
|
|
693
|
+
readonly type: "integer";
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
export declare const DTextResponseSchema: {
|
|
698
|
+
readonly type: "object";
|
|
699
|
+
readonly required: readonly ["html", "posts"];
|
|
700
|
+
readonly properties: {
|
|
701
|
+
readonly html: {
|
|
702
|
+
readonly type: "string";
|
|
703
|
+
};
|
|
704
|
+
readonly posts: {
|
|
705
|
+
readonly $ref: "#/components/schemas/DeferredPost";
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
export declare const EmailBlacklistSchema: {
|
|
710
|
+
readonly type: "object";
|
|
711
|
+
readonly required: readonly ["id", "created_at", "updated_at", "domain", "creator_id", "reason"];
|
|
712
|
+
readonly properties: {
|
|
713
|
+
readonly id: {
|
|
714
|
+
readonly type: "integer";
|
|
715
|
+
};
|
|
716
|
+
readonly created_at: {
|
|
717
|
+
readonly type: "string";
|
|
718
|
+
};
|
|
719
|
+
readonly updated_at: {
|
|
720
|
+
readonly type: "string";
|
|
721
|
+
};
|
|
722
|
+
readonly domain: {
|
|
723
|
+
readonly type: "string";
|
|
724
|
+
};
|
|
725
|
+
readonly creator_id: {
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
};
|
|
728
|
+
readonly reason: {
|
|
729
|
+
readonly type: "string";
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
export declare const ForumPostSchema: {
|
|
734
|
+
readonly type: "object";
|
|
735
|
+
readonly required: readonly ["id", "topic_id", "creator_id", "updater_id", "body", "is_hidden", "created_at", "updated_at", "warning_type", "warning_user_id"];
|
|
736
|
+
readonly properties: {
|
|
737
|
+
readonly id: {
|
|
738
|
+
readonly type: "integer";
|
|
739
|
+
};
|
|
740
|
+
readonly topic_id: {
|
|
741
|
+
readonly type: "integer";
|
|
742
|
+
};
|
|
743
|
+
readonly creator_id: {
|
|
744
|
+
readonly type: "integer";
|
|
745
|
+
};
|
|
746
|
+
readonly updater_id: {
|
|
747
|
+
readonly type: "integer";
|
|
748
|
+
};
|
|
749
|
+
readonly body: {
|
|
750
|
+
readonly type: "string";
|
|
751
|
+
};
|
|
752
|
+
readonly is_hidden: {
|
|
753
|
+
readonly type: "boolean";
|
|
754
|
+
};
|
|
755
|
+
readonly created_at: {
|
|
756
|
+
readonly type: "string";
|
|
757
|
+
readonly format: "date-time";
|
|
758
|
+
};
|
|
759
|
+
readonly updated_at: {
|
|
760
|
+
readonly type: "string";
|
|
761
|
+
readonly format: "date-time";
|
|
762
|
+
};
|
|
763
|
+
readonly warning_type: {
|
|
764
|
+
readonly $ref: "#/components/schemas/WarningTypes";
|
|
765
|
+
};
|
|
766
|
+
readonly warning_user_id: {
|
|
767
|
+
readonly type: "integer";
|
|
768
|
+
readonly nullable: true;
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
export declare const ForumPostVoteSchema: {
|
|
773
|
+
readonly type: "object";
|
|
774
|
+
readonly required: readonly ["id", "forum_post_id", "creator_id", "score", "created_at", "updated_at", "creator_name"];
|
|
775
|
+
readonly properties: {
|
|
776
|
+
readonly id: {
|
|
777
|
+
readonly type: "integer";
|
|
778
|
+
};
|
|
779
|
+
readonly forum_post_id: {
|
|
780
|
+
readonly type: "integer";
|
|
781
|
+
};
|
|
782
|
+
readonly creator_id: {
|
|
783
|
+
readonly type: "integer";
|
|
784
|
+
};
|
|
785
|
+
readonly score: {
|
|
786
|
+
readonly type: "integer";
|
|
787
|
+
};
|
|
788
|
+
readonly created_at: {
|
|
789
|
+
readonly type: "string";
|
|
790
|
+
readonly format: "date-time";
|
|
791
|
+
};
|
|
792
|
+
readonly updated_at: {
|
|
793
|
+
readonly type: "string";
|
|
794
|
+
readonly format: "date-time";
|
|
795
|
+
};
|
|
796
|
+
readonly creator_name: {
|
|
797
|
+
readonly type: "string";
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
export declare const ForumTopicSchema: {
|
|
802
|
+
readonly type: "object";
|
|
803
|
+
readonly required: readonly ["id", "creator_id", "updater_id", "title", "response_count", "is_sticky", "is_locked", "is_hidden", "created_at", "updated_at", "category_id"];
|
|
804
|
+
readonly properties: {
|
|
805
|
+
readonly id: {
|
|
806
|
+
readonly type: "integer";
|
|
807
|
+
};
|
|
808
|
+
readonly creator_id: {
|
|
809
|
+
readonly type: "integer";
|
|
810
|
+
};
|
|
811
|
+
readonly updater_id: {
|
|
812
|
+
readonly type: "integer";
|
|
813
|
+
};
|
|
814
|
+
readonly title: {
|
|
815
|
+
readonly type: "string";
|
|
816
|
+
};
|
|
817
|
+
readonly response_count: {
|
|
818
|
+
readonly type: "integer";
|
|
819
|
+
};
|
|
820
|
+
readonly is_sticky: {
|
|
821
|
+
readonly type: "boolean";
|
|
822
|
+
};
|
|
823
|
+
readonly is_locked: {
|
|
824
|
+
readonly type: "boolean";
|
|
825
|
+
};
|
|
826
|
+
readonly is_hidden: {
|
|
827
|
+
readonly type: "boolean";
|
|
828
|
+
};
|
|
829
|
+
readonly created_at: {
|
|
830
|
+
readonly type: "string";
|
|
831
|
+
readonly format: "date-time";
|
|
832
|
+
};
|
|
833
|
+
readonly updated_at: {
|
|
834
|
+
readonly type: "string";
|
|
835
|
+
readonly format: "date-time";
|
|
836
|
+
};
|
|
837
|
+
readonly category_id: {
|
|
838
|
+
readonly type: "integer";
|
|
839
|
+
};
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
export declare const FullCurrentUserSchema: {
|
|
843
|
+
readonly allOf: readonly [{
|
|
844
|
+
readonly $ref: "#/components/schemas/CurrentUser";
|
|
845
|
+
}, {
|
|
846
|
+
readonly $ref: "#/components/schemas/FullUser";
|
|
847
|
+
}];
|
|
848
|
+
};
|
|
849
|
+
export declare const FullUserSchema: {
|
|
850
|
+
readonly allOf: readonly [{
|
|
851
|
+
readonly $ref: "#/components/schemas/User";
|
|
852
|
+
}, {
|
|
853
|
+
readonly type: "object";
|
|
854
|
+
readonly required: readonly ["wiki_page_version_count", "artist_version_count", "pool_version_count", "forum_post_count", "comment_count", "flag_count", "favorite_count", "positive_feedback_count", "neutral_feedback_count", "negative_feedback_count", "upload_limit", "profile_about", "profile_artinfo"];
|
|
855
|
+
readonly properties: {
|
|
856
|
+
readonly wiki_page_version_count: {
|
|
857
|
+
readonly type: "integer";
|
|
858
|
+
};
|
|
859
|
+
readonly artist_version_count: {
|
|
860
|
+
readonly type: "integer";
|
|
861
|
+
};
|
|
862
|
+
readonly pool_version_count: {
|
|
863
|
+
readonly type: "integer";
|
|
864
|
+
};
|
|
865
|
+
readonly forum_post_count: {
|
|
866
|
+
readonly type: "integer";
|
|
867
|
+
};
|
|
868
|
+
readonly comment_count: {
|
|
869
|
+
readonly type: "integer";
|
|
870
|
+
};
|
|
871
|
+
readonly flag_count: {
|
|
872
|
+
readonly type: "integer";
|
|
873
|
+
};
|
|
874
|
+
readonly favorite_count: {
|
|
875
|
+
readonly type: "integer";
|
|
876
|
+
};
|
|
877
|
+
readonly positive_feedback_count: {
|
|
878
|
+
readonly type: "integer";
|
|
879
|
+
};
|
|
880
|
+
readonly neutral_feedback_count: {
|
|
881
|
+
readonly type: "integer";
|
|
882
|
+
};
|
|
883
|
+
readonly negative_feedback_count: {
|
|
884
|
+
readonly type: "integer";
|
|
885
|
+
};
|
|
886
|
+
readonly upload_limit: {
|
|
887
|
+
readonly type: "integer";
|
|
888
|
+
};
|
|
889
|
+
readonly profile_about: {
|
|
890
|
+
readonly type: "string";
|
|
891
|
+
};
|
|
892
|
+
readonly profile_artinfo: {
|
|
893
|
+
readonly type: "string";
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
}];
|
|
897
|
+
};
|
|
898
|
+
export declare const HelpSchema: {
|
|
899
|
+
readonly type: "object";
|
|
900
|
+
readonly required: readonly ["id", "name", "title", "wiki_page", "related", "created_at", "updated_at"];
|
|
901
|
+
readonly properties: {
|
|
902
|
+
readonly id: {
|
|
903
|
+
readonly type: "integer";
|
|
904
|
+
};
|
|
905
|
+
readonly name: {
|
|
906
|
+
readonly type: "string";
|
|
907
|
+
};
|
|
908
|
+
readonly title: {
|
|
909
|
+
readonly type: "string";
|
|
910
|
+
};
|
|
911
|
+
readonly wiki_page: {
|
|
912
|
+
readonly type: "string";
|
|
913
|
+
};
|
|
914
|
+
readonly related: {
|
|
915
|
+
readonly type: "string";
|
|
916
|
+
};
|
|
917
|
+
readonly created_at: {
|
|
918
|
+
readonly type: "string";
|
|
919
|
+
readonly format: "date-time";
|
|
920
|
+
};
|
|
921
|
+
readonly updated_at: {
|
|
922
|
+
readonly type: "string";
|
|
923
|
+
readonly format: "date-time";
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
export declare const IpBanSchema: {
|
|
928
|
+
readonly type: "object";
|
|
929
|
+
readonly description: "Due to a global filter, the ip_addr is not present no matter your user level.";
|
|
930
|
+
readonly required: readonly ["id", "creator_id", "reason", "created_at", "updated_at"];
|
|
931
|
+
readonly properties: {
|
|
932
|
+
readonly id: {
|
|
933
|
+
readonly type: "integer";
|
|
934
|
+
};
|
|
935
|
+
readonly creator_id: {
|
|
936
|
+
readonly type: "integer";
|
|
937
|
+
};
|
|
938
|
+
readonly reason: {
|
|
939
|
+
readonly type: "string";
|
|
940
|
+
};
|
|
941
|
+
readonly created_at: {
|
|
942
|
+
readonly type: "string";
|
|
943
|
+
readonly format: "date-time";
|
|
944
|
+
};
|
|
945
|
+
readonly updated_at: {
|
|
946
|
+
readonly type: "string";
|
|
947
|
+
readonly format: "date-time";
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
export declare const IqdbPostSchema: {
|
|
952
|
+
readonly type: "object";
|
|
953
|
+
readonly required: readonly ["id", "created_at", "updated_at", "up_score", "down_score", "score", "source", "md5", "rating", "is_note_locked", "is_rating_locked", "is_status_locked", "is_pending", "is_flagged", "is_deleted", "uploader_id", "approver_id", "last_noted_at", "last_comment_bumped_at", "fav_count", "tag_string", "tag_count", "tag_count_general", "tag_count_artist", "tag_count_character", "tag_count_copyright", "file_ext", "file_size", "image_width", "image_height", "parent_id", "has_children", "last_commented_at", "has_active_children", "bit_flags", "tag_count_meta", "locked_tags", "tag_count_species", "tag_count_invalid", "description", "comment_count", "change_seq", "tag_count_lore", "bg_color", "generated_samples", "duration", "is_comment_disabled", "is_comment_locked", "has_large", "has_visible_children", "children_ids", "pool_ids", "is_favorited"];
|
|
954
|
+
readonly properties: {
|
|
955
|
+
readonly id: {
|
|
956
|
+
readonly type: "integer";
|
|
957
|
+
};
|
|
958
|
+
readonly created_at: {
|
|
959
|
+
readonly type: "string";
|
|
960
|
+
readonly format: "date-time";
|
|
961
|
+
};
|
|
962
|
+
readonly updated_at: {
|
|
963
|
+
readonly type: "string";
|
|
964
|
+
readonly format: "date-time";
|
|
965
|
+
};
|
|
966
|
+
readonly up_score: {
|
|
967
|
+
readonly type: "integer";
|
|
968
|
+
};
|
|
969
|
+
readonly down_score: {
|
|
970
|
+
readonly type: "integer";
|
|
971
|
+
};
|
|
972
|
+
readonly score: {
|
|
973
|
+
readonly type: "integer";
|
|
974
|
+
};
|
|
975
|
+
readonly source: {
|
|
976
|
+
readonly type: "string";
|
|
977
|
+
};
|
|
978
|
+
readonly md5: {
|
|
979
|
+
readonly type: "string";
|
|
980
|
+
};
|
|
981
|
+
readonly rating: {
|
|
982
|
+
readonly $ref: "#/components/schemas/Ratings";
|
|
983
|
+
};
|
|
984
|
+
readonly is_note_locked: {
|
|
985
|
+
readonly type: "boolean";
|
|
986
|
+
};
|
|
987
|
+
readonly is_rating_locked: {
|
|
988
|
+
readonly type: "boolean";
|
|
989
|
+
};
|
|
990
|
+
readonly is_status_locked: {
|
|
991
|
+
readonly type: "boolean";
|
|
992
|
+
};
|
|
993
|
+
readonly is_pending: {
|
|
994
|
+
readonly type: "boolean";
|
|
995
|
+
};
|
|
996
|
+
readonly is_flagged: {
|
|
997
|
+
readonly type: "boolean";
|
|
998
|
+
};
|
|
999
|
+
readonly is_deleted: {
|
|
1000
|
+
readonly type: "boolean";
|
|
1001
|
+
};
|
|
1002
|
+
readonly uploader_id: {
|
|
1003
|
+
readonly type: "integer";
|
|
1004
|
+
};
|
|
1005
|
+
readonly approver_id: {
|
|
1006
|
+
readonly type: "integer";
|
|
1007
|
+
};
|
|
1008
|
+
readonly last_noted_at: {
|
|
1009
|
+
readonly type: "string";
|
|
1010
|
+
readonly format: "date-time";
|
|
1011
|
+
readonly nullable: true;
|
|
1012
|
+
};
|
|
1013
|
+
readonly last_comment_bumped_at: {
|
|
1014
|
+
readonly type: "string";
|
|
1015
|
+
readonly format: "date-time";
|
|
1016
|
+
readonly nullable: true;
|
|
1017
|
+
};
|
|
1018
|
+
readonly fav_count: {
|
|
1019
|
+
readonly type: "integer";
|
|
1020
|
+
};
|
|
1021
|
+
readonly tag_string: {
|
|
1022
|
+
readonly type: "string";
|
|
1023
|
+
};
|
|
1024
|
+
readonly tag_count: {
|
|
1025
|
+
readonly type: "integer";
|
|
1026
|
+
};
|
|
1027
|
+
readonly tag_count_general: {
|
|
1028
|
+
readonly type: "integer";
|
|
1029
|
+
};
|
|
1030
|
+
readonly tag_count_artist: {
|
|
1031
|
+
readonly type: "integer";
|
|
1032
|
+
};
|
|
1033
|
+
readonly tag_count_character: {
|
|
1034
|
+
readonly type: "integer";
|
|
1035
|
+
};
|
|
1036
|
+
readonly tag_count_copyright: {
|
|
1037
|
+
readonly type: "integer";
|
|
1038
|
+
};
|
|
1039
|
+
readonly file_ext: {
|
|
1040
|
+
readonly type: "string";
|
|
1041
|
+
};
|
|
1042
|
+
readonly file_size: {
|
|
1043
|
+
readonly type: "integer";
|
|
1044
|
+
readonly format: "int64";
|
|
1045
|
+
};
|
|
1046
|
+
readonly image_width: {
|
|
1047
|
+
readonly type: "integer";
|
|
1048
|
+
};
|
|
1049
|
+
readonly image_height: {
|
|
1050
|
+
readonly type: "integer";
|
|
1051
|
+
};
|
|
1052
|
+
readonly parent_id: {
|
|
1053
|
+
readonly type: "integer";
|
|
1054
|
+
readonly nullable: true;
|
|
1055
|
+
};
|
|
1056
|
+
readonly has_children: {
|
|
1057
|
+
readonly type: "boolean";
|
|
1058
|
+
};
|
|
1059
|
+
readonly last_commented_at: {
|
|
1060
|
+
readonly type: "string";
|
|
1061
|
+
readonly format: "date-time";
|
|
1062
|
+
readonly nullable: true;
|
|
1063
|
+
};
|
|
1064
|
+
readonly has_active_children: {
|
|
1065
|
+
readonly type: "boolean";
|
|
1066
|
+
};
|
|
1067
|
+
readonly bit_flags: {
|
|
1068
|
+
readonly type: "integer";
|
|
1069
|
+
};
|
|
1070
|
+
readonly tag_count_meta: {
|
|
1071
|
+
readonly type: "integer";
|
|
1072
|
+
};
|
|
1073
|
+
readonly locked_tags: {
|
|
1074
|
+
readonly type: "string";
|
|
1075
|
+
readonly nullable: true;
|
|
1076
|
+
};
|
|
1077
|
+
readonly tag_count_species: {
|
|
1078
|
+
readonly type: "integer";
|
|
1079
|
+
};
|
|
1080
|
+
readonly tag_count_invalid: {
|
|
1081
|
+
readonly type: "integer";
|
|
1082
|
+
};
|
|
1083
|
+
readonly description: {
|
|
1084
|
+
readonly type: "string";
|
|
1085
|
+
};
|
|
1086
|
+
readonly comment_count: {
|
|
1087
|
+
readonly type: "integer";
|
|
1088
|
+
};
|
|
1089
|
+
readonly change_seq: {
|
|
1090
|
+
readonly type: "integer";
|
|
1091
|
+
};
|
|
1092
|
+
readonly tag_count_lore: {
|
|
1093
|
+
readonly type: "integer";
|
|
1094
|
+
};
|
|
1095
|
+
readonly bg_color: {
|
|
1096
|
+
readonly type: "string";
|
|
1097
|
+
readonly nullable: true;
|
|
1098
|
+
};
|
|
1099
|
+
readonly generated_samples: {
|
|
1100
|
+
readonly type: "array";
|
|
1101
|
+
readonly nullable: true;
|
|
1102
|
+
readonly items: {
|
|
1103
|
+
readonly type: "string";
|
|
1104
|
+
readonly enum: readonly ["720p", "480p", "original"];
|
|
1105
|
+
};
|
|
1106
|
+
};
|
|
1107
|
+
readonly duration: {
|
|
1108
|
+
readonly type: "string";
|
|
1109
|
+
readonly nullable: true;
|
|
1110
|
+
};
|
|
1111
|
+
readonly is_comment_disabled: {
|
|
1112
|
+
readonly type: "boolean";
|
|
1113
|
+
};
|
|
1114
|
+
readonly is_comment_locked: {
|
|
1115
|
+
readonly type: "boolean";
|
|
1116
|
+
};
|
|
1117
|
+
readonly has_large: {
|
|
1118
|
+
readonly type: "boolean";
|
|
1119
|
+
};
|
|
1120
|
+
readonly has_visible_children: {
|
|
1121
|
+
readonly type: "boolean";
|
|
1122
|
+
};
|
|
1123
|
+
readonly children_ids: {
|
|
1124
|
+
readonly type: "string";
|
|
1125
|
+
readonly nullable: true;
|
|
1126
|
+
};
|
|
1127
|
+
readonly pool_ids: {
|
|
1128
|
+
readonly type: "array";
|
|
1129
|
+
readonly items: {
|
|
1130
|
+
readonly type: "integer";
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
readonly is_favorited: {
|
|
1134
|
+
readonly type: "boolean";
|
|
1135
|
+
};
|
|
1136
|
+
readonly file_url: {
|
|
1137
|
+
readonly type: "string";
|
|
1138
|
+
};
|
|
1139
|
+
readonly large_file_url: {
|
|
1140
|
+
readonly type: "string";
|
|
1141
|
+
};
|
|
1142
|
+
readonly preview_file_url: {
|
|
1143
|
+
readonly type: "string";
|
|
1144
|
+
};
|
|
1145
|
+
};
|
|
1146
|
+
};
|
|
1147
|
+
export declare const IqdbResponseSchema: {
|
|
1148
|
+
readonly type: "object";
|
|
1149
|
+
readonly required: readonly ["hash", "post_id", "score", "post"];
|
|
1150
|
+
readonly properties: {
|
|
1151
|
+
readonly hash: {
|
|
1152
|
+
readonly type: "string";
|
|
1153
|
+
};
|
|
1154
|
+
readonly post_id: {
|
|
1155
|
+
readonly type: "integer";
|
|
1156
|
+
};
|
|
1157
|
+
readonly score: {
|
|
1158
|
+
readonly type: "number";
|
|
1159
|
+
readonly format: "float";
|
|
1160
|
+
readonly minimum: 0;
|
|
1161
|
+
readonly maximum: 100;
|
|
1162
|
+
};
|
|
1163
|
+
readonly post: {
|
|
1164
|
+
readonly type: "object";
|
|
1165
|
+
readonly required: readonly ["posts"];
|
|
1166
|
+
readonly properties: {
|
|
1167
|
+
readonly posts: {
|
|
1168
|
+
readonly $ref: "#/components/schemas/IqdbPost";
|
|
1169
|
+
};
|
|
1170
|
+
};
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
};
|
|
1174
|
+
export declare const MascotSchema: {
|
|
1175
|
+
readonly type: "object";
|
|
1176
|
+
readonly required: readonly ["id", "creator_id", "display_name", "md5", "file_ext", "background_color", "artist_url", "artist_name", "active", "created_at", "updated_at", "available_on", "url_path"];
|
|
1177
|
+
readonly properties: {
|
|
1178
|
+
readonly id: {
|
|
1179
|
+
readonly type: "integer";
|
|
1180
|
+
};
|
|
1181
|
+
readonly creator_id: {
|
|
1182
|
+
readonly type: "integer";
|
|
1183
|
+
};
|
|
1184
|
+
readonly display_name: {
|
|
1185
|
+
readonly type: "string";
|
|
1186
|
+
};
|
|
1187
|
+
readonly md5: {
|
|
1188
|
+
readonly type: "string";
|
|
1189
|
+
};
|
|
1190
|
+
readonly file_ext: {
|
|
1191
|
+
readonly type: "string";
|
|
1192
|
+
};
|
|
1193
|
+
readonly background_color: {
|
|
1194
|
+
readonly type: "string";
|
|
1195
|
+
};
|
|
1196
|
+
readonly artist_url: {
|
|
1197
|
+
readonly type: "string";
|
|
1198
|
+
readonly format: "uri";
|
|
1199
|
+
};
|
|
1200
|
+
readonly artist_name: {
|
|
1201
|
+
readonly type: "string";
|
|
1202
|
+
};
|
|
1203
|
+
readonly active: {
|
|
1204
|
+
readonly type: "boolean";
|
|
1205
|
+
};
|
|
1206
|
+
readonly created_at: {
|
|
1207
|
+
readonly type: "string";
|
|
1208
|
+
readonly format: "date-time";
|
|
1209
|
+
};
|
|
1210
|
+
readonly updated_at: {
|
|
1211
|
+
readonly type: "string";
|
|
1212
|
+
readonly format: "date-time";
|
|
1213
|
+
};
|
|
1214
|
+
readonly available_on: {
|
|
1215
|
+
readonly type: "array";
|
|
1216
|
+
readonly items: {
|
|
1217
|
+
readonly type: "string";
|
|
1218
|
+
};
|
|
1219
|
+
};
|
|
1220
|
+
readonly url_path: {
|
|
1221
|
+
readonly type: "string";
|
|
1222
|
+
readonly format: "uri";
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
export declare const ModActionSchema: {
|
|
1227
|
+
readonly type: "object";
|
|
1228
|
+
readonly required: readonly ["id", "creator_id", "created_at", "updated_at", "action"];
|
|
1229
|
+
readonly properties: {
|
|
1230
|
+
readonly id: {
|
|
1231
|
+
readonly type: "integer";
|
|
1232
|
+
};
|
|
1233
|
+
readonly creator_id: {
|
|
1234
|
+
readonly type: "integer";
|
|
1235
|
+
};
|
|
1236
|
+
readonly created_at: {
|
|
1237
|
+
readonly type: "string";
|
|
1238
|
+
readonly format: "date-time";
|
|
1239
|
+
};
|
|
1240
|
+
readonly updated_at: {
|
|
1241
|
+
readonly type: "string";
|
|
1242
|
+
readonly format: "date-time";
|
|
1243
|
+
};
|
|
1244
|
+
readonly action: {
|
|
1245
|
+
readonly $ref: "#/components/schemas/ModActionActions";
|
|
1246
|
+
};
|
|
1247
|
+
};
|
|
1248
|
+
};
|
|
1249
|
+
export declare const NewsUpdateSchema: {
|
|
1250
|
+
readonly type: "object";
|
|
1251
|
+
readonly required: readonly ["id", "message", "creator_id", "updater_id", "created_at", "updated_at"];
|
|
1252
|
+
readonly properties: {
|
|
1253
|
+
readonly id: {
|
|
1254
|
+
readonly type: "integer";
|
|
1255
|
+
};
|
|
1256
|
+
readonly message: {
|
|
1257
|
+
readonly type: "string";
|
|
1258
|
+
};
|
|
1259
|
+
readonly creator_id: {
|
|
1260
|
+
readonly type: "integer";
|
|
1261
|
+
};
|
|
1262
|
+
readonly updater_id: {
|
|
1263
|
+
readonly type: "integer";
|
|
1264
|
+
};
|
|
1265
|
+
readonly created_at: {
|
|
1266
|
+
readonly type: "string";
|
|
1267
|
+
readonly format: "date-time";
|
|
1268
|
+
};
|
|
1269
|
+
readonly updated_at: {
|
|
1270
|
+
readonly type: "string";
|
|
1271
|
+
readonly format: "date-time";
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
};
|
|
1275
|
+
export declare const NoteSchema: {
|
|
1276
|
+
readonly type: "object";
|
|
1277
|
+
readonly required: readonly ["id", "created_at", "updated_at", "creator_id", "x", "y", "width", "height", "version", "is_active", "post_id", "body", "creator_name"];
|
|
1278
|
+
readonly properties: {
|
|
1279
|
+
readonly id: {
|
|
1280
|
+
readonly type: "integer";
|
|
1281
|
+
};
|
|
1282
|
+
readonly created_at: {
|
|
1283
|
+
readonly type: "string";
|
|
1284
|
+
readonly format: "date-time";
|
|
1285
|
+
};
|
|
1286
|
+
readonly updated_at: {
|
|
1287
|
+
readonly type: "string";
|
|
1288
|
+
readonly format: "date-time";
|
|
1289
|
+
};
|
|
1290
|
+
readonly creator_id: {
|
|
1291
|
+
readonly type: "integer";
|
|
1292
|
+
};
|
|
1293
|
+
readonly x: {
|
|
1294
|
+
readonly type: "integer";
|
|
1295
|
+
};
|
|
1296
|
+
readonly y: {
|
|
1297
|
+
readonly type: "integer";
|
|
1298
|
+
};
|
|
1299
|
+
readonly width: {
|
|
1300
|
+
readonly type: "integer";
|
|
1301
|
+
};
|
|
1302
|
+
readonly height: {
|
|
1303
|
+
readonly type: "integer";
|
|
1304
|
+
};
|
|
1305
|
+
readonly version: {
|
|
1306
|
+
readonly type: "integer";
|
|
1307
|
+
};
|
|
1308
|
+
readonly is_active: {
|
|
1309
|
+
readonly type: "boolean";
|
|
1310
|
+
};
|
|
1311
|
+
readonly post_id: {
|
|
1312
|
+
readonly type: "integer";
|
|
1313
|
+
};
|
|
1314
|
+
readonly body: {
|
|
1315
|
+
readonly type: "string";
|
|
1316
|
+
};
|
|
1317
|
+
readonly creator_name: {
|
|
1318
|
+
readonly type: "string";
|
|
1319
|
+
};
|
|
1320
|
+
};
|
|
1321
|
+
};
|
|
1322
|
+
export declare const NoteVersionSchema: {
|
|
1323
|
+
readonly type: "object";
|
|
1324
|
+
readonly required: readonly ["id", "created_at", "updated_at", "x", "y", "width", "height", "body", "version", "is_active", "note_id", "post_id", "updater_id"];
|
|
1325
|
+
readonly properties: {
|
|
1326
|
+
readonly id: {
|
|
1327
|
+
readonly type: "integer";
|
|
1328
|
+
};
|
|
1329
|
+
readonly created_at: {
|
|
1330
|
+
readonly type: "string";
|
|
1331
|
+
readonly format: "date-time";
|
|
1332
|
+
};
|
|
1333
|
+
readonly updated_at: {
|
|
1334
|
+
readonly type: "string";
|
|
1335
|
+
readonly format: "date-time";
|
|
1336
|
+
};
|
|
1337
|
+
readonly x: {
|
|
1338
|
+
readonly type: "integer";
|
|
1339
|
+
};
|
|
1340
|
+
readonly y: {
|
|
1341
|
+
readonly type: "integer";
|
|
1342
|
+
};
|
|
1343
|
+
readonly width: {
|
|
1344
|
+
readonly type: "integer";
|
|
1345
|
+
};
|
|
1346
|
+
readonly height: {
|
|
1347
|
+
readonly type: "integer";
|
|
1348
|
+
};
|
|
1349
|
+
readonly body: {
|
|
1350
|
+
readonly type: "string";
|
|
1351
|
+
};
|
|
1352
|
+
readonly version: {
|
|
1353
|
+
readonly type: "integer";
|
|
1354
|
+
};
|
|
1355
|
+
readonly is_active: {
|
|
1356
|
+
readonly type: "boolean";
|
|
1357
|
+
};
|
|
1358
|
+
readonly note_id: {
|
|
1359
|
+
readonly type: "integer";
|
|
1360
|
+
};
|
|
1361
|
+
readonly post_id: {
|
|
1362
|
+
readonly type: "integer";
|
|
1363
|
+
};
|
|
1364
|
+
readonly updater_id: {
|
|
1365
|
+
readonly type: "integer";
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
};
|
|
1369
|
+
export declare const PoolSchema: {
|
|
1370
|
+
readonly type: "object";
|
|
1371
|
+
readonly required: readonly ["id", "name", "created_at", "updated_at", "creator_id", "description", "is_active", "category", "post_ids", "creator_name", "post_count"];
|
|
1372
|
+
readonly properties: {
|
|
1373
|
+
readonly id: {
|
|
1374
|
+
readonly type: "integer";
|
|
1375
|
+
};
|
|
1376
|
+
readonly name: {
|
|
1377
|
+
readonly type: "string";
|
|
1378
|
+
};
|
|
1379
|
+
readonly updated_at: {
|
|
1380
|
+
readonly type: "string";
|
|
1381
|
+
readonly format: "date-time";
|
|
1382
|
+
};
|
|
1383
|
+
readonly creator_id: {
|
|
1384
|
+
readonly type: "integer";
|
|
1385
|
+
};
|
|
1386
|
+
readonly description: {
|
|
1387
|
+
readonly type: "string";
|
|
1388
|
+
};
|
|
1389
|
+
readonly is_active: {
|
|
1390
|
+
readonly type: "boolean";
|
|
1391
|
+
};
|
|
1392
|
+
readonly category: {
|
|
1393
|
+
readonly $ref: "#/components/schemas/PoolCategories";
|
|
1394
|
+
};
|
|
1395
|
+
readonly post_ids: {
|
|
1396
|
+
readonly type: "array";
|
|
1397
|
+
readonly items: {
|
|
1398
|
+
readonly type: "integer";
|
|
1399
|
+
};
|
|
1400
|
+
};
|
|
1401
|
+
readonly created_at: {
|
|
1402
|
+
readonly type: "string";
|
|
1403
|
+
readonly format: "date-time";
|
|
1404
|
+
};
|
|
1405
|
+
readonly creator_name: {
|
|
1406
|
+
readonly type: "string";
|
|
1407
|
+
};
|
|
1408
|
+
readonly post_count: {
|
|
1409
|
+
readonly type: "integer";
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
export declare const PoolVersionSchema: {
|
|
1414
|
+
readonly type: "object";
|
|
1415
|
+
readonly required: readonly ["id", "pool_id", "post_ids", "updater_id", "created_at", "updated_at", "name", "name_changed", "description", "description_changed", "is_active", "is_locked", "category", "version", "added_post_ids", "removed_post_ids"];
|
|
1416
|
+
readonly properties: {
|
|
1417
|
+
readonly id: {
|
|
1418
|
+
readonly type: "integer";
|
|
1419
|
+
};
|
|
1420
|
+
readonly pool_id: {
|
|
1421
|
+
readonly type: "integer";
|
|
1422
|
+
};
|
|
1423
|
+
readonly post_ids: {
|
|
1424
|
+
readonly type: "array";
|
|
1425
|
+
readonly items: {
|
|
1426
|
+
readonly type: "integer";
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1429
|
+
readonly created_at: {
|
|
1430
|
+
readonly type: "string";
|
|
1431
|
+
readonly format: "date-time";
|
|
1432
|
+
};
|
|
1433
|
+
readonly updated_at: {
|
|
1434
|
+
readonly type: "string";
|
|
1435
|
+
readonly format: "date-time";
|
|
1436
|
+
};
|
|
1437
|
+
readonly updater_id: {
|
|
1438
|
+
readonly type: "integer";
|
|
1439
|
+
};
|
|
1440
|
+
readonly name: {
|
|
1441
|
+
readonly type: "string";
|
|
1442
|
+
};
|
|
1443
|
+
readonly name_changed: {
|
|
1444
|
+
readonly type: "boolean";
|
|
1445
|
+
};
|
|
1446
|
+
readonly description: {
|
|
1447
|
+
readonly type: "string";
|
|
1448
|
+
};
|
|
1449
|
+
readonly description_changed: {
|
|
1450
|
+
readonly type: "boolean";
|
|
1451
|
+
};
|
|
1452
|
+
readonly is_active: {
|
|
1453
|
+
readonly type: "boolean";
|
|
1454
|
+
};
|
|
1455
|
+
readonly is_locked: {
|
|
1456
|
+
readonly type: "boolean";
|
|
1457
|
+
};
|
|
1458
|
+
readonly category: {
|
|
1459
|
+
readonly $ref: "#/components/schemas/PoolCategories";
|
|
1460
|
+
};
|
|
1461
|
+
readonly version: {
|
|
1462
|
+
readonly type: "integer";
|
|
1463
|
+
};
|
|
1464
|
+
readonly added_post_ids: {
|
|
1465
|
+
readonly type: "array";
|
|
1466
|
+
readonly items: {
|
|
1467
|
+
readonly type: "integer";
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
readonly removed_post_ids: {
|
|
1471
|
+
readonly type: "array";
|
|
1472
|
+
readonly items: {
|
|
1473
|
+
readonly type: "integer";
|
|
1474
|
+
};
|
|
1475
|
+
};
|
|
1476
|
+
};
|
|
1477
|
+
};
|
|
1478
|
+
export declare const PostSchema: {
|
|
1479
|
+
readonly type: "object";
|
|
1480
|
+
readonly required: readonly ["id", "created_at", "updated_at", "file", "preview", "sample", "score", "tags", "locked_tags", "change_seq", "flags", "rating", "fav_count", "sources", "pools", "relationships", "approver_id", "uploader_id", "description", "comment_count", "is_favorited", "has_notes", "duration", "uploader_name"];
|
|
1481
|
+
readonly properties: {
|
|
1482
|
+
readonly id: {
|
|
1483
|
+
readonly type: "integer";
|
|
1484
|
+
};
|
|
1485
|
+
readonly created_at: {
|
|
1486
|
+
readonly type: "string";
|
|
1487
|
+
readonly format: "date-time";
|
|
1488
|
+
};
|
|
1489
|
+
readonly updated_at: {
|
|
1490
|
+
readonly type: "string";
|
|
1491
|
+
readonly format: "date-time";
|
|
1492
|
+
};
|
|
1493
|
+
readonly file: {
|
|
1494
|
+
readonly type: "object";
|
|
1495
|
+
readonly required: readonly ["width", "height", "ext", "size", "md5", "url"];
|
|
1496
|
+
readonly properties: {
|
|
1497
|
+
readonly width: {
|
|
1498
|
+
readonly type: "integer";
|
|
1499
|
+
};
|
|
1500
|
+
readonly height: {
|
|
1501
|
+
readonly type: "integer";
|
|
1502
|
+
};
|
|
1503
|
+
readonly ext: {
|
|
1504
|
+
readonly type: "string";
|
|
1505
|
+
};
|
|
1506
|
+
readonly size: {
|
|
1507
|
+
readonly type: "integer";
|
|
1508
|
+
readonly format: "int64";
|
|
1509
|
+
};
|
|
1510
|
+
readonly md5: {
|
|
1511
|
+
readonly type: "string";
|
|
1512
|
+
};
|
|
1513
|
+
readonly url: {
|
|
1514
|
+
readonly type: "string";
|
|
1515
|
+
readonly nullable: true;
|
|
1516
|
+
};
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1519
|
+
readonly preview: {
|
|
1520
|
+
readonly type: "object";
|
|
1521
|
+
readonly required: readonly ["width", "height", "url"];
|
|
1522
|
+
readonly properties: {
|
|
1523
|
+
readonly width: {
|
|
1524
|
+
readonly type: "integer";
|
|
1525
|
+
};
|
|
1526
|
+
readonly height: {
|
|
1527
|
+
readonly type: "integer";
|
|
1528
|
+
};
|
|
1529
|
+
readonly url: {
|
|
1530
|
+
readonly type: "string";
|
|
1531
|
+
readonly nullable: true;
|
|
1532
|
+
};
|
|
1533
|
+
};
|
|
1534
|
+
};
|
|
1535
|
+
readonly sample: {
|
|
1536
|
+
readonly type: "object";
|
|
1537
|
+
readonly required: readonly ["has", "height", "width", "url", "alternates"];
|
|
1538
|
+
readonly properties: {
|
|
1539
|
+
readonly has: {
|
|
1540
|
+
readonly type: "boolean";
|
|
1541
|
+
};
|
|
1542
|
+
readonly height: {
|
|
1543
|
+
readonly type: "integer";
|
|
1544
|
+
readonly nullable: true;
|
|
1545
|
+
};
|
|
1546
|
+
readonly width: {
|
|
1547
|
+
readonly type: "integer";
|
|
1548
|
+
readonly nullable: true;
|
|
1549
|
+
};
|
|
1550
|
+
readonly url: {
|
|
1551
|
+
readonly type: "string";
|
|
1552
|
+
readonly nullable: true;
|
|
1553
|
+
};
|
|
1554
|
+
readonly alternates: {
|
|
1555
|
+
readonly type: "object";
|
|
1556
|
+
readonly properties: {
|
|
1557
|
+
readonly has: {
|
|
1558
|
+
readonly type: "boolean";
|
|
1559
|
+
};
|
|
1560
|
+
readonly original: {
|
|
1561
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1562
|
+
};
|
|
1563
|
+
readonly variants: {
|
|
1564
|
+
readonly type: "object";
|
|
1565
|
+
readonly properties: {
|
|
1566
|
+
readonly webm: {
|
|
1567
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1568
|
+
};
|
|
1569
|
+
readonly mp4: {
|
|
1570
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
readonly samples: {
|
|
1575
|
+
readonly type: "object";
|
|
1576
|
+
readonly properties: {
|
|
1577
|
+
readonly '480p': {
|
|
1578
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1579
|
+
};
|
|
1580
|
+
readonly '720p': {
|
|
1581
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1582
|
+
};
|
|
1583
|
+
};
|
|
1584
|
+
};
|
|
1585
|
+
};
|
|
1586
|
+
};
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
readonly score: {
|
|
1590
|
+
readonly type: "object";
|
|
1591
|
+
readonly required: readonly ["up", "down", "total"];
|
|
1592
|
+
readonly properties: {
|
|
1593
|
+
readonly up: {
|
|
1594
|
+
readonly type: "integer";
|
|
1595
|
+
};
|
|
1596
|
+
readonly down: {
|
|
1597
|
+
readonly type: "integer";
|
|
1598
|
+
};
|
|
1599
|
+
readonly total: {
|
|
1600
|
+
readonly type: "integer";
|
|
1601
|
+
};
|
|
1602
|
+
};
|
|
1603
|
+
};
|
|
1604
|
+
readonly tags: {
|
|
1605
|
+
readonly type: "object";
|
|
1606
|
+
readonly required: readonly ["general", "artist", "copyright", "character", "species", "invalid", "meta", "lore", "contributor"];
|
|
1607
|
+
readonly properties: {
|
|
1608
|
+
readonly general: {
|
|
1609
|
+
readonly type: "array";
|
|
1610
|
+
readonly items: {
|
|
1611
|
+
readonly type: "string";
|
|
1612
|
+
};
|
|
1613
|
+
};
|
|
1614
|
+
readonly artist: {
|
|
1615
|
+
readonly type: "array";
|
|
1616
|
+
readonly items: {
|
|
1617
|
+
readonly type: "string";
|
|
1618
|
+
};
|
|
1619
|
+
};
|
|
1620
|
+
readonly copyright: {
|
|
1621
|
+
readonly type: "array";
|
|
1622
|
+
readonly items: {
|
|
1623
|
+
readonly type: "string";
|
|
1624
|
+
};
|
|
1625
|
+
};
|
|
1626
|
+
readonly character: {
|
|
1627
|
+
readonly type: "array";
|
|
1628
|
+
readonly items: {
|
|
1629
|
+
readonly type: "string";
|
|
1630
|
+
};
|
|
1631
|
+
};
|
|
1632
|
+
readonly species: {
|
|
1633
|
+
readonly type: "array";
|
|
1634
|
+
readonly items: {
|
|
1635
|
+
readonly type: "string";
|
|
1636
|
+
};
|
|
1637
|
+
};
|
|
1638
|
+
readonly invalid: {
|
|
1639
|
+
readonly type: "array";
|
|
1640
|
+
readonly items: {
|
|
1641
|
+
readonly type: "string";
|
|
1642
|
+
};
|
|
1643
|
+
};
|
|
1644
|
+
readonly meta: {
|
|
1645
|
+
readonly type: "array";
|
|
1646
|
+
readonly items: {
|
|
1647
|
+
readonly type: "string";
|
|
1648
|
+
};
|
|
1649
|
+
};
|
|
1650
|
+
readonly lore: {
|
|
1651
|
+
readonly type: "array";
|
|
1652
|
+
readonly items: {
|
|
1653
|
+
readonly type: "string";
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
readonly contributor: {
|
|
1657
|
+
readonly type: "array";
|
|
1658
|
+
readonly items: {
|
|
1659
|
+
readonly type: "string";
|
|
1660
|
+
};
|
|
1661
|
+
};
|
|
1662
|
+
};
|
|
1663
|
+
};
|
|
1664
|
+
readonly locked_tags: {
|
|
1665
|
+
readonly type: "array";
|
|
1666
|
+
readonly nullable: true;
|
|
1667
|
+
readonly items: {
|
|
1668
|
+
readonly type: "string";
|
|
1669
|
+
};
|
|
1670
|
+
};
|
|
1671
|
+
readonly change_seq: {
|
|
1672
|
+
readonly type: "integer";
|
|
1673
|
+
};
|
|
1674
|
+
readonly flags: {
|
|
1675
|
+
readonly type: "object";
|
|
1676
|
+
readonly required: readonly ["pending", "flagged", "note_locked", "status_locked", "rating_locked", "deleted"];
|
|
1677
|
+
readonly properties: {
|
|
1678
|
+
readonly pending: {
|
|
1679
|
+
readonly type: "boolean";
|
|
1680
|
+
};
|
|
1681
|
+
readonly flagged: {
|
|
1682
|
+
readonly type: "boolean";
|
|
1683
|
+
};
|
|
1684
|
+
readonly note_locked: {
|
|
1685
|
+
readonly type: "boolean";
|
|
1686
|
+
};
|
|
1687
|
+
readonly status_locked: {
|
|
1688
|
+
readonly type: "boolean";
|
|
1689
|
+
};
|
|
1690
|
+
readonly rating_locked: {
|
|
1691
|
+
readonly type: "boolean";
|
|
1692
|
+
};
|
|
1693
|
+
readonly deleted: {
|
|
1694
|
+
readonly type: "boolean";
|
|
1695
|
+
};
|
|
1696
|
+
};
|
|
1697
|
+
};
|
|
1698
|
+
readonly rating: {
|
|
1699
|
+
readonly $ref: "#/components/schemas/Ratings";
|
|
1700
|
+
};
|
|
1701
|
+
readonly fav_count: {
|
|
1702
|
+
readonly type: "integer";
|
|
1703
|
+
};
|
|
1704
|
+
readonly sources: {
|
|
1705
|
+
readonly type: "array";
|
|
1706
|
+
readonly items: {
|
|
1707
|
+
readonly type: "string";
|
|
1708
|
+
};
|
|
1709
|
+
};
|
|
1710
|
+
readonly pools: {
|
|
1711
|
+
readonly type: "array";
|
|
1712
|
+
readonly items: {
|
|
1713
|
+
readonly type: "integer";
|
|
1714
|
+
};
|
|
1715
|
+
};
|
|
1716
|
+
readonly relationships: {
|
|
1717
|
+
readonly type: "object";
|
|
1718
|
+
readonly required: readonly ["parent_id", "has_children", "has_active_children", "children"];
|
|
1719
|
+
readonly properties: {
|
|
1720
|
+
readonly parent_id: {
|
|
1721
|
+
readonly type: "integer";
|
|
1722
|
+
readonly nullable: true;
|
|
1723
|
+
};
|
|
1724
|
+
readonly has_children: {
|
|
1725
|
+
readonly type: "boolean";
|
|
1726
|
+
};
|
|
1727
|
+
readonly has_active_children: {
|
|
1728
|
+
readonly type: "boolean";
|
|
1729
|
+
};
|
|
1730
|
+
readonly children: {
|
|
1731
|
+
readonly type: "array";
|
|
1732
|
+
readonly items: {
|
|
1733
|
+
readonly type: "integer";
|
|
1734
|
+
};
|
|
1735
|
+
};
|
|
1736
|
+
};
|
|
1737
|
+
};
|
|
1738
|
+
readonly approver_id: {
|
|
1739
|
+
readonly type: "integer";
|
|
1740
|
+
readonly nullable: true;
|
|
1741
|
+
};
|
|
1742
|
+
readonly uploader_id: {
|
|
1743
|
+
readonly type: "integer";
|
|
1744
|
+
};
|
|
1745
|
+
readonly description: {
|
|
1746
|
+
readonly type: "string";
|
|
1747
|
+
};
|
|
1748
|
+
readonly comment_count: {
|
|
1749
|
+
readonly type: "integer";
|
|
1750
|
+
};
|
|
1751
|
+
readonly is_favorited: {
|
|
1752
|
+
readonly type: "boolean";
|
|
1753
|
+
};
|
|
1754
|
+
readonly has_notes: {
|
|
1755
|
+
readonly type: "boolean";
|
|
1756
|
+
};
|
|
1757
|
+
readonly duration: {
|
|
1758
|
+
readonly type: "number";
|
|
1759
|
+
readonly format: "float";
|
|
1760
|
+
readonly nullable: true;
|
|
1761
|
+
};
|
|
1762
|
+
readonly uploader_name: {
|
|
1763
|
+
readonly type: "string";
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
export declare const PostApprovalSchema: {
|
|
1768
|
+
readonly type: "object";
|
|
1769
|
+
readonly required: readonly ["id", "user_id", "post_id", "created_at", "updated_at"];
|
|
1770
|
+
readonly properties: {
|
|
1771
|
+
readonly id: {
|
|
1772
|
+
readonly type: "integer";
|
|
1773
|
+
};
|
|
1774
|
+
readonly user_id: {
|
|
1775
|
+
readonly type: "integer";
|
|
1776
|
+
};
|
|
1777
|
+
readonly post_id: {
|
|
1778
|
+
readonly type: "integer";
|
|
1779
|
+
};
|
|
1780
|
+
readonly created_at: {
|
|
1781
|
+
readonly type: "string";
|
|
1782
|
+
readonly format: "date-time";
|
|
1783
|
+
};
|
|
1784
|
+
readonly updated_at: {
|
|
1785
|
+
readonly type: "string";
|
|
1786
|
+
readonly format: "date-time";
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
};
|
|
1790
|
+
export declare const PostDisapprovalSchema: {
|
|
1791
|
+
readonly type: "object";
|
|
1792
|
+
readonly required: readonly ["id", "user_id", "post_id", "reason", "message", "created_at", "updated_at"];
|
|
1793
|
+
readonly properties: {
|
|
1794
|
+
readonly id: {
|
|
1795
|
+
readonly type: "integer";
|
|
1796
|
+
};
|
|
1797
|
+
readonly user_id: {
|
|
1798
|
+
readonly type: "integer";
|
|
1799
|
+
};
|
|
1800
|
+
readonly post_id: {
|
|
1801
|
+
readonly type: "integer";
|
|
1802
|
+
};
|
|
1803
|
+
readonly reason: {
|
|
1804
|
+
readonly type: "string";
|
|
1805
|
+
readonly enum: readonly ["borderline_quality", "borderline_relevancy", "other"];
|
|
1806
|
+
};
|
|
1807
|
+
readonly message: {
|
|
1808
|
+
readonly type: "string";
|
|
1809
|
+
readonly nullable: true;
|
|
1810
|
+
};
|
|
1811
|
+
readonly created_at: {
|
|
1812
|
+
readonly type: "string";
|
|
1813
|
+
readonly format: "date-time";
|
|
1814
|
+
};
|
|
1815
|
+
readonly updated_at: {
|
|
1816
|
+
readonly type: "string";
|
|
1817
|
+
readonly format: "date-time";
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
};
|
|
1821
|
+
export declare const PostEventSchema: {
|
|
1822
|
+
readonly type: "object";
|
|
1823
|
+
readonly required: readonly ["id", "creator_id", "post_id", "action", "created_at"];
|
|
1824
|
+
readonly properties: {
|
|
1825
|
+
readonly id: {
|
|
1826
|
+
readonly type: "integer";
|
|
1827
|
+
};
|
|
1828
|
+
readonly creator_id: {
|
|
1829
|
+
readonly type: "integer";
|
|
1830
|
+
readonly nullable: true;
|
|
1831
|
+
};
|
|
1832
|
+
readonly post_id: {
|
|
1833
|
+
readonly type: "integer";
|
|
1834
|
+
};
|
|
1835
|
+
readonly action: {
|
|
1836
|
+
readonly $ref: "#/components/schemas/PostEventActions";
|
|
1837
|
+
};
|
|
1838
|
+
readonly created_at: {
|
|
1839
|
+
readonly type: "string";
|
|
1840
|
+
readonly format: "date-time";
|
|
1841
|
+
};
|
|
1842
|
+
};
|
|
1843
|
+
};
|
|
1844
|
+
export declare const PostFlagSchema: {
|
|
1845
|
+
readonly type: "object";
|
|
1846
|
+
readonly required: readonly ["id", "created_at", "post_id", "reason", "is_resolved", "updated_at", "is_deletion", "type"];
|
|
1847
|
+
readonly properties: {
|
|
1848
|
+
readonly id: {
|
|
1849
|
+
readonly type: "integer";
|
|
1850
|
+
};
|
|
1851
|
+
readonly created_at: {
|
|
1852
|
+
readonly type: "string";
|
|
1853
|
+
readonly format: "date-time";
|
|
1854
|
+
};
|
|
1855
|
+
readonly post_id: {
|
|
1856
|
+
readonly type: "integer";
|
|
1857
|
+
};
|
|
1858
|
+
readonly reason: {
|
|
1859
|
+
readonly type: "string";
|
|
1860
|
+
};
|
|
1861
|
+
readonly creator_id: {
|
|
1862
|
+
readonly type: "integer";
|
|
1863
|
+
readonly description: "Only visible to creator and Janitor+";
|
|
1864
|
+
readonly nullable: true;
|
|
1865
|
+
};
|
|
1866
|
+
readonly is_resolved: {
|
|
1867
|
+
readonly type: "boolean";
|
|
1868
|
+
};
|
|
1869
|
+
readonly updated_at: {
|
|
1870
|
+
readonly type: "string";
|
|
1871
|
+
readonly format: "date-time";
|
|
1872
|
+
};
|
|
1873
|
+
readonly is_deletion: {
|
|
1874
|
+
readonly type: "boolean";
|
|
1875
|
+
};
|
|
1876
|
+
readonly type: {
|
|
1877
|
+
readonly type: "string";
|
|
1878
|
+
readonly enum: readonly ["flag", "deletion"];
|
|
1879
|
+
};
|
|
1880
|
+
readonly note: {
|
|
1881
|
+
readonly type: "string";
|
|
1882
|
+
readonly description: "Only visible to creator and Janitor+";
|
|
1883
|
+
readonly nullable: true;
|
|
1884
|
+
};
|
|
1885
|
+
};
|
|
1886
|
+
};
|
|
1887
|
+
export declare const PostReplacementSchema: {
|
|
1888
|
+
readonly type: "object";
|
|
1889
|
+
readonly required: readonly ["id", "created_at", "updated_at", "post_id", "creator_id", "approver_id", "file_ext", "file_size", "image_height", "image_width", "md5", "source", "file_name", "status", "reason"];
|
|
1890
|
+
readonly properties: {
|
|
1891
|
+
readonly id: {
|
|
1892
|
+
readonly type: "integer";
|
|
1893
|
+
};
|
|
1894
|
+
readonly created_at: {
|
|
1895
|
+
readonly type: "string";
|
|
1896
|
+
readonly format: "date-time";
|
|
1897
|
+
};
|
|
1898
|
+
readonly updated_at: {
|
|
1899
|
+
readonly type: "string";
|
|
1900
|
+
readonly format: "date-time";
|
|
1901
|
+
};
|
|
1902
|
+
readonly post_id: {
|
|
1903
|
+
readonly type: "integer";
|
|
1904
|
+
};
|
|
1905
|
+
readonly creator_id: {
|
|
1906
|
+
readonly type: "integer";
|
|
1907
|
+
};
|
|
1908
|
+
readonly approver_id: {
|
|
1909
|
+
readonly type: "integer";
|
|
1910
|
+
readonly nullable: true;
|
|
1911
|
+
};
|
|
1912
|
+
readonly file_ext: {
|
|
1913
|
+
readonly type: "string";
|
|
1914
|
+
};
|
|
1915
|
+
readonly file_size: {
|
|
1916
|
+
readonly type: "integer";
|
|
1917
|
+
readonly format: "int64";
|
|
1918
|
+
};
|
|
1919
|
+
readonly image_height: {
|
|
1920
|
+
readonly type: "integer";
|
|
1921
|
+
};
|
|
1922
|
+
readonly image_width: {
|
|
1923
|
+
readonly type: "integer";
|
|
1924
|
+
};
|
|
1925
|
+
readonly md5: {
|
|
1926
|
+
readonly type: "string";
|
|
1927
|
+
};
|
|
1928
|
+
readonly source: {
|
|
1929
|
+
readonly type: "string";
|
|
1930
|
+
};
|
|
1931
|
+
readonly file_name: {
|
|
1932
|
+
readonly type: "string";
|
|
1933
|
+
};
|
|
1934
|
+
readonly status: {
|
|
1935
|
+
readonly type: "string";
|
|
1936
|
+
readonly enum: readonly ["prompted", "approved", "rejected", "pending", "original"];
|
|
1937
|
+
};
|
|
1938
|
+
readonly reason: {
|
|
1939
|
+
readonly type: "string";
|
|
1940
|
+
};
|
|
1941
|
+
};
|
|
1942
|
+
};
|
|
1943
|
+
export declare const PostSampleAlternateSchema: {
|
|
1944
|
+
readonly type: "object";
|
|
1945
|
+
readonly required: readonly ["fps", "codec", "size", "width", "height", "url"];
|
|
1946
|
+
readonly properties: {
|
|
1947
|
+
readonly fps: {
|
|
1948
|
+
readonly type: "number";
|
|
1949
|
+
readonly format: "float";
|
|
1950
|
+
};
|
|
1951
|
+
readonly codec: {
|
|
1952
|
+
readonly type: "string";
|
|
1953
|
+
};
|
|
1954
|
+
readonly size: {
|
|
1955
|
+
readonly type: "integer";
|
|
1956
|
+
readonly format: "int64";
|
|
1957
|
+
};
|
|
1958
|
+
readonly width: {
|
|
1959
|
+
readonly type: "integer";
|
|
1960
|
+
};
|
|
1961
|
+
readonly height: {
|
|
1962
|
+
readonly type: "integer";
|
|
1963
|
+
};
|
|
1964
|
+
readonly url: {
|
|
1965
|
+
readonly type: "string";
|
|
1966
|
+
readonly format: "uri";
|
|
1967
|
+
};
|
|
1968
|
+
};
|
|
1969
|
+
};
|
|
1970
|
+
export declare const PostSetSchema: {
|
|
1971
|
+
readonly type: "object";
|
|
1972
|
+
readonly required: readonly ["id", "created_at", "updated_at", "creator_id", "is_public", "name", "shortname", "description", "transfer_on_delete", "post_ids", "post_count"];
|
|
1973
|
+
readonly properties: {
|
|
1974
|
+
readonly id: {
|
|
1975
|
+
readonly type: "integer";
|
|
1976
|
+
};
|
|
1977
|
+
readonly created_at: {
|
|
1978
|
+
readonly type: "string";
|
|
1979
|
+
readonly format: "date-time";
|
|
1980
|
+
};
|
|
1981
|
+
readonly updated_at: {
|
|
1982
|
+
readonly type: "string";
|
|
1983
|
+
readonly format: "date-time";
|
|
1984
|
+
};
|
|
1985
|
+
readonly creator_id: {
|
|
1986
|
+
readonly type: "integer";
|
|
1987
|
+
};
|
|
1988
|
+
readonly is_public: {
|
|
1989
|
+
readonly type: "boolean";
|
|
1990
|
+
};
|
|
1991
|
+
readonly name: {
|
|
1992
|
+
readonly type: "string";
|
|
1993
|
+
};
|
|
1994
|
+
readonly shortname: {
|
|
1995
|
+
readonly type: "string";
|
|
1996
|
+
};
|
|
1997
|
+
readonly description: {
|
|
1998
|
+
readonly type: "string";
|
|
1999
|
+
};
|
|
2000
|
+
readonly post_count: {
|
|
2001
|
+
readonly type: "integer";
|
|
2002
|
+
};
|
|
2003
|
+
readonly transfer_on_delete: {
|
|
2004
|
+
readonly type: "boolean";
|
|
2005
|
+
};
|
|
2006
|
+
readonly post_ids: {
|
|
2007
|
+
readonly type: "array";
|
|
2008
|
+
readonly items: {
|
|
2009
|
+
readonly type: "integer";
|
|
2010
|
+
};
|
|
2011
|
+
};
|
|
2012
|
+
};
|
|
2013
|
+
};
|
|
2014
|
+
export declare const PostVersionSchema: {
|
|
2015
|
+
readonly type: "object";
|
|
2016
|
+
readonly required: readonly ["id", "post_id", "tags", "updater_id", "updated_at", "rating", "parent_id", "source", "description", "reason", "locked_tags", "added_tags", "removed_tags", "added_locked_tags", "removed_locked_tags", "rating_changed", "parent_changed", "source_changed", "description_changed", "version", "obsolete_added_tags", "obsolete_removed_tags", "unchanged_tags", "updater_name", "is_hidden"];
|
|
2017
|
+
readonly properties: {
|
|
2018
|
+
readonly id: {
|
|
2019
|
+
readonly type: "integer";
|
|
2020
|
+
};
|
|
2021
|
+
readonly post_id: {
|
|
2022
|
+
readonly type: "integer";
|
|
2023
|
+
};
|
|
2024
|
+
readonly tags: {
|
|
2025
|
+
readonly type: "string";
|
|
2026
|
+
};
|
|
2027
|
+
readonly updater_id: {
|
|
2028
|
+
readonly type: "integer";
|
|
2029
|
+
};
|
|
2030
|
+
readonly updated_at: {
|
|
2031
|
+
readonly type: "string";
|
|
2032
|
+
readonly format: "date-time";
|
|
2033
|
+
};
|
|
2034
|
+
readonly rating: {
|
|
2035
|
+
readonly $ref: "#/components/schemas/Ratings";
|
|
2036
|
+
};
|
|
2037
|
+
readonly parent_id: {
|
|
2038
|
+
readonly type: "integer";
|
|
2039
|
+
readonly nullable: true;
|
|
2040
|
+
};
|
|
2041
|
+
readonly source: {
|
|
2042
|
+
readonly type: "string";
|
|
2043
|
+
};
|
|
2044
|
+
readonly description: {
|
|
2045
|
+
readonly type: "string";
|
|
2046
|
+
};
|
|
2047
|
+
readonly reason: {
|
|
2048
|
+
readonly type: "string";
|
|
2049
|
+
readonly nullable: true;
|
|
2050
|
+
};
|
|
2051
|
+
readonly locked_tags: {
|
|
2052
|
+
readonly type: "string";
|
|
2053
|
+
readonly nullable: true;
|
|
2054
|
+
};
|
|
2055
|
+
readonly added_tags: {
|
|
2056
|
+
readonly type: "array";
|
|
2057
|
+
readonly items: {
|
|
2058
|
+
readonly type: "string";
|
|
2059
|
+
};
|
|
2060
|
+
};
|
|
2061
|
+
readonly removed_tags: {
|
|
2062
|
+
readonly type: "array";
|
|
2063
|
+
readonly items: {
|
|
2064
|
+
readonly type: "string";
|
|
2065
|
+
};
|
|
2066
|
+
};
|
|
2067
|
+
readonly added_locked_tags: {
|
|
2068
|
+
readonly type: "array";
|
|
2069
|
+
readonly items: {
|
|
2070
|
+
readonly type: "string";
|
|
2071
|
+
};
|
|
2072
|
+
};
|
|
2073
|
+
readonly removed_locked_tags: {
|
|
2074
|
+
readonly type: "array";
|
|
2075
|
+
readonly items: {
|
|
2076
|
+
readonly type: "string";
|
|
2077
|
+
};
|
|
2078
|
+
};
|
|
2079
|
+
readonly rating_changed: {
|
|
2080
|
+
readonly type: "boolean";
|
|
2081
|
+
};
|
|
2082
|
+
readonly parent_changed: {
|
|
2083
|
+
readonly type: "boolean";
|
|
2084
|
+
};
|
|
2085
|
+
readonly source_changed: {
|
|
2086
|
+
readonly type: "boolean";
|
|
2087
|
+
};
|
|
2088
|
+
readonly description_changed: {
|
|
2089
|
+
readonly type: "boolean";
|
|
2090
|
+
};
|
|
2091
|
+
readonly version: {
|
|
2092
|
+
readonly type: "integer";
|
|
2093
|
+
};
|
|
2094
|
+
readonly obsolete_added_tags: {
|
|
2095
|
+
readonly type: "string";
|
|
2096
|
+
};
|
|
2097
|
+
readonly obsolete_removed_tags: {
|
|
2098
|
+
readonly type: "string";
|
|
2099
|
+
};
|
|
2100
|
+
readonly unchanged_tags: {
|
|
2101
|
+
readonly type: "string";
|
|
2102
|
+
};
|
|
2103
|
+
readonly updater_name: {
|
|
2104
|
+
readonly type: "string";
|
|
2105
|
+
};
|
|
2106
|
+
readonly is_hidden: {
|
|
2107
|
+
readonly type: "boolean";
|
|
2108
|
+
};
|
|
2109
|
+
};
|
|
2110
|
+
};
|
|
2111
|
+
export declare const RelatedTagSchema: {
|
|
2112
|
+
readonly type: "object";
|
|
2113
|
+
readonly required: readonly ["name", "category_id"];
|
|
2114
|
+
readonly properties: {
|
|
2115
|
+
readonly name: {
|
|
2116
|
+
readonly type: "string";
|
|
2117
|
+
};
|
|
2118
|
+
readonly category_id: {
|
|
2119
|
+
readonly $ref: "#/components/schemas/TagCategories";
|
|
2120
|
+
};
|
|
2121
|
+
};
|
|
2122
|
+
};
|
|
2123
|
+
export declare const StaffNoteSchema: {
|
|
2124
|
+
readonly type: "object";
|
|
2125
|
+
readonly required: readonly ["id", "created_at", "updated_at", "user_id", "creator_id", "body", "is_deleted", "updater_id"];
|
|
2126
|
+
readonly properties: {
|
|
2127
|
+
readonly id: {
|
|
2128
|
+
readonly type: "integer";
|
|
2129
|
+
};
|
|
2130
|
+
readonly created_at: {
|
|
2131
|
+
readonly type: "string";
|
|
2132
|
+
readonly format: "date-time";
|
|
2133
|
+
};
|
|
2134
|
+
readonly updated_at: {
|
|
2135
|
+
readonly type: "string";
|
|
2136
|
+
readonly format: "date-time";
|
|
2137
|
+
};
|
|
2138
|
+
readonly user_id: {
|
|
2139
|
+
readonly type: "integer";
|
|
2140
|
+
};
|
|
2141
|
+
readonly creator_id: {
|
|
2142
|
+
readonly type: "integer";
|
|
2143
|
+
};
|
|
2144
|
+
readonly body: {
|
|
2145
|
+
readonly type: "string";
|
|
2146
|
+
};
|
|
2147
|
+
readonly is_deleted: {
|
|
2148
|
+
readonly type: "boolean";
|
|
2149
|
+
};
|
|
2150
|
+
readonly updater_id: {
|
|
2151
|
+
readonly type: "integer";
|
|
2152
|
+
};
|
|
2153
|
+
};
|
|
2154
|
+
};
|
|
2155
|
+
export declare const TagSchema: {
|
|
2156
|
+
readonly type: "object";
|
|
2157
|
+
readonly required: readonly ["id", "name", "post_count", "related_tags", "related_tags_updated_at", "category", "is_locked", "created_at", "updated_at"];
|
|
2158
|
+
readonly properties: {
|
|
2159
|
+
readonly id: {
|
|
2160
|
+
readonly type: "integer";
|
|
2161
|
+
};
|
|
2162
|
+
readonly name: {
|
|
2163
|
+
readonly type: "string";
|
|
2164
|
+
};
|
|
2165
|
+
readonly post_count: {
|
|
2166
|
+
readonly type: "integer";
|
|
2167
|
+
};
|
|
2168
|
+
readonly related_tags: {
|
|
2169
|
+
readonly type: "array";
|
|
2170
|
+
readonly items: {
|
|
2171
|
+
readonly type: "string";
|
|
2172
|
+
};
|
|
2173
|
+
};
|
|
2174
|
+
readonly related_tags_updated_at: {
|
|
2175
|
+
readonly type: "string";
|
|
2176
|
+
readonly nullable: true;
|
|
2177
|
+
readonly format: "date-time";
|
|
2178
|
+
};
|
|
2179
|
+
readonly category: {
|
|
2180
|
+
readonly $ref: "#/components/schemas/TagCategories";
|
|
2181
|
+
};
|
|
2182
|
+
readonly is_locked: {
|
|
2183
|
+
readonly type: "boolean";
|
|
2184
|
+
};
|
|
2185
|
+
readonly created_at: {
|
|
2186
|
+
readonly type: "string";
|
|
2187
|
+
readonly format: "date-time";
|
|
2188
|
+
};
|
|
2189
|
+
readonly updated_at: {
|
|
2190
|
+
readonly type: "string";
|
|
2191
|
+
readonly format: "date-time";
|
|
2192
|
+
};
|
|
2193
|
+
};
|
|
2194
|
+
};
|
|
2195
|
+
export declare const TagAliasSchema: {
|
|
2196
|
+
readonly type: "object";
|
|
2197
|
+
readonly required: readonly ["id", "antecedent_name", "reason", "creator_id", "created_at", "forum_post_id", "updated_at", "forum_topic_id", "consequent_name", "status", "post_count", "approver_id"];
|
|
2198
|
+
readonly properties: {
|
|
2199
|
+
readonly id: {
|
|
2200
|
+
readonly type: "integer";
|
|
2201
|
+
};
|
|
2202
|
+
readonly antecedent_name: {
|
|
2203
|
+
readonly type: "string";
|
|
2204
|
+
};
|
|
2205
|
+
readonly reason: {
|
|
2206
|
+
readonly type: "string";
|
|
2207
|
+
};
|
|
2208
|
+
readonly creator_id: {
|
|
2209
|
+
readonly type: "integer";
|
|
2210
|
+
};
|
|
2211
|
+
readonly created_at: {
|
|
2212
|
+
readonly type: "string";
|
|
2213
|
+
readonly nullable: true;
|
|
2214
|
+
readonly format: "date-time";
|
|
2215
|
+
};
|
|
2216
|
+
readonly forum_post_id: {
|
|
2217
|
+
readonly type: "integer";
|
|
2218
|
+
readonly nullable: true;
|
|
2219
|
+
};
|
|
2220
|
+
readonly updated_at: {
|
|
2221
|
+
readonly type: "string";
|
|
2222
|
+
readonly nullable: true;
|
|
2223
|
+
readonly format: "date-time";
|
|
2224
|
+
};
|
|
2225
|
+
readonly forum_topic_id: {
|
|
2226
|
+
readonly type: "integer";
|
|
2227
|
+
readonly nullable: true;
|
|
2228
|
+
};
|
|
2229
|
+
readonly consequent_name: {
|
|
2230
|
+
readonly type: "string";
|
|
2231
|
+
};
|
|
2232
|
+
readonly status: {
|
|
2233
|
+
readonly $ref: "#/components/schemas/TagRequestStatuses";
|
|
2234
|
+
};
|
|
2235
|
+
readonly post_count: {
|
|
2236
|
+
readonly type: "integer";
|
|
2237
|
+
};
|
|
2238
|
+
readonly approver_id: {
|
|
2239
|
+
readonly type: "integer";
|
|
2240
|
+
readonly nullable: true;
|
|
2241
|
+
};
|
|
2242
|
+
};
|
|
2243
|
+
};
|
|
2244
|
+
export declare const TagImplicationSchema: {
|
|
2245
|
+
readonly type: "object";
|
|
2246
|
+
readonly required: readonly ["id", "reason", "creator_id", "created_at", "forum_post_id", "antecedent_name", "consequent_name", "status", "forum_topic_id", "updated_at", "descendant_names", "approver_id"];
|
|
2247
|
+
readonly properties: {
|
|
2248
|
+
readonly id: {
|
|
2249
|
+
readonly type: "integer";
|
|
2250
|
+
};
|
|
2251
|
+
readonly reason: {
|
|
2252
|
+
readonly type: "string";
|
|
2253
|
+
};
|
|
2254
|
+
readonly creator_id: {
|
|
2255
|
+
readonly type: "integer";
|
|
2256
|
+
};
|
|
2257
|
+
readonly created_at: {
|
|
2258
|
+
readonly type: "string";
|
|
2259
|
+
readonly format: "date-time";
|
|
2260
|
+
};
|
|
2261
|
+
readonly forum_post_id: {
|
|
2262
|
+
readonly type: "integer";
|
|
2263
|
+
readonly nullable: true;
|
|
2264
|
+
};
|
|
2265
|
+
readonly antecedent_name: {
|
|
2266
|
+
readonly type: "string";
|
|
2267
|
+
};
|
|
2268
|
+
readonly consequent_name: {
|
|
2269
|
+
readonly type: "string";
|
|
2270
|
+
};
|
|
2271
|
+
readonly status: {
|
|
2272
|
+
readonly $ref: "#/components/schemas/TagRequestStatuses";
|
|
2273
|
+
};
|
|
2274
|
+
readonly forum_topic_id: {
|
|
2275
|
+
readonly type: "integer";
|
|
2276
|
+
readonly nullable: true;
|
|
2277
|
+
};
|
|
2278
|
+
readonly updated_at: {
|
|
2279
|
+
readonly type: "string";
|
|
2280
|
+
readonly format: "date-time";
|
|
2281
|
+
};
|
|
2282
|
+
readonly descendant_names: {
|
|
2283
|
+
readonly type: "array";
|
|
2284
|
+
readonly items: {
|
|
2285
|
+
readonly type: "string";
|
|
2286
|
+
};
|
|
2287
|
+
};
|
|
2288
|
+
readonly approver_id: {
|
|
2289
|
+
readonly type: "integer";
|
|
2290
|
+
readonly nullable: true;
|
|
2291
|
+
};
|
|
2292
|
+
};
|
|
2293
|
+
};
|
|
2294
|
+
export declare const TagPreviewSchema: {
|
|
2295
|
+
readonly type: "object";
|
|
2296
|
+
readonly required: readonly ["name"];
|
|
2297
|
+
readonly properties: {
|
|
2298
|
+
readonly id: {
|
|
2299
|
+
readonly type: "integer";
|
|
2300
|
+
};
|
|
2301
|
+
readonly name: {
|
|
2302
|
+
readonly type: "string";
|
|
2303
|
+
};
|
|
2304
|
+
readonly resolved: {
|
|
2305
|
+
readonly type: "string";
|
|
2306
|
+
};
|
|
2307
|
+
readonly category: {
|
|
2308
|
+
readonly $ref: "#/components/schemas/TagCategories";
|
|
2309
|
+
};
|
|
2310
|
+
readonly post_count: {
|
|
2311
|
+
readonly type: "integer";
|
|
2312
|
+
};
|
|
2313
|
+
readonly alias: {
|
|
2314
|
+
readonly type: "string";
|
|
2315
|
+
};
|
|
2316
|
+
readonly implies: {
|
|
2317
|
+
readonly type: "array";
|
|
2318
|
+
readonly items: {
|
|
2319
|
+
readonly type: "string";
|
|
2320
|
+
};
|
|
2321
|
+
};
|
|
2322
|
+
};
|
|
2323
|
+
};
|
|
2324
|
+
export declare const TagTypeVersionSchema: {
|
|
2325
|
+
readonly type: "object";
|
|
2326
|
+
readonly required: readonly ["id", "created_at", "updated_at", "old_type", "new_type", "is_locked", "tag_id", "creator_id"];
|
|
2327
|
+
readonly properties: {
|
|
2328
|
+
readonly id: {
|
|
2329
|
+
readonly type: "integer";
|
|
2330
|
+
};
|
|
2331
|
+
readonly created_at: {
|
|
2332
|
+
readonly type: "string";
|
|
2333
|
+
readonly format: "date-time";
|
|
2334
|
+
};
|
|
2335
|
+
readonly updated_at: {
|
|
2336
|
+
readonly type: "string";
|
|
2337
|
+
readonly format: "date-time";
|
|
2338
|
+
};
|
|
2339
|
+
readonly old_type: {
|
|
2340
|
+
readonly $ref: "#/components/schemas/TagCategories";
|
|
2341
|
+
};
|
|
2342
|
+
readonly new_type: {
|
|
2343
|
+
readonly $ref: "#/components/schemas/TagCategories";
|
|
2344
|
+
};
|
|
2345
|
+
readonly is_locked: {
|
|
2346
|
+
readonly type: "boolean";
|
|
2347
|
+
};
|
|
2348
|
+
readonly tag_id: {
|
|
2349
|
+
readonly type: "integer";
|
|
2350
|
+
};
|
|
2351
|
+
readonly creator_id: {
|
|
2352
|
+
readonly type: "integer";
|
|
2353
|
+
};
|
|
2354
|
+
};
|
|
2355
|
+
};
|
|
2356
|
+
export declare const TakedownSchema: {
|
|
2357
|
+
readonly type: "object";
|
|
2358
|
+
readonly required: readonly ["id", "status", "approver_id", "reason_hidden", "created_at", "updated_at", "post_count"];
|
|
2359
|
+
readonly properties: {
|
|
2360
|
+
readonly id: {
|
|
2361
|
+
readonly type: "integer";
|
|
2362
|
+
};
|
|
2363
|
+
readonly status: {
|
|
2364
|
+
readonly type: "string";
|
|
2365
|
+
readonly enum: readonly ["approved", "denied", "partial", "pending"];
|
|
2366
|
+
};
|
|
2367
|
+
readonly approver_id: {
|
|
2368
|
+
readonly type: "integer";
|
|
2369
|
+
readonly nullable: true;
|
|
2370
|
+
};
|
|
2371
|
+
readonly reason_hidden: {
|
|
2372
|
+
readonly type: "boolean";
|
|
2373
|
+
};
|
|
2374
|
+
readonly created_at: {
|
|
2375
|
+
readonly type: "string";
|
|
2376
|
+
readonly format: "date-time";
|
|
2377
|
+
};
|
|
2378
|
+
readonly updated_at: {
|
|
2379
|
+
readonly type: "string";
|
|
2380
|
+
readonly format: "date-time";
|
|
2381
|
+
};
|
|
2382
|
+
readonly post_count: {
|
|
2383
|
+
readonly type: "integer";
|
|
2384
|
+
};
|
|
2385
|
+
};
|
|
2386
|
+
};
|
|
2387
|
+
export declare const TicketSchema: {
|
|
2388
|
+
readonly type: "object";
|
|
2389
|
+
readonly required: readonly ["id", "creator_id", "reason", "disp_id", "qtype", "status", "created_at", "updated_at", "response", "handler_id", "report_reason", "accused_id"];
|
|
2390
|
+
readonly properties: {
|
|
2391
|
+
readonly id: {
|
|
2392
|
+
readonly type: "integer";
|
|
2393
|
+
};
|
|
2394
|
+
readonly creator_id: {
|
|
2395
|
+
readonly type: "integer";
|
|
2396
|
+
};
|
|
2397
|
+
readonly reason: {
|
|
2398
|
+
readonly type: "string";
|
|
2399
|
+
};
|
|
2400
|
+
readonly disp_id: {
|
|
2401
|
+
readonly type: "integer";
|
|
2402
|
+
};
|
|
2403
|
+
readonly qtype: {
|
|
2404
|
+
readonly $ref: "#/components/schemas/TicketTypes";
|
|
2405
|
+
};
|
|
2406
|
+
readonly status: {
|
|
2407
|
+
readonly $ref: "#/components/schemas/TicketStatuses";
|
|
2408
|
+
};
|
|
2409
|
+
readonly created_at: {
|
|
2410
|
+
readonly type: "string";
|
|
2411
|
+
readonly format: "date-time";
|
|
2412
|
+
};
|
|
2413
|
+
readonly updated_at: {
|
|
2414
|
+
readonly type: "string";
|
|
2415
|
+
readonly format: "date-time";
|
|
2416
|
+
};
|
|
2417
|
+
readonly response: {
|
|
2418
|
+
readonly type: "string";
|
|
2419
|
+
};
|
|
2420
|
+
readonly handler_id: {
|
|
2421
|
+
readonly type: "integer";
|
|
2422
|
+
readonly nullable: true;
|
|
2423
|
+
};
|
|
2424
|
+
readonly claimant_id: {
|
|
2425
|
+
readonly type: "integer";
|
|
2426
|
+
readonly nullable: true;
|
|
2427
|
+
readonly description: "Only visible to Moderator+.";
|
|
2428
|
+
};
|
|
2429
|
+
readonly report_reason: {
|
|
2430
|
+
readonly type: "string";
|
|
2431
|
+
readonly nullable: true;
|
|
2432
|
+
};
|
|
2433
|
+
readonly accused_id: {
|
|
2434
|
+
readonly type: "integer";
|
|
2435
|
+
readonly nullable: true;
|
|
2436
|
+
};
|
|
2437
|
+
};
|
|
2438
|
+
};
|
|
2439
|
+
export declare const UploadWhitelistSchema: {
|
|
2440
|
+
readonly type: "object";
|
|
2441
|
+
readonly required: readonly ["id", "created_at", "updated_at", "pattern", "note", "hidden", "allowed", "reason", "domain", "path"];
|
|
2442
|
+
readonly properties: {
|
|
2443
|
+
readonly id: {
|
|
2444
|
+
readonly type: "integer";
|
|
2445
|
+
};
|
|
2446
|
+
readonly created_at: {
|
|
2447
|
+
readonly type: "string";
|
|
2448
|
+
readonly format: "date-time";
|
|
2449
|
+
};
|
|
2450
|
+
readonly updated_at: {
|
|
2451
|
+
readonly type: "string";
|
|
2452
|
+
readonly format: "date-time";
|
|
2453
|
+
};
|
|
2454
|
+
readonly pattern: {
|
|
2455
|
+
readonly type: "string";
|
|
2456
|
+
};
|
|
2457
|
+
readonly note: {
|
|
2458
|
+
readonly type: "string";
|
|
2459
|
+
};
|
|
2460
|
+
readonly hidden: {
|
|
2461
|
+
readonly type: "boolean";
|
|
2462
|
+
};
|
|
2463
|
+
readonly allowed: {
|
|
2464
|
+
readonly type: "boolean";
|
|
2465
|
+
};
|
|
2466
|
+
readonly reason: {
|
|
2467
|
+
readonly type: "string";
|
|
2468
|
+
};
|
|
2469
|
+
readonly domain: {
|
|
2470
|
+
readonly type: "string";
|
|
2471
|
+
};
|
|
2472
|
+
readonly path: {
|
|
2473
|
+
readonly type: "string";
|
|
2474
|
+
};
|
|
2475
|
+
};
|
|
2476
|
+
};
|
|
2477
|
+
export declare const UploadSchema: {
|
|
2478
|
+
readonly type: "object";
|
|
2479
|
+
readonly required: readonly ["id", "source", "rating", "uploader_id", "tag_string", "status", "backtrace", "post_id", "md5_confirmation", "created_at", "updated_at", "parent_id", "md5", "file_ext", "file_size", "image_width", "image_height", "description", "uploader_name"];
|
|
2480
|
+
readonly properties: {
|
|
2481
|
+
readonly id: {
|
|
2482
|
+
readonly type: "integer";
|
|
2483
|
+
};
|
|
2484
|
+
readonly source: {
|
|
2485
|
+
readonly type: "string";
|
|
2486
|
+
};
|
|
2487
|
+
readonly rating: {
|
|
2488
|
+
readonly $ref: "#/components/schemas/Ratings";
|
|
2489
|
+
};
|
|
2490
|
+
readonly uploader_id: {
|
|
2491
|
+
readonly type: "integer";
|
|
2492
|
+
};
|
|
2493
|
+
readonly tag_string: {
|
|
2494
|
+
readonly type: "string";
|
|
2495
|
+
};
|
|
2496
|
+
readonly status: {
|
|
2497
|
+
readonly type: "string";
|
|
2498
|
+
readonly description: "Note: The \"error\" status will be proceeded by an error, ex: \"error: RuntimeError - No file or source URL provided\"\n";
|
|
2499
|
+
readonly enum: readonly ["completed", "duplicate", "error", "processing", "pending"];
|
|
2500
|
+
};
|
|
2501
|
+
readonly backtrace: {
|
|
2502
|
+
readonly type: "string";
|
|
2503
|
+
readonly nullable: true;
|
|
2504
|
+
};
|
|
2505
|
+
readonly post_id: {
|
|
2506
|
+
readonly type: "integer";
|
|
2507
|
+
readonly nullable: true;
|
|
2508
|
+
};
|
|
2509
|
+
readonly md5_confirmation: {
|
|
2510
|
+
readonly type: "string";
|
|
2511
|
+
readonly nullable: true;
|
|
2512
|
+
readonly deprecated: true;
|
|
2513
|
+
};
|
|
2514
|
+
readonly created_at: {
|
|
2515
|
+
readonly type: "string";
|
|
2516
|
+
readonly format: "date-time";
|
|
2517
|
+
};
|
|
2518
|
+
readonly updated_at: {
|
|
2519
|
+
readonly type: "string";
|
|
2520
|
+
readonly format: "date-time";
|
|
2521
|
+
};
|
|
2522
|
+
readonly parent_id: {
|
|
2523
|
+
readonly type: "integer";
|
|
2524
|
+
readonly nullable: true;
|
|
2525
|
+
};
|
|
2526
|
+
readonly md5: {
|
|
2527
|
+
readonly type: "string";
|
|
2528
|
+
readonly nullable: true;
|
|
2529
|
+
};
|
|
2530
|
+
readonly file_ext: {
|
|
2531
|
+
readonly type: "string";
|
|
2532
|
+
readonly nullable: true;
|
|
2533
|
+
};
|
|
2534
|
+
readonly file_size: {
|
|
2535
|
+
readonly type: "integer";
|
|
2536
|
+
readonly nullable: true;
|
|
2537
|
+
};
|
|
2538
|
+
readonly image_width: {
|
|
2539
|
+
readonly type: "integer";
|
|
2540
|
+
readonly nullable: true;
|
|
2541
|
+
};
|
|
2542
|
+
readonly image_height: {
|
|
2543
|
+
readonly type: "integer";
|
|
2544
|
+
readonly nullable: true;
|
|
2545
|
+
};
|
|
2546
|
+
readonly description: {
|
|
2547
|
+
readonly type: "string";
|
|
2548
|
+
};
|
|
2549
|
+
readonly uploader_name: {
|
|
2550
|
+
readonly type: "string";
|
|
2551
|
+
};
|
|
2552
|
+
};
|
|
2553
|
+
};
|
|
2554
|
+
export declare const UserSchema: {
|
|
2555
|
+
readonly type: "object";
|
|
2556
|
+
readonly required: readonly ["id", "created_at", "name", "level", "base_upload_limit", "post_upload_count", "post_update_count", "note_update_count", "is_banned", "can_approve_posts", "can_upload_free", "level_string", "avatar_id"];
|
|
2557
|
+
readonly properties: {
|
|
2558
|
+
readonly id: {
|
|
2559
|
+
readonly type: "integer";
|
|
2560
|
+
};
|
|
2561
|
+
readonly created_at: {
|
|
2562
|
+
readonly type: "string";
|
|
2563
|
+
readonly format: "date-time";
|
|
2564
|
+
};
|
|
2565
|
+
readonly name: {
|
|
2566
|
+
readonly type: "string";
|
|
2567
|
+
};
|
|
2568
|
+
readonly level: {
|
|
2569
|
+
readonly type: "integer";
|
|
2570
|
+
};
|
|
2571
|
+
readonly base_upload_limit: {
|
|
2572
|
+
readonly type: "integer";
|
|
2573
|
+
};
|
|
2574
|
+
readonly post_upload_count: {
|
|
2575
|
+
readonly type: "integer";
|
|
2576
|
+
};
|
|
2577
|
+
readonly post_update_count: {
|
|
2578
|
+
readonly type: "integer";
|
|
2579
|
+
};
|
|
2580
|
+
readonly note_update_count: {
|
|
2581
|
+
readonly type: "integer";
|
|
2582
|
+
};
|
|
2583
|
+
readonly is_banned: {
|
|
2584
|
+
readonly type: "boolean";
|
|
2585
|
+
};
|
|
2586
|
+
readonly can_approve_posts: {
|
|
2587
|
+
readonly type: "boolean";
|
|
2588
|
+
};
|
|
2589
|
+
readonly can_upload_free: {
|
|
2590
|
+
readonly type: "boolean";
|
|
2591
|
+
};
|
|
2592
|
+
readonly level_string: {
|
|
2593
|
+
readonly type: "string";
|
|
2594
|
+
};
|
|
2595
|
+
readonly avatar_id: {
|
|
2596
|
+
readonly type: "integer";
|
|
2597
|
+
readonly nullable: true;
|
|
2598
|
+
};
|
|
2599
|
+
readonly is_verified: {
|
|
2600
|
+
readonly type: "boolean";
|
|
2601
|
+
};
|
|
2602
|
+
};
|
|
2603
|
+
};
|
|
2604
|
+
export declare const UserFeedbackSchema: {
|
|
2605
|
+
readonly type: "object";
|
|
2606
|
+
readonly required: readonly ["id", "user_id", "creator_id", "category", "body", "created_at", "updated_at", "updater_id", "is_deleted"];
|
|
2607
|
+
readonly properties: {
|
|
2608
|
+
readonly id: {
|
|
2609
|
+
readonly type: "integer";
|
|
2610
|
+
};
|
|
2611
|
+
readonly user_id: {
|
|
2612
|
+
readonly type: "integer";
|
|
2613
|
+
};
|
|
2614
|
+
readonly creator_id: {
|
|
2615
|
+
readonly type: "integer";
|
|
2616
|
+
};
|
|
2617
|
+
readonly category: {
|
|
2618
|
+
readonly $ref: "#/components/schemas/FeedbackCategories";
|
|
2619
|
+
};
|
|
2620
|
+
readonly body: {
|
|
2621
|
+
readonly type: "string";
|
|
2622
|
+
};
|
|
2623
|
+
readonly created_at: {
|
|
2624
|
+
readonly type: "string";
|
|
2625
|
+
readonly format: "date-time";
|
|
2626
|
+
};
|
|
2627
|
+
readonly updated_at: {
|
|
2628
|
+
readonly type: "string";
|
|
2629
|
+
readonly format: "date-time";
|
|
2630
|
+
};
|
|
2631
|
+
readonly updater_id: {
|
|
2632
|
+
readonly type: "integer";
|
|
2633
|
+
};
|
|
2634
|
+
readonly is_deleted: {
|
|
2635
|
+
readonly type: "boolean";
|
|
2636
|
+
};
|
|
2637
|
+
};
|
|
2638
|
+
};
|
|
2639
|
+
export declare const UserNameChangeRequestSchema: {
|
|
2640
|
+
readonly type: "object";
|
|
2641
|
+
readonly required: readonly ["id", "approver_id", "user_id", "original_name", "desired_name", "created_at", "updated_at", "status"];
|
|
2642
|
+
readonly properties: {
|
|
2643
|
+
readonly id: {
|
|
2644
|
+
readonly type: "integer";
|
|
2645
|
+
};
|
|
2646
|
+
readonly approver_id: {
|
|
2647
|
+
readonly type: "integer";
|
|
2648
|
+
};
|
|
2649
|
+
readonly user_id: {
|
|
2650
|
+
readonly type: "integer";
|
|
2651
|
+
};
|
|
2652
|
+
readonly original_name: {
|
|
2653
|
+
readonly type: "string";
|
|
2654
|
+
};
|
|
2655
|
+
readonly desired_name: {
|
|
2656
|
+
readonly type: "string";
|
|
2657
|
+
};
|
|
2658
|
+
readonly change_reason: {
|
|
2659
|
+
readonly type: "string";
|
|
2660
|
+
};
|
|
2661
|
+
readonly created_at: {
|
|
2662
|
+
readonly type: "string";
|
|
2663
|
+
readonly format: "date-time";
|
|
2664
|
+
};
|
|
2665
|
+
readonly updated_at: {
|
|
2666
|
+
readonly type: "string";
|
|
2667
|
+
readonly format: "date-time";
|
|
2668
|
+
};
|
|
2669
|
+
readonly status: {
|
|
2670
|
+
readonly type: "string";
|
|
2671
|
+
readonly enum: readonly ["approved"];
|
|
2672
|
+
};
|
|
2673
|
+
};
|
|
2674
|
+
};
|
|
2675
|
+
export declare const WikiPageSchema: {
|
|
2676
|
+
readonly type: "object";
|
|
2677
|
+
readonly required: readonly ["id", "created_at", "updated_at", "title", "body", "creator_id", "is_locked", "updater_id", "is_deleted", "other_names", "parent", "creator_name", "category_id"];
|
|
2678
|
+
readonly properties: {
|
|
2679
|
+
readonly id: {
|
|
2680
|
+
readonly type: "integer";
|
|
2681
|
+
};
|
|
2682
|
+
readonly created_at: {
|
|
2683
|
+
readonly type: "string";
|
|
2684
|
+
readonly format: "date-time";
|
|
2685
|
+
};
|
|
2686
|
+
readonly updated_at: {
|
|
2687
|
+
readonly type: "string";
|
|
2688
|
+
readonly format: "date-time";
|
|
2689
|
+
};
|
|
2690
|
+
readonly title: {
|
|
2691
|
+
readonly type: "string";
|
|
2692
|
+
};
|
|
2693
|
+
readonly body: {
|
|
2694
|
+
readonly type: "string";
|
|
2695
|
+
};
|
|
2696
|
+
readonly creator_id: {
|
|
2697
|
+
readonly type: "integer";
|
|
2698
|
+
};
|
|
2699
|
+
readonly is_locked: {
|
|
2700
|
+
readonly type: "boolean";
|
|
2701
|
+
};
|
|
2702
|
+
readonly updater_id: {
|
|
2703
|
+
readonly type: "integer";
|
|
2704
|
+
};
|
|
2705
|
+
readonly is_deleted: {
|
|
2706
|
+
readonly type: "boolean";
|
|
2707
|
+
};
|
|
2708
|
+
readonly other_names: {
|
|
2709
|
+
readonly type: "array";
|
|
2710
|
+
readonly items: {
|
|
2711
|
+
readonly type: "string";
|
|
2712
|
+
};
|
|
2713
|
+
};
|
|
2714
|
+
readonly parent: {
|
|
2715
|
+
readonly type: "string";
|
|
2716
|
+
readonly nullable: true;
|
|
2717
|
+
};
|
|
2718
|
+
readonly creator_name: {
|
|
2719
|
+
readonly type: "string";
|
|
2720
|
+
};
|
|
2721
|
+
readonly category_id: {
|
|
2722
|
+
readonly $ref: "#/components/schemas/TagCategories";
|
|
2723
|
+
};
|
|
2724
|
+
};
|
|
2725
|
+
};
|
|
2726
|
+
export declare const WikiPageVersionSchema: {
|
|
2727
|
+
readonly type: "object";
|
|
2728
|
+
readonly required: readonly ["id", "created_at", "updated_at", "title", "body", "updater_id", "wiki_page_id", "is_locked", "other_names", "is_deleted", "reason", "parent"];
|
|
2729
|
+
readonly properties: {
|
|
2730
|
+
readonly id: {
|
|
2731
|
+
readonly type: "integer";
|
|
2732
|
+
};
|
|
2733
|
+
readonly created_at: {
|
|
2734
|
+
readonly type: "string";
|
|
2735
|
+
readonly format: "date-time";
|
|
2736
|
+
};
|
|
2737
|
+
readonly updated_at: {
|
|
2738
|
+
readonly type: "string";
|
|
2739
|
+
readonly format: "date-time";
|
|
2740
|
+
};
|
|
2741
|
+
readonly title: {
|
|
2742
|
+
readonly type: "string";
|
|
2743
|
+
};
|
|
2744
|
+
readonly body: {
|
|
2745
|
+
readonly type: "string";
|
|
2746
|
+
};
|
|
2747
|
+
readonly updater_id: {
|
|
2748
|
+
readonly type: "integer";
|
|
2749
|
+
};
|
|
2750
|
+
readonly wiki_page_id: {
|
|
2751
|
+
readonly type: "integer";
|
|
2752
|
+
};
|
|
2753
|
+
readonly is_locked: {
|
|
2754
|
+
readonly type: "boolean";
|
|
2755
|
+
};
|
|
2756
|
+
readonly other_names: {
|
|
2757
|
+
readonly type: "array";
|
|
2758
|
+
readonly items: {
|
|
2759
|
+
readonly type: "string";
|
|
2760
|
+
};
|
|
2761
|
+
};
|
|
2762
|
+
readonly is_deleted: {
|
|
2763
|
+
readonly type: "boolean";
|
|
2764
|
+
};
|
|
2765
|
+
readonly reason: {
|
|
2766
|
+
readonly type: "string";
|
|
2767
|
+
readonly nullable: true;
|
|
2768
|
+
};
|
|
2769
|
+
readonly parent: {
|
|
2770
|
+
readonly type: "string";
|
|
2771
|
+
readonly nullable: true;
|
|
2772
|
+
};
|
|
2773
|
+
};
|
|
2774
|
+
};
|
|
2775
|
+
export declare const ApiKeySchema: {
|
|
2776
|
+
readonly type: "object";
|
|
2777
|
+
readonly required: readonly ["id", "created_at", "updated_at", "user_id", "key", "name", "last_used_at", "last_used_ip_address", "last_user_agent", "expires_at", "notified_at"];
|
|
2778
|
+
readonly properties: {
|
|
2779
|
+
readonly id: {
|
|
2780
|
+
readonly type: "integer";
|
|
2781
|
+
};
|
|
2782
|
+
readonly updated_at: {
|
|
2783
|
+
readonly type: "string";
|
|
2784
|
+
readonly format: "date-time";
|
|
2785
|
+
};
|
|
2786
|
+
readonly created_at: {
|
|
2787
|
+
readonly type: "string";
|
|
2788
|
+
readonly format: "date-time";
|
|
2789
|
+
};
|
|
2790
|
+
readonly user_id: {
|
|
2791
|
+
readonly type: "integer";
|
|
2792
|
+
};
|
|
2793
|
+
readonly key: {
|
|
2794
|
+
readonly type: "string";
|
|
2795
|
+
};
|
|
2796
|
+
readonly name: {
|
|
2797
|
+
readonly type: "string";
|
|
2798
|
+
};
|
|
2799
|
+
readonly last_used_at: {
|
|
2800
|
+
readonly type: "string";
|
|
2801
|
+
readonly format: "date-time";
|
|
2802
|
+
readonly nullable: true;
|
|
2803
|
+
};
|
|
2804
|
+
readonly last_used_ip_address: {
|
|
2805
|
+
readonly oneOf: readonly [{
|
|
2806
|
+
readonly type: "string";
|
|
2807
|
+
readonly format: "ipv4";
|
|
2808
|
+
readonly nullable: true;
|
|
2809
|
+
}, {
|
|
2810
|
+
readonly type: "string";
|
|
2811
|
+
readonly format: "ipv6";
|
|
2812
|
+
readonly nullable: true;
|
|
2813
|
+
}];
|
|
2814
|
+
};
|
|
2815
|
+
readonly last_user_agent: {
|
|
2816
|
+
readonly type: "string";
|
|
2817
|
+
readonly nullable: true;
|
|
2818
|
+
};
|
|
2819
|
+
readonly expires_at: {
|
|
2820
|
+
readonly type: "string";
|
|
2821
|
+
readonly format: "date-time";
|
|
2822
|
+
readonly nullable: true;
|
|
2823
|
+
};
|
|
2824
|
+
readonly notified_at: {
|
|
2825
|
+
readonly type: "string";
|
|
2826
|
+
readonly format: "date-time";
|
|
2827
|
+
readonly nullable: true;
|
|
2828
|
+
};
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
2831
|
+
export declare const EditHistorySchema: {
|
|
2832
|
+
readonly type: "object";
|
|
2833
|
+
readonly required: readonly ["id", "created_at", "updated_at", "body", "subject", "versionable_type", "versionable_id", "version", "user_id"];
|
|
2834
|
+
readonly properties: {
|
|
2835
|
+
readonly id: {
|
|
2836
|
+
readonly type: "integer";
|
|
2837
|
+
};
|
|
2838
|
+
readonly created_at: {
|
|
2839
|
+
readonly type: "string";
|
|
2840
|
+
readonly format: "date-time";
|
|
2841
|
+
};
|
|
2842
|
+
readonly updated_at: {
|
|
2843
|
+
readonly type: "string";
|
|
2844
|
+
readonly format: "date-time";
|
|
2845
|
+
};
|
|
2846
|
+
readonly body: {
|
|
2847
|
+
readonly type: "string";
|
|
2848
|
+
};
|
|
2849
|
+
readonly subject: {
|
|
2850
|
+
readonly type: "string";
|
|
2851
|
+
readonly nullable: true;
|
|
2852
|
+
};
|
|
2853
|
+
readonly versionable_type: {
|
|
2854
|
+
readonly type: "string";
|
|
2855
|
+
readonly enum: readonly ["Blip", "Comment", "ForumPost"];
|
|
2856
|
+
};
|
|
2857
|
+
readonly versionable_id: {
|
|
2858
|
+
readonly type: "integer";
|
|
2859
|
+
};
|
|
2860
|
+
readonly version: {
|
|
2861
|
+
readonly type: "integer";
|
|
2862
|
+
};
|
|
2863
|
+
readonly user_id: {
|
|
2864
|
+
readonly type: "integer";
|
|
2865
|
+
};
|
|
2866
|
+
};
|
|
2867
|
+
};
|
|
2868
|
+
export declare const UserAvatarMenuSchema: {
|
|
2869
|
+
readonly type: "object";
|
|
2870
|
+
readonly required: readonly ["has_uploads", "has_favorites", "has_sets", "has_comments", "has_forums"];
|
|
2871
|
+
readonly properties: {
|
|
2872
|
+
readonly has_uploads: {
|
|
2873
|
+
readonly type: "boolean";
|
|
2874
|
+
};
|
|
2875
|
+
readonly has_favorites: {
|
|
2876
|
+
readonly type: "boolean";
|
|
2877
|
+
};
|
|
2878
|
+
readonly has_sets: {
|
|
2879
|
+
readonly type: "boolean";
|
|
2880
|
+
};
|
|
2881
|
+
readonly has_comments: {
|
|
2882
|
+
readonly type: "boolean";
|
|
2883
|
+
};
|
|
2884
|
+
readonly has_forums: {
|
|
2885
|
+
readonly type: "boolean";
|
|
2886
|
+
};
|
|
2887
|
+
};
|
|
2888
|
+
};
|
|
2889
|
+
export declare const TagCorrectionSchema: {
|
|
2890
|
+
readonly type: "object";
|
|
2891
|
+
readonly required: readonly ["post_count", "real_post_count", "category", "category_cache", "tag"];
|
|
2892
|
+
readonly properties: {
|
|
2893
|
+
readonly post_count: {
|
|
2894
|
+
readonly type: "integer";
|
|
2895
|
+
};
|
|
2896
|
+
readonly real_post_count: {
|
|
2897
|
+
readonly type: "integer";
|
|
2898
|
+
};
|
|
2899
|
+
readonly category: {
|
|
2900
|
+
readonly $ref: "#/components/schemas/TagCategories";
|
|
2901
|
+
};
|
|
2902
|
+
readonly category_cache: {
|
|
2903
|
+
readonly $ref: "#/components/schemas/TagCategories";
|
|
2904
|
+
};
|
|
2905
|
+
readonly tag: {
|
|
2906
|
+
readonly $ref: "#/components/schemas/Tag";
|
|
2907
|
+
};
|
|
2908
|
+
};
|
|
2909
|
+
};
|
|
2910
|
+
export declare const SearchTrendSchema: {
|
|
2911
|
+
readonly type: "object";
|
|
2912
|
+
readonly required: readonly ["tag", "count", "day"];
|
|
2913
|
+
readonly properties: {
|
|
2914
|
+
readonly tag: {
|
|
2915
|
+
readonly type: "string";
|
|
2916
|
+
};
|
|
2917
|
+
readonly count: {
|
|
2918
|
+
readonly type: "integer";
|
|
2919
|
+
};
|
|
2920
|
+
readonly day: {
|
|
2921
|
+
readonly type: "string";
|
|
2922
|
+
readonly format: "date";
|
|
2923
|
+
};
|
|
2924
|
+
};
|
|
2925
|
+
};
|
|
2926
|
+
export declare const RisingSearchTrendSchema: {
|
|
2927
|
+
readonly type: "object";
|
|
2928
|
+
readonly required: readonly ["tag"];
|
|
2929
|
+
readonly properties: {
|
|
2930
|
+
readonly tag: {
|
|
2931
|
+
readonly type: "string";
|
|
2932
|
+
};
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2935
|
+
export declare const SearchTrendBlacklistSchema: {
|
|
2936
|
+
readonly type: "object";
|
|
2937
|
+
readonly required: readonly ["id", "tag", "reason", "creator_id", "created_at", "updated_at"];
|
|
2938
|
+
readonly properties: {
|
|
2939
|
+
readonly id: {
|
|
2940
|
+
readonly type: "integer";
|
|
2941
|
+
};
|
|
2942
|
+
readonly tag: {
|
|
2943
|
+
readonly type: "string";
|
|
2944
|
+
};
|
|
2945
|
+
readonly reason: {
|
|
2946
|
+
readonly type: "string";
|
|
2947
|
+
};
|
|
2948
|
+
readonly creator_id: {
|
|
2949
|
+
readonly type: "integer";
|
|
2950
|
+
};
|
|
2951
|
+
readonly created_at: {
|
|
2952
|
+
readonly type: "string";
|
|
2953
|
+
readonly format: "date-time";
|
|
2954
|
+
};
|
|
2955
|
+
readonly updated_at: {
|
|
2956
|
+
readonly type: "string";
|
|
2957
|
+
readonly format: "date-time";
|
|
2958
|
+
};
|
|
2959
|
+
};
|
|
2960
|
+
};
|
|
2961
|
+
export declare const MessageErrorResponseSchema: {
|
|
2962
|
+
readonly type: "object";
|
|
2963
|
+
readonly required: readonly ["success", "message"];
|
|
2964
|
+
readonly properties: {
|
|
2965
|
+
readonly success: {
|
|
2966
|
+
readonly type: "boolean";
|
|
2967
|
+
};
|
|
2968
|
+
readonly message: {
|
|
2969
|
+
readonly type: "string";
|
|
2970
|
+
};
|
|
2971
|
+
readonly code: {
|
|
2972
|
+
readonly type: "string";
|
|
2973
|
+
readonly nullable: true;
|
|
2974
|
+
};
|
|
2975
|
+
};
|
|
2976
|
+
};
|
|
2977
|
+
export declare const MessageSuccessResponseSchema: {
|
|
2978
|
+
readonly type: "object";
|
|
2979
|
+
readonly required: readonly ["success", "message"];
|
|
2980
|
+
readonly properties: {
|
|
2981
|
+
readonly success: {
|
|
2982
|
+
readonly type: "boolean";
|
|
2983
|
+
readonly enum: readonly [true];
|
|
2984
|
+
};
|
|
2985
|
+
readonly message: {
|
|
2986
|
+
readonly type: "string";
|
|
2987
|
+
};
|
|
2988
|
+
};
|
|
2989
|
+
};
|