e621 3.2.2 → 3.4.0

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.
Files changed (131) hide show
  1. package/dist/browser/e621.js +4877 -2478
  2. package/dist/browser/e621.js.map +4 -4
  3. package/dist/lib/generated/schemas.d.ts +2339 -1536
  4. package/dist/lib/generated/schemas.js +3354 -2294
  5. package/dist/lib/generated/sdk.d.ts +214 -3
  6. package/dist/lib/generated/sdk.js +575 -92
  7. package/dist/lib/generated/types.d.ts +2306 -977
  8. package/dist/lib/models/APIKey.d.ts +14 -0
  9. package/dist/lib/models/{ApiKey.js → APIKey.js} +8 -8
  10. package/dist/lib/models/Artist.d.ts +2 -2
  11. package/dist/lib/models/ArtistURL.d.ts +14 -0
  12. package/dist/lib/models/{ArtistUrl.js → ArtistURL.js} +8 -8
  13. package/dist/lib/models/Blip.d.ts +2 -3
  14. package/dist/lib/models/Blip.js +2 -2
  15. package/dist/lib/models/Comment.d.ts +2 -2
  16. package/dist/lib/models/Comment.js +2 -2
  17. package/dist/lib/models/{DbExport.d.ts → DBExport.d.ts} +1 -1
  18. package/dist/lib/models/{DbExport.js → DBExport.js} +1 -1
  19. package/dist/lib/models/ForumPost.d.ts +4 -5
  20. package/dist/lib/models/ForumPost.js +3 -3
  21. package/dist/lib/models/{IpBan.d.ts → IPBan.d.ts} +6 -6
  22. package/dist/lib/models/{IpBan.js → IPBan.js} +9 -9
  23. package/dist/lib/models/IQDBPost.d.ts +14 -0
  24. package/dist/lib/models/{IqdbPost.js → IQDBPost.js} +8 -8
  25. package/dist/lib/models/SearchTrendHourly.d.ts +14 -0
  26. package/dist/lib/models/SearchTrendHourly.js +17 -0
  27. package/dist/lib/models/UploadKarmaEvent.d.ts +9 -0
  28. package/dist/lib/models/UploadKarmaEvent.js +6 -0
  29. package/dist/lib/models/User.d.ts +4 -4
  30. package/dist/lib/models/User.js +6 -6
  31. package/dist/lib/models/UserAlt.d.ts +14 -0
  32. package/dist/lib/models/UserAlt.js +17 -0
  33. package/dist/lib/models/index.d.ts +8 -5
  34. package/dist/lib/models/index.js +9 -6
  35. package/dist/lib/modules/Appeals.js +3 -3
  36. package/dist/lib/modules/ArtistUrls.d.ts +2 -2
  37. package/dist/lib/modules/ArtistUrls.js +2 -2
  38. package/dist/lib/modules/Artists.js +3 -3
  39. package/dist/lib/modules/AvoidPostings.d.ts +16 -2
  40. package/dist/lib/modules/AvoidPostings.js +22 -3
  41. package/dist/lib/modules/Blips.d.ts +1 -1
  42. package/dist/lib/modules/Blips.js +4 -4
  43. package/dist/lib/modules/BulkUpdateRequests.js +3 -3
  44. package/dist/lib/modules/Comments.d.ts +13 -3
  45. package/dist/lib/modules/Comments.js +24 -6
  46. package/dist/lib/modules/DbExports.d.ts +1 -1
  47. package/dist/lib/modules/DbExports.js +1 -1
  48. package/dist/lib/modules/DoorkeeperOpenidConnectDiscovery.d.ts +40 -0
  49. package/dist/lib/modules/DoorkeeperOpenidConnectDiscovery.js +56 -0
  50. package/dist/lib/modules/DoorkeeperOpenidConnectUserinfo.d.ts +26 -0
  51. package/dist/lib/modules/DoorkeeperOpenidConnectUserinfo.js +35 -0
  52. package/dist/lib/modules/DoorkeeperTokenInfo.d.ts +24 -0
  53. package/dist/lib/modules/DoorkeeperTokenInfo.js +33 -0
  54. package/dist/lib/modules/DoorkeeperTokens.d.ts +65 -0
  55. package/dist/lib/modules/DoorkeeperTokens.js +82 -0
  56. package/dist/lib/modules/EmailBlacklists.js +2 -2
  57. package/dist/lib/modules/ForumPostVotes.d.ts +1 -1
  58. package/dist/lib/modules/ForumPostVotes.js +2 -2
  59. package/dist/lib/modules/ForumPosts.d.ts +3 -3
  60. package/dist/lib/modules/ForumPosts.js +4 -4
  61. package/dist/lib/modules/ForumTopics.d.ts +13 -2
  62. package/dist/lib/modules/ForumTopics.js +19 -3
  63. package/dist/lib/modules/HelpPages.js +4 -4
  64. package/dist/lib/modules/IpBans.d.ts +3 -3
  65. package/dist/lib/modules/IpBans.js +5 -5
  66. package/dist/lib/modules/IqdbQueries.js +4 -4
  67. package/dist/lib/modules/NewsUpdates.js +3 -3
  68. package/dist/lib/modules/Notes.js +3 -3
  69. package/dist/lib/modules/Pools.js +3 -3
  70. package/dist/lib/modules/PostDisapprovals.js +2 -2
  71. package/dist/lib/modules/PostFlags.js +2 -2
  72. package/dist/lib/modules/PostReplacements.d.ts +11 -0
  73. package/dist/lib/modules/PostReplacements.js +25 -2
  74. package/dist/lib/modules/PostSets.d.ts +9 -0
  75. package/dist/lib/modules/PostSets.js +27 -7
  76. package/dist/lib/modules/Posts.d.ts +12 -2
  77. package/dist/lib/modules/Posts.js +24 -3
  78. package/dist/lib/modules/RailsHealth.d.ts +17 -0
  79. package/dist/lib/modules/RailsHealth.js +26 -0
  80. package/dist/lib/modules/SearchTrendBlacklists.d.ts +15 -1
  81. package/dist/lib/modules/SearchTrendBlacklists.js +27 -4
  82. package/dist/lib/modules/SearchTrendHourlies.d.ts +22 -0
  83. package/dist/lib/modules/SearchTrendHourlies.js +32 -0
  84. package/dist/lib/modules/SearchTrends.d.ts +11 -1
  85. package/dist/lib/modules/SearchTrends.js +22 -4
  86. package/dist/lib/modules/Sessions.d.ts +46 -0
  87. package/dist/lib/modules/Sessions.js +69 -0
  88. package/dist/lib/modules/StaffIpAddrs.d.ts +41 -0
  89. package/dist/lib/modules/StaffIpAddrs.js +53 -0
  90. package/dist/lib/modules/StaffNotes.js +3 -3
  91. package/dist/lib/modules/StaffReowner.d.ts +19 -0
  92. package/dist/lib/modules/StaffReowner.js +29 -0
  93. package/dist/lib/modules/StaffStuckDnp.d.ts +14 -0
  94. package/dist/lib/modules/StaffStuckDnp.js +29 -0
  95. package/dist/lib/modules/StaffUserAlts.d.ts +17 -0
  96. package/dist/lib/modules/StaffUserAlts.js +32 -0
  97. package/dist/lib/modules/StaffUsers.d.ts +26 -6
  98. package/dist/lib/modules/StaffUsers.js +53 -10
  99. package/dist/lib/modules/StaffWikiRefs.d.ts +43 -0
  100. package/dist/lib/modules/StaffWikiRefs.js +77 -0
  101. package/dist/lib/modules/StaffWikis.d.ts +9 -0
  102. package/dist/lib/modules/StaffWikis.js +23 -2
  103. package/dist/lib/modules/Stats.d.ts +17 -0
  104. package/dist/lib/modules/Stats.js +26 -0
  105. package/dist/lib/modules/TagAliases.d.ts +11 -0
  106. package/dist/lib/modules/TagAliases.js +26 -4
  107. package/dist/lib/modules/TagImplications.d.ts +11 -0
  108. package/dist/lib/modules/TagImplications.js +26 -4
  109. package/dist/lib/modules/Tags.js +2 -2
  110. package/dist/lib/modules/Takedowns.js +2 -2
  111. package/dist/lib/modules/Tickets.js +2 -2
  112. package/dist/lib/modules/UploadKarmaEvents.d.ts +18 -0
  113. package/dist/lib/modules/UploadKarmaEvents.js +28 -0
  114. package/dist/lib/modules/UploadWhitelists.js +3 -3
  115. package/dist/lib/modules/UserFeedbacks.js +3 -3
  116. package/dist/lib/modules/UserNameChangeRequests.js +2 -2
  117. package/dist/lib/modules/UserReverts.d.ts +16 -0
  118. package/dist/lib/modules/UserReverts.js +31 -0
  119. package/dist/lib/modules/Users.d.ts +55 -3
  120. package/dist/lib/modules/Users.js +93 -7
  121. package/dist/lib/modules/WikiPages.js +3 -3
  122. package/dist/lib/modules/index.d.ts +45 -0
  123. package/dist/lib/modules/index.js +31 -1
  124. package/dist/lib/util.d.ts +33 -4
  125. package/dist/lib/util.js +3 -2
  126. package/dist/lib/version.d.ts +1 -1
  127. package/dist/lib/version.js +1 -1
  128. package/package.json +6 -6
  129. package/dist/lib/models/ApiKey.d.ts +0 -14
  130. package/dist/lib/models/ArtistUrl.d.ts +0 -14
  131. package/dist/lib/models/IqdbPost.d.ts +0 -14
@@ -1,60 +1,100 @@
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
- };
1
+ export declare const AppealStatusSchema: {
2
+ readonly type: "string";
3
+ readonly enum: readonly ["pending", "partial", "approved", "rejected"];
13
4
  };
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
- };
5
+ export declare const AppealTypeSchema: {
6
+ readonly type: "string";
7
+ readonly enum: readonly ["flag"];
26
8
  };
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
- };
9
+ export declare const DBExportNameSchema: {
10
+ readonly type: "string";
11
+ readonly enum: readonly ["artists", "bulk_update_requests", "pools", "post_replacements", "posts", "post_versions", "tag_aliases", "tag_implications", "tags", "wiki_pages"];
12
+ };
13
+ export declare const EditHistoryVersionableTypeSchema: {
14
+ readonly type: "string";
15
+ readonly enum: readonly ["Blip", "Comment", "ForumPost"];
16
+ };
17
+ export declare const JWKSAlgorithmSchema: {
18
+ readonly type: "string";
19
+ readonly enum: readonly ["RS256"];
20
+ };
21
+ export declare const ModActionActionSchema: {
22
+ readonly type: "string";
23
+ readonly enum: readonly ["admin_user_delete", "artist_delete", "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", "staff_note_create", "staff_note_update", "staff_note_delete", "staff_note_undelete", "blip_destroy", "blip_delete", "blip_undelete", "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", "search_trend_blacklist_create", "search_trend_blacklist_update", "search_trend_blacklist_delete", "search_trend_blacklist_purge", "mascot_create", "mascot_update", "mascot_delete", "staff_file_create", "staff_file_update", "staff_file_delete", "pool_delete", "report_reason_create", "report_reason_delete", "report_reason_update", "set_update", "set_delete", "set_change_visibility", "tag_destroy", "tag_alias_create", "tag_alias_update", "tag_alias_undo", "tag_implication_create", "tag_implication_update", "tag_implication_undo", "ticket_claim", "ticket_unclaim", "ticket_update", "appeal_claim", "appeal_unclaim", "appeal_update", "upload_whitelist_create", "upload_whitelist_update", "upload_whitelist_delete", "user_avatar_clear", "user_profile_clear", "user_comments_hide", "user_forum_posts_hide", "user_blips_delete", "user_blacklist_changed", "totp_reset", "password_reset", "user_text_change", "user_custom_title_change", "user_upload_limit_change", "user_karma_change", "user_karma_free_toggle", "user_uploads_toggle", "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", "user_flush_favorites", "wiki_page_rename", "wiki_page_delete", "wiki_page_lock", "wiki_page_unlock", "mass_update", "nuke_tag", "takedown_delete", "takedown_process", "post_version_hide", "post_version_unhide", "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"];
24
+ };
25
+ export declare const OAuthClaimSchema: {
26
+ readonly type: "string";
27
+ readonly enum: readonly ["iss", "sub", "aud", "exp", "iat", "preferred_username", "name", "picture", "updated_at", "e621_level", "e621_level_string", "e621_avatar_id", "e621_permissions", "email", "email_verified"];
28
+ };
29
+ export declare const OAuthClaimTypeSchema: {
30
+ readonly type: "string";
31
+ readonly enum: readonly ["normal"];
32
+ };
33
+ export declare const OAuthCodeChallengeMethodSchema: {
34
+ readonly type: "string";
35
+ readonly enum: readonly ["S256"];
36
+ };
37
+ export declare const OAuthGrantTypeSchema: {
38
+ readonly type: "string";
39
+ readonly enum: readonly ["authorization_code", "refresh_token"];
40
+ };
41
+ export declare const OAuthIDTokenSigningAlgValueSchema: {
42
+ readonly type: "string";
43
+ readonly enum: readonly ["RS256"];
44
+ };
45
+ export declare const OAuthPermissionSchema: {
46
+ readonly type: "string";
47
+ readonly enum: readonly ["can_approve_posts", "can_upload_free", "is_bd_staff", "is_bd_auditor", "can_view_staff_notes", "can_handle_takedowns", "can_edit_avoid_posting_entries", "is_blocked", "is_member", "is_privileged", "is_former_staff", "is_staff", "is_janitor", "is_moderator", "is_admin"];
48
+ };
49
+ export declare const OAuthResponseModeSchema: {
50
+ readonly type: "string";
51
+ readonly enum: readonly ["query", "fragment", "form_post"];
52
+ };
53
+ export declare const OAuthResponseTypeSchema: {
54
+ readonly type: "string";
55
+ readonly enum: readonly ["code"];
56
+ };
57
+ export declare const OAuthScopeSchema: {
58
+ readonly type: "string";
59
+ readonly enum: readonly ["openid", "profile", "email", "full"];
60
+ };
61
+ export declare const OAuthSubjectTypeSchema: {
62
+ readonly type: "string";
63
+ readonly enum: readonly ["public"];
64
+ };
65
+ export declare const OAuthTokenEndpointAuthMethodSchema: {
66
+ readonly type: "string";
67
+ readonly enum: readonly ["client_secret_basic", "client_secret_post"];
68
+ };
69
+ export declare const PoolCategorySchema: {
70
+ readonly type: "string";
71
+ readonly enum: readonly ["collection", "series"];
36
72
  };
