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