37
- export declare const ModActionActionsSchema: {
73
+ export declare const PostEventActionSchema: {
38
74
  readonly type: "string";
39
- readonly enum: readonly ["admin_user_delete", "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", "staff_note_create", "staff_note_update", "staff_note_delete", "staff_note_undelete", "blip_destroy", "blip_delete", "blip_undelete", "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", "search_trend_blacklist_create", "search_trend_blacklist_update", "search_trend_blacklist_delete", "search_trend_blacklist_purge", "mascot_create", "mascot_update", "mascot_delete", "staff_file_create", "staff_file_update", "staff_file_delete", "pool_delete", "report_reason_create", "report_reason_delete", "report_reason_update", "set_update", "set_delete", "set_change_visibility", "tag_destroy", "tag_alias_create", "tag_alias_update", "tag_implication_create", "tag_implication_update", "ticket_claim", "ticket_unclaim", "ticket_update", "appeal_claim", "appeal_unclaim", "appeal_update", "upload_whitelist_create", "upload_whitelist_update", "upload_whitelist_delete", "user_avatar_clear", "user_profile_clear", "user_comments_hide", "user_forum_posts_hide", "user_blips_delete", "user_blacklist_changed", "user_text_change", "user_custom_title_change", "user_upload_limit_change", "user_uploads_toggle", "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", "user_flush_favorites", "wiki_page_rename", "wiki_page_delete", "wiki_page_lock", "wiki_page_unlock", "mass_update", "nuke_tag", "takedown_delete", "takedown_process", "post_version_hide", "post_version_unhide", "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"];
75
+ 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", "owner_changed", "replacement_moved"];
40
76
  };
41
- export declare const PostEventActionsSchema: {
77
+ export declare const PostReplacementStatusSchema: {
42
78
  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", "owner_changed"];
79
+ readonly enum: readonly ["promoted", "approved", "rejected", "pending", "original"];
44
80
  };
45
- export declare const RatingsSchema: {
81
+ export declare const RatingSchema: {
46
82
  readonly type: "string";
47
83
  readonly enum: readonly ["s", "q", "e"];
48
84
  };
49
- export declare const TagCategoriesSchema: {
85
+ export declare const StaffWikiRefRelatedTypeSchema: {
86
+ readonly type: "string";
87
+ readonly enum: readonly ["User", "Artist", "StaffWiki"];
88
+ };
89
+ export declare const TagCategorySchema: {
50
90
  readonly type: "integer";
51
91
  readonly enum: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8];
52
92
  };
53
- export declare const FeedbackCategoriesSchema: {
93
+ export declare const TagCategoryNamesSchema: {
54
94
  readonly type: "string";
55
- readonly enum: readonly ["negative", "neutral", "positive"];
95
+ readonly enum: readonly ["general", "artist", "contributor", "copyright", "character", "species", "invalid", "meta", "lore"];
56
96
  };
57
- export declare const TagRequestStatusesSchema: {
97
+ export declare const TagRequestStatusSchema: {
58
98
  readonly oneOf: readonly [{
59
99
  readonly type: "string";
60
100
  readonly enum: readonly ["active", "deleted", "processing", "queued", "retired", "pending"];
@@ -63,21 +103,147 @@ export declare const TagRequestStatusesSchema: {
63
103
  readonly pattern: "^error: .*$";
64
104
  }];
65
105
  };
66
- export declare const WarningTypesSchema: {
106
+ export declare const TicketStatusSchema: {
67
107
  readonly type: "string";
68
- readonly enum: readonly ["warning", "record", "ban"];
108
+ readonly enum: readonly ["pending", "partial", "approved"];
69
109
  };
70
- export declare const PoolCategoriesSchema: {
110
+ export declare const TicketTypeSchema: {
71
111
  readonly type: "string";
72
- readonly enum: readonly ["collection", "series"];
112
+ readonly enum: readonly ["blip", "comment", "dmail", "forum", "pool", "post", "set", "user", "wiki", "replacement"];
113
+ };
114
+ export declare const UpDownMehFlipVoteSchema: {
115
+ readonly type: "integer";
116
+ readonly enum: readonly [2, 1, 0, -1];
117
+ };
118
+ export declare const UpDownMehVoteSchema: {
119
+ readonly type: "integer";
120
+ readonly enum: readonly [1, 0, -1];
121
+ };
122
+ export declare const UpDownVoteSchema: {
123
+ readonly type: "integer";
124
+ readonly enum: readonly [1, -1];
73
125
  };
74
- export declare const TicketTypesSchema: {
126
+ export declare const UserFeedbackCategorySchema: {
75
127
  readonly type: "string";
76
- readonly enum: readonly ["blip", "comment", "dmail", "forum", "pool", "post", "set", "user", "wiki", "replacement"];
128
+ readonly enum: readonly ["negative", "neutral", "positive"];
77
129
  };
78
- export declare const TicketStatusesSchema: {
130
+ export declare const UserLevelSchema: {
131
+ readonly type: "integer";
132
+ readonly enum: readonly [0, 10, 20, 30, 40, 50, 60, 70, 80];
133
+ };
134
+ export declare const UserLevelNameSchema: {
79
135
  readonly type: "string";
80
- readonly enum: readonly ["pending", "partial", "approved"];
136
+ readonly enum: readonly ["Anonymous", "Blocked", "Member", "Privileged", "Former Staff", "Staff", "Janitor", "Moderator", "Admin"];
137
+ };
138
+ export declare const WarningRecordTypeSchema: {
139
+ readonly type: "string";
140
+ readonly enum: readonly ["warning", "record", "ban", "unmark"];
141
+ };
142
+ export declare const WarningTypeSchema: {
143
+ readonly type: "string";
144
+ readonly enum: readonly ["warning", "record", "ban"];
145
+ };
146
+ export declare const APIKeySchema: {
147
+ readonly type: "object";
148
+ 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"];
149
+ readonly properties: {
150
+ readonly id: {
151
+ readonly type: "integer";
152
+ };
153
+ readonly updated_at: {
154
+ readonly type: "string";
155
+ readonly format: "date-time";
156
+ };
157
+ readonly created_at: {
158
+ readonly type: "string";
159
+ readonly format: "date-time";
160
+ };
161
+ readonly user_id: {
162
+ readonly type: "integer";
163
+ };
164
+ readonly key: {
165
+ readonly type: "string";
166
+ };
167
+ readonly name: {
168
+ readonly type: "string";
169
+ };
170
+ readonly last_used_at: {
171
+ readonly type: "string";
172
+ readonly format: "date-time";
173
+ readonly nullable: true;
174
+ };
175
+ readonly last_used_ip_address: {
176
+ readonly oneOf: readonly [{
177
+ readonly type: "string";
178
+ readonly format: "ipv4";
179
+ readonly nullable: true;
180
+ }, {
181
+ readonly type: "string";
182
+ readonly format: "ipv6";
183
+ readonly nullable: true;
184
+ }];
185
+ };
186
+ readonly last_user_agent: {
187
+ readonly type: "string";
188
+ readonly nullable: true;
189
+ };
190
+ readonly expires_at: {
191
+ readonly type: "string";
192
+ readonly format: "date-time";
193
+ readonly nullable: true;
194
+ };
195
+ readonly notified_at: {
196
+ readonly type: "string";
197
+ readonly format: "date-time";
198
+ readonly nullable: true;
199
+ };
200
+ };
201
+ };
202
+ export declare const AppealSchema: {
203
+ readonly type: "object";
204
+ readonly required: readonly ["id", "disp_id", "qtype", "status", "handler_id", "created_at", "updated_at"];
205
+ readonly properties: {
206
+ readonly id: {
207
+ readonly type: "integer";
208
+ };
209
+ readonly creator_id: {
210
+ readonly type: "integer";
211
+ };
212
+ readonly disp_id: {
213
+ readonly type: "string";
214
+ };
215
+ readonly qtype: {
216
+ readonly $ref: "#/components/schemas/AppealType";
217
+ };
218
+ readonly status: {
219
+ readonly $ref: "#/components/schemas/AppealStatus";
220
+ };
221
+ readonly reason: {
222
+ readonly type: "string";
223
+ };
224
+ readonly response: {
225
+ readonly type: "string";
226
+ };
227
+ readonly claimant_id: {
228
+ readonly type: "integer";
229
+ readonly nullable: true;
230
+ };
231
+ readonly handler_id: {
232
+ readonly type: "integer";
233
+ readonly nullable: true;
234
+ };
235
+ readonly accused_id: {
236
+ readonly type: "integer";
237
+ };
238
+ readonly created_at: {
239
+ readonly type: "string";
240
+ readonly format: "date-time";
241
+ };
242
+ readonly updated_at: {
243
+ readonly type: "string";
244
+ readonly format: "date-time";
245
+ };
246
+ };
81
247
  };
82
248
  export declare const ArtistSchema: {
83
249
  readonly type: "object";
@@ -125,7 +291,7 @@ export declare const ArtistSchema: {
125
291
  };
126
292
  };
127
293
  };
128
- export declare const ArtistUrlSchema: {
294
+ export declare const ArtistURLSchema: {
129
295
  readonly type: "object";
130
296
  readonly required: readonly ["id", "artist_id", "url", "normalized_url", "created_at", "updated_at", "is_active"];
131
297
  readonly properties: {
@@ -268,7 +434,7 @@ export declare const AvoidPostingVersionSchema: {
268
434
  };
269
435
  export declare const BanSchema: {
270
436
  readonly type: "object";
271
- readonly required: readonly ["id", "user_id", "reason", "expires_at", "banner_id", "created_at", "updated_at"];
437
+ readonly required: readonly ["id", "user_id", "banner_id", "reason", "expires_at", "created_at", "updated_at"];
272
438
  readonly properties: {
273
439
  readonly id: {
274
440
  readonly type: "integer";
@@ -279,14 +445,14 @@ export declare const BanSchema: {
279
445
  readonly reason: {
280
446
  readonly type: "string";
281
447
  };
448
+ readonly banner_id: {
449
+ readonly type: "integer";
450
+ };
282
451
  readonly expires_at: {
283
452
  readonly type: "string";
284
453
  readonly format: "date-time";
285
454
  readonly nullable: true;
286
455
  };
287
- readonly banner_id: {
288
- readonly type: "integer";
289
- };
290
456
  readonly created_at: {
291
457
  readonly type: "string";
292
458
  readonly format: "date-time";
@@ -297,6 +463,22 @@ export declare const BanSchema: {
297
463
  };
298
464
  };
299
465
  };
466
+ export declare const BasicPostSchema: {
467
+ readonly allOf: readonly [{
468
+ readonly $ref: "#/components/schemas/Post";
469
+ }, {
470
+ readonly type: "object";
471
+ readonly required: readonly ["tags"];
472
+ readonly properties: {
473
+ readonly tags: {
474
+ readonly type: "array";
475
+ readonly items: {
476
+ readonly type: "string";
477
+ };
478
+ };
479
+ };
480
+ }];
481
+ };
300
482
  export declare const BlipSchema: {
301
483
  readonly type: "object";
302
484
  readonly required: readonly ["id", "creator_id", "body", "response_to", "created_at", "updated_at", "is_deleted", "warning_type", "warning_user_id", "updater_id", "creator_name"];
@@ -324,7 +506,7 @@ export declare const BlipSchema: {
324
506
  readonly type: "boolean";
325
507
  };
326
508
  readonly warning_type: {
327
- readonly $ref: "#/components/schemas/WarningTypes";
509
+ readonly $ref: "#/components/schemas/WarningType";
328
510
  };
329
511
  readonly warning_user_id: {
330
512
  readonly type: "integer";
@@ -337,19 +519,6 @@ export declare const BlipSchema: {
337
519
  };
338
520
  };
339
521
  };
340
- export declare const BulkRelatedTagSchema: {
341
- readonly allOf: readonly [{
342
- readonly $ref: "#/components/schemas/RelatedTag";
343
- }, {
344
- readonly type: "object";
345
- readonly required: readonly ["count"];
346
- readonly properties: {
347
- readonly count: {
348
- readonly type: "integer";
349
- };
350
- };
351
- }];
352
- };
353
522
  export declare const BulkUpdateRequestSchema: {
354
523
  readonly type: "object";
355
524
  readonly required: readonly ["id", "creator_id", "forum_topic_id", "script", "status", "created_at", "updated_at", "approver_id", "forum_post_id", "title"];
@@ -434,7 +603,7 @@ export declare const CommentSchema: {
434
603
  readonly type: "boolean";
435
604
  };
436
605
  readonly warning_type: {
437
- readonly $ref: "#/components/schemas/WarningTypes";
606
+ readonly $ref: "#/components/schemas/WarningType";
438
607
  };
439
608
  readonly warning_user_id: {
440
609
  readonly type: "integer";
@@ -447,8 +616,33 @@ export declare const CommentSchema: {
447
616
  readonly type: "string";
448
617
  };
449
618
  readonly vote: {
619
+ readonly $ref: "#/components/schemas/UpDownMehVote";
620
+ };
621
+ };
622
+ };
623
+ export declare const CommentVoteSchema: {
624
+ readonly type: "object";
625
+ readonly required: readonly ["id", "comment_id", "user_id", "score", "created_at", "updated_at"];
626
+ readonly properties: {
627
+ readonly id: {
628
+ readonly type: "integer";
629
+ };
630
+ readonly comment_id: {
450
631
  readonly type: "integer";
451
- readonly enum: readonly [-1, 0, 1];
632
+ };
633
+ readonly user_id: {
634
+ readonly type: "integer";
635
+ };
636
+ readonly score: {
637
+ readonly $ref: "#/components/schemas/UpDownVote";
638
+ };
639
+ readonly created_at: {
640
+ readonly type: "string";
641
+ readonly format: "date-time";
642
+ };
643
+ readonly updated_at: {
644
+ readonly type: "string";
645
+ readonly format: "date-time";
452
646
  };
453
647
  };
454
648
  };
@@ -457,7 +651,7 @@ export declare const CurrentUserSchema: {
457
651
  readonly $ref: "#/components/schemas/User";
458
652
  }, {
459
653
  readonly type: "object";
460
- 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"];
654
+ 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", "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"];
461
655
  readonly properties: {
462
656
  readonly blacklist_users: {
463
657
  readonly type: "boolean";
@@ -483,9 +677,6 @@ export declare const CurrentUserSchema: {
483
677
  readonly enable_privacy_mode: {
484
678
  readonly type: "boolean";
485
679
  };
486
- readonly style_usernames: {
487
- readonly type: "boolean";
488
- };
489
680
  readonly enable_auto_complete: {
490
681
  readonly type: "boolean";
491
682
  };
@@ -583,9 +774,36 @@ export declare const CurrentUserSchema: {
583
774
  };
584
775
  }];
585
776
  };
586
- export declare const DMailSchema: {
777
+ export declare const DBExportSchema: {
587
778
  readonly type: "object";
588
- readonly required: readonly ["id", "owner_id", "from_id", "to_id", "title", "body", "is_read", "is_deleted", "created_at", "updated_at", "to_name", "from_name"];
779
+ readonly required: readonly ["name", "file_name", "file_size", "updated_at", "url", "checksum"];
780
+ readonly properties: {
781
+ readonly name: {
782
+ readonly $ref: "#/components/schemas/DBExportName";
783
+ };
784
+ readonly file_name: {
785
+ readonly type: "string";
786
+ };
787
+ readonly file_size: {
788
+ readonly type: "integer";
789
+ };
790
+ readonly updated_at: {
791
+ readonly type: "string";
792
+ readonly format: "date-time";
793
+ };
794
+ readonly url: {
795
+ readonly type: "string";
796
+ readonly format: "uri";
797
+ };
798
+ readonly checksum: {
799
+ readonly type: "string";
800
+ readonly description: "SHA-256";
801
+ };
802
+ };
803
+ };
804
+ export declare const DMailSchema: {
805
+ readonly type: "object";
806
+ readonly required: readonly ["id", "owner_id", "from_id", "to_id", "title", "body", "is_read", "is_deleted", "created_at", "updated_at", "to_name", "from_name"];
589
807
  readonly properties: {
590
808
  readonly id: {
591
809
  readonly type: "integer";
@@ -641,7 +859,7 @@ export declare const DeferredPostSchema: {
641
859
  readonly type: "string";
642
860
  };
643
861
  readonly rating: {
644
- readonly $ref: "#/components/schemas/Ratings";
862
+ readonly $ref: "#/components/schemas/Rating";
645
863
  };
646
864
  readonly file_ext: {
647
865
  readonly type: "string";
@@ -704,15 +922,39 @@ export declare const DeferredPostSchema: {
704
922
  };
705
923
  };
706
924
  };
707
- export declare const DTextResponseSchema: {
925
+ export declare const EditHistorySchema: {
708
926
  readonly type: "object";
709
- readonly required: readonly ["html", "posts"];
927
+ readonly required: readonly ["id", "created_at", "updated_at", "body", "subject", "versionable_type", "versionable_id", "version", "user_id"];
710
928
  readonly properties: {
711
- readonly html: {
929
+ readonly id: {
930
+ readonly type: "integer";
931
+ };
932
+ readonly created_at: {
712
933
  readonly type: "string";
934
+ readonly format: "date-time";
713
935
  };
714
- readonly posts: {
715
- readonly $ref: "#/components/schemas/DeferredPost";
936
+ readonly updated_at: {
937
+ readonly type: "string";
938
+ readonly format: "date-time";
939
+ };
940
+ readonly body: {
941
+ readonly type: "string";
942
+ };
943
+ readonly subject: {
944
+ readonly type: "string";
945
+ readonly nullable: true;
946
+ };
947
+ readonly versionable_type: {
948
+ readonly $ref: "#/components/schemas/EditHistoryVersionableType";
949
+ };
950
+ readonly versionable_id: {
951
+ readonly type: "integer";
952
+ };
953
+ readonly version: {
954
+ readonly type: "integer";
955
+ };
956
+ readonly user_id: {
957
+ readonly type: "integer";
716
958
  };
717
959
  };
718
960
  };
@@ -740,6 +982,115 @@ export declare const EmailBlacklistSchema: {
740
982
  };
741
983
  };
742
984
  };
985
+ export declare const ExceptionLogSchema: {
986
+ readonly type: "object";
987
+ readonly required: readonly ["id", "created_at", "updated_at", "class_name", "version", "extra_params", "message", "trace", "code", "user_id"];
988
+ readonly properties: {
989
+ readonly id: {
990
+ readonly type: "integer";
991
+ };
992
+ readonly created_at: {
993
+ readonly type: "string";
994
+ readonly format: "date-time";
995
+ };
996
+ readonly updated_at: {
997
+ readonly type: "string";
998
+ readonly format: "date-time";
999
+ };
1000
+ readonly class_name: {
1001
+ readonly type: "string";
1002
+ };
1003
+ readonly version: {
1004
+ readonly type: "string";
1005
+ };
1006
+ readonly extra_params: {
1007
+ readonly type: "object";
1008
+ };
1009
+ readonly message: {
1010
+ readonly type: "string";
1011
+ };
1012
+ readonly trace: {
1013
+ readonly type: "string";
1014
+ };
1015
+ readonly code: {
1016
+ readonly type: "string";
1017
+ readonly format: "uuid";
1018
+ };
1019
+ readonly user_id: {
1020
+ readonly type: "integer";
1021
+ };
1022
+ };
1023
+ };
1024
+ export declare const ExtendedPostSchema: {
1025
+ readonly allOf: readonly [{
1026
+ readonly $ref: "#/components/schemas/Post";
1027
+ }, {
1028
+ readonly type: "object";
1029
+ readonly required: readonly ["tags"];
1030
+ readonly properties: {
1031
+ readonly tags: {
1032
+ readonly type: "object";
1033
+ readonly required: readonly ["general", "artist", "contributor", "copyright", "character", "species", "invalid", "meta", "lore"];
1034
+ readonly properties: {
1035
+ readonly general: {
1036
+ readonly type: "array";
1037
+ readonly items: {
1038
+ readonly type: "string";
1039
+ };
1040
+ };
1041
+ readonly artist: {
1042
+ readonly type: "array";
1043
+ readonly items: {
1044
+ readonly type: "string";
1045
+ };
1046
+ };
1047
+ readonly contributor: {
1048
+ readonly type: "array";
1049
+ readonly items: {
1050
+ readonly type: "string";
1051
+ };
1052
+ };
1053
+ readonly copyright: {
1054
+ readonly type: "array";
1055
+ readonly items: {
1056
+ readonly type: "string";
1057
+ };
1058
+ };
1059
+ readonly character: {
1060
+ readonly type: "array";
1061
+ readonly items: {
1062
+ readonly type: "string";
1063
+ };
1064
+ };
1065
+ readonly species: {
1066
+ readonly type: "array";
1067
+ readonly items: {
1068
+ readonly type: "string";
1069
+ };
1070
+ };
1071
+ readonly invalid: {
1072
+ readonly type: "array";
1073
+ readonly items: {
1074
+ readonly type: "string";
1075
+ };
1076
+ };
1077
+ readonly meta: {
1078
+ readonly type: "array";
1079
+ readonly items: {
1080
+ readonly type: "string";
1081
+ };
1082
+ };
1083
+ readonly lore: {
1084
+ readonly type: "array";
1085
+ readonly items: {
1086
+ readonly type: "string";
1087
+ };
1088
+ };
1089
+ };
1090
+ };
1091
+ };
1092
+ }];
1093
+ };
743
1094
  export declare const ForumPostSchema: {
744
1095
  readonly type: "object";
745
1096
  readonly required: readonly ["id", "topic_id", "creator_id", "updater_id", "body", "is_hidden", "created_at", "updated_at", "warning_type", "warning_user_id"];
@@ -771,7 +1122,7 @@ export declare const ForumPostSchema: {
771
1122
  readonly format: "date-time";
772
1123
  };
773
1124
  readonly warning_type: {
774
- readonly $ref: "#/components/schemas/WarningTypes";
1125
+ readonly $ref: "#/components/schemas/WarningType";
775
1126
  };
776
1127
  readonly warning_user_id: {
777
1128
  readonly type: "integer";
@@ -793,7 +1144,7 @@ export declare const ForumPostVoteSchema: {
793
1144
  readonly type: "integer";
794
1145
  };
795
1146
  readonly score: {
796
- readonly type: "integer";
1147
+ readonly $ref: "#/components/schemas/UpDownMehFlipVote";
797
1148
  };
798
1149
  readonly created_at: {
799
1150
  readonly type: "string";
@@ -861,7 +1212,7 @@ export declare const FullUserSchema: {
861
1212
  readonly $ref: "#/components/schemas/User";
862
1213
  }, {
863
1214
  readonly type: "object";
864
- 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"];
1215
+ 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_slots", "profile_about", "profile_artinfo"];
865
1216
  readonly properties: {
866
1217
  readonly wiki_page_version_count: {
867
1218
  readonly type: "integer";
@@ -893,7 +1244,7 @@ export declare const FullUserSchema: {
893
1244
  readonly negative_feedback_count: {
894
1245
  readonly type: "integer";
895
1246
  };
896
- readonly upload_limit: {
1247
+ readonly upload_slots: {
897
1248
  readonly type: "integer";
898
1249
  };
899
1250
  readonly profile_about: {
@@ -934,7 +1285,7 @@ export declare const HelpPageSchema: {
934
1285
  };
935
1286
  };
936
1287
  };
937
- export declare const IpBanSchema: {
1288
+ export declare const IPBanSchema: {
938
1289
  readonly type: "object";
939
1290
  readonly description: "Due to a global filter, the ip_addr is not present no matter your user level.";
940
1291
  readonly required: readonly ["id", "creator_id", "reason", "created_at", "updated_at"];
@@ -958,7 +1309,7 @@ export declare const IpBanSchema: {
958
1309
  };
959
1310
  };
960
1311
  };
961
- export declare const IqdbPostSchema: {
1312
+ export declare const IQDBPostSchema: {
962
1313
  readonly type: "object";
963
1314
  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"];
964
1315
  readonly properties: {
@@ -989,7 +1340,7 @@ export declare const IqdbPostSchema: {
989
1340
  readonly type: "string";
990
1341
  };
991
1342
  readonly rating: {
992
- readonly $ref: "#/components/schemas/Ratings";
1343
+ readonly $ref: "#/components/schemas/Rating";
993
1344
  };
994
1345
  readonly is_note_locked: {
995
1346
  readonly type: "boolean";
@@ -1154,226 +1505,336 @@ export declare const IqdbPostSchema: {
1154
1505
  };
1155
1506
  };
1156
1507
  };
1157
- export declare const RawPostSchema: {
1508
+ export declare const JWKSSchema: {
1158
1509
  readonly type: "object";
1159
- 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"];
1510
+ readonly required: readonly ["keys"];
1160
1511
  readonly properties: {
1161
- readonly id: {
1162
- readonly type: "integer";
1512
+ readonly keys: {
1513
+ readonly type: "array";
1514
+ readonly items: {
1515
+ readonly $ref: "#/components/schemas/JWKSKey";
1516
+ };
1163
1517
  };
1164
- readonly created_at: {
1518
+ };
1519
+ };
1520
+ export declare const JWKSKeySchema: {
1521
+ readonly type: "object";
1522
+ readonly required: readonly ["kty", "use", "alg", "kid", "n", "e"];
1523
+ readonly properties: {
1524
+ readonly kty: {
1165
1525
  readonly type: "string";
1166
- readonly format: "date-time";
1526
+ readonly enum: readonly ["RSA"];
1167
1527
  };
1168
- readonly updated_at: {
1528
+ readonly use: {
1169
1529
  readonly type: "string";
1170
- readonly format: "date-time";
1530
+ readonly enum: readonly ["sig"];
1171
1531
  };
1172
- readonly up_score: {
1173
- readonly type: "integer";
1174
- };
1175
- readonly down_score: {
1176
- readonly type: "integer";
1177
- };
1178
- readonly score: {
1179
- readonly type: "integer";
1532
+ readonly alg: {
1533
+ readonly $ref: "#/components/schemas/JWKSAlgorithm";
1180
1534
  };
1181
- readonly source: {
1535
+ readonly kid: {
1182
1536
  readonly type: "string";
1537
+ readonly description: "Key ID, matched against the `kid` header of a signed JWT to select the key that verifies it.";
1183
1538
  };
1184
- readonly md5: {
1539
+ readonly n: {
1185
1540
  readonly type: "string";
1541
+ readonly description: "RSA modulus, base64url-encoded.";
1186
1542
  };
1187
- readonly rating: {
1188
- readonly $ref: "#/components/schemas/Ratings";
1189
- };
1190
- readonly is_note_locked: {
1191
- readonly type: "boolean";
1192
- };
1193
- readonly is_rating_locked: {
1194
- readonly type: "boolean";
1195
- };
1196
- readonly is_status_locked: {
1197
- readonly type: "boolean";
1198
- };
1199
- readonly is_pending: {
1200
- readonly type: "boolean";
1201
- };
1202
- readonly is_flagged: {
1203
- readonly type: "boolean";
1204
- };
1205
- readonly is_deleted: {
1206
- readonly type: "boolean";
1207
- };
1208
- readonly uploader_id: {
1209
- readonly type: "integer";
1543
+ readonly e: {
1544
+ readonly type: "string";
1545
+ readonly description: "RSA public exponent, base64url-encoded.";
1210
1546
  };
1211
- readonly approver_id: {
1547
+ };
1548
+ };
1549
+ export declare const LegacyPostSchema: {
1550
+ readonly type: "object";
1551
+ 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", "vote"];
1552
+ readonly properties: {
1553
+ readonly id: {
1212
1554
  readonly type: "integer";
1213
1555
  };
1214
- readonly last_noted_at: {
1556
+ readonly created_at: {
1215
1557
  readonly type: "string";
1216
1558
  readonly format: "date-time";
1217
- readonly nullable: true;
1218
1559
  };
1219
- readonly last_comment_bumped_at: {
1560
+ readonly updated_at: {
1220
1561
  readonly type: "string";
1221
1562
  readonly format: "date-time";
1222
- readonly nullable: true;
1223
- };
1224
- readonly fav_count: {
1225
- readonly type: "integer";
1226
- };
1227
- readonly tag_string: {
1228
- readonly type: "string";
1229
- };
1230
- readonly tag_count: {
1231
- readonly type: "integer";
1232
1563
  };
1233
- readonly tag_count_general: {
1234
- readonly type: "integer";
1235
- };
1236
- readonly tag_count_artist: {
1237
- readonly type: "integer";
1238
- };
1239
- readonly tag_count_character: {
1240
- readonly type: "integer";
1241
- };
1242
- readonly tag_count_copyright: {
1243
- readonly type: "integer";
1244
- };
1245
- readonly file_ext: {
1246
- readonly type: "string";
1247
- };
1248
- readonly file_size: {
1249
- readonly type: "integer";
1250
- readonly format: "int64";
1251
- };
1252
- readonly image_width: {
1253
- readonly type: "integer";
1254
- };
1255
- readonly image_height: {
1256
- readonly type: "integer";
1257
- };
1258
- readonly parent_id: {
1259
- readonly type: "integer";
1260
- readonly nullable: true;
1261
- };
1262
- readonly has_children: {
1263
- readonly type: "boolean";
1564
+ readonly file: {
1565
+ readonly type: "object";
1566
+ readonly required: readonly ["width", "height", "ext", "size", "md5", "url"];
1567
+ readonly properties: {
1568
+ readonly width: {
1569
+ readonly type: "integer";
1570
+ };
1571
+ readonly height: {
1572
+ readonly type: "integer";
1573
+ };
1574
+ readonly ext: {
1575
+ readonly type: "string";
1576
+ };
1577
+ readonly size: {
1578
+ readonly type: "integer";
1579
+ readonly format: "int64";
1580
+ };
1581
+ readonly md5: {
1582
+ readonly type: "string";
1583
+ };
1584
+ readonly url: {
1585
+ readonly type: "string";
1586
+ readonly nullable: true;
1587
+ };
1588
+ };
1264
1589
  };
1265
- readonly last_commented_at: {
1266
- readonly type: "string";
1267
- readonly format: "date-time";
1268
- readonly nullable: true;
1590
+ readonly preview: {
1591
+ readonly type: "object";
1592
+ readonly required: readonly ["width", "height", "url"];
1593
+ readonly properties: {
1594
+ readonly width: {
1595
+ readonly type: "integer";
1596
+ };
1597
+ readonly height: {
1598
+ readonly type: "integer";
1599
+ };
1600
+ readonly url: {
1601
+ readonly type: "string";
1602
+ readonly nullable: true;
1603
+ };
1604
+ };
1269
1605
  };
1270
- readonly has_active_children: {
1271
- readonly type: "boolean";
1606
+ readonly sample: {
1607
+ readonly type: "object";
1608
+ readonly required: readonly ["has", "height", "width", "url", "alternates"];
1609
+ readonly properties: {
1610
+ readonly has: {
1611
+ readonly type: "boolean";
1612
+ };
1613
+ readonly height: {
1614
+ readonly type: "integer";
1615
+ readonly nullable: true;
1616
+ };
1617
+ readonly width: {
1618
+ readonly type: "integer";
1619
+ readonly nullable: true;
1620
+ };
1621
+ readonly url: {
1622
+ readonly type: "string";
1623
+ readonly nullable: true;
1624
+ };
1625
+ readonly alternates: {
1626
+ readonly type: "object";
1627
+ readonly properties: {
1628
+ readonly has: {
1629
+ readonly type: "boolean";
1630
+ };
1631
+ readonly original: {
1632
+ readonly $ref: "#/components/schemas/PostSampleAlternate";
1633
+ };
1634
+ readonly variants: {
1635
+ readonly type: "object";
1636
+ readonly properties: {
1637
+ readonly webm: {
1638
+ readonly $ref: "#/components/schemas/PostSampleAlternate";
1639
+ };
1640
+ readonly mp4: {
1641
+ readonly $ref: "#/components/schemas/PostSampleAlternate";
1642
+ };
1643
+ };
1644
+ };
1645
+ readonly samples: {
1646
+ readonly type: "object";
1647
+ readonly properties: {
1648
+ readonly '480p': {
1649
+ readonly $ref: "#/components/schemas/PostSampleAlternate";
1650
+ };
1651
+ readonly '720p': {
1652
+ readonly $ref: "#/components/schemas/PostSampleAlternate";
1653
+ };
1654
+ };
1655
+ };
1656
+ };
1657
+ };
1658
+ };
1272
1659
  };
1273
- readonly bit_flags: {
1274
- readonly type: "integer";
1660
+ readonly score: {
1661
+ readonly type: "object";
1662
+ readonly required: readonly ["up", "down", "total"];
1663
+ readonly properties: {
1664
+ readonly up: {
1665
+ readonly type: "integer";
1666
+ };
1667
+ readonly down: {
1668
+ readonly type: "integer";
1669
+ };
1670
+ readonly total: {
1671
+ readonly type: "integer";
1672
+ };
1673
+ };
1275
1674
  };
1276
- readonly tag_count_meta: {
1277
- readonly type: "integer";
1675
+ readonly tags: {
1676
+ readonly type: "object";
1677
+ readonly required: readonly ["general", "artist", "copyright", "character", "species", "invalid", "meta", "lore", "contributor"];
1678
+ readonly properties: {
1679
+ readonly general: {
1680
+ readonly type: "array";
1681
+ readonly items: {
1682
+ readonly type: "string";
1683
+ };
1684
+ };
1685
+ readonly artist: {
1686
+ readonly type: "array";
1687
+ readonly items: {
1688
+ readonly type: "string";
1689
+ };
1690
+ };
1691
+ readonly copyright: {
1692
+ readonly type: "array";
1693
+ readonly items: {
1694
+ readonly type: "string";
1695
+ };
1696
+ };
1697
+ readonly character: {
1698
+ readonly type: "array";
1699
+ readonly items: {
1700
+ readonly type: "string";
1701
+ };
1702
+ };
1703
+ readonly species: {
1704
+ readonly type: "array";
1705
+ readonly items: {
1706
+ readonly type: "string";
1707
+ };
1708
+ };
1709
+ readonly invalid: {
1710
+ readonly type: "array";
1711
+ readonly items: {
1712
+ readonly type: "string";
1713
+ };
1714
+ };
1715
+ readonly meta: {
1716
+ readonly type: "array";
1717
+ readonly items: {
1718
+ readonly type: "string";
1719
+ };
1720
+ };
1721
+ readonly lore: {
1722
+ readonly type: "array";
1723
+ readonly items: {
1724
+ readonly type: "string";
1725
+ };
1726
+ };
1727
+ readonly contributor: {
1728
+ readonly type: "array";
1729
+ readonly items: {
1730
+ readonly type: "string";
1731
+ };
1732
+ };
1733
+ };
1278
1734
  };
1279
1735
  readonly locked_tags: {
1280
- readonly type: "string";
1736
+ readonly type: "array";
1281
1737
  readonly nullable: true;
1738
+ readonly items: {
1739
+ readonly type: "string";
1740
+ };
1282
1741
  };
1283
- readonly tag_count_species: {
1284
- readonly type: "integer";
1285
- };
1286
- readonly tag_count_invalid: {
1742
+ readonly change_seq: {
1287
1743
  readonly type: "integer";
1288
1744
  };
1289
- readonly description: {
1290
- readonly type: "string";
1291
- };
1292
- readonly comment_count: {
1293
- readonly type: "integer";
1745
+ readonly flags: {
1746
+ readonly type: "object";
1747
+ readonly required: readonly ["pending", "flagged", "note_locked", "status_locked", "rating_locked", "deleted"];
1748
+ readonly properties: {
1749
+ readonly pending: {
1750
+ readonly type: "boolean";
1751
+ };
1752
+ readonly flagged: {
1753
+ readonly type: "boolean";
1754
+ };
1755
+ readonly note_locked: {
1756
+ readonly type: "boolean";
1757
+ };
1758
+ readonly status_locked: {
1759
+ readonly type: "boolean";
1760
+ };
1761
+ readonly rating_locked: {
1762
+ readonly type: "boolean";
1763
+ };
1764
+ readonly deleted: {
1765
+ readonly type: "boolean";
1766
+ };
1767
+ };
1294
1768
  };
1295
- readonly change_seq: {
1296
- readonly type: "integer";
1769
+ readonly rating: {
1770
+ readonly $ref: "#/components/schemas/Rating";
1297
1771
  };
1298
- readonly tag_count_lore: {
1772
+ readonly fav_count: {
1299
1773
  readonly type: "integer";
1300
1774
  };
1301
- readonly bg_color: {
1302
- readonly type: "string";
1303
- readonly nullable: true;
1304
- };
1305
- readonly generated_samples: {
1775
+ readonly sources: {
1306
1776
  readonly type: "array";
1307
- readonly nullable: true;
1308
1777
  readonly items: {
1309
1778
  readonly type: "string";
1310
- readonly enum: readonly ["720p", "480p", "original"];
1311
1779
  };
1312
1780
  };
1313
- readonly duration: {
1314
- readonly type: "string";
1315
- readonly nullable: true;
1316
- };
1317
- readonly is_comment_disabled: {
1318
- readonly type: "boolean";
1319
- };
1320
- readonly is_comment_locked: {
1321
- readonly type: "boolean";
1781
+ readonly pools: {
1782
+ readonly type: "array";
1783
+ readonly items: {
1784
+ readonly type: "integer";
1785
+ };
1322
1786
  };
1323
- readonly has_large: {
1324
- readonly type: "boolean";
1325
- };
1326
- readonly has_visible_children: {
1327
- readonly type: "boolean";
1328
- };
1329
- readonly children_ids: {
1330
- readonly type: "string";
1331
- readonly nullable: true;
1332
- };
1333
- readonly pool_ids: {
1334
- readonly type: "array";
1335
- readonly items: {
1336
- readonly type: "integer";
1787
+ readonly relationships: {
1788
+ readonly type: "object";
1789
+ readonly required: readonly ["parent_id", "has_children", "has_active_children", "children"];
1790
+ readonly properties: {
1791
+ readonly parent_id: {
1792
+ readonly type: "integer";
1793
+ readonly nullable: true;
1794
+ };
1795
+ readonly has_children: {
1796
+ readonly type: "boolean";
1797
+ };
1798
+ readonly has_active_children: {
1799
+ readonly type: "boolean";
1800
+ };
1801
+ readonly children: {
1802
+ readonly type: "array";
1803
+ readonly items: {
1804
+ readonly type: "integer";
1805
+ };
1806
+ };
1337
1807
  };
1338
1808
  };
1339
- readonly is_favorited: {
1340
- readonly type: "boolean";
1809
+ readonly approver_id: {
1810
+ readonly type: "integer";
1811
+ readonly nullable: true;
1341
1812
  };
1342
- readonly file_url: {
1343
- readonly type: "string";
1813
+ readonly uploader_id: {
1814
+ readonly type: "integer";
1344
1815
  };
1345
- readonly large_file_url: {
1816
+ readonly description: {
1346
1817
  readonly type: "string";
1347
1818
  };
1348
- readonly preview_file_url: {
1349
- readonly type: "string";
1819
+ readonly comment_count: {
1820
+ readonly type: "integer";
1350
1821
  };
1351
- };
1352
- };
1353
- export declare const IqdbResponseSchema: {
1354
- readonly type: "object";
1355
- readonly required: readonly ["hash", "post_id", "score", "post"];
1356
- readonly properties: {
1357
- readonly hash: {
1358
- readonly type: "string";
1822
+ readonly is_favorited: {
1823
+ readonly type: "boolean";
1359
1824
  };
1360
- readonly post_id: {
1361
- readonly type: "integer";
1825
+ readonly has_notes: {
1826
+ readonly type: "boolean";
1362
1827
  };
1363
- readonly score: {
1828
+ readonly duration: {
1364
1829
  readonly type: "number";
1365
1830
  readonly format: "float";
1366
- readonly minimum: 0;
1367
- readonly maximum: 100;
1831
+ readonly nullable: true;
1368
1832
  };
1369
- readonly post: {
1370
- readonly type: "object";
1371
- readonly required: readonly ["posts"];
1372
- readonly properties: {
1373
- readonly posts: {
1374
- readonly $ref: "#/components/schemas/IqdbPost";
1375
- };
1376
- };
1833
+ readonly uploader_name: {
1834
+ readonly type: "string";
1835
+ };
1836
+ readonly vote: {
1837
+ readonly $ref: "#/components/schemas/UpDownMehVote";
1377
1838
  };
1378
1839
  };
1379
1840
  };
@@ -1429,6 +1890,24 @@ export declare const MascotSchema: {
1429
1890
  };
1430
1891
  };
1431
1892
  };
1893
+ export declare const MinimalUserSchema: {
1894
+ readonly type: "object";
1895
+ readonly required: readonly ["id", "name", "level_string", "favorite_count"];
1896
+ readonly properties: {
1897
+ readonly id: {
1898
+ readonly type: "integer";
1899
+ };
1900
+ readonly name: {
1901
+ readonly type: "string";
1902
+ };
1903
+ readonly level_string: {
1904
+ readonly $ref: "#/components/schemas/UserLevelName";
1905
+ };
1906
+ readonly favorite_count: {
1907
+ readonly type: "integer";
1908
+ };
1909
+ };
1910
+ };
1432
1911
  export declare const ModActionSchema: {
1433
1912
  readonly type: "object";
1434
1913
  readonly required: readonly ["id", "creator_id", "created_at", "updated_at", "action"];
@@ -1448,7 +1927,7 @@ export declare const ModActionSchema: {
1448
1927
  readonly format: "date-time";
1449
1928
  };
1450
1929
  readonly action: {
1451
- readonly $ref: "#/components/schemas/ModActionActions";
1930
+ readonly $ref: "#/components/schemas/ModActionAction";
1452
1931
  };
1453
1932
  };
1454
1933
  };
@@ -1572,6 +2051,234 @@ export declare const NoteVersionSchema: {
1572
2051
  };
1573
2052
  };
1574
2053
  };
2054
+ export declare const OAuthIntrospectionSchema: {
2055
+ readonly type: "object";
2056
+ readonly required: readonly ["active"];
2057
+ readonly description: "Only `active` is present when the token is inactive/unknown - the other fields are omitted entirely.";
2058
+ readonly properties: {
2059
+ readonly active: {
2060
+ readonly type: "boolean";
2061
+ };
2062
+ readonly scope: {
2063
+ readonly type: "string";
2064
+ readonly description: "Space-separated list of the token's granted scopes.";
2065
+ };
2066
+ readonly client_id: {
2067
+ readonly type: "string";
2068
+ readonly description: "The `uid` of the OAuth application the token was issued to.";
2069
+ };
2070
+ readonly token_type: {
2071
+ readonly type: "string";
2072
+ readonly enum: readonly ["Bearer"];
2073
+ };
2074
+ readonly iat: {
2075
+ readonly type: "integer";
2076
+ readonly description: "Unix timestamp of when the token was issued.";
2077
+ };
2078
+ readonly exp: {
2079
+ readonly type: "integer";
2080
+ readonly description: "Unix timestamp of when the token expires. Omitted for tokens that don't expire.";
2081
+ };
2082
+ };
2083
+ };
2084
+ export declare const OAuthTokenSchema: {
2085
+ readonly type: "object";
2086
+ readonly required: readonly ["access_token", "token_type", "expires_in", "refresh_token", "scope", "created_at"];
2087
+ readonly properties: {
2088
+ readonly access_token: {
2089
+ readonly type: "string";
2090
+ };
2091
+ readonly token_type: {
2092
+ readonly type: "string";
2093
+ readonly enum: readonly ["Bearer"];
2094
+ };
2095
+ readonly expires_in: {
2096
+ readonly type: "integer";
2097
+ readonly description: "Seconds until `access_token` expires.";
2098
+ };
2099
+ readonly refresh_token: {
2100
+ readonly type: "string";
2101
+ };
2102
+ readonly scope: {
2103
+ readonly type: "string";
2104
+ readonly description: "Space-separated list of granted scopes.";
2105
+ };
2106
+ readonly created_at: {
2107
+ readonly type: "integer";
2108
+ readonly description: "Unix timestamp of when the token was issued.";
2109
+ };
2110
+ readonly id_token: {
2111
+ readonly type: "string";
2112
+ readonly description: "A signed JWT containing the user's ID token claims. Present only when the `openid` scope was granted.";
2113
+ };
2114
+ };
2115
+ };
2116
+ export declare const OAuthTokenInfoSchema: {
2117
+ readonly type: "object";
2118
+ readonly required: readonly ["resource_owner_id", "scope", "expires_in", "application", "created_at"];
2119
+ readonly properties: {
2120
+ readonly resource_owner_id: {
2121
+ readonly type: "integer";
2122
+ };
2123
+ readonly scope: {
2124
+ readonly type: "array";
2125
+ readonly items: {
2126
+ readonly $ref: "#/components/schemas/OAuthScope";
2127
+ };
2128
+ };
2129
+ readonly expires_in: {
2130
+ readonly type: "integer";
2131
+ };
2132
+ readonly application: {
2133
+ readonly type: "object";
2134
+ readonly required: readonly ["uid"];
2135
+ readonly properties: {
2136
+ readonly uid: {
2137
+ readonly type: "string";
2138
+ };
2139
+ };
2140
+ };
2141
+ readonly created_at: {
2142
+ readonly type: "integer";
2143
+ };
2144
+ };
2145
+ };
2146
+ export declare const OAuthUserInfoSchema: {
2147
+ readonly type: "object";
2148
+ readonly description: "null properties are entriely absent";
2149
+ readonly required: readonly ["preferred_username", "name", "updated_at", "e621_level", "e621_level_string", "e621_permissions", "sub"];
2150
+ readonly properties: {
2151
+ readonly preferred_username: {
2152
+ readonly type: "string";
2153
+ };
2154
+ readonly name: {
2155
+ readonly type: "string";
2156
+ };
2157
+ readonly picture: {
2158
+ readonly type: "string";
2159
+ };
2160
+ readonly updated_at: {
2161
+ readonly type: "integer";
2162
+ };
2163
+ readonly e621_level: {
2164
+ readonly $ref: "#/components/schemas/UserLevel";
2165
+ };
2166
+ readonly e621_level_string: {
2167
+ readonly $ref: "#/components/schemas/UserLevelName";
2168
+ };
2169
+ readonly e621_avatar_id: {
2170
+ readonly type: "integer";
2171
+ };
2172
+ readonly e621_permissions: {
2173
+ readonly $ref: "#/components/schemas/OAuthPermission";
2174
+ };
2175
+ readonly email: {
2176
+ readonly type: "string";
2177
+ readonly description: "Requires `email` scope.";
2178
+ };
2179
+ readonly email_verified: {
2180
+ readonly type: "boolean";
2181
+ readonly description: "Requires `email` scope.";
2182
+ };
2183
+ readonly sub: {
2184
+ readonly type: "string";
2185
+ };
2186
+ };
2187
+ };
2188
+ export declare const OpenIDConfigurationSchema: {
2189
+ readonly type: "object";
2190
+ readonly required: readonly ["issuer", "authorization_endpoint", "token_endpoint", "revocation_endpoint", "introspection_endpoint", "userinfo_endpoint", "jwks_uri", "scopes_supported", "response_types_supported", "response_modes_supported", "grant_types_supported", "token_endpoint_auth_methods_supported", "subject_types_supported", "id_token_signing_alg_values_supported", "claim_types_supported", "claims_supported", "code_challenge_methods_supported"];
2191
+ readonly properties: {
2192
+ readonly issuer: {
2193
+ readonly type: "string";
2194
+ readonly format: "uri";
2195
+ };
2196
+ readonly authorization_endpoint: {
2197
+ readonly type: "string";
2198
+ readonly format: "uri";
2199
+ };
2200
+ readonly token_endpoint: {
2201
+ readonly type: "string";
2202
+ readonly format: "uri";
2203
+ };
2204
+ readonly revocation_endpoint: {
2205
+ readonly type: "string";
2206
+ readonly format: "uri";
2207
+ };
2208
+ readonly introspection_endpoint: {
2209
+ readonly type: "string";
2210
+ readonly format: "uri";
2211
+ };
2212
+ readonly userinfo_endpoint: {
2213
+ readonly type: "string";
2214
+ readonly format: "uri";
2215
+ };
2216
+ readonly jwks_uri: {
2217
+ readonly type: "string";
2218
+ readonly format: "uri";
2219
+ };
2220
+ readonly scopes_supported: {
2221
+ readonly type: "array";
2222
+ readonly items: {
2223
+ readonly $ref: "#/components/schemas/OAuthScope";
2224
+ };
2225
+ };
2226
+ readonly response_types_supported: {
2227
+ readonly type: "array";
2228
+ readonly items: {
2229
+ readonly $ref: "#/components/schemas/OAuthResponseType";
2230
+ };
2231
+ };
2232
+ readonly response_modes_supported: {
2233
+ readonly type: "array";
2234
+ readonly items: {
2235
+ readonly $ref: "#/components/schemas/OAuthResponseMode";
2236
+ };
2237
+ };
2238
+ readonly grant_types_supported: {
2239
+ readonly type: "array";
2240
+ readonly items: {
2241
+ readonly $ref: "#/components/schemas/OAuthGrantType";
2242
+ };
2243
+ };
2244
+ readonly token_endpoint_auth_methods_supported: {
2245
+ readonly type: "array";
2246
+ readonly items: {
2247
+ readonly $ref: "#/components/schemas/OAuthTokenEndpointAuthMethod";
2248
+ };
2249
+ };
2250
+ readonly subject_types_supported: {
2251
+ readonly type: "array";
2252
+ readonly items: {
2253
+ readonly $ref: "#/components/schemas/OAuthSubjectType";
2254
+ };
2255
+ };
2256
+ readonly id_token_signing_alg_values_supported: {
2257
+ readonly type: "array";
2258
+ readonly items: {
2259
+ readonly $ref: "#/components/schemas/OAuthIDTokenSigningAlgValue";
2260
+ };
2261
+ };
2262
+ readonly claim_types_supported: {
2263
+ readonly type: "array";
2264
+ readonly items: {
2265
+ readonly $ref: "#/components/schemas/OAuthClaimType";
2266
+ };
2267
+ };
2268
+ readonly claims_supported: {
2269
+ readonly type: "array";
2270
+ readonly items: {
2271
+ readonly $ref: "#/components/schemas/OAuthClaim";
2272
+ };
2273
+ };
2274
+ readonly code_challenge_methods_supported: {
2275
+ readonly type: "array";
2276
+ readonly items: {
2277
+ readonly $ref: "#/components/schemas/OAuthCodeChallengeMethod";
2278
+ };
2279
+ };
2280
+ };
2281
+ };
1575
2282
  export declare const PoolSchema: {
1576
2283
  readonly type: "object";
1577
2284
  readonly required: readonly ["id", "name", "created_at", "updated_at", "creator_id", "description", "is_active", "category", "post_ids", "creator_name", "post_count"];
@@ -1596,7 +2303,7 @@ export declare const PoolSchema: {
1596
2303
  readonly type: "boolean";
1597
2304
  };
1598
2305
  readonly category: {
1599
- readonly $ref: "#/components/schemas/PoolCategories";
2306
+ readonly $ref: "#/components/schemas/PoolCategory";
1600
2307
  };
1601
2308
  readonly post_ids: {
1602
2309
  readonly type: "array";
@@ -1662,7 +2369,7 @@ export declare const PoolVersionSchema: {
1662
2369
  readonly type: "boolean";
1663
2370
  };
1664
2371
  readonly category: {
1665
- readonly $ref: "#/components/schemas/PoolCategories";
2372
+ readonly $ref: "#/components/schemas/PoolCategory";
1666
2373
  };
1667
2374
  readonly version: {
1668
2375
  readonly type: "integer";
@@ -1700,95 +2407,7 @@ export declare const PostSchema: {
1700
2407
  readonly type: "integer";
1701
2408
  };
1702
2409
  readonly files: {
1703
- readonly type: "object";
1704
- readonly required: readonly ["meta", "original", "preview", "sample"];
1705
- readonly properties: {
1706
- readonly meta: {
1707
- readonly type: "object";
1708
- readonly required: readonly ["md5", "ext", "size", "duration", "has_sample"];
1709
- readonly properties: {
1710
- readonly md5: {
1711
- readonly type: "string";
1712
- };
1713
- readonly ext: {
1714
- readonly type: "string";
1715
- };
1716
- readonly size: {
1717
- readonly type: "integer";
1718
- readonly format: "int64";
1719
- };
1720
- readonly duration: {
1721
- readonly type: "number";
1722
- readonly format: "float";
1723
- readonly nullable: true;
1724
- };
1725
- readonly has_sample: {
1726
- readonly type: "boolean";
1727
- };
1728
- };
1729
- };
1730
- readonly original: {
1731
- readonly type: "object";
1732
- readonly required: readonly ["width", "height", "url"];
1733
- readonly properties: {
1734
- readonly width: {
1735
- readonly type: "integer";
1736
- };
1737
- readonly height: {
1738
- readonly type: "integer";
1739
- };
1740
- readonly url: {
1741
- readonly type: "string";
1742
- readonly format: "uri";
1743
- readonly nullable: true;
1744
- };
1745
- };
1746
- };
1747
- readonly preview: {
1748
- readonly type: "object";
1749
- readonly required: readonly ["width", "height", "jpg", "webp"];
1750
- readonly properties: {
1751
- readonly width: {
1752
- readonly type: "integer";
1753
- };
1754
- readonly height: {
1755
- readonly type: "integer";
1756
- };
1757
- readonly jpg: {
1758
- readonly type: "string";
1759
- readonly format: "uri";
1760
- readonly nullable: true;
1761
- };
1762
- readonly webp: {
1763
- readonly type: "string";
1764
- readonly format: "uri";
1765
- readonly nullable: true;
1766
- };
1767
- };
1768
- };
1769
- readonly sample: {
1770
- readonly type: "object";
1771
- readonly required: readonly ["width", "height", "jpg", "webp"];
1772
- readonly properties: {
1773
- readonly width: {
1774
- readonly type: "integer";
1775
- };
1776
- readonly height: {
1777
- readonly type: "integer";
1778
- };
1779
- readonly jpg: {
1780
- readonly type: "string";
1781
- readonly format: "uri";
1782
- readonly nullable: true;
1783
- };
1784
- readonly webp: {
1785
- readonly type: "string";
1786
- readonly format: "uri";
1787
- readonly nullable: true;
1788
- };
1789
- };
1790
- };
1791
- };
2410
+ readonly $ref: "#/components/schemas/PostFiles";
1792
2411
  };
1793
2412
  readonly uploader_id: {
1794
2413
  readonly type: "integer";
@@ -1801,98 +2420,16 @@ export declare const PostSchema: {
1801
2420
  readonly nullable: true;
1802
2421
  };
1803
2422
  readonly stats: {
1804
- readonly type: "object";
1805
- readonly required: readonly ["score", "fav_count", "is_favorited", "vote", "comment_count"];
1806
- readonly properties: {
1807
- readonly score: {
1808
- readonly type: "object";
1809
- readonly required: readonly ["up", "down", "total"];
1810
- readonly properties: {
1811
- readonly up: {
1812
- readonly type: "integer";
1813
- };
1814
- readonly down: {
1815
- readonly type: "integer";
1816
- };
1817
- readonly total: {
1818
- readonly type: "integer";
1819
- };
1820
- };
1821
- };
1822
- readonly fav_count: {
1823
- readonly type: "integer";
1824
- };
1825
- readonly is_favorited: {
1826
- readonly type: "boolean";
1827
- };
1828
- readonly vote: {
1829
- readonly $ref: "#/components/schemas/Comment/properties/vote";
1830
- };
1831
- readonly comment_count: {
1832
- readonly type: "integer";
1833
- };
1834
- };
2423
+ readonly $ref: "#/components/schemas/PostStats";
1835
2424
  };
1836
2425
  readonly flags: {
1837
- readonly type: "object";
1838
- readonly required: readonly ["pending", "flagged", "note_locked", "status_locked", "rating_locked", "deleted"];
1839
- readonly properties: {
1840
- readonly pending: {
1841
- readonly type: "boolean";
1842
- };
1843
- readonly flagged: {
1844
- readonly type: "boolean";
1845
- };
1846
- readonly note_locked: {
1847
- readonly type: "boolean";
1848
- };
1849
- readonly status_locked: {
1850
- readonly type: "boolean";
1851
- };
1852
- readonly rating_locked: {
1853
- readonly type: "boolean";
1854
- };
1855
- readonly deleted: {
1856
- readonly type: "boolean";
1857
- };
1858
- };
2426
+ readonly $ref: "#/components/schemas/PostFlags";
1859
2427
  };
1860
2428
  readonly has: {
1861
- readonly type: "object";
1862
- readonly required: readonly ["parent", "children", "active_children", "notes", "sample"];
1863
- readonly properties: {
1864
- readonly parent: {
1865
- readonly type: "boolean";
1866
- };
1867
- readonly children: {
1868
- readonly type: "boolean";
1869
- };
1870
- readonly active_children: {
1871
- readonly type: "boolean";
1872
- };
1873
- readonly notes: {
1874
- readonly type: "boolean";
1875
- };
1876
- readonly sample: {
1877
- readonly type: "boolean";
1878
- };
1879
- };
2429
+ readonly $ref: "#/components/schemas/PostHas";
1880
2430
  };
1881
2431
  readonly relationships: {
1882
- readonly type: "object";
1883
- readonly required: readonly ["parent_id", "children"];
1884
- readonly properties: {
1885
- readonly parent_id: {
1886
- readonly type: "integer";
1887
- readonly nullable: true;
1888
- };
1889
- readonly children: {
1890
- readonly type: "array";
1891
- readonly items: {
1892
- readonly type: "integer";
1893
- };
1894
- };
1895
- };
2432
+ readonly $ref: "#/components/schemas/PostRelationships";
1896
2433
  };
1897
2434
  readonly pools: {
1898
2435
  readonly type: "array";
@@ -1901,7 +2438,7 @@ export declare const PostSchema: {
1901
2438
  };
1902
2439
  };
1903
2440
  readonly rating: {
1904
- readonly $ref: "#/components/schemas/Ratings";
2441
+ readonly $ref: "#/components/schemas/Rating";
1905
2442
  };
1906
2443
  readonly locked_tags: {
1907
2444
  readonly type: "array";
@@ -1943,6 +2480,18 @@ export declare const PostApprovalSchema: {
1943
2480
  };
1944
2481
  };
1945
2482
  };
2483
+ export declare const PostDataSchema: {
2484
+ readonly type: "object";
2485
+ readonly required: readonly ["post_data"];
2486
+ readonly properties: {
2487
+ readonly post_data: {
2488
+ readonly type: "array";
2489
+ readonly items: {
2490
+ readonly $ref: "#/components/schemas/ThumbnailPost";
2491
+ };
2492
+ };
2493
+ };
2494
+ };
1946
2495
  export declare const PostDisapprovalSchema: {
1947
2496
  readonly type: "object";
1948
2497
  readonly required: readonly ["id", "user_id", "post_id", "reason", "message", "created_at", "updated_at"];
@@ -1989,7 +2538,7 @@ export declare const PostEventSchema: {
1989
2538
  readonly type: "integer";
1990
2539
  };
1991
2540
  readonly action: {
1992
- readonly $ref: "#/components/schemas/PostEventActions";
2541
+ readonly $ref: "#/components/schemas/PostEventAction";
1993
2542
  };
1994
2543
  readonly created_at: {
1995
2544
  readonly type: "string";
@@ -1997,6 +2546,109 @@ export declare const PostEventSchema: {
1997
2546
  };
1998
2547
  };
1999
2548
  };
2549
+ export declare const PostFilesSchema: {
2550
+ readonly type: "object";
2551
+ readonly required: readonly ["meta", "original", "preview", "sample"];
2552
+ readonly properties: {
2553
+ readonly meta: {
2554
+ readonly $ref: "#/components/schemas/PostFilesMeta";
2555
+ };
2556
+ readonly original: {
2557
+ readonly $ref: "#/components/schemas/PostFilesOriginal";
2558
+ };
2559
+ readonly preview: {
2560
+ readonly $ref: "#/components/schemas/PostFilesPreview";
2561
+ };
2562
+ readonly sample: {
2563
+ readonly $ref: "#/components/schemas/PostFilesSample";
2564
+ };
2565
+ };
2566
+ };
2567
+ export declare const PostFilesMetaSchema: {
2568
+ readonly type: "object";
2569
+ readonly required: readonly ["md5", "ext", "size", "duration", "has_sample"];
2570
+ readonly properties: {
2571
+ readonly md5: {
2572
+ readonly type: "string";
2573
+ };
2574
+ readonly ext: {
2575
+ readonly type: "string";
2576
+ };
2577
+ readonly size: {
2578
+ readonly type: "integer";
2579
+ readonly format: "int64";
2580
+ };
2581
+ readonly duration: {
2582
+ readonly type: "number";
2583
+ readonly format: "float";
2584
+ readonly nullable: true;
2585
+ };
2586
+ readonly has_sample: {
2587
+ readonly type: "boolean";
2588
+ };
2589
+ };
2590
+ };
2591
+ export declare const PostFilesOriginalSchema: {
2592
+ readonly type: "object";
2593
+ readonly required: readonly ["width", "height", "url"];
2594
+ readonly properties: {
2595
+ readonly width: {
2596
+ readonly type: "integer";
2597
+ };
2598
+ readonly height: {
2599
+ readonly type: "integer";
2600
+ };
2601
+ readonly url: {
2602
+ readonly type: "string";
2603
+ readonly format: "uri";
2604
+ readonly nullable: true;
2605
+ };
2606
+ };
2607
+ };
2608
+ export declare const PostFilesPreviewSchema: {
2609
+ readonly type: "object";
2610
+ readonly required: readonly ["width", "height", "jpg", "webp"];
2611
+ readonly properties: {
2612
+ readonly width: {
2613
+ readonly type: "integer";
2614
+ };
2615
+ readonly height: {
2616
+ readonly type: "integer";
2617
+ };
2618
+ readonly jpg: {
2619
+ readonly type: "string";
2620
+ readonly format: "uri";
2621
+ readonly nullable: true;
2622
+ };
2623
+ readonly webp: {
2624
+ readonly type: "string";
2625
+ readonly format: "uri";
2626
+ readonly nullable: true;
2627
+ };
2628
+ };
2629
+ };
2630
+ export declare const PostFilesSampleSchema: {
2631
+ readonly type: "object";
2632
+ readonly required: readonly ["width", "height", "jpg", "webp"];
2633
+ readonly properties: {
2634
+ readonly width: {
2635
+ readonly type: "integer";
2636
+ };
2637
+ readonly height: {
2638
+ readonly type: "integer";
2639
+ };
2640
+ readonly jpg: {
2641
+ readonly type: "string";
2642
+ readonly format: "uri";
2643
+ readonly nullable: true;
2644
+ };
2645
+ readonly webp: {
2646
+ readonly type: "string";
2647
+ readonly format: "uri";
2648
+ readonly nullable: true;
2649
+ };
2650
+ };
2651
+ };
2000
2652
  export declare const PostFlagSchema: {
2001
2653
  readonly type: "object";
2002
2654
  readonly required: readonly ["id", "created_at", "post_id", "reason", "is_resolved", "updated_at", "is_deletion", "type"];
@@ -2040,9 +2692,87 @@ export declare const PostFlagSchema: {
2040
2692
  };
2041
2693
  };
2042
2694
  };
2695
+ export declare const PostFlagsSchema: {
2696
+ readonly type: "object";
2697
+ readonly required: readonly ["pending", "flagged", "note_locked", "status_locked", "rating_locked", "deleted"];
2698
+ readonly properties: {
2699
+ readonly pending: {
2700
+ readonly type: "boolean";
2701
+ };
2702
+ readonly flagged: {
2703
+ readonly type: "boolean";
2704
+ };
2705
+ readonly note_locked: {
2706
+ readonly type: "boolean";
2707
+ };
2708
+ readonly status_locked: {
2709
+ readonly type: "boolean";
2710
+ };
2711
+ readonly rating_locked: {
2712
+ readonly type: "boolean";
2713
+ };
2714
+ readonly deleted: {
2715
+ readonly type: "boolean";
2716
+ };
2717
+ };
2718
+ };
2719
+ export declare const PostHasSchema: {
2720
+ readonly type: "object";
2721
+ readonly required: readonly ["parent", "children", "active_children", "notes", "sample"];
2722
+ readonly properties: {
2723
+ readonly parent: {
2724
+ readonly type: "boolean";
2725
+ };
2726
+ readonly children: {
2727
+ readonly type: "boolean";
2728
+ };
2729
+ readonly active_children: {
2730
+ readonly type: "boolean";
2731
+ };
2732
+ readonly notes: {
2733
+ readonly type: "boolean";
2734
+ };
2735
+ readonly sample: {
2736
+ readonly type: "boolean";
2737
+ };
2738
+ };
2739
+ };
2740
+ export declare const PostRecommendationSchema: {
2741
+ readonly type: "object";
2742
+ readonly required: readonly ["post_id", "score", "explanation"];
2743
+ readonly properties: {
2744
+ readonly post_id: {
2745
+ readonly type: "integer";
2746
+ };
2747
+ readonly score: {
2748
+ readonly type: "number";
2749
+ readonly format: "float";
2750
+ };
2751
+ readonly explanation: {
2752
+ readonly type: "string";
2753
+ readonly nullable: true;
2754
+ };
2755
+ };
2756
+ };
2757
+ export declare const PostRelationshipsSchema: {
2758
+ readonly type: "object";
2759
+ readonly required: readonly ["parent_id", "children"];
2760
+ readonly properties: {
2761
+ readonly parent_id: {
2762
+ readonly type: "integer";
2763
+ readonly nullable: true;
2764
+ };
2765
+ readonly children: {
2766
+ readonly type: "array";
2767
+ readonly items: {
2768
+ readonly type: "integer";
2769
+ };
2770
+ };
2771
+ };
2772
+ };
2043
2773
  export declare const PostReplacementSchema: {
2044
2774
  readonly type: "object";
2045
- 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"];
2775
+ 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", "sequence_number"];
2046
2776
  readonly properties: {
2047
2777
  readonly id: {
2048
2778
  readonly type: "integer";
@@ -2088,12 +2818,14 @@ export declare const PostReplacementSchema: {
2088
2818
  readonly type: "string";
2089
2819
  };
2090
2820
  readonly status: {
2091
- readonly type: "string";
2092
- readonly enum: readonly ["prompted", "approved", "rejected", "pending", "original"];
2821
+ readonly $ref: "#/components/schemas/PostReplacementStatus";
2093
2822
  };
2094
2823
  readonly reason: {
2095
2824
  readonly type: "string";
2096
2825
  };
2826
+ readonly sequence_number: {
2827
+ readonly type: "integer";
2828
+ };
2097
2829
  };
2098
2830
  };
2099
2831
  export declare const PostSampleAlternateSchema: {
@@ -2167,7 +2899,43 @@ export declare const PostSetSchema: {
2167
2899
  };
2168
2900
  };
2169
2901
  };
2170
- export declare const PostVersionSchema: {
2902
+ export declare const PostStatsSchema: {
2903
+ readonly type: "object";
2904
+ readonly required: readonly ["score", "fav_count", "is_favorited", "vote", "comment_count"];
2905
+ readonly properties: {
2906
+ readonly score: {
2907
+ readonly $ref: "#/components/schemas/PostStatsScore";
2908
+ };
2909
+ readonly fav_count: {
2910
+ readonly type: "integer";
2911
+ };
2912
+ readonly is_favorited: {
2913
+ readonly type: "boolean";
2914
+ };
2915
+ readonly vote: {
2916
+ readonly $ref: "#/components/schemas/UpDownMehVote";
2917
+ };
2918
+ readonly comment_count: {
2919
+ readonly type: "integer";
2920
+ };
2921
+ };
2922
+ };
2923
+ export declare const PostStatsScoreSchema: {
2924
+ readonly type: "object";
2925
+ readonly required: readonly ["up", "down", "total"];
2926
+ readonly properties: {
2927
+ readonly up: {
2928
+ readonly type: "integer";
2929
+ };
2930
+ readonly down: {
2931
+ readonly type: "integer";
2932
+ };
2933
+ readonly total: {
2934
+ readonly type: "integer";
2935
+ };
2936
+ };
2937
+ };
2938
+ export declare const PostVersionSchema: {
2171
2939
  readonly type: "object";
2172
2940
  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"];
2173
2941
  readonly properties: {
@@ -2188,7 +2956,7 @@ export declare const PostVersionSchema: {
2188
2956
  readonly format: "date-time";
2189
2957
  };
2190
2958
  readonly rating: {
2191
- readonly $ref: "#/components/schemas/Ratings";
2959
+ readonly $ref: "#/components/schemas/Rating";
2192
2960
  };
2193
2961
  readonly parent_id: {
2194
2962
  readonly type: "integer";
@@ -2264,21 +3032,35 @@ export declare const PostVersionSchema: {
2264
3032
  };
2265
3033
  };
2266
3034
  };
2267
- export declare const RelatedTagSchema: {
3035
+ export declare const PostVoteSchema: {
2268
3036
  readonly type: "object";
2269
- readonly required: readonly ["name", "category_id"];
3037
+ readonly required: readonly ["id", "post_id", "user_id", "score", "created_at", "updated_at"];
2270
3038
  readonly properties: {
2271
- readonly name: {
3039
+ readonly id: {
3040
+ readonly type: "integer";
3041
+ };
3042
+ readonly post_id: {
3043
+ readonly type: "integer";
3044
+ };
3045
+ readonly user_id: {
3046
+ readonly type: "integer";
3047
+ };
3048
+ readonly score: {
3049
+ readonly $ref: "#/components/schemas/UpDownVote";
3050
+ };
3051
+ readonly created_at: {
2272
3052
  readonly type: "string";
3053
+ readonly format: "date-time";
2273
3054
  };
2274
- readonly category_id: {
2275
- readonly $ref: "#/components/schemas/TagCategories";
3055
+ readonly updated_at: {
3056
+ readonly type: "string";
3057
+ readonly format: "date-time";
2276
3058
  };
2277
3059
  };
2278
3060
  };
2279
- export declare const StaffNoteSchema: {
3061
+ export declare const RawPostSchema: {
2280
3062
  readonly type: "object";
2281
- readonly required: readonly ["id", "created_at", "updated_at", "user_id", "creator_id", "body", "is_deleted", "updater_id"];
3063
+ 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"];
2282
3064
  readonly properties: {
2283
3065
  readonly id: {
2284
3066
  readonly type: "integer";
@@ -2291,311 +3073,255 @@ export declare const StaffNoteSchema: {
2291
3073
  readonly type: "string";
2292
3074
  readonly format: "date-time";
2293
3075
  };
2294
- readonly user_id: {
2295
- readonly type: "integer";
2296
- };
2297
- readonly creator_id: {
3076
+ readonly up_score: {
2298
3077
  readonly type: "integer";
2299
3078
  };
2300
- readonly body: {
2301
- readonly type: "string";
2302
- };
2303
- readonly is_deleted: {
2304
- readonly type: "boolean";
2305
- };
2306
- readonly updater_id: {
3079
+ readonly down_score: {
2307
3080
  readonly type: "integer";
2308
3081
  };
2309
- };
2310
- };
2311
- export declare const TagSchema: {
2312
- readonly type: "object";
2313
- readonly required: readonly ["id", "name", "post_count", "related_tags", "related_tags_updated_at", "category", "is_locked", "created_at", "updated_at"];
2314
- readonly properties: {
2315
- readonly id: {
3082
+ readonly score: {
2316
3083
  readonly type: "integer";
2317
3084
  };
2318
- readonly name: {
3085
+ readonly source: {
2319
3086
  readonly type: "string";
2320
3087
  };
2321
- readonly post_count: {
2322
- readonly type: "integer";
2323
- };
2324
- readonly related_tags: {
3088
+ readonly md5: {
2325
3089
  readonly type: "string";
2326
3090
  };
2327
- readonly related_tags_updated_at: {
2328
- readonly type: "string";
2329
- readonly nullable: true;
2330
- readonly format: "date-time";
3091
+ readonly rating: {
3092
+ readonly $ref: "#/components/schemas/Rating";
2331
3093
  };
2332
- readonly category: {
2333
- readonly $ref: "#/components/schemas/TagCategories";
3094
+ readonly is_note_locked: {
3095
+ readonly type: "boolean";
2334
3096
  };
2335
- readonly is_locked: {
3097
+ readonly is_rating_locked: {
2336
3098
  readonly type: "boolean";
2337
3099
  };
2338
- readonly created_at: {
2339
- readonly type: "string";
2340
- readonly format: "date-time";
3100
+ readonly is_status_locked: {
3101
+ readonly type: "boolean";
2341
3102
  };
2342
- readonly updated_at: {
2343
- readonly type: "string";
2344
- readonly format: "date-time";
3103
+ readonly is_pending: {
3104
+ readonly type: "boolean";
2345
3105
  };
2346
- };
2347
- };
2348
- export declare const TagAliasSchema: {
2349
- readonly type: "object";
2350
- 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"];
2351
- readonly properties: {
2352
- readonly id: {
2353
- readonly type: "integer";
3106
+ readonly is_flagged: {
3107
+ readonly type: "boolean";
2354
3108
  };
2355
- readonly antecedent_name: {
2356
- readonly type: "string";
3109
+ readonly is_deleted: {
3110
+ readonly type: "boolean";
2357
3111
  };
2358
- readonly reason: {
2359
- readonly type: "string";
3112
+ readonly uploader_id: {
3113
+ readonly type: "integer";
2360
3114
  };
2361
- readonly creator_id: {
3115
+ readonly approver_id: {
2362
3116
  readonly type: "integer";
2363
3117
  };
2364
- readonly created_at: {
3118
+ readonly last_noted_at: {
2365
3119
  readonly type: "string";
2366
- readonly nullable: true;
2367
3120
  readonly format: "date-time";
2368
- };
2369
- readonly forum_post_id: {
2370
- readonly type: "integer";
2371
3121
  readonly nullable: true;
2372
3122
  };
2373
- readonly updated_at: {
3123
+ readonly last_comment_bumped_at: {
2374
3124
  readonly type: "string";
2375
- readonly nullable: true;
2376
3125
  readonly format: "date-time";
3126
+ readonly nullable: true;
2377
3127
  };
2378
- readonly forum_topic_id: {
3128
+ readonly fav_count: {
2379
3129
  readonly type: "integer";
2380
- readonly nullable: true;
2381
3130
  };
2382
- readonly consequent_name: {
3131
+ readonly tag_string: {
2383
3132
  readonly type: "string";
2384
3133
  };
2385
- readonly status: {
2386
- readonly $ref: "#/components/schemas/TagRequestStatuses";
2387
- };
2388
- readonly post_count: {
3134
+ readonly tag_count: {
2389
3135
  readonly type: "integer";
2390
3136
  };
2391
- readonly approver_id: {
3137
+ readonly tag_count_general: {
2392
3138
  readonly type: "integer";
2393
- readonly nullable: true;
2394
3139
  };
2395
- };
2396
- };
2397
- export declare const TagImplicationSchema: {
2398
- readonly type: "object";
2399
- 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"];
2400
- readonly properties: {
2401
- readonly id: {
3140
+ readonly tag_count_artist: {
2402
3141
  readonly type: "integer";
2403
3142
  };
2404
- readonly reason: {
2405
- readonly type: "string";
3143
+ readonly tag_count_character: {
3144
+ readonly type: "integer";
2406
3145
  };
2407
- readonly creator_id: {
3146
+ readonly tag_count_copyright: {
2408
3147
  readonly type: "integer";
2409
3148
  };
2410
- readonly created_at: {
3149
+ readonly file_ext: {
2411
3150
  readonly type: "string";
2412
- readonly format: "date-time";
2413
3151
  };
2414
- readonly forum_post_id: {
3152
+ readonly file_size: {
2415
3153
  readonly type: "integer";
2416
- readonly nullable: true;
2417
- };
2418
- readonly antecedent_name: {
2419
- readonly type: "string";
3154
+ readonly format: "int64";
2420
3155
  };
2421
- readonly consequent_name: {
2422
- readonly type: "string";
3156
+ readonly image_width: {
3157
+ readonly type: "integer";
2423
3158
  };
2424
- readonly status: {
2425
- readonly $ref: "#/components/schemas/TagRequestStatuses";
3159
+ readonly image_height: {
3160
+ readonly type: "integer";
2426
3161
  };
2427
- readonly forum_topic_id: {
3162
+ readonly parent_id: {
2428
3163
  readonly type: "integer";
2429
3164
  readonly nullable: true;
2430
3165
  };
2431
- readonly updated_at: {
3166
+ readonly has_children: {
3167
+ readonly type: "boolean";
3168
+ };
3169
+ readonly last_commented_at: {
2432
3170
  readonly type: "string";
2433
3171
  readonly format: "date-time";
3172
+ readonly nullable: true;
2434
3173
  };
2435
- readonly descendant_names: {
2436
- readonly type: "array";
2437
- readonly items: {
2438
- readonly type: "string";
2439
- };
3174
+ readonly has_active_children: {
3175
+ readonly type: "boolean";
2440
3176
  };
2441
- readonly approver_id: {
3177
+ readonly bit_flags: {
2442
3178
  readonly type: "integer";
2443
- readonly nullable: true;
2444
3179
  };
2445
- };
2446
- };
2447
- export declare const TagPreviewSchema: {
2448
- readonly type: "object";
2449
- readonly required: readonly ["name"];
2450
- readonly properties: {
2451
- readonly id: {
3180
+ readonly tag_count_meta: {
2452
3181
  readonly type: "integer";
2453
3182
  };
2454
- readonly name: {
3183
+ readonly locked_tags: {
2455
3184
  readonly type: "string";
3185
+ readonly nullable: true;
2456
3186
  };
2457
- readonly resolved: {
3187
+ readonly tag_count_species: {
3188
+ readonly type: "integer";
3189
+ };
3190
+ readonly tag_count_invalid: {
3191
+ readonly type: "integer";
3192
+ };
3193
+ readonly description: {
2458
3194
  readonly type: "string";
2459
3195
  };
2460
- readonly category: {
2461
- readonly $ref: "#/components/schemas/TagCategories";
3196
+ readonly comment_count: {
3197
+ readonly type: "integer";
2462
3198
  };
2463
- readonly post_count: {
3199
+ readonly change_seq: {
2464
3200
  readonly type: "integer";
2465
3201
  };
2466
- readonly alias: {
3202
+ readonly tag_count_lore: {
3203
+ readonly type: "integer";
3204
+ };
3205
+ readonly bg_color: {
2467
3206
  readonly type: "string";
3207
+ readonly nullable: true;
2468
3208
  };
2469
- readonly implies: {
3209
+ readonly generated_samples: {
2470
3210
  readonly type: "array";
3211
+ readonly nullable: true;
2471
3212
  readonly items: {
2472
3213
  readonly type: "string";
3214
+ readonly enum: readonly ["720p", "480p", "original"];
2473
3215
  };
2474
3216
  };
2475
- };
2476
- };
2477
- export declare const TagTypeVersionSchema: {
2478
- readonly type: "object";
2479
- readonly required: readonly ["id", "created_at", "updated_at", "old_type", "new_type", "is_locked", "tag_id", "creator_id"];
2480
- readonly properties: {
2481
- readonly id: {
2482
- readonly type: "integer";
2483
- };
2484
- readonly created_at: {
2485
- readonly type: "string";
2486
- readonly format: "date-time";
2487
- };
2488
- readonly updated_at: {
3217
+ readonly duration: {
2489
3218
  readonly type: "string";
2490
- readonly format: "date-time";
3219
+ readonly nullable: true;
2491
3220
  };
2492
- readonly old_type: {
2493
- readonly $ref: "#/components/schemas/TagCategories";
3221
+ readonly is_comment_disabled: {
3222
+ readonly type: "boolean";
2494
3223
  };
2495
- readonly new_type: {
2496
- readonly $ref: "#/components/schemas/TagCategories";
3224
+ readonly is_comment_locked: {
3225
+ readonly type: "boolean";
2497
3226
  };
2498
- readonly is_locked: {
3227
+ readonly has_large: {
2499
3228
  readonly type: "boolean";
2500
3229
  };
2501
- readonly tag_id: {
2502
- readonly type: "integer";
3230
+ readonly has_visible_children: {
3231
+ readonly type: "boolean";
2503
3232
  };
2504
- readonly creator_id: {
2505
- readonly type: "integer";
2506
- };
2507
- };
2508
- };
2509
- export declare const TakedownSchema: {
2510
- readonly type: "object";
2511
- readonly required: readonly ["id", "status", "approver_id", "reason_hidden", "created_at", "updated_at", "post_count"];
2512
- readonly properties: {
2513
- readonly id: {
2514
- readonly type: "integer";
2515
- };
2516
- readonly status: {
3233
+ readonly children_ids: {
2517
3234
  readonly type: "string";
2518
- readonly enum: readonly ["approved", "denied", "partial", "pending"];
2519
- };
2520
- readonly approver_id: {
2521
- readonly type: "integer";
2522
3235
  readonly nullable: true;
2523
3236
  };
2524
- readonly reason_hidden: {
3237
+ readonly pool_ids: {
3238
+ readonly type: "array";
3239
+ readonly items: {
3240
+ readonly type: "integer";
3241
+ };
3242
+ };
3243
+ readonly is_favorited: {
2525
3244
  readonly type: "boolean";
2526
3245
  };
2527
- readonly created_at: {
3246
+ readonly file_url: {
2528
3247
  readonly type: "string";
2529
- readonly format: "date-time";
2530
3248
  };
2531
- readonly updated_at: {
3249
+ readonly large_file_url: {
2532
3250
  readonly type: "string";
2533
- readonly format: "date-time";
2534
3251
  };
2535
- readonly post_count: {
2536
- readonly type: "integer";
3252
+ readonly preview_file_url: {
3253
+ readonly type: "string";
2537
3254
  };
2538
3255
  };
2539
3256
  };
2540
- export declare const TicketSchema: {
3257
+ export declare const RecommendedPostsSchema: {
2541
3258
  readonly type: "object";
2542
- readonly required: readonly ["id", "creator_id", "reason", "disp_id", "qtype", "status", "created_at", "updated_at", "response", "handler_id", "report_reason", "accused_id"];
3259
+ readonly required: readonly ["post_id", "model_version", "results", "post_data"];
2543
3260
  readonly properties: {
2544
- readonly id: {
2545
- readonly type: "integer";
2546
- };
2547
- readonly creator_id: {
3261
+ readonly post_id: {
2548
3262
  readonly type: "integer";
2549
3263
  };
2550
- readonly reason: {
3264
+ readonly model_version: {
2551
3265
  readonly type: "string";
2552
3266
  };
2553
- readonly disp_id: {
2554
- readonly type: "integer";
2555
- };
2556
- readonly qtype: {
2557
- readonly $ref: "#/components/schemas/TicketTypes";
2558
- };
2559
- readonly status: {
2560
- readonly $ref: "#/components/schemas/TicketStatuses";
2561
- };
2562
- readonly created_at: {
2563
- readonly type: "string";
2564
- readonly format: "date-time";
3267
+ readonly results: {
3268
+ readonly type: "array";
3269
+ readonly items: {
3270
+ readonly $ref: "#/components/schemas/PostRecommendation";
3271
+ };
2565
3272
  };
2566
- readonly updated_at: {
3273
+ };
3274
+ };
3275
+ export declare const RisingSearchTrendSchema: {
3276
+ readonly type: "object";
3277
+ readonly required: readonly ["name", "pretty_name", "post_count", "category"];
3278
+ readonly properties: {
3279
+ readonly name: {
2567
3280
  readonly type: "string";
2568
- readonly format: "date-time";
2569
3281
  };
2570
- readonly response: {
3282
+ readonly pretty_name: {
2571
3283
  readonly type: "string";
2572
3284
  };
2573
- readonly handler_id: {
3285
+ readonly post_count: {
2574
3286
  readonly type: "integer";
2575
- readonly nullable: true;
2576
3287
  };
2577
- readonly claimant_id: {
2578
- readonly type: "integer";
2579
- readonly nullable: true;
2580
- readonly description: "Only visible to Moderator+.";
3288
+ readonly category: {
3289
+ readonly $ref: "#/components/schemas/TagCategory";
2581
3290
  };
2582
- readonly report_reason: {
3291
+ };
3292
+ };
3293
+ export declare const SearchTrendSchema: {
3294
+ readonly type: "object";
3295
+ readonly required: readonly ["tag", "count", "day"];
3296
+ readonly properties: {
3297
+ readonly tag: {
2583
3298
  readonly type: "string";
2584
- readonly nullable: true;
2585
3299
  };
2586
- readonly accused_id: {
3300
+ readonly count: {
2587
3301
  readonly type: "integer";
2588
- readonly nullable: true;
3302
+ };
3303
+ readonly day: {
3304
+ readonly type: "string";
3305
+ readonly format: "date";
2589
3306
  };
2590
3307
  };
2591
3308
  };
2592
- export declare const UploadWhitelistSchema: {
3309
+ export declare const SearchTrendBlacklistSchema: {
2593
3310
  readonly type: "object";
2594
- readonly required: readonly ["id", "created_at", "updated_at", "pattern", "note", "hidden", "allowed", "reason", "domain", "path"];
3311
+ readonly required: readonly ["id", "tag", "reason", "creator_id", "created_at", "updated_at"];
2595
3312
  readonly properties: {
2596
3313
  readonly id: {
2597
3314
  readonly type: "integer";
2598
3315
  };
3316
+ readonly tag: {
3317
+ readonly type: "string";
3318
+ };
3319
+ readonly reason: {
3320
+ readonly type: "string";
3321
+ };
3322
+ readonly creator_id: {
3323
+ readonly type: "integer";
3324
+ };
2599
3325
  readonly created_at: {
2600
3326
  readonly type: "string";
2601
3327
  readonly format: "date-time";
@@ -2604,65 +3330,58 @@ export declare const UploadWhitelistSchema: {
2604
3330
  readonly type: "string";
2605
3331
  readonly format: "date-time";
2606
3332
  };
2607
- readonly pattern: {
2608
- readonly type: "string";
2609
- };
2610
- readonly note: {
3333
+ };
3334
+ };
3335
+ export declare const SearchTrendHourlySchema: {
3336
+ readonly type: "object";
3337
+ readonly required: readonly ["tag", "count", "hour", "processed"];
3338
+ readonly properties: {
3339
+ readonly tag: {
2611
3340
  readonly type: "string";
2612
3341
  };
2613
- readonly hidden: {
2614
- readonly type: "boolean";
2615
- };
2616
- readonly allowed: {
2617
- readonly type: "boolean";
2618
- };
2619
- readonly reason: {
2620
- readonly type: "string";
3342
+ readonly count: {
3343
+ readonly type: "integer";
2621
3344
  };
2622
- readonly domain: {
3345
+ readonly hour: {
2623
3346
  readonly type: "string";
3347
+ readonly format: "date-time";
2624
3348
  };
2625
- readonly path: {
2626
- readonly type: "string";
3349
+ readonly processed: {
3350
+ readonly type: "boolean";
2627
3351
  };
2628
3352
  };
2629
3353
  };
2630
- export declare const UploadSchema: {
3354
+ export declare const StaffFileSchema: {
2631
3355
  readonly type: "object";
2632
- 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"];
3356
+ readonly required: readonly ["id", "creator_id", "storage_id", "md5", "file_ext", "file_size", "original_filename", "title", "description", "created_at", "updated_at"];
2633
3357
  readonly properties: {
2634
3358
  readonly id: {
2635
3359
  readonly type: "integer";
2636
3360
  };
2637
- readonly source: {
2638
- readonly type: "string";
2639
- };
2640
- readonly rating: {
2641
- readonly $ref: "#/components/schemas/Ratings";
2642
- };
2643
- readonly uploader_id: {
3361
+ readonly creator_id: {
2644
3362
  readonly type: "integer";
2645
3363
  };
2646
- readonly tag_string: {
3364
+ readonly storage_id: {
2647
3365
  readonly type: "string";
2648
3366
  };
2649
- readonly status: {
3367
+ readonly md5: {
2650
3368
  readonly type: "string";
2651
- readonly description: "Note: The \"error\" status will be proceeded by an error, ex: \"error: RuntimeError - No file or source URL provided\"\n";
2652
- readonly enum: readonly ["completed", "duplicate", "error", "processing", "pending"];
2653
3369
  };
2654
- readonly backtrace: {
3370
+ readonly file_ext: {
2655
3371
  readonly type: "string";
2656
- readonly nullable: true;
2657
3372
  };
2658
- readonly post_id: {
3373
+ readonly file_size: {
2659
3374
  readonly type: "integer";
2660
- readonly nullable: true;
2661
3375
  };
2662
- readonly md5_confirmation: {
3376
+ readonly original_filename: {
3377
+ readonly type: "string";
3378
+ };
3379
+ readonly title: {
3380
+ readonly type: "string";
3381
+ };
3382
+ readonly description: {
2663
3383
  readonly type: "string";
2664
3384
  readonly nullable: true;
2665
- readonly deprecated: true;
2666
3385
  };
2667
3386
  readonly created_at: {
2668
3387
  readonly type: "string";
@@ -2672,41 +3391,92 @@ export declare const UploadSchema: {
2672
3391
  readonly type: "string";
2673
3392
  readonly format: "date-time";
2674
3393
  };
2675
- readonly parent_id: {
2676
- readonly type: "integer";
2677
- readonly nullable: true;
3394
+ };
3395
+ };
3396
+ export declare const StaffIPAddrIPListingSchema: {
3397
+ readonly allOf: readonly [{
3398
+ readonly $ref: "#/components/schemas/StaffIPAddrSums";
3399
+ }, {
3400
+ readonly type: "object";
3401
+ readonly required: readonly ["last_login"];
3402
+ readonly properties: {
3403
+ readonly last_login: {
3404
+ readonly additionalProperties: {
3405
+ readonly type: "integer";
3406
+ };
3407
+ };
2678
3408
  };
2679
- readonly md5: {
2680
- readonly type: "string";
2681
- readonly nullable: true;
3409
+ }];
3410
+ };
3411
+ export declare const StaffIPAddrSumSchema: {
3412
+ readonly type: "object";
3413
+ readonly description: "Dictionary of ip address to count.";
3414
+ readonly additionalProperties: {
3415
+ readonly type: "integer";
3416
+ };
3417
+ };
3418
+ export declare const StaffIPAddrSumsSchema: {
3419
+ readonly type: "object";
3420
+ readonly required: readonly ["comment", "dmail", "blip", "post_flag", "posts", "users"];
3421
+ readonly properties: {
3422
+ readonly comment: {
3423
+ readonly $ref: "#/components/schemas/StaffIPAddrSum";
2682
3424
  };
2683
- readonly file_ext: {
2684
- readonly type: "string";
2685
- readonly nullable: true;
3425
+ readonly blip: {
3426
+ readonly $ref: "#/components/schemas/StaffIPAddrSum";
2686
3427
  };
2687
- readonly file_size: {
2688
- readonly type: "integer";
2689
- readonly nullable: true;
3428
+ readonly dmail: {
3429
+ readonly $ref: "#/components/schemas/StaffIPAddrSum";
2690
3430
  };
2691
- readonly image_width: {
2692
- readonly type: "integer";
2693
- readonly nullable: true;
3431
+ readonly post_flag: {
3432
+ readonly $ref: "#/components/schemas/StaffIPAddrSum";
2694
3433
  };
2695
- readonly image_height: {
2696
- readonly type: "integer";
2697
- readonly nullable: true;
3434
+ readonly posts: {
3435
+ readonly $ref: "#/components/schemas/StaffIPAddrSum";
2698
3436
  };
2699
- readonly description: {
2700
- readonly type: "string";
3437
+ readonly users: {
3438
+ readonly $ref: "#/components/schemas/StaffIPAddrSum";
2701
3439
  };
2702
- readonly uploader_name: {
2703
- readonly type: "string";
3440
+ readonly artist_version: {
3441
+ readonly description: "If `search[with_history]=true`";
3442
+ readonly $ref: "#/components/schemas/StaffIPAddrSum";
3443
+ };
3444
+ readonly note_version: {
3445
+ readonly description: "If `search[with_history]=true`";
3446
+ readonly $ref: "#/components/schemas/StaffIPAddrSum";
3447
+ };
3448
+ readonly pool_version: {
3449
+ readonly description: "If `search[with_history]=true`";
3450
+ readonly $ref: "#/components/schemas/StaffIPAddrSum";
3451
+ };
3452
+ readonly post_version: {
3453
+ readonly description: "If `search[with_history]=true`";
3454
+ readonly $ref: "#/components/schemas/StaffIPAddrSum";
3455
+ };
3456
+ readonly wiki_page_version: {
3457
+ readonly description: "If `search[with_history]=true`";
3458
+ readonly $ref: "#/components/schemas/StaffIPAddrSum";
2704
3459
  };
2705
3460
  };
2706
3461
  };
2707
- export declare const UserSchema: {
3462
+ export declare const StaffIPAddrUserListingSchema: {
3463
+ readonly type: "object";
3464
+ readonly required: readonly ["sums", "ip_addrs"];
3465
+ readonly properties: {
3466
+ readonly sums: {
3467
+ readonly $ref: "#/components/schemas/StaffIPAddrSums";
3468
+ };
3469
+ readonly ip_addrs: {
3470
+ readonly type: "array";
3471
+ readonly items: {
3472
+ readonly type: "string";
3473
+ };
3474
+ };
3475
+ };
3476
+ };
3477
+ export declare const StaffNoteSchema: {
2708
3478
  readonly type: "object";
2709
- 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", "has_cropped_avatar"];
3479
+ readonly required: readonly ["id", "created_at", "updated_at", "user_id", "creator_id", "body", "is_deleted", "updater_id"];
2710
3480
  readonly properties: {
2711
3481
  readonly id: {
2712
3482
  readonly type: "integer";
@@ -2715,68 +3485,79 @@ export declare const UserSchema: {
2715
3485
  readonly type: "string";
2716
3486
  readonly format: "date-time";
2717
3487
  };
2718
- readonly name: {
3488
+ readonly updated_at: {
2719
3489
  readonly type: "string";
3490
+ readonly format: "date-time";
2720
3491
  };
2721
- readonly level: {
2722
- readonly $ref: "#/components/schemas/UserLevels";
3492
+ readonly user_id: {
3493
+ readonly type: "integer";
2723
3494
  };
2724
- readonly base_upload_limit: {
3495
+ readonly creator_id: {
2725
3496
  readonly type: "integer";
2726
3497
  };
2727
- readonly post_upload_count: {
3498
+ readonly body: {
3499
+ readonly type: "string";
3500
+ };
3501
+ readonly is_deleted: {
3502
+ readonly type: "boolean";
3503
+ };
3504
+ readonly updater_id: {
2728
3505
  readonly type: "integer";
2729
3506
  };
2730
- readonly post_update_count: {
3507
+ };
3508
+ };
3509
+ export declare const StaffWikiSchema: {
3510
+ readonly type: "object";
3511
+ readonly required: readonly ["id", "creator_id", "updater_id", "claimant_id", "title", "body", "created_at", "updated_at"];
3512
+ readonly properties: {
3513
+ readonly id: {
2731
3514
  readonly type: "integer";
2732
3515
  };
2733
- readonly note_update_count: {
3516
+ readonly creator_id: {
2734
3517
  readonly type: "integer";
2735
3518
  };
2736
- readonly is_banned: {
2737
- readonly type: "boolean";
3519
+ readonly updater_id: {
3520
+ readonly type: "integer";
2738
3521
  };
2739
- readonly can_approve_posts: {
2740
- readonly type: "boolean";
3522
+ readonly claimant_id: {
3523
+ readonly type: "integer";
3524
+ readonly nullable: true;
2741
3525
  };
2742
- readonly can_upload_free: {
2743
- readonly type: "boolean";
2744
- };
2745
- readonly level_string: {
2746
- readonly $ref: "#/components/schemas/UserLevelsNames";
2747
- };
2748
- readonly avatar_id: {
2749
- readonly type: "integer";
2750
- readonly nullable: true;
3526
+ readonly title: {
3527
+ readonly type: "string";
2751
3528
  };
2752
- readonly is_verified: {
2753
- readonly type: "boolean";
3529
+ readonly body: {
3530
+ readonly type: "string";
2754
3531
  };
2755
- readonly has_cropped_avatar: {
2756
- readonly type: "boolean";
3532
+ readonly created_at: {
3533
+ readonly type: "string";
3534
+ readonly format: "date-time";
2757
3535
  };
2758
- readonly last_logged_in_at: {
3536
+ readonly updated_at: {
2759
3537
  readonly type: "string";
2760
3538
  readonly format: "date-time";
2761
- readonly description: "Only visible to Admin+.";
2762
3539
  };
2763
3540
  };
2764
3541
  };
2765
- export declare const UserFeedbackSchema: {
3542
+ export declare const StaffWikiVersionSchema: {
2766
3543
  readonly type: "object";
2767
- readonly required: readonly ["id", "user_id", "creator_id", "category", "body", "created_at", "updated_at", "updater_id", "is_deleted"];
3544
+ readonly required: readonly ["id", "staff_wiki_id", "updater_id", "claimant_id", "title", "body", "created_at", "updated_at"];
2768
3545
  readonly properties: {
2769
3546
  readonly id: {
2770
3547
  readonly type: "integer";
2771
3548
  };
2772
- readonly user_id: {
3549
+ readonly staff_wiki_id: {
2773
3550
  readonly type: "integer";
2774
3551
  };
2775
- readonly creator_id: {
3552
+ readonly updater_id: {
2776
3553
  readonly type: "integer";
2777
3554
  };
2778
- readonly category: {
2779
- readonly $ref: "#/components/schemas/FeedbackCategories";
3555
+ readonly claimant_id: {
3556
+ readonly type: "integer";
3557
+ readonly nullable: true;
3558
+ };
3559
+ readonly title: {
3560
+ readonly type: "string";
2780
3561
  };
2781
3562
  readonly body: {
2782
3563
  readonly type: "string";
@@ -2789,339 +3570,269 @@ export declare const UserFeedbackSchema: {
2789
3570
  readonly type: "string";
2790
3571
  readonly format: "date-time";
2791
3572
  };
2792
- readonly updater_id: {
2793
- readonly type: "integer";
2794
- };
2795
- readonly is_deleted: {
2796
- readonly type: "boolean";
2797
- };
2798
3573
  };
2799
3574
  };
2800
- export declare const UserNameChangeRequestSchema: {
3575
+ export declare const StatsSchema: {
2801
3576
  readonly type: "object";
2802
- readonly required: readonly ["id", "approver_id", "user_id", "original_name", "desired_name", "created_at", "updated_at", "status"];
3577
+ readonly required: readonly ["started", "total_posts", "active_posts", "deleted_posts", "existing_posts", "destroyed_posts", "total_votes", "total_notes", "total_favorites", "total_pools", "public_sets", "private_sets", "total_sets", "average_posts_per_pool", "average_posts_per_set", "safe_posts", "questionable_posts", "explicit_posts", "jpg_posts", "png_posts", "webp_posts", "gif_posts", "swf_posts", "webm_posts", "mp4_posts", "average_file_size", "total_file_size", "average_posts_per_day", "total_users", "anonymous_users", "blocked_users", "member_users", "privileged_users", "former_staff_users", "staff_users", "janitor_users", "moderator_users", "admin_users", "unactivated_users", "total_dmails", "average_registrations_per_day", "active_users", "total_comments", "active_comments", "hidden_comments", "deleted_comments", "average_comments_per_day", "total_forum_threads", "total_forum_posts", "average_posts_per_thread", "average_forum_posts_per_day", "total_blips", "active_blips", "deleted_blips", "destroyed_blips", "average_blips_per_day", "total_tags", "general_tags", "species_tags", "character_tags", "copyright_tags", "artist_tags", "contributor_tags", "invalid_tags", "lore_tags", "meta_tags", "updated_at"];
2803
3578
  readonly properties: {
2804
- readonly id: {
3579
+ readonly started: {
3580
+ readonly type: "string";
3581
+ readonly format: "date-time";
3582
+ readonly description: "When the first post was created.";
3583
+ };
3584
+ readonly total_posts: {
2805
3585
  readonly type: "integer";
2806
3586
  };
2807
- readonly approver_id: {
3587
+ readonly active_posts: {
2808
3588
  readonly type: "integer";
2809
3589
  };
2810
- readonly user_id: {
3590
+ readonly deleted_posts: {
2811
3591
  readonly type: "integer";
2812
3592
  };
2813
- readonly original_name: {
2814
- readonly type: "string";
3593
+ readonly existing_posts: {
3594
+ readonly type: "integer";
3595
+ readonly description: "`active_posts + deleted_posts`";
2815
3596
  };
2816
- readonly desired_name: {
2817
- readonly type: "string";
3597
+ readonly destroyed_posts: {
3598
+ readonly type: "integer";
2818
3599
  };
2819
- readonly change_reason: {
2820
- readonly type: "string";
3600
+ readonly total_votes: {
3601
+ readonly type: "integer";
2821
3602
  };
2822
- readonly created_at: {
2823
- readonly type: "string";
2824
- readonly format: "date-time";
3603
+ readonly total_notes: {
3604
+ readonly type: "integer";
2825
3605
  };
2826
- readonly updated_at: {
2827
- readonly type: "string";
2828
- readonly format: "date-time";
3606
+ readonly total_favorites: {
3607
+ readonly type: "integer";
2829
3608
  };
2830
- readonly status: {
2831
- readonly type: "string";
2832
- readonly enum: readonly ["approved"];
3609
+ readonly total_pools: {
3610
+ readonly type: "integer";
2833
3611
  };
2834
- };
2835
- };
2836
- export declare const WikiPageSchema: {
2837
- readonly type: "object";
2838
- 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"];
2839
- readonly properties: {
2840
- readonly id: {
3612
+ readonly public_sets: {
2841
3613
  readonly type: "integer";
2842
3614
  };
2843
- readonly created_at: {
2844
- readonly type: "string";
2845
- readonly format: "date-time";
3615
+ readonly private_sets: {
3616
+ readonly type: "integer";
2846
3617
  };
2847
- readonly updated_at: {
2848
- readonly type: "string";
2849
- readonly format: "date-time";
3618
+ readonly total_sets: {
3619
+ readonly type: "integer";
2850
3620
  };
2851
- readonly title: {
2852
- readonly type: "string";
3621
+ readonly average_posts_per_pool: {
3622
+ readonly type: "number";
3623
+ readonly format: "float";
2853
3624
  };
2854
- readonly body: {
2855
- readonly type: "string";
3625
+ readonly average_posts_per_set: {
3626
+ readonly type: "number";
3627
+ readonly format: "float";
2856
3628
  };
2857
- readonly creator_id: {
3629
+ readonly safe_posts: {
2858
3630
  readonly type: "integer";
2859
3631
  };
2860
- readonly is_locked: {
2861
- readonly type: "boolean";
3632
+ readonly questionable_posts: {
3633
+ readonly type: "integer";
2862
3634
  };
2863
- readonly updater_id: {
3635
+ readonly explicit_posts: {
2864
3636
  readonly type: "integer";
2865
3637
  };
2866
- readonly is_deleted: {
2867
- readonly type: "boolean";
3638
+ readonly jpg_posts: {
3639
+ readonly type: "integer";
2868
3640
  };
2869
- readonly other_names: {
2870
- readonly type: "array";
2871
- readonly items: {
2872
- readonly type: "string";
2873
- };
3641
+ readonly png_posts: {
3642
+ readonly type: "integer";
2874
3643
  };
2875
- readonly parent: {
2876
- readonly type: "string";
2877
- readonly nullable: true;
3644
+ readonly webp_posts: {
3645
+ readonly type: "integer";
2878
3646
  };
2879
- readonly creator_name: {
2880
- readonly type: "string";
3647
+ readonly gif_posts: {
3648
+ readonly type: "integer";
2881
3649
  };
2882
- readonly category_id: {
2883
- readonly $ref: "#/components/schemas/TagCategories";
3650
+ readonly swf_posts: {
3651
+ readonly type: "integer";
2884
3652
  };
2885
- readonly featured_posts: {
2886
- readonly type: "array";
2887
- readonly items: {
2888
- readonly type: "integer";
2889
- };
3653
+ readonly webm_posts: {
3654
+ readonly type: "integer";
2890
3655
  };
2891
- };
2892
- };
2893
- export declare const WikiPageVersionSchema: {
2894
- readonly type: "object";
2895
- readonly required: readonly ["id", "created_at", "updated_at", "title", "body", "updater_id", "wiki_page_id", "is_locked", "other_names", "is_deleted", "reason", "parent"];
2896
- readonly properties: {
2897
- readonly id: {
3656
+ readonly mp4_posts: {
2898
3657
  readonly type: "integer";
2899
3658
  };
2900
- readonly created_at: {
2901
- readonly type: "string";
2902
- readonly format: "date-time";
3659
+ readonly average_file_size: {
3660
+ readonly type: "number";
3661
+ readonly format: "float";
2903
3662
  };
2904
- readonly updated_at: {
2905
- readonly type: "string";
2906
- readonly format: "date-time";
3663
+ readonly total_file_size: {
3664
+ readonly type: "integer";
3665
+ readonly format: "int64";
2907
3666
  };
2908
- readonly title: {
2909
- readonly type: "string";
3667
+ readonly average_posts_per_day: {
3668
+ readonly type: "integer";
2910
3669
  };
2911
- readonly body: {
2912
- readonly type: "string";
3670
+ readonly total_users: {
3671
+ readonly type: "integer";
2913
3672
  };
2914
- readonly updater_id: {
3673
+ readonly anonymous_users: {
2915
3674
  readonly type: "integer";
2916
3675
  };
2917
- readonly wiki_page_id: {
3676
+ readonly blocked_users: {
2918
3677
  readonly type: "integer";
2919
3678
  };
2920
- readonly is_locked: {
2921
- readonly type: "boolean";
3679
+ readonly member_users: {
3680
+ readonly type: "integer";
2922
3681
  };
2923
- readonly other_names: {
2924
- readonly type: "array";
2925
- readonly items: {
2926
- readonly type: "string";
2927
- };
3682
+ readonly privileged_users: {
3683
+ readonly type: "integer";
2928
3684
  };
2929
- readonly is_deleted: {
2930
- readonly type: "boolean";
3685
+ readonly former_staff_users: {
3686
+ readonly type: "integer";
2931
3687
  };
2932
- readonly reason: {
2933
- readonly type: "string";
2934
- readonly nullable: true;
3688
+ readonly staff_users: {
3689
+ readonly type: "integer";
2935
3690
  };
2936
- readonly parent: {
2937
- readonly type: "string";
2938
- readonly nullable: true;
3691
+ readonly janitor_users: {
3692
+ readonly type: "integer";
2939
3693
  };
2940
- readonly featured_posts: {
2941
- readonly type: "array";
2942
- readonly items: {
2943
- readonly type: "integer";
2944
- };
3694
+ readonly moderator_users: {
3695
+ readonly type: "integer";
2945
3696
  };
2946
- };
2947
- };
2948
- export declare const ApiKeySchema: {
2949
- readonly type: "object";
2950
- 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"];
2951
- readonly properties: {
2952
- readonly id: {
3697
+ readonly admin_users: {
2953
3698
  readonly type: "integer";
2954
3699
  };
2955
- readonly updated_at: {
2956
- readonly type: "string";
2957
- readonly format: "date-time";
3700
+ readonly unactivated_users: {
3701
+ readonly type: "integer";
2958
3702
  };
2959
- readonly created_at: {
2960
- readonly type: "string";
2961
- readonly format: "date-time";
3703
+ readonly total_dmails: {
3704
+ readonly type: "integer";
2962
3705
  };
2963
- readonly user_id: {
3706
+ readonly average_registrations_per_day: {
2964
3707
  readonly type: "integer";
2965
3708
  };
2966
- readonly key: {
2967
- readonly type: "string";
3709
+ readonly active_users: {
3710
+ readonly type: "integer";
3711
+ readonly description: "Users who have logged in within the last 3 months.";
2968
3712
  };
2969
- readonly name: {
2970
- readonly type: "string";
3713
+ readonly total_comments: {
3714
+ readonly type: "integer";
2971
3715
  };
2972
- readonly last_used_at: {
2973
- readonly type: "string";
2974
- readonly format: "date-time";
2975
- readonly nullable: true;
3716
+ readonly active_comments: {
3717
+ readonly type: "integer";
2976
3718
  };
2977
- readonly last_used_ip_address: {
2978
- readonly oneOf: readonly [{
2979
- readonly type: "string";
2980
- readonly format: "ipv4";
2981
- readonly nullable: true;
2982
- }, {
2983
- readonly type: "string";
2984
- readonly format: "ipv6";
2985
- readonly nullable: true;
2986
- }];
3719
+ readonly hidden_comments: {
3720
+ readonly type: "integer";
2987
3721
  };
2988
- readonly last_user_agent: {
2989
- readonly type: "string";
2990
- readonly nullable: true;
3722
+ readonly deleted_comments: {
3723
+ readonly type: "integer";
2991
3724
  };
2992
- readonly expires_at: {
2993
- readonly type: "string";
2994
- readonly format: "date-time";
2995
- readonly nullable: true;
3725
+ readonly average_comments_per_day: {
3726
+ readonly type: "integer";
2996
3727
  };
2997
- readonly notified_at: {
2998
- readonly type: "string";
2999
- readonly format: "date-time";
3000
- readonly nullable: true;
3728
+ readonly total_forum_threads: {
3729
+ readonly type: "integer";
3001
3730
  };
3002
- };
3003
- };
3004
- export declare const EditHistorySchema: {
3005
- readonly type: "object";
3006
- readonly required: readonly ["id", "created_at", "updated_at", "body", "subject", "versionable_type", "versionable_id", "version", "user_id"];
3007
- readonly properties: {
3008
- readonly id: {
3731
+ readonly total_forum_posts: {
3009
3732
  readonly type: "integer";
3010
3733
  };
3011
- readonly created_at: {
3012
- readonly type: "string";
3013
- readonly format: "date-time";
3734
+ readonly average_posts_per_thread: {
3735
+ readonly type: "integer";
3014
3736
  };
3015
- readonly updated_at: {
3016
- readonly type: "string";
3017
- readonly format: "date-time";
3737
+ readonly average_forum_posts_per_day: {
3738
+ readonly type: "integer";
3018
3739
  };
3019
- readonly body: {
3020
- readonly type: "string";
3740
+ readonly total_blips: {
3741
+ readonly type: "integer";
3021
3742
  };
3022
- readonly subject: {
3023
- readonly type: "string";
3024
- readonly nullable: true;
3743
+ readonly active_blips: {
3744
+ readonly type: "integer";
3025
3745
  };
3026
- readonly versionable_type: {
3027
- readonly type: "string";
3028
- readonly enum: readonly ["Blip", "Comment", "ForumPost"];
3746
+ readonly deleted_blips: {
3747
+ readonly type: "integer";
3029
3748
  };
3030
- readonly versionable_id: {
3749
+ readonly destroyed_blips: {
3031
3750
  readonly type: "integer";
3032
3751
  };
3033
- readonly version: {
3752
+ readonly average_blips_per_day: {
3034
3753
  readonly type: "integer";
3035
3754
  };
3036
- readonly user_id: {
3755
+ readonly total_tags: {
3037
3756
  readonly type: "integer";
3038
3757
  };
3039
- };
3040
- };
3041
- export declare const UserAvatarMenuSchema: {
3042
- readonly type: "object";
3043
- readonly required: readonly ["has_uploads", "has_favorites", "has_sets", "has_comments", "has_forums"];
3044
- readonly properties: {
3045
- readonly has_uploads: {
3046
- readonly type: "boolean";
3758
+ readonly general_tags: {
3759
+ readonly type: "integer";
3047
3760
  };
3048
- readonly has_favorites: {
3049
- readonly type: "boolean";
3761
+ readonly species_tags: {
3762
+ readonly type: "integer";
3050
3763
  };
3051
- readonly has_sets: {
3052
- readonly type: "boolean";
3764
+ readonly character_tags: {
3765
+ readonly type: "integer";
3053
3766
  };
3054
- readonly has_comments: {
3055
- readonly type: "boolean";
3767
+ readonly copyright_tags: {
3768
+ readonly type: "integer";
3056
3769
  };
3057
- readonly has_forums: {
3058
- readonly type: "boolean";
3770
+ readonly artist_tags: {
3771
+ readonly type: "integer";
3059
3772
  };
3060
- };
3061
- };
3062
- export declare const TagCorrectionSchema: {
3063
- readonly type: "object";
3064
- readonly required: readonly ["post_count", "real_post_count", "category", "category_cache", "tag"];
3065
- readonly properties: {
3066
- readonly post_count: {
3773
+ readonly contributor_tags: {
3067
3774
  readonly type: "integer";
3068
3775
  };
3069
- readonly real_post_count: {
3776
+ readonly invalid_tags: {
3070
3777
  readonly type: "integer";
3071
3778
  };
3072
- readonly category: {
3073
- readonly $ref: "#/components/schemas/TagCategories";
3779
+ readonly lore_tags: {
3780
+ readonly type: "integer";
3074
3781
  };
3075
- readonly category_cache: {
3076
- readonly $ref: "#/components/schemas/TagCategories";
3782
+ readonly meta_tags: {
3783
+ readonly type: "integer";
3077
3784
  };
3078
- readonly tag: {
3079
- readonly $ref: "#/components/schemas/Tag";
3785
+ readonly updated_at: {
3786
+ readonly type: "string";
3787
+ readonly format: "date-time";
3080
3788
  };
3081
3789
  };
3082
3790
  };
3083
- export declare const SearchTrendSchema: {
3791
+ export declare const TagSchema: {
3084
3792
  readonly type: "object";
3085
- readonly required: readonly ["tag", "count", "day"];
3793
+ readonly required: readonly ["id", "name", "post_count", "related_tags", "related_tags_updated_at", "category", "is_locked", "created_at", "updated_at"];
3086
3794
  readonly properties: {
3087
- readonly tag: {
3795
+ readonly id: {
3796
+ readonly type: "integer";
3797
+ };
3798
+ readonly name: {
3088
3799
  readonly type: "string";
3089
3800
  };
3090
- readonly count: {
3801
+ readonly post_count: {
3091
3802
  readonly type: "integer";
3092
3803
  };
3093
- readonly day: {
3804
+ readonly related_tags: {
3094
3805
  readonly type: "string";
3095
- readonly format: "date";
3096
3806
  };
3097
- };
3098
- };
3099
- export declare const RisingSearchTrendSchema: {
3100
- readonly type: "object";
3101
- readonly required: readonly ["name", "pretty_name", "post_count", "category"];
3102
- readonly properties: {
3103
- readonly name: {
3807
+ readonly related_tags_updated_at: {
3104
3808
  readonly type: "string";
3809
+ readonly nullable: true;
3810
+ readonly format: "date-time";
3105
3811
  };
3106
- readonly pretty_name: {
3107
- readonly type: "string";
3812
+ readonly category: {
3813
+ readonly $ref: "#/components/schemas/TagCategory";
3108
3814
  };
3109
- readonly post_count: {
3110
- readonly type: "integer";
3815
+ readonly is_locked: {
3816
+ readonly type: "boolean";
3111
3817
  };
3112
- readonly category: {
3113
- readonly $ref: "#/components/schemas/TagCategories";
3818
+ readonly created_at: {
3819
+ readonly type: "string";
3820
+ readonly format: "date-time";
3821
+ };
3822
+ readonly updated_at: {
3823
+ readonly type: "string";
3824
+ readonly format: "date-time";
3114
3825
  };
3115
3826
  };
3116
3827
  };
3117
- export declare const SearchTrendBlacklistSchema: {
3828
+ export declare const TagAliasSchema: {
3118
3829
  readonly type: "object";
3119
- readonly required: readonly ["id", "tag", "reason", "creator_id", "created_at", "updated_at"];
3830
+ 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"];
3120
3831
  readonly properties: {
3121
3832
  readonly id: {
3122
3833
  readonly type: "integer";
3123
3834
  };
3124
- readonly tag: {
3835
+ readonly antecedent_name: {
3125
3836
  readonly type: "string";
3126
3837
  };
3127
3838
  readonly reason: {
@@ -3132,115 +3843,111 @@ export declare const SearchTrendBlacklistSchema: {
3132
3843
  };
3133
3844
  readonly created_at: {
3134
3845
  readonly type: "string";
3846
+ readonly nullable: true;
3135
3847
  readonly format: "date-time";
3136
3848
  };
3849
+ readonly forum_post_id: {
3850
+ readonly type: "integer";
3851
+ readonly nullable: true;
3852
+ };
3137
3853
  readonly updated_at: {
3138
3854
  readonly type: "string";
3855
+ readonly nullable: true;
3139
3856
  readonly format: "date-time";
3140
3857
  };
3141
- };
3142
- };
3143
- export declare const MessageErrorResponseSchema: {
3144
- readonly type: "object";
3145
- readonly required: readonly ["success", "message"];
3146
- readonly properties: {
3147
- readonly success: {
3148
- readonly type: "boolean";
3149
- };
3150
- readonly message: {
3151
- readonly type: "string";
3152
- };
3153
- readonly code: {
3154
- readonly type: "string";
3858
+ readonly forum_topic_id: {
3859
+ readonly type: "integer";
3155
3860
  readonly nullable: true;
3156
3861
  };
3157
- };
3158
- };
3159
- export declare const MessageSuccessResponseSchema: {
3160
- readonly type: "object";
3161
- readonly required: readonly ["success", "message"];
3162
- readonly properties: {
3163
- readonly success: {
3164
- readonly type: "boolean";
3165
- readonly enum: readonly [true];
3166
- };
3167
- readonly message: {
3862
+ readonly consequent_name: {
3168
3863
  readonly type: "string";
3169
3864
  };
3170
- };
3171
- };
3172
- export declare const PostRecommendationSchema: {
3173
- readonly type: "object";
3174
- readonly required: readonly ["post_id", "score", "explanation"];
3175
- readonly properties: {
3176
- readonly post_id: {
3177
- readonly type: "integer";
3865
+ readonly status: {
3866
+ readonly $ref: "#/components/schemas/TagRequestStatus";
3178
3867
  };
3179
- readonly score: {
3180
- readonly type: "number";
3181
- readonly format: "float";
3868
+ readonly post_count: {
3869
+ readonly type: "integer";
3182
3870
  };
3183
- readonly explanation: {
3184
- readonly type: "string";
3871
+ readonly approver_id: {
3872
+ readonly type: "integer";
3185
3873
  readonly nullable: true;
3186
3874
  };
3187
3875
  };
3188
3876
  };
3189
- export declare const RecommendedPostsSchema: {
3877
+ export declare const TagCorrectionSchema: {
3190
3878
  readonly type: "object";
3191
- readonly required: readonly ["post_id", "model_version", "results", "post_data"];
3879
+ readonly required: readonly ["post_count", "real_post_count", "category", "category_cache", "tag"];
3192
3880
  readonly properties: {
3193
- readonly post_id: {
3881
+ readonly post_count: {
3194
3882
  readonly type: "integer";
3195
3883
  };
3196
- readonly model_version: {
3197
- readonly type: "string";
3884
+ readonly real_post_count: {
3885
+ readonly type: "integer";
3198
3886
  };
3199
- readonly results: {
3200
- readonly type: "array";
3201
- readonly items: {
3202
- readonly $ref: "#/components/schemas/PostRecommendation";
3203
- };
3887
+ readonly category: {
3888
+ readonly $ref: "#/components/schemas/TagCategory";
3889
+ };
3890
+ readonly category_cache: {
3891
+ readonly $ref: "#/components/schemas/TagCategory";
3892
+ };
3893
+ readonly tag: {
3894
+ readonly $ref: "#/components/schemas/Tag";
3204
3895
  };
3205
3896
  };
3206
3897
  };
3207
- export declare const PostVoteSchema: {
3898
+ export declare const TagImplicationSchema: {
3208
3899
  readonly type: "object";
3209
- readonly required: readonly ["id", "post_id", "user_id", "score", "created_at", "updated_at"];
3900
+ 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"];
3210
3901
  readonly properties: {
3211
3902
  readonly id: {
3212
3903
  readonly type: "integer";
3213
3904
  };
3214
- readonly post_id: {
3215
- readonly type: "integer";
3905
+ readonly reason: {
3906
+ readonly type: "string";
3216
3907
  };
3217
- readonly user_id: {
3908
+ readonly creator_id: {
3218
3909
  readonly type: "integer";
3219
3910
  };
3220
- readonly score: {
3221
- readonly $ref: "#/components/schemas/UpDownVote";
3222
- };
3223
3911
  readonly created_at: {
3224
3912
  readonly type: "string";
3225
3913
  readonly format: "date-time";
3226
3914
  };
3915
+ readonly forum_post_id: {
3916
+ readonly type: "integer";
3917
+ readonly nullable: true;
3918
+ };
3919
+ readonly antecedent_name: {
3920
+ readonly type: "string";
3921
+ };
3922
+ readonly consequent_name: {
3923
+ readonly type: "string";
3924
+ };
3925
+ readonly status: {
3926
+ readonly $ref: "#/components/schemas/TagRequestStatus";
3927
+ };
3928
+ readonly forum_topic_id: {
3929
+ readonly type: "integer";
3930
+ readonly nullable: true;
3931
+ };
3227
3932
  readonly updated_at: {
3228
3933
  readonly type: "string";
3229
3934
  readonly format: "date-time";
3230
3935
  };
3936
+ readonly descendant_names: {
3937
+ readonly type: "array";
3938
+ readonly items: {
3939
+ readonly type: "string";
3940
+ };
3941
+ };
3942
+ readonly approver_id: {
3943
+ readonly type: "integer";
3944
+ readonly nullable: true;
3945
+ };
3231
3946
  };
3232
3947
  };
3233
- export declare const UpDownVoteSchema: {
3234
- readonly type: "integer";
3235
- readonly enum: readonly [1, -1];
3236
- };
3237
- export declare const UpDownMehVoteSchema: {
3238
- readonly type: "integer";
3239
- readonly enum: readonly [1, 0, -1];
3240
- };
3241
- export declare const MinimalUserSchema: {
3948
+ export declare const TagPreviewSchema: {
3242
3949
  readonly type: "object";
3243
- readonly required: readonly ["id", "name", "level_string", "favorite_count"];
3950
+ readonly required: readonly ["name"];
3244
3951
  readonly properties: {
3245
3952
  readonly id: {
3246
3953
  readonly type: "integer";
@@ -3248,17 +3955,29 @@ export declare const MinimalUserSchema: {
3248
3955
  readonly name: {
3249
3956
  readonly type: "string";
3250
3957
  };
3251
- readonly level_string: {
3252
- readonly $ref: "#/components/schemas/UserLevelsNames";
3958
+ readonly resolved: {
3959
+ readonly type: "string";
3253
3960
  };
3254
- readonly favorite_count: {
3961
+ readonly category: {
3962
+ readonly $ref: "#/components/schemas/TagCategory";
3963
+ };
3964
+ readonly post_count: {
3255
3965
  readonly type: "integer";
3256
3966
  };
3967
+ readonly alias: {
3968
+ readonly type: "string";
3969
+ };
3970
+ readonly implies: {
3971
+ readonly type: "array";
3972
+ readonly items: {
3973
+ readonly type: "string";
3974
+ };
3975
+ };
3257
3976
  };
3258
3977
  };
3259
- export declare const ThumbnailPostSchema: {
3978
+ export declare const TagTypeVersionSchema: {
3260
3979
  readonly type: "object";
3261
- readonly required: readonly ["id", "created_at", "md5", "file_ext", "width", "height", "size", "preview_url", "preview_webp", "sample_url", "file_url", "preview_width", "preview_height", "uploader_id", "uploader", "score", "fav_count", "is_favorited", "vote", "comment_count", "flags", "pools", "rating", "tags"];
3980
+ readonly required: readonly ["id", "created_at", "updated_at", "old_type", "new_type", "is_locked", "tag_id", "creator_id"];
3262
3981
  readonly properties: {
3263
3982
  readonly id: {
3264
3983
  readonly type: "integer";
@@ -3267,33 +3986,111 @@ export declare const ThumbnailPostSchema: {
3267
3986
  readonly type: "string";
3268
3987
  readonly format: "date-time";
3269
3988
  };
3270
- readonly md5: {
3989
+ readonly updated_at: {
3271
3990
  readonly type: "string";
3991
+ readonly format: "date-time";
3272
3992
  };
3273
- readonly file_ext: {
3274
- readonly type: "string";
3993
+ readonly old_type: {
3994
+ readonly $ref: "#/components/schemas/TagCategory";
3275
3995
  };
3276
- readonly width: {
3277
- readonly type: "integer";
3996
+ readonly new_type: {
3997
+ readonly $ref: "#/components/schemas/TagCategory";
3278
3998
  };
3279
- readonly height: {
3999
+ readonly is_locked: {
4000
+ readonly type: "boolean";
4001
+ };
4002
+ readonly tag_id: {
3280
4003
  readonly type: "integer";
3281
4004
  };
3282
- readonly size: {
4005
+ readonly creator_id: {
3283
4006
  readonly type: "integer";
3284
- readonly format: "int64";
3285
4007
  };
3286
- readonly preview_url: {
4008
+ };
4009
+ };
4010
+ export declare const TagWithCountSchema: {
4011
+ readonly type: "object";
4012
+ readonly required: readonly ["name", "category_id", "count"];
4013
+ readonly properties: {
4014
+ readonly name: {
3287
4015
  readonly type: "string";
3288
- readonly format: "uri";
3289
- readonly nullable: true;
3290
4016
  };
3291
- readonly preview_webp: {
3292
- readonly type: "string";
3293
- readonly format: "uri";
3294
- readonly nullable: true;
4017
+ readonly category_id: {
4018
+ readonly $ref: "#/components/schemas/TagCategory";
3295
4019
  };
3296
- readonly sample_url: {
4020
+ readonly count: {
4021
+ readonly type: "integer";
4022
+ };
4023
+ };
4024
+ };
4025
+ export declare const TakedownSchema: {
4026
+ readonly type: "object";
4027
+ readonly required: readonly ["id", "status", "approver_id", "reason_hidden", "created_at", "updated_at", "post_count"];
4028
+ readonly properties: {
4029
+ readonly id: {
4030
+ readonly type: "integer";
4031
+ };
4032
+ readonly status: {
4033
+ readonly type: "string";
4034
+ readonly enum: readonly ["approved", "denied", "partial", "pending"];
4035
+ };
4036
+ readonly approver_id: {
4037
+ readonly type: "integer";
4038
+ readonly nullable: true;
4039
+ };
4040
+ readonly reason_hidden: {
4041
+ readonly type: "boolean";
4042
+ };
4043
+ readonly created_at: {
4044
+ readonly type: "string";
4045
+ readonly format: "date-time";
4046
+ };
4047
+ readonly updated_at: {
4048
+ readonly type: "string";
4049
+ readonly format: "date-time";
4050
+ };
4051
+ readonly post_count: {
4052
+ readonly type: "integer";
4053
+ };
4054
+ };
4055
+ };
4056
+ export declare const ThumbnailPostSchema: {
4057
+ readonly type: "object";
4058
+ readonly required: readonly ["id", "created_at", "md5", "file_ext", "width", "height", "size", "preview_url", "preview_webp", "sample_url", "file_url", "preview_width", "preview_height", "uploader_id", "uploader", "score", "fav_count", "is_favorited", "vote", "comment_count", "flags", "pools", "rating", "tags"];
4059
+ readonly properties: {
4060
+ readonly id: {
4061
+ readonly type: "integer";
4062
+ };
4063
+ readonly created_at: {
4064
+ readonly type: "string";
4065
+ readonly format: "date-time";
4066
+ };
4067
+ readonly md5: {
4068
+ readonly type: "string";
4069
+ };
4070
+ readonly file_ext: {
4071
+ readonly type: "string";
4072
+ };
4073
+ readonly width: {
4074
+ readonly type: "integer";
4075
+ };
4076
+ readonly height: {
4077
+ readonly type: "integer";
4078
+ };
4079
+ readonly size: {
4080
+ readonly type: "integer";
4081
+ readonly format: "int64";
4082
+ };
4083
+ readonly preview_url: {
4084
+ readonly type: "string";
4085
+ readonly format: "uri";
4086
+ readonly nullable: true;
4087
+ };
4088
+ readonly preview_webp: {
4089
+ readonly type: "string";
4090
+ readonly format: "uri";
4091
+ readonly nullable: true;
4092
+ };
4093
+ readonly sample_url: {
3297
4094
  readonly type: "string";
3298
4095
  readonly format: "uri";
3299
4096
  readonly nullable: true;
@@ -3325,7 +4122,7 @@ export declare const ThumbnailPostSchema: {
3325
4122
  readonly type: "boolean";
3326
4123
  };
3327
4124
  readonly vote: {
3328
- readonly $ref: "#/components/schemas/Comment/properties/vote";
4125
+ readonly $ref: "#/components/schemas/UpDownMehVote";
3329
4126
  };
3330
4127
  readonly comment_count: {
3331
4128
  readonly type: "integer";
@@ -3339,40 +4136,114 @@ export declare const ThumbnailPostSchema: {
3339
4136
  readonly description: "space separated list of ids";
3340
4137
  };
3341
4138
  readonly rating: {
3342
- readonly $ref: "#/components/schemas/Ratings";
4139
+ readonly $ref: "#/components/schemas/Rating";
3343
4140
  };
3344
4141
  readonly tags: {
3345
4142
  readonly type: "string";
3346
4143
  };
3347
4144
  };
3348
4145
  };
3349
- export declare const PostDataSchema: {
4146
+ export declare const TicketSchema: {
3350
4147
  readonly type: "object";
3351
- readonly required: readonly ["post_data"];
4148
+ readonly required: readonly ["id", "creator_id", "reason", "disp_id", "qtype", "status", "created_at", "updated_at", "response", "handler_id", "report_reason", "accused_id"];
3352
4149
  readonly properties: {
3353
- readonly post_data: {
3354
- readonly type: "array";
3355
- readonly items: {
3356
- readonly $ref: "#/components/schemas/ThumbnailPost";
3357
- };
4150
+ readonly id: {
4151
+ readonly type: "integer";
4152
+ };
4153
+ readonly creator_id: {
4154
+ readonly type: "integer";
4155
+ };
4156
+ readonly reason: {
4157
+ readonly type: "string";
4158
+ };
4159
+ readonly disp_id: {
4160
+ readonly type: "integer";
4161
+ };
4162
+ readonly qtype: {
4163
+ readonly $ref: "#/components/schemas/TicketType";
4164
+ };
4165
+ readonly status: {
4166
+ readonly $ref: "#/components/schemas/TicketStatus";
4167
+ };
4168
+ readonly created_at: {
4169
+ readonly type: "string";
4170
+ readonly format: "date-time";
4171
+ };
4172
+ readonly updated_at: {
4173
+ readonly type: "string";
4174
+ readonly format: "date-time";
4175
+ };
4176
+ readonly response: {
4177
+ readonly type: "string";
4178
+ };
4179
+ readonly handler_id: {
4180
+ readonly type: "integer";
4181
+ readonly nullable: true;
4182
+ };
4183
+ readonly claimant_id: {
4184
+ readonly type: "integer";
4185
+ readonly nullable: true;
4186
+ readonly description: "Only visible to Moderator+.";
4187
+ };
4188
+ readonly report_reason: {
4189
+ readonly type: "string";
4190
+ readonly nullable: true;
4191
+ };
4192
+ readonly accused_id: {
4193
+ readonly type: "integer";
4194
+ readonly nullable: true;
3358
4195
  };
3359
4196
  };
3360
4197
  };
3361
- export declare const CommentVoteSchema: {
4198
+ export declare const TrackedSearchTrendSchema: {
3362
4199
  readonly type: "object";
3363
- readonly required: readonly ["id", "comment_id", "user_id", "score", "created_at", "updated_at"];
4200
+ readonly required: readonly ["count", "day"];
4201
+ readonly properties: {
4202
+ readonly count: {
4203
+ readonly type: "integer";
4204
+ };
4205
+ readonly day: {
4206
+ readonly type: "string";
4207
+ readonly format: "date-time";
4208
+ };
4209
+ };
4210
+ };
4211
+ export declare const UploadSchema: {
4212
+ readonly type: "object";
4213
+ 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"];
3364
4214
  readonly properties: {
3365
4215
  readonly id: {
3366
4216
  readonly type: "integer";
3367
4217
  };
3368
- readonly comment_id: {
4218
+ readonly source: {
4219
+ readonly type: "string";
4220
+ };
4221
+ readonly rating: {
4222
+ readonly $ref: "#/components/schemas/Rating";
4223
+ };
4224
+ readonly uploader_id: {
3369
4225
  readonly type: "integer";
3370
4226
  };
3371
- readonly user_id: {
4227
+ readonly tag_string: {
4228
+ readonly type: "string";
4229
+ };
4230
+ readonly status: {
4231
+ readonly type: "string";
4232
+ readonly description: "Note: The \"error\" status will be proceeded by an error, ex: \"error: RuntimeError - No file or source URL provided\"\n";
4233
+ readonly enum: readonly ["completed", "duplicate", "error", "processing", "pending"];
4234
+ };
4235
+ readonly backtrace: {
4236
+ readonly type: "string";
4237
+ readonly nullable: true;
4238
+ };
4239
+ readonly post_id: {
3372
4240
  readonly type: "integer";
4241
+ readonly nullable: true;
3373
4242
  };
3374
- readonly score: {
3375
- readonly $ref: "#/components/schemas/UpDownVote";
4243
+ readonly md5_confirmation: {
4244
+ readonly type: "string";
4245
+ readonly nullable: true;
4246
+ readonly deprecated: true;
3376
4247
  };
3377
4248
  readonly created_at: {
3378
4249
  readonly type: "string";
@@ -3382,11 +4253,41 @@ export declare const CommentVoteSchema: {
3382
4253
  readonly type: "string";
3383
4254
  readonly format: "date-time";
3384
4255
  };
4256
+ readonly parent_id: {
4257
+ readonly type: "integer";
4258
+ readonly nullable: true;
4259
+ };
4260
+ readonly md5: {
4261
+ readonly type: "string";
4262
+ readonly nullable: true;
4263
+ };
4264
+ readonly file_ext: {
4265
+ readonly type: "string";
4266
+ readonly nullable: true;
4267
+ };
4268
+ readonly file_size: {
4269
+ readonly type: "integer";
4270
+ readonly nullable: true;
4271
+ };
4272
+ readonly image_width: {
4273
+ readonly type: "integer";
4274
+ readonly nullable: true;
4275
+ };
4276
+ readonly image_height: {
4277
+ readonly type: "integer";
4278
+ readonly nullable: true;
4279
+ };
4280
+ readonly description: {
4281
+ readonly type: "string";
4282
+ };
4283
+ readonly uploader_name: {
4284
+ readonly type: "string";
4285
+ };
3385
4286
  };
3386
4287
  };
3387
- export declare const LegacyPostSchema: {
4288
+ export declare const UploadWhitelistSchema: {
3388
4289
  readonly type: "object";
3389
- 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", "vote"];
4290
+ readonly required: readonly ["id", "created_at", "updated_at", "pattern", "note", "hidden", "allowed", "reason", "domain", "path"];
3390
4291
  readonly properties: {
3391
4292
  readonly id: {
3392
4293
  readonly type: "integer";
@@ -3399,444 +4300,316 @@ export declare const LegacyPostSchema: {
3399
4300
  readonly type: "string";
3400
4301
  readonly format: "date-time";
3401
4302
  };
3402
- readonly file: {
3403
- readonly type: "object";
3404
- readonly required: readonly ["width", "height", "ext", "size", "md5", "url"];
3405
- readonly properties: {
3406
- readonly width: {
3407
- readonly type: "integer";
3408
- };
3409
- readonly height: {
3410
- readonly type: "integer";
3411
- };
3412
- readonly ext: {
3413
- readonly type: "string";
3414
- };
3415
- readonly size: {
3416
- readonly type: "integer";
3417
- readonly format: "int64";
3418
- };
3419
- readonly md5: {
3420
- readonly type: "string";
3421
- };
3422
- readonly url: {
3423
- readonly type: "string";
3424
- readonly nullable: true;
3425
- };
3426
- };
4303
+ readonly pattern: {
4304
+ readonly type: "string";
3427
4305
  };
3428
- readonly preview: {
3429
- readonly type: "object";
3430
- readonly required: readonly ["width", "height", "url"];
3431
- readonly properties: {
3432
- readonly width: {
3433
- readonly type: "integer";
3434
- };
3435
- readonly height: {
3436
- readonly type: "integer";
3437
- };
3438
- readonly url: {
3439
- readonly type: "string";
3440
- readonly nullable: true;
3441
- };
3442
- };
4306
+ readonly note: {
4307
+ readonly type: "string";
3443
4308
  };
3444
- readonly sample: {
3445
- readonly type: "object";
3446
- readonly required: readonly ["has", "height", "width", "url", "alternates"];
3447
- readonly properties: {
3448
- readonly has: {
3449
- readonly type: "boolean";
3450
- };
3451
- readonly height: {
3452
- readonly type: "integer";
3453
- readonly nullable: true;
3454
- };
3455
- readonly width: {
3456
- readonly type: "integer";
3457
- readonly nullable: true;
3458
- };
3459
- readonly url: {
3460
- readonly type: "string";
3461
- readonly nullable: true;
3462
- };
3463
- readonly alternates: {
3464
- readonly type: "object";
3465
- readonly properties: {
3466
- readonly has: {
3467
- readonly type: "boolean";
3468
- };
3469
- readonly original: {
3470
- readonly $ref: "#/components/schemas/PostSampleAlternate";
3471
- };
3472
- readonly variants: {
3473
- readonly type: "object";
3474
- readonly properties: {
3475
- readonly webm: {
3476
- readonly $ref: "#/components/schemas/PostSampleAlternate";
3477
- };
3478
- readonly mp4: {
3479
- readonly $ref: "#/components/schemas/PostSampleAlternate";
3480
- };
3481
- };
3482
- };
3483
- readonly samples: {
3484
- readonly type: "object";
3485
- readonly properties: {
3486
- readonly '480p': {
3487
- readonly $ref: "#/components/schemas/PostSampleAlternate";
3488
- };
3489
- readonly '720p': {
3490
- readonly $ref: "#/components/schemas/PostSampleAlternate";
3491
- };
3492
- };
3493
- };
3494
- };
3495
- };
3496
- };
4309
+ readonly hidden: {
4310
+ readonly type: "boolean";
3497
4311
  };
3498
- readonly score: {
3499
- readonly type: "object";
3500
- readonly required: readonly ["up", "down", "total"];
3501
- readonly properties: {
3502
- readonly up: {
3503
- readonly type: "integer";
3504
- };
3505
- readonly down: {
3506
- readonly type: "integer";
3507
- };
3508
- readonly total: {
3509
- readonly type: "integer";
3510
- };
3511
- };
4312
+ readonly allowed: {
4313
+ readonly type: "boolean";
3512
4314
  };
3513
- readonly tags: {
3514
- readonly type: "object";
3515
- readonly required: readonly ["general", "artist", "copyright", "character", "species", "invalid", "meta", "lore", "contributor"];
3516
- readonly properties: {
3517
- readonly general: {
3518
- readonly type: "array";
3519
- readonly items: {
3520
- readonly type: "string";
3521
- };
3522
- };
3523
- readonly artist: {
3524
- readonly type: "array";
3525
- readonly items: {
3526
- readonly type: "string";
3527
- };
3528
- };
3529
- readonly copyright: {
3530
- readonly type: "array";
3531
- readonly items: {
3532
- readonly type: "string";
3533
- };
3534
- };
3535
- readonly character: {
3536
- readonly type: "array";
3537
- readonly items: {
3538
- readonly type: "string";
3539
- };
3540
- };
3541
- readonly species: {
3542
- readonly type: "array";
3543
- readonly items: {
3544
- readonly type: "string";
3545
- };
3546
- };
3547
- readonly invalid: {
3548
- readonly type: "array";
3549
- readonly items: {
3550
- readonly type: "string";
3551
- };
3552
- };
3553
- readonly meta: {
3554
- readonly type: "array";
3555
- readonly items: {
3556
- readonly type: "string";
3557
- };
3558
- };
3559
- readonly lore: {
3560
- readonly type: "array";
3561
- readonly items: {
3562
- readonly type: "string";
3563
- };
3564
- };
3565
- readonly contributor: {
3566
- readonly type: "array";
3567
- readonly items: {
3568
- readonly type: "string";
3569
- };
3570
- };
3571
- };
4315
+ readonly reason: {
4316
+ readonly type: "string";
3572
4317
  };
3573
- readonly locked_tags: {
3574
- readonly type: "array";
3575
- readonly nullable: true;
3576
- readonly items: {
3577
- readonly type: "string";
3578
- };
4318
+ readonly domain: {
4319
+ readonly type: "string";
3579
4320
  };
3580
- readonly change_seq: {
4321
+ readonly path: {
4322
+ readonly type: "string";
4323
+ };
4324
+ };
4325
+ };
4326
+ export declare const UserSchema: {
4327
+ readonly type: "object";
4328
+ readonly required: readonly ["id", "created_at", "name", "level", "base_upload_limit", "upload_karma", "upload_karma_free", "post_upload_count", "post_update_count", "note_update_count", "is_banned", "can_approve_posts", "can_upload_free", "level_string", "avatar_id", "has_cropped_avatar"];
4329
+ readonly properties: {
4330
+ readonly id: {
3581
4331
  readonly type: "integer";
3582
4332
  };
3583
- readonly flags: {
3584
- readonly type: "object";
3585
- readonly required: readonly ["pending", "flagged", "note_locked", "status_locked", "rating_locked", "deleted"];
3586
- readonly properties: {
3587
- readonly pending: {
3588
- readonly type: "boolean";
3589
- };
3590
- readonly flagged: {
3591
- readonly type: "boolean";
3592
- };
3593
- readonly note_locked: {
3594
- readonly type: "boolean";
3595
- };
3596
- readonly status_locked: {
3597
- readonly type: "boolean";
3598
- };
3599
- readonly rating_locked: {
3600
- readonly type: "boolean";
3601
- };
3602
- readonly deleted: {
3603
- readonly type: "boolean";
3604
- };
3605
- };
4333
+ readonly created_at: {
4334
+ readonly type: "string";
4335
+ readonly format: "date-time";
3606
4336
  };
3607
- readonly rating: {
3608
- readonly $ref: "#/components/schemas/Ratings";
4337
+ readonly name: {
4338
+ readonly type: "string";
3609
4339
  };
3610
- readonly fav_count: {
4340
+ readonly level: {
4341
+ readonly $ref: "#/components/schemas/UserLevel";
4342
+ };
4343
+ readonly base_upload_limit: {
3611
4344
  readonly type: "integer";
3612
4345
  };
3613
- readonly sources: {
3614
- readonly type: "array";
3615
- readonly items: {
3616
- readonly type: "string";
3617
- };
4346
+ readonly upload_karma: {
4347
+ readonly type: "integer";
3618
4348
  };
3619
- readonly pools: {
3620
- readonly type: "array";
3621
- readonly items: {
3622
- readonly type: "integer";
3623
- };
4349
+ readonly upload_karma_free: {
4350
+ readonly type: "boolean";
3624
4351
  };
3625
- readonly relationships: {
3626
- readonly type: "object";
3627
- readonly required: readonly ["parent_id", "has_children", "has_active_children", "children"];
3628
- readonly properties: {
3629
- readonly parent_id: {
3630
- readonly type: "integer";
3631
- readonly nullable: true;
3632
- };
3633
- readonly has_children: {
3634
- readonly type: "boolean";
3635
- };
3636
- readonly has_active_children: {
3637
- readonly type: "boolean";
3638
- };
3639
- readonly children: {
3640
- readonly type: "array";
3641
- readonly items: {
3642
- readonly type: "integer";
3643
- };
3644
- };
3645
- };
4352
+ readonly post_upload_count: {
4353
+ readonly type: "integer";
4354
+ };
4355
+ readonly post_update_count: {
4356
+ readonly type: "integer";
4357
+ };
4358
+ readonly note_update_count: {
4359
+ readonly type: "integer";
4360
+ };
4361
+ readonly is_banned: {
4362
+ readonly type: "boolean";
4363
+ };
4364
+ readonly can_approve_posts: {
4365
+ readonly type: "boolean";
4366
+ };
4367
+ readonly can_upload_free: {
4368
+ readonly type: "boolean";
4369
+ };
4370
+ readonly level_string: {
4371
+ readonly $ref: "#/components/schemas/UserLevelName";
4372
+ };
4373
+ readonly avatar_id: {
4374
+ readonly type: "integer";
4375
+ readonly nullable: true;
4376
+ };
4377
+ readonly is_verified: {
4378
+ readonly type: "boolean";
4379
+ };
4380
+ readonly has_cropped_avatar: {
4381
+ readonly type: "boolean";
4382
+ };
4383
+ readonly last_logged_in_at: {
4384
+ readonly type: "string";
4385
+ readonly format: "date-time";
4386
+ readonly description: "Only visible to Admin+.";
4387
+ };
4388
+ };
4389
+ };
4390
+ export declare const UserAltSchema: {
4391
+ readonly type: "object";
4392
+ readonly required: readonly ["user_id", "score", "handoff", "handoff_users", "shared_exact", "shared_subnet", "total_ips", "ratio", "rarest_users", "overlap_first", "overlap_last", "last_co_seen", "concurrent", "deleted", "user"];
4393
+ readonly properties: {
4394
+ readonly user_id: {
4395
+ readonly type: "integer";
4396
+ };
4397
+ readonly score: {
4398
+ readonly type: "integer";
4399
+ readonly format: "float";
4400
+ };
4401
+ readonly handoff: {
4402
+ readonly type: "boolean";
3646
4403
  };
3647
- readonly approver_id: {
4404
+ readonly handoff_users: {
3648
4405
  readonly type: "integer";
3649
4406
  readonly nullable: true;
3650
4407
  };
3651
- readonly uploader_id: {
4408
+ readonly shared_exact: {
3652
4409
  readonly type: "integer";
3653
4410
  };
3654
- readonly description: {
3655
- readonly type: "string";
4411
+ readonly shared_subnet: {
4412
+ readonly type: "integer";
3656
4413
  };
3657
- readonly comment_count: {
4414
+ readonly total_ips: {
3658
4415
  readonly type: "integer";
3659
4416
  };
3660
- readonly is_favorited: {
3661
- readonly type: "boolean";
4417
+ readonly ratio: {
4418
+ readonly type: "integer";
4419
+ readonly format: "float";
3662
4420
  };
3663
- readonly has_notes: {
3664
- readonly type: "boolean";
4421
+ readonly rarest_users: {
4422
+ readonly type: "integer";
3665
4423
  };
3666
- readonly duration: {
3667
- readonly type: "number";
3668
- readonly format: "float";
3669
- readonly nullable: true;
4424
+ readonly overlap_first: {
4425
+ readonly type: "string";
4426
+ readonly format: "date-time";
3670
4427
  };
3671
- readonly uploader_name: {
4428
+ readonly overlap_last: {
3672
4429
  readonly type: "string";
4430
+ readonly format: "date-time";
3673
4431
  };
3674
- readonly vote: {
3675
- readonly $ref: "#/components/schemas/Comment/properties/vote";
4432
+ readonly last_co_seen: {
4433
+ readonly type: "string";
4434
+ readonly format: "date-time";
3676
4435
  };
3677
- };
3678
- };
3679
- export declare const BasicPostSchema: {
3680
- readonly allOf: readonly [{
3681
- readonly $ref: "#/components/schemas/Post";
3682
- }, {
3683
- readonly type: "object";
3684
- readonly required: readonly ["tags"];
3685
- readonly properties: {
3686
- readonly tags: {
3687
- readonly type: "array";
3688
- readonly items: {
3689
- readonly type: "string";
3690
- };
3691
- };
4436
+ readonly concurrent: {
4437
+ readonly type: "boolean";
3692
4438
  };
3693
- }];
3694
- };
3695
- export declare const ExtendedPostSchema: {
3696
- readonly allOf: readonly [{
3697
- readonly $ref: "#/components/schemas/Post";
3698
- }, {
3699
- readonly type: "object";
3700
- readonly required: readonly ["tags"];
3701
- readonly properties: {
3702
- readonly tags: {
3703
- readonly type: "object";
3704
- readonly required: readonly ["general", "artist", "contributor", "copyright", "character", "species", "invalid", "meta", "lore"];
3705
- readonly properties: {
3706
- readonly general: {
3707
- readonly type: "array";
3708
- readonly items: {
3709
- readonly type: "string";
3710
- };
3711
- };
3712
- readonly artist: {
3713
- readonly type: "array";
3714
- readonly items: {
3715
- readonly type: "string";
3716
- };
3717
- };
3718
- readonly contributor: {
3719
- readonly type: "array";
3720
- readonly items: {
3721
- readonly type: "string";
3722
- };
3723
- };
3724
- readonly copyright: {
3725
- readonly type: "array";
3726
- readonly items: {
3727
- readonly type: "string";
3728
- };
3729
- };
3730
- readonly character: {
3731
- readonly type: "array";
3732
- readonly items: {
3733
- readonly type: "string";
3734
- };
3735
- };
3736
- readonly species: {
3737
- readonly type: "array";
3738
- readonly items: {
3739
- readonly type: "string";
3740
- };
3741
- };
3742
- readonly invalid: {
3743
- readonly type: "array";
3744
- readonly items: {
3745
- readonly type: "string";
3746
- };
3747
- };
3748
- readonly meta: {
3749
- readonly type: "array";
3750
- readonly items: {
3751
- readonly type: "string";
3752
- };
3753
- };
3754
- readonly lore: {
3755
- readonly type: "array";
3756
- readonly items: {
3757
- readonly type: "string";
3758
- };
3759
- };
3760
- };
3761
- };
4439
+ readonly deleted: {
4440
+ readonly type: "boolean";
3762
4441
  };
3763
- }];
4442
+ readonly user: {
4443
+ readonly $ref: "#/components/schemas/UserAltUser";
4444
+ readonly nullable: true;
4445
+ };
4446
+ };
3764
4447
  };
3765
- export declare const ExceptionLogSchema: {
4448
+ export declare const UserAltUserSchema: {
3766
4449
  readonly type: "object";
3767
- readonly required: readonly ["id", "created_at", "updated_at", "class_name", "version", "extra_params", "message", "trace", "code", "user_id"];
4450
+ readonly required: readonly ["id", "name", "level_string", "created_at"];
3768
4451
  readonly properties: {
3769
4452
  readonly id: {
3770
4453
  readonly type: "integer";
3771
4454
  };
3772
- readonly created_at: {
4455
+ readonly name: {
3773
4456
  readonly type: "string";
3774
- readonly format: "date-time";
3775
4457
  };
3776
- readonly updated_at: {
4458
+ readonly level_string: {
3777
4459
  readonly type: "string";
3778
- readonly format: "date-time";
3779
4460
  };
3780
- readonly class_name: {
4461
+ readonly created_at: {
3781
4462
  readonly type: "string";
4463
+ readonly format: "date-time";
3782
4464
  };
3783
- readonly version: {
3784
- readonly type: "string";
4465
+ };
4466
+ };
4467
+ export declare const UserAvatarMenuSchema: {
4468
+ readonly type: "object";
4469
+ readonly required: readonly ["has_uploads", "has_favorites", "has_sets", "has_comments", "has_forums"];
4470
+ readonly properties: {
4471
+ readonly has_uploads: {
4472
+ readonly type: "boolean";
3785
4473
  };
3786
- readonly extra_params: {
3787
- readonly type: "object";
4474
+ readonly has_favorites: {
4475
+ readonly type: "boolean";
3788
4476
  };
3789
- readonly message: {
4477
+ readonly has_sets: {
4478
+ readonly type: "boolean";
4479
+ };
4480
+ readonly has_comments: {
4481
+ readonly type: "boolean";
4482
+ };
4483
+ readonly has_forums: {
4484
+ readonly type: "boolean";
4485
+ };
4486
+ };
4487
+ };
4488
+ export declare const UserFeedbackSchema: {
4489
+ readonly type: "object";
4490
+ readonly required: readonly ["id", "user_id", "creator_id", "category", "body", "created_at", "updated_at", "updater_id", "is_deleted"];
4491
+ readonly properties: {
4492
+ readonly id: {
4493
+ readonly type: "integer";
4494
+ };
4495
+ readonly user_id: {
4496
+ readonly type: "integer";
4497
+ };
4498
+ readonly creator_id: {
4499
+ readonly type: "integer";
4500
+ };
4501
+ readonly category: {
4502
+ readonly $ref: "#/components/schemas/UserFeedbackCategory";
4503
+ };
4504
+ readonly body: {
3790
4505
  readonly type: "string";
3791
4506
  };
3792
- readonly trace: {
4507
+ readonly created_at: {
3793
4508
  readonly type: "string";
4509
+ readonly format: "date-time";
3794
4510
  };
3795
- readonly code: {
4511
+ readonly updated_at: {
3796
4512
  readonly type: "string";
3797
- readonly format: "uuid";
4513
+ readonly format: "date-time";
3798
4514
  };
3799
- readonly user_id: {
4515
+ readonly updater_id: {
3800
4516
  readonly type: "integer";
3801
4517
  };
4518
+ readonly is_deleted: {
4519
+ readonly type: "boolean";
4520
+ };
3802
4521
  };
3803
4522
  };
3804
- export declare const AppealSchema: {
4523
+ export declare const UserNameChangeRequestSchema: {
3805
4524
  readonly type: "object";
3806
- readonly required: readonly ["id", "disp_id", "qtype", "status", "handler_id", "created_at", "updated_at"];
4525
+ readonly required: readonly ["id", "approver_id", "user_id", "original_name", "desired_name", "created_at", "updated_at", "status"];
3807
4526
  readonly properties: {
3808
4527
  readonly id: {
3809
4528
  readonly type: "integer";
3810
4529
  };
3811
- readonly creator_id: {
4530
+ readonly approver_id: {
3812
4531
  readonly type: "integer";
3813
4532
  };
3814
- readonly disp_id: {
4533
+ readonly user_id: {
4534
+ readonly type: "integer";
4535
+ };
4536
+ readonly original_name: {
3815
4537
  readonly type: "string";
3816
4538
  };
3817
- readonly qtype: {
4539
+ readonly desired_name: {
3818
4540
  readonly type: "string";
3819
- readonly enum: readonly ["flag"];
3820
4541
  };
3821
- readonly status: {
4542
+ readonly change_reason: {
3822
4543
  readonly type: "string";
3823
- readonly enum: readonly ["pending", "partial", "approved", "rejected"];
3824
4544
  };
3825
- readonly reason: {
4545
+ readonly created_at: {
3826
4546
  readonly type: "string";
4547
+ readonly format: "date-time";
3827
4548
  };
3828
- readonly response: {
4549
+ readonly updated_at: {
4550
+ readonly type: "string";
4551
+ readonly format: "date-time";
4552
+ };
4553
+ readonly status: {
3829
4554
  readonly type: "string";
4555
+ readonly enum: readonly ["approved"];
3830
4556
  };
3831
- readonly claimant_id: {
4557
+ };
4558
+ };
4559
+ export declare const VoteTrendSchema: {
4560
+ readonly oneOf: readonly [{
4561
+ readonly $ref: "#/components/schemas/Tag";
4562
+ }, {
4563
+ readonly $ref: "#/components/schemas/VoteTrendMetatag";
4564
+ }, {
4565
+ readonly $ref: "#/components/schemas/VoteTrendUploader";
4566
+ }];
4567
+ };
4568
+ export declare const VoteTrendMetatagSchema: {
4569
+ readonly type: "object";
4570
+ readonly required: readonly ["name", "post_count", "uploader_id", "uploader"];
4571
+ readonly properties: {
4572
+ readonly name: {
4573
+ readonly type: "string";
4574
+ };
4575
+ readonly post_count: {
3832
4576
  readonly type: "integer";
3833
- readonly nullable: true;
3834
4577
  };
3835
- readonly handler_id: {
4578
+ readonly uploader_id: {
3836
4579
  readonly type: "integer";
3837
4580
  readonly nullable: true;
4581
+ readonly enum: readonly [null];
3838
4582
  };
3839
- readonly accused_id: {
4583
+ readonly uploader: {
4584
+ readonly type: "object";
4585
+ readonly nullable: true;
4586
+ readonly enum: readonly [null];
4587
+ };
4588
+ };
4589
+ };
4590
+ export declare const VoteTrendUploaderSchema: {
4591
+ readonly type: "object";
4592
+ readonly required: readonly ["name", "post_count", "uploader_id", "uploader"];
4593
+ readonly properties: {
4594
+ readonly name: {
4595
+ readonly type: "string";
4596
+ };
4597
+ readonly post_count: {
4598
+ readonly type: "integer";
4599
+ };
4600
+ readonly uploader_id: {
4601
+ readonly type: "integer";
4602
+ };
4603
+ readonly uploader: {
4604
+ readonly $ref: "#/components/schemas/User";
4605
+ };
4606
+ };
4607
+ };
4608
+ export declare const WikiPageSchema: {
4609
+ readonly type: "object";
4610
+ 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"];
4611
+ readonly properties: {
4612
+ readonly id: {
3840
4613
  readonly type: "integer";
3841
4614
  };
3842
4615
  readonly created_at: {
@@ -3847,201 +4620,231 @@ export declare const AppealSchema: {
3847
4620
  readonly type: "string";
3848
4621
  readonly format: "date-time";
3849
4622
  };
3850
- };
3851
- };
3852
- export declare const DBExportSchema: {
3853
- readonly type: "object";
3854
- readonly required: readonly ["name", "file_name", "file_size", "updated_at", "url", "checksum"];
3855
- readonly properties: {
3856
- readonly name: {
3857
- readonly $ref: "#/components/schemas/DBExportNames";
4623
+ readonly title: {
4624
+ readonly type: "string";
3858
4625
  };
3859
- readonly file_name: {
4626
+ readonly body: {
3860
4627
  readonly type: "string";
3861
4628
  };
3862
- readonly file_size: {
4629
+ readonly creator_id: {
3863
4630
  readonly type: "integer";
3864
4631
  };
3865
- readonly updated_at: {
3866
- readonly type: "string";
3867
- readonly format: "date-time";
4632
+ readonly is_locked: {
4633
+ readonly type: "boolean";
3868
4634
  };
3869
- readonly url: {
4635
+ readonly updater_id: {
4636
+ readonly type: "integer";
4637
+ };
4638
+ readonly is_deleted: {
4639
+ readonly type: "boolean";
4640
+ };
4641
+ readonly other_names: {
4642
+ readonly type: "array";
4643
+ readonly items: {
4644
+ readonly type: "string";
4645
+ };
4646
+ };
4647
+ readonly parent: {
3870
4648
  readonly type: "string";
3871
- readonly format: "uri";
4649
+ readonly nullable: true;
3872
4650
  };
3873
- readonly checksum: {
4651
+ readonly creator_name: {
3874
4652
  readonly type: "string";
3875
- readonly description: "SHA-256";
4653
+ };
4654
+ readonly category_id: {
4655
+ readonly $ref: "#/components/schemas/TagCategory";
4656
+ };
4657
+ readonly featured_posts: {
4658
+ readonly type: "array";
4659
+ readonly items: {
4660
+ readonly type: "integer";
4661
+ };
3876
4662
  };
3877
4663
  };
3878
4664
  };
3879
- export declare const DBExportNamesSchema: {
3880
- readonly type: "string";
3881
- readonly enum: readonly ["artists", "bulk_update_requests", "pools", "post_replacements", "posts", "post_versions", "tag_aliases", "tag_implications", "tags", "wiki_pages"];
3882
- };
3883
- export declare const UserLevelsSchema: {
3884
- readonly type: "integer";
3885
- readonly enum: readonly [0, 10, 20, 30, 40, 50, 60, 70, 80];
3886
- };
3887
- export declare const UserLevelsNamesSchema: {
3888
- readonly type: "string";
3889
- readonly enum: readonly ["Anonymous", "Blocked", "Member", "Privileged", "Former Staff", "Staff", "Janitor", "Moderator", "Admin"];
3890
- };
3891
- export declare const StaffFileSchema: {
4665
+ export declare const WikiPageVersionSchema: {
3892
4666
  readonly type: "object";
3893
- readonly required: readonly ["id", "creator_id", "storage_id", "md5", "file_ext", "file_size", "original_filename", "title", "description", "created_at", "updated_at"];
4667
+ readonly required: readonly ["id", "created_at", "updated_at", "title", "body", "updater_id", "wiki_page_id", "is_locked", "other_names", "is_deleted", "reason", "parent"];
3894
4668
  readonly properties: {
3895
4669
  readonly id: {
3896
4670
  readonly type: "integer";
3897
4671
  };
3898
- readonly creator_id: {
3899
- readonly type: "integer";
4672
+ readonly created_at: {
4673
+ readonly type: "string";
4674
+ readonly format: "date-time";
3900
4675
  };
3901
- readonly storage_id: {
4676
+ readonly updated_at: {
3902
4677
  readonly type: "string";
4678
+ readonly format: "date-time";
3903
4679
  };
3904
- readonly md5: {
4680
+ readonly title: {
3905
4681
  readonly type: "string";
3906
4682
  };
3907
- readonly file_ext: {
4683
+ readonly body: {
3908
4684
  readonly type: "string";
3909
4685
  };
3910
- readonly file_size: {
4686
+ readonly updater_id: {
3911
4687
  readonly type: "integer";
3912
4688
  };
3913
- readonly original_filename: {
3914
- readonly type: "string";
4689
+ readonly wiki_page_id: {
4690
+ readonly type: "integer";
3915
4691
  };
3916
- readonly title: {
3917
- readonly type: "string";
4692
+ readonly is_locked: {
4693
+ readonly type: "boolean";
3918
4694
  };
3919
- readonly description: {
4695
+ readonly other_names: {
4696
+ readonly type: "array";
4697
+ readonly items: {
4698
+ readonly type: "string";
4699
+ };
4700
+ };
4701
+ readonly is_deleted: {
4702
+ readonly type: "boolean";
4703
+ };
4704
+ readonly reason: {
3920
4705
  readonly type: "string";
3921
4706
  readonly nullable: true;
3922
4707
  };
3923
- readonly created_at: {
4708
+ readonly parent: {
3924
4709
  readonly type: "string";
3925
- readonly format: "date-time";
4710
+ readonly nullable: true;
3926
4711
  };
3927
- readonly updated_at: {
3928
- readonly type: "string";
3929
- readonly format: "date-time";
4712
+ readonly featured_posts: {
4713
+ readonly type: "array";
4714
+ readonly items: {
4715
+ readonly type: "integer";
4716
+ };
3930
4717
  };
3931
4718
  };
3932
4719
  };
3933
- export declare const StaffWikiSchema: {
4720
+ export declare const AccessDeniedResponseSchema: {
3934
4721
  readonly type: "object";
3935
- readonly required: readonly ["id", "creator_id", "updater_id", "claimant_id", "title", "body", "created_at", "updated_at"];
4722
+ readonly required: readonly ["success", "reason"];
3936
4723
  readonly properties: {
3937
- readonly id: {
3938
- readonly type: "integer";
4724
+ readonly success: {
4725
+ readonly type: "boolean";
3939
4726
  };
3940
- readonly creator_id: {
3941
- readonly type: "integer";
4727
+ readonly reason: {
4728
+ readonly type: "string";
4729
+ readonly enum: readonly ["Access Denied"];
3942
4730
  };
3943
- readonly updater_id: {
3944
- readonly type: "integer";
4731
+ };
4732
+ };
4733
+ export declare const DTextResponseSchema: {
4734
+ readonly type: "object";
4735
+ readonly required: readonly ["html", "posts"];
4736
+ readonly properties: {
4737
+ readonly html: {
4738
+ readonly type: "string";
3945
4739
  };
3946
- readonly claimant_id: {
3947
- readonly type: "integer";
3948
- readonly nullable: true;
4740
+ readonly posts: {
4741
+ readonly $ref: "#/components/schemas/DeferredPost";
3949
4742
  };
3950
- readonly title: {
4743
+ };
4744
+ };
4745
+ export declare const IQDBResponseSchema: {
4746
+ readonly type: "object";
4747
+ readonly required: readonly ["hash", "post_id", "score", "post"];
4748
+ readonly properties: {
4749
+ readonly hash: {
3951
4750
  readonly type: "string";
3952
4751
  };
3953
- readonly body: {
3954
- readonly type: "string";
4752
+ readonly post_id: {
4753
+ readonly type: "integer";
3955
4754
  };
3956
- readonly created_at: {
3957
- readonly type: "string";
3958
- readonly format: "date-time";
4755
+ readonly score: {
4756
+ readonly type: "number";
4757
+ readonly format: "float";
4758
+ readonly minimum: 0;
4759
+ readonly maximum: 100;
3959
4760
  };
3960
- readonly updated_at: {
3961
- readonly type: "string";
3962
- readonly format: "date-time";
4761
+ readonly post: {
4762
+ readonly type: "object";
4763
+ readonly required: readonly ["posts"];
4764
+ readonly properties: {
4765
+ readonly posts: {
4766
+ readonly $ref: "#/components/schemas/IQDBPost";
4767
+ };
4768
+ };
3963
4769
  };
3964
4770
  };
3965
4771
  };
3966
- export declare const StaffWikiVersionSchema: {
4772
+ export declare const IQDBResponseV2Schema: {
3967
4773
  readonly type: "object";
3968
- readonly required: readonly ["id", "staff_wiki_id", "updater_id", "claimant_id", "title", "body", "created_at", "updated_at"];
4774
+ readonly required: readonly ["hash", "post_id", "score", "post"];
3969
4775
  readonly properties: {
3970
- readonly id: {
3971
- readonly type: "integer";
3972
- };
3973
- readonly staff_wiki_id: {
3974
- readonly type: "integer";
4776
+ readonly hash: {
4777
+ readonly type: "string";
3975
4778
  };
3976
- readonly updater_id: {
4779
+ readonly post_id: {
3977
4780
  readonly type: "integer";
3978
4781
  };
3979
- readonly claimant_id: {
3980
- readonly type: "integer";
3981
- readonly nullable: true;
4782
+ readonly score: {
4783
+ readonly type: "number";
4784
+ readonly format: "float";
4785
+ readonly minimum: 0;
4786
+ readonly maximum: 100;
3982
4787
  };
3983
- readonly title: {
3984
- readonly type: "string";
4788
+ readonly post: {
4789
+ readonly $ref: "#/components/schemas/BasicPost";
3985
4790
  };
3986
- readonly body: {
3987
- readonly type: "string";
4791
+ };
4792
+ };
4793
+ export declare const MessageErrorResponseSchema: {
4794
+ readonly type: "object";
4795
+ readonly required: readonly ["success", "message"];
4796
+ readonly properties: {
4797
+ readonly success: {
4798
+ readonly type: "boolean";
3988
4799
  };
3989
- readonly created_at: {
4800
+ readonly message: {
3990
4801
  readonly type: "string";
3991
- readonly format: "date-time";
3992
4802
  };
3993
- readonly updated_at: {
4803
+ readonly code: {
3994
4804
  readonly type: "string";
3995
- readonly format: "date-time";
4805
+ readonly nullable: true;
3996
4806
  };
3997
4807
  };
3998
4808
  };
3999
- export declare const VoteTrendSchema: {
4000
- readonly oneOf: readonly [{
4001
- readonly $ref: "#/components/schemas/Tag";
4002
- }, {
4003
- readonly $ref: "#/components/schemas/VoteTrendMetatag";
4004
- }, {
4005
- readonly $ref: "#/components/schemas/VoteTrendUploader";
4006
- }];
4007
- };
4008
- export declare const VoteTrendMetatagSchema: {
4809
+ export declare const MessageSuccessResponseSchema: {
4009
4810
  readonly type: "object";
4010
- readonly required: readonly ["name", "post_count", "uploader_id", "uploader"];
4811
+ readonly required: readonly ["success", "message"];
4011
4812
  readonly properties: {
4012
- readonly name: {
4013
- readonly type: "string";
4813
+ readonly success: {
4814
+ readonly type: "boolean";
4815
+ readonly enum: readonly [true];
4014
4816
  };
4015
- readonly post_count: {
4016
- readonly type: "integer";
4817
+ readonly message: {
4818
+ readonly type: "string";
4017
4819
  };
4018
- readonly uploader_id: {
4019
- readonly type: "integer";
4020
- readonly nullable: true;
4021
- readonly enum: readonly [null];
4820
+ };
4821
+ };
4822
+ export declare const NotFoundResponseSchema: {
4823
+ readonly type: "object";
4824
+ readonly required: readonly ["success", "reason"];
4825
+ readonly properties: {
4826
+ readonly success: {
4827
+ readonly type: "boolean";
4022
4828
  };
4023
- readonly uploader: {
4024
- readonly type: "object";
4025
- readonly nullable: true;
4026
- readonly enum: readonly [null];
4829
+ readonly reason: {
4830
+ readonly type: "string";
4831
+ readonly enum: readonly ["not found"];
4027
4832
  };
4028
4833
  };
4029
4834
  };
4030
- export declare const VoteTrendUploaderSchema: {
4835
+ export declare const OAuthErrorSchema: {
4031
4836
  readonly type: "object";
4032
- readonly required: readonly ["name", "post_count", "uploader_id", "uploader"];
4837
+ readonly required: readonly ["error"];
4033
4838
  readonly properties: {
4034
- readonly name: {
4839
+ readonly error: {
4035
4840
  readonly type: "string";
4841
+ readonly description: "OAuth 2.0 error code (RFC 6749 §5.2 / RFC 6750 §3), e.g. `invalid_token`.";
4036
4842
  };
4037
- readonly post_count: {
4038
- readonly type: "integer";
4039
- };
4040
- readonly uploader_id: {
4041
- readonly type: "integer";
4843
+ readonly error_description: {
4844
+ readonly type: "string";
4042
4845
  };
4043
- readonly uploader: {
4044
- readonly $ref: "#/components/schemas/User";
4846
+ readonly state: {
4847
+ readonly type: "string";
4045
4848
  };
4046
4849
  };
4047
4850
  };