e621 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/generated/schemas.d.ts +89 -8
- package/dist/lib/generated/schemas.js +111 -8
- package/dist/lib/generated/sdk.d.ts +45 -1
- package/dist/lib/generated/sdk.js +77 -1
- package/dist/lib/generated/source.json +848 -1332
- package/dist/lib/generated/types.d.ts +430 -170
- package/dist/lib/models/Blip.d.ts +3 -3
- package/dist/lib/models/Blip.js +1 -1
- package/dist/lib/models/Comment.d.ts +5 -4
- package/dist/lib/models/Comment.js +1 -1
- package/dist/lib/models/ForumPost.d.ts +5 -4
- package/dist/lib/models/ForumPost.js +1 -1
- package/dist/lib/models/Post.d.ts +3 -2
- package/dist/lib/models/Post.js +1 -1
- package/dist/lib/models/RisingSearchTrend.d.ts +14 -0
- package/dist/lib/models/RisingSearchTrend.js +17 -0
- package/dist/lib/models/SearchTrend.d.ts +14 -0
- package/dist/lib/models/SearchTrend.js +17 -0
- package/dist/lib/models/SearchTrendBlacklist.d.ts +14 -0
- package/dist/lib/models/SearchTrendBlacklist.js +17 -0
- package/dist/lib/models/Takedown.d.ts +5 -5
- package/dist/lib/models/index.d.ts +3 -0
- package/dist/lib/models/index.js +4 -1
- package/dist/lib/modules/Blips.d.ts +5 -2
- package/dist/lib/modules/Blips.js +1 -1
- package/dist/lib/modules/Comments.d.ts +5 -2
- package/dist/lib/modules/Comments.js +1 -1
- package/dist/lib/modules/DText.d.ts +5 -1
- package/dist/lib/modules/DText.js +1 -1
- package/dist/lib/modules/Favorites.d.ts +9 -3
- package/dist/lib/modules/Favorites.js +1 -1
- package/dist/lib/modules/ForumPosts.d.ts +5 -2
- package/dist/lib/modules/ForumPosts.js +1 -1
- package/dist/lib/modules/Pools.d.ts +5 -2
- package/dist/lib/modules/Pools.js +1 -1
- package/dist/lib/modules/PostReplacements.d.ts +5 -2
- package/dist/lib/modules/PostReplacements.js +1 -1
- package/dist/lib/modules/PostSets.d.ts +5 -2
- package/dist/lib/modules/PostSets.js +1 -1
- package/dist/lib/modules/RelatedTags.d.ts +5 -2
- package/dist/lib/modules/RelatedTags.js +1 -1
- package/dist/lib/modules/SearchTrendBlacklists.d.ts +64 -0
- package/dist/lib/modules/SearchTrendBlacklists.js +101 -0
- package/dist/lib/modules/SearchTrends.d.ts +57 -0
- package/dist/lib/modules/SearchTrends.js +92 -0
- package/dist/lib/modules/Takedowns.d.ts +13 -4
- package/dist/lib/modules/Takedowns.js +1 -1
- package/dist/lib/modules/UploadWhitelists.d.ts +5 -2
- package/dist/lib/modules/UploadWhitelists.js +1 -1
- package/dist/lib/modules/Users.d.ts +9 -6
- package/dist/lib/modules/Users.js +5 -5
- package/dist/lib/modules/admin/Users.d.ts +3 -3
- package/dist/lib/modules/admin/Users.js +2 -2
- package/dist/lib/modules/comments/Votes.d.ts +7 -2
- package/dist/lib/modules/comments/Votes.js +2 -2
- package/dist/lib/modules/forum_posts/Votes.d.ts +5 -2
- package/dist/lib/modules/forum_posts/Votes.js +2 -2
- package/dist/lib/modules/index.d.ts +6 -0
- package/dist/lib/modules/index.js +5 -1
- package/dist/lib/modules/posts/Votes.d.ts +7 -2
- package/dist/lib/modules/posts/Votes.js +2 -2
- package/dist/lib/util.d.ts +2 -0
- package/dist/lib/util.js +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export type NotFoundResponse = {
|
|
|
12
12
|
export type WarningRecordType = {
|
|
13
13
|
record_type: 'unmark' | 'ban' | 'record' | 'warning';
|
|
14
14
|
};
|
|
15
|
-
export type ModActionActions = 'artist_page_rename' | 'artist_page_lock' | 'artist_page_unlock' | 'artist_user_linked' | 'artist_user_unlinked' | 'avoid_posting_create' | 'avoid_posting_update' | 'avoid_posting_delete' | 'avoid_posting_undelete' | 'avoid_posting_destroy' | 'blip_delete' | 'blip_hide' | 'blip_unhide' | 'blip_update' | 'comment_delete' | 'comment_hide' | 'comment_unhide' | 'comment_update' | 'forum_category_create' | 'forum_category_delete' | 'forum_category_update' | 'forum_post_delete' | 'forum_post_hide' | 'forum_post_unhide' | 'forum_post_update' | 'forum_topic_delete' | 'forum_topic_hide' | 'forum_topic_unhide' | 'forum_topic_lock' | 'forum_topic_unlock' | 'forum_topic_stick' | 'forum_topic_unstick' | 'forum_topic_update' | 'help_create' | 'help_delete' | 'help_update' | 'ip_ban_create' | 'ip_ban_delete' | 'mascot_create' | 'mascot_update' | 'mascot_delete' | 'pool_delete' | 'report_reason_create' | 'report_reason_delete' | 'report_reason_update' | 'set_update' | 'set_delete' | 'set_change_visibility' | 'tag_alias_create' | 'tag_alias_update' | 'tag_implication_create' | 'tag_implication_update' | 'ticket_claim' | 'ticket_unclaim' | 'ticket_update' | 'upload_whitelist_create' | 'upload_whitelist_update' | 'upload_whitelist_delete' | 'user_blacklist_changed' | 'user_text_change' | 'user_upload_limit_change' | 'user_flags_change' | 'user_level_change' | 'user_name_change' | 'user_delete' | 'user_ban' | 'user_ban_update' | 'user_unban' | 'user_feedback_create' | 'user_feedback_update' | 'user_feedback_delete' | 'user_feedback_undelete' | 'user_feedback_destroy' | 'wiki_page_rename' | 'wiki_page_delete' | 'wiki_page_lock' | 'wiki_page_unlock' | 'mass_update' | 'nuke_tag' | 'takedown_delete' | 'takedown_process' | 'user_flush_favorites' | 'post_version_hide' | 'post_version_unhide' | 'user_uploads_toggle' | 'staff_note_create' | 'staff_note_update' | 'staff_note_delete' | 'staff_note_undelete' | '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';
|
|
15
|
+
export type ModActionActions = 'artist_page_rename' | 'artist_page_lock' | 'artist_page_unlock' | 'artist_user_linked' | 'artist_user_unlinked' | 'avoid_posting_create' | 'avoid_posting_update' | 'avoid_posting_delete' | 'avoid_posting_undelete' | 'avoid_posting_destroy' | 'blip_delete' | 'blip_hide' | 'blip_unhide' | 'blip_update' | 'comment_delete' | 'comment_hide' | 'comment_unhide' | 'comment_update' | 'forum_category_create' | 'forum_category_delete' | 'forum_category_update' | 'forum_post_delete' | 'forum_post_hide' | 'forum_post_unhide' | 'forum_post_update' | 'forum_topic_delete' | 'forum_topic_hide' | 'forum_topic_unhide' | 'forum_topic_lock' | 'forum_topic_unlock' | 'forum_topic_stick' | 'forum_topic_unstick' | 'forum_topic_update' | 'help_create' | 'help_delete' | 'help_update' | 'ip_ban_create' | 'ip_ban_delete' | 'mascot_create' | 'mascot_update' | 'mascot_delete' | 'pool_delete' | 'report_reason_create' | 'report_reason_delete' | 'report_reason_update' | 'set_update' | 'set_delete' | 'set_change_visibility' | 'tag_alias_create' | 'tag_alias_update' | 'tag_implication_create' | 'tag_implication_update' | 'ticket_claim' | 'ticket_unclaim' | 'ticket_update' | 'upload_whitelist_create' | 'upload_whitelist_update' | 'upload_whitelist_delete' | 'user_blacklist_changed' | 'user_text_change' | 'user_upload_limit_change' | 'user_flags_change' | 'user_level_change' | 'user_name_change' | 'user_delete' | 'user_ban' | 'user_ban_update' | 'user_unban' | 'user_feedback_create' | 'user_feedback_update' | 'user_feedback_delete' | 'user_feedback_undelete' | 'user_feedback_destroy' | 'wiki_page_rename' | 'wiki_page_delete' | 'wiki_page_lock' | 'wiki_page_unlock' | 'mass_update' | 'nuke_tag' | 'takedown_delete' | 'takedown_process' | 'user_flush_favorites' | 'post_version_hide' | 'post_version_unhide' | 'user_uploads_toggle' | 'staff_note_create' | 'staff_note_update' | 'staff_note_delete' | 'staff_note_undelete' | 'search_trend_blacklist_purge' | 'created_positive_record' | 'created_neutral_record' | 'created_negative_record' | 'created_flag_reason' | 'edited_flag_reason' | 'deleted_flag_reason' | 'post_move_favorites' | 'post_delete' | 'post_undelete' | 'post_destroy' | 'post_rating_lock' | 'post_unapprove' | 'post_replacement_accept' | 'post_replacement_reject' | 'post_replacement_delete';
|
|
16
16
|
export type PostEventActions = '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';
|
|
17
17
|
export type Ratings = 's' | 'q' | 'e';
|
|
18
18
|
export type TagCategories = 0 | 1 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
@@ -855,7 +855,7 @@ export type ApiKey = {
|
|
|
855
855
|
key: string;
|
|
856
856
|
name: string;
|
|
857
857
|
last_used_at: string | null;
|
|
858
|
-
last_used_ip_address: string | null;
|
|
858
|
+
last_used_ip_address: string | null | string;
|
|
859
859
|
last_user_agent: string | null;
|
|
860
860
|
expires_at: string | null;
|
|
861
861
|
notified_at: string | null;
|
|
@@ -885,26 +885,59 @@ export type TagCorrection = {
|
|
|
885
885
|
category_cache: TagCategories;
|
|
886
886
|
tag: Tag;
|
|
887
887
|
};
|
|
888
|
+
export type SearchTrend = {
|
|
889
|
+
tag: string;
|
|
890
|
+
count: number;
|
|
891
|
+
day: string;
|
|
892
|
+
};
|
|
893
|
+
export type RisingSearchTrend = {
|
|
894
|
+
tag: string;
|
|
895
|
+
};
|
|
896
|
+
export type SearchTrendBlacklist = {
|
|
897
|
+
id: number;
|
|
898
|
+
tag: string;
|
|
899
|
+
reason: string;
|
|
900
|
+
creator_id: number;
|
|
901
|
+
created_at: string;
|
|
902
|
+
updated_at: string;
|
|
903
|
+
};
|
|
904
|
+
export type MessageErrorResponse = {
|
|
905
|
+
success: boolean;
|
|
906
|
+
message: string;
|
|
907
|
+
code?: string | null;
|
|
908
|
+
};
|
|
909
|
+
export type MessageSuccessResponse = {
|
|
910
|
+
success: true;
|
|
911
|
+
message: string;
|
|
912
|
+
};
|
|
888
913
|
/**
|
|
889
914
|
* Search for a specific id. Multiple can be separated by commas, up to 100.
|
|
890
915
|
*/
|
|
891
|
-
export type
|
|
892
|
-
/**
|
|
893
|
-
* An ID that can be either an integer or a name.
|
|
894
|
-
*/
|
|
895
|
-
export type IdOrName = number | string;
|
|
916
|
+
export type IdQuery = number | string;
|
|
896
917
|
/**
|
|
897
918
|
* The maximum number of results to return. Between 0 and 320.
|
|
898
919
|
*/
|
|
899
|
-
export type
|
|
920
|
+
export type LimitQuery = number;
|
|
900
921
|
/**
|
|
901
922
|
* The page number of results to get. Between 1 and 750.
|
|
902
923
|
*/
|
|
903
|
-
export type
|
|
924
|
+
export type PageQuery = number;
|
|
904
925
|
/**
|
|
905
926
|
* Must be Admin+ to use. See [postgres' documentation](https://www.postgresql.org/docs/9.3/functions-net.html) for information on how this is parsed. Specifically, "is contained within or equals" (`<<=`).
|
|
906
927
|
*/
|
|
907
|
-
export type
|
|
928
|
+
export type IpAddrQuery = string;
|
|
929
|
+
/**
|
|
930
|
+
* The order of the results.
|
|
931
|
+
*/
|
|
932
|
+
export type OrderQuery = 'id_asc' | 'id_desc';
|
|
933
|
+
/**
|
|
934
|
+
* The ID of the item.
|
|
935
|
+
*/
|
|
936
|
+
export type IdPath = number;
|
|
937
|
+
/**
|
|
938
|
+
* An ID that can be either an integer or a name.
|
|
939
|
+
*/
|
|
940
|
+
export type IdOrNamePath = number | string;
|
|
908
941
|
export type Warning = WarningRecordType;
|
|
909
942
|
export type GetApiKeysData = {
|
|
910
943
|
body?: never;
|
|
@@ -984,7 +1017,7 @@ export type DeleteApiKeyData = {
|
|
|
984
1017
|
body?: never;
|
|
985
1018
|
path: {
|
|
986
1019
|
/**
|
|
987
|
-
* The ID of the
|
|
1020
|
+
* The ID of the item.
|
|
988
1021
|
*/
|
|
989
1022
|
id: number;
|
|
990
1023
|
};
|
|
@@ -1018,7 +1051,7 @@ export type RegenerateApiKeyData = {
|
|
|
1018
1051
|
};
|
|
1019
1052
|
path: {
|
|
1020
1053
|
/**
|
|
1021
|
-
* The ID of the
|
|
1054
|
+
* The ID of the item.
|
|
1022
1055
|
*/
|
|
1023
1056
|
id: number;
|
|
1024
1057
|
};
|
|
@@ -1417,6 +1450,9 @@ export type SearchAvoidPostingsData = {
|
|
|
1417
1450
|
* Must be Admin+ to use. See [postgres' documentation](https://www.postgresql.org/docs/9.3/functions-net.html) for information on how this is parsed. Specifically, "is contained within or equals" (`<<=`).
|
|
1418
1451
|
*/
|
|
1419
1452
|
'search[ip_addr]'?: string;
|
|
1453
|
+
/**
|
|
1454
|
+
* The order of the results.
|
|
1455
|
+
*/
|
|
1420
1456
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
1421
1457
|
'search[creator_name]'?: string;
|
|
1422
1458
|
'search[creator_id]'?: string;
|
|
@@ -1776,7 +1812,7 @@ export type GetBanData = {
|
|
|
1776
1812
|
body?: never;
|
|
1777
1813
|
path: {
|
|
1778
1814
|
/**
|
|
1779
|
-
* The ID of the
|
|
1815
|
+
* The ID of the item.
|
|
1780
1816
|
*/
|
|
1781
1817
|
id: number;
|
|
1782
1818
|
};
|
|
@@ -1869,7 +1905,7 @@ export type DeleteBlipData = {
|
|
|
1869
1905
|
body?: never;
|
|
1870
1906
|
path: {
|
|
1871
1907
|
/**
|
|
1872
|
-
* The ID of the
|
|
1908
|
+
* The ID of the item.
|
|
1873
1909
|
*/
|
|
1874
1910
|
id: number;
|
|
1875
1911
|
};
|
|
@@ -1898,7 +1934,7 @@ export type GetBlipData = {
|
|
|
1898
1934
|
body?: never;
|
|
1899
1935
|
path: {
|
|
1900
1936
|
/**
|
|
1901
|
-
* The ID of the
|
|
1937
|
+
* The ID of the item.
|
|
1902
1938
|
*/
|
|
1903
1939
|
id: number;
|
|
1904
1940
|
};
|
|
@@ -1929,7 +1965,7 @@ export type EditBlipData = {
|
|
|
1929
1965
|
};
|
|
1930
1966
|
path: {
|
|
1931
1967
|
/**
|
|
1932
|
-
* The ID of the
|
|
1968
|
+
* The ID of the item.
|
|
1933
1969
|
*/
|
|
1934
1970
|
id: number;
|
|
1935
1971
|
};
|
|
@@ -1964,7 +2000,7 @@ export type HideBlipData = {
|
|
|
1964
2000
|
body?: never;
|
|
1965
2001
|
path: {
|
|
1966
2002
|
/**
|
|
1967
|
-
* The ID of the
|
|
2003
|
+
* The ID of the item.
|
|
1968
2004
|
*/
|
|
1969
2005
|
id: number;
|
|
1970
2006
|
};
|
|
@@ -1993,7 +2029,7 @@ export type UnhideBlipData = {
|
|
|
1993
2029
|
body?: never;
|
|
1994
2030
|
path: {
|
|
1995
2031
|
/**
|
|
1996
|
-
* The ID of the
|
|
2032
|
+
* The ID of the item.
|
|
1997
2033
|
*/
|
|
1998
2034
|
id: number;
|
|
1999
2035
|
};
|
|
@@ -2022,7 +2058,7 @@ export type MarkBlipData = {
|
|
|
2022
2058
|
body?: Warning;
|
|
2023
2059
|
path: {
|
|
2024
2060
|
/**
|
|
2025
|
-
* The ID of the
|
|
2061
|
+
* The ID of the item.
|
|
2026
2062
|
*/
|
|
2027
2063
|
id: number;
|
|
2028
2064
|
};
|
|
@@ -2125,7 +2161,7 @@ export type RejectBulkUpdateRequestData = {
|
|
|
2125
2161
|
body?: never;
|
|
2126
2162
|
path: {
|
|
2127
2163
|
/**
|
|
2128
|
-
* The ID of the
|
|
2164
|
+
* The ID of the item.
|
|
2129
2165
|
*/
|
|
2130
2166
|
id: number;
|
|
2131
2167
|
};
|
|
@@ -2154,7 +2190,7 @@ export type GetBulkUpdateRequestData = {
|
|
|
2154
2190
|
body?: never;
|
|
2155
2191
|
path: {
|
|
2156
2192
|
/**
|
|
2157
|
-
* The ID of the
|
|
2193
|
+
* The ID of the item.
|
|
2158
2194
|
*/
|
|
2159
2195
|
id: number;
|
|
2160
2196
|
};
|
|
@@ -2189,7 +2225,7 @@ export type EditBulkUpdateRequestData = {
|
|
|
2189
2225
|
};
|
|
2190
2226
|
path: {
|
|
2191
2227
|
/**
|
|
2192
|
-
* The ID of the
|
|
2228
|
+
* The ID of the item.
|
|
2193
2229
|
*/
|
|
2194
2230
|
id: number;
|
|
2195
2231
|
};
|
|
@@ -2224,7 +2260,7 @@ export type ApproveBulkUpdateRequestData = {
|
|
|
2224
2260
|
body?: never;
|
|
2225
2261
|
path: {
|
|
2226
2262
|
/**
|
|
2227
|
-
* The ID of the
|
|
2263
|
+
* The ID of the item.
|
|
2228
2264
|
*/
|
|
2229
2265
|
id: number;
|
|
2230
2266
|
};
|
|
@@ -2339,7 +2375,7 @@ export type DeleteCommentData = {
|
|
|
2339
2375
|
body?: never;
|
|
2340
2376
|
path: {
|
|
2341
2377
|
/**
|
|
2342
|
-
* The ID of the
|
|
2378
|
+
* The ID of the item.
|
|
2343
2379
|
*/
|
|
2344
2380
|
id: number;
|
|
2345
2381
|
};
|
|
@@ -2368,7 +2404,7 @@ export type GetCommentData = {
|
|
|
2368
2404
|
body?: never;
|
|
2369
2405
|
path: {
|
|
2370
2406
|
/**
|
|
2371
|
-
* The ID of the
|
|
2407
|
+
* The ID of the item.
|
|
2372
2408
|
*/
|
|
2373
2409
|
id: number;
|
|
2374
2410
|
};
|
|
@@ -2407,7 +2443,7 @@ export type EditCommentData = {
|
|
|
2407
2443
|
};
|
|
2408
2444
|
path: {
|
|
2409
2445
|
/**
|
|
2410
|
-
* The ID of the
|
|
2446
|
+
* The ID of the item.
|
|
2411
2447
|
*/
|
|
2412
2448
|
id: number;
|
|
2413
2449
|
};
|
|
@@ -2442,7 +2478,7 @@ export type HideCommentData = {
|
|
|
2442
2478
|
body?: never;
|
|
2443
2479
|
path: {
|
|
2444
2480
|
/**
|
|
2445
|
-
* The ID of the
|
|
2481
|
+
* The ID of the item.
|
|
2446
2482
|
*/
|
|
2447
2483
|
id: number;
|
|
2448
2484
|
};
|
|
@@ -2471,7 +2507,7 @@ export type UnhideCommentData = {
|
|
|
2471
2507
|
body?: never;
|
|
2472
2508
|
path: {
|
|
2473
2509
|
/**
|
|
2474
|
-
* The ID of the
|
|
2510
|
+
* The ID of the item.
|
|
2475
2511
|
*/
|
|
2476
2512
|
id: number;
|
|
2477
2513
|
};
|
|
@@ -2500,7 +2536,7 @@ export type MarkCommentData = {
|
|
|
2500
2536
|
body?: Warning;
|
|
2501
2537
|
path: {
|
|
2502
2538
|
/**
|
|
2503
|
-
* The ID of the
|
|
2539
|
+
* The ID of the item.
|
|
2504
2540
|
*/
|
|
2505
2541
|
id: number;
|
|
2506
2542
|
};
|
|
@@ -2529,7 +2565,7 @@ export type DeleteCommentVoteData = {
|
|
|
2529
2565
|
body?: never;
|
|
2530
2566
|
path: {
|
|
2531
2567
|
/**
|
|
2532
|
-
* The ID of the
|
|
2568
|
+
* The ID of the item.
|
|
2533
2569
|
*/
|
|
2534
2570
|
id: number;
|
|
2535
2571
|
};
|
|
@@ -2564,7 +2600,7 @@ export type CreateCommentVoteData = {
|
|
|
2564
2600
|
body?: never;
|
|
2565
2601
|
path: {
|
|
2566
2602
|
/**
|
|
2567
|
-
* The ID of the
|
|
2603
|
+
* The ID of the item.
|
|
2568
2604
|
*/
|
|
2569
2605
|
id: number;
|
|
2570
2606
|
};
|
|
@@ -2700,7 +2736,7 @@ export type DeleteDMailData = {
|
|
|
2700
2736
|
body?: never;
|
|
2701
2737
|
path: {
|
|
2702
2738
|
/**
|
|
2703
|
-
* The ID of the
|
|
2739
|
+
* The ID of the item.
|
|
2704
2740
|
*/
|
|
2705
2741
|
id: number;
|
|
2706
2742
|
};
|
|
@@ -2729,7 +2765,7 @@ export type GetDMailData = {
|
|
|
2729
2765
|
body?: never;
|
|
2730
2766
|
path: {
|
|
2731
2767
|
/**
|
|
2732
|
-
* The ID of the
|
|
2768
|
+
* The ID of the item.
|
|
2733
2769
|
*/
|
|
2734
2770
|
id: number;
|
|
2735
2771
|
};
|
|
@@ -2758,7 +2794,7 @@ export type MarkDMailAsReadData = {
|
|
|
2758
2794
|
body?: never;
|
|
2759
2795
|
path: {
|
|
2760
2796
|
/**
|
|
2761
|
-
* The ID of the
|
|
2797
|
+
* The ID of the item.
|
|
2762
2798
|
*/
|
|
2763
2799
|
id: number;
|
|
2764
2800
|
};
|
|
@@ -2787,7 +2823,7 @@ export type MarkDMailAsUnreadData = {
|
|
|
2787
2823
|
body?: never;
|
|
2788
2824
|
path: {
|
|
2789
2825
|
/**
|
|
2790
|
-
* The ID of the
|
|
2826
|
+
* The ID of the item.
|
|
2791
2827
|
*/
|
|
2792
2828
|
id: number;
|
|
2793
2829
|
};
|
|
@@ -2871,6 +2907,9 @@ export type SearchEditHistoriesData = {
|
|
|
2871
2907
|
* Must be Admin+ to use. See [postgres' documentation](https://www.postgresql.org/docs/9.3/functions-net.html) for information on how this is parsed. Specifically, "is contained within or equals" (`<<=`).
|
|
2872
2908
|
*/
|
|
2873
2909
|
'search[ip_addr]'?: string;
|
|
2910
|
+
/**
|
|
2911
|
+
* The order of the results.
|
|
2912
|
+
*/
|
|
2874
2913
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
2875
2914
|
'search[body_matches]'?: string;
|
|
2876
2915
|
'search[subject_matches]'?: string;
|
|
@@ -2899,7 +2938,7 @@ export type GetEditHistoryData = {
|
|
|
2899
2938
|
body?: never;
|
|
2900
2939
|
path: {
|
|
2901
2940
|
/**
|
|
2902
|
-
* The
|
|
2941
|
+
* The ID of the item.
|
|
2903
2942
|
*/
|
|
2904
2943
|
id: number;
|
|
2905
2944
|
};
|
|
@@ -2983,7 +3022,7 @@ export type DeleteEmailBlacklistData = {
|
|
|
2983
3022
|
body?: never;
|
|
2984
3023
|
path: {
|
|
2985
3024
|
/**
|
|
2986
|
-
* The ID of the
|
|
3025
|
+
* The ID of the item.
|
|
2987
3026
|
*/
|
|
2988
3027
|
id: number;
|
|
2989
3028
|
};
|
|
@@ -3085,6 +3124,9 @@ export type AddFavoriteResponse = AddFavoriteResponses[keyof AddFavoriteResponse
|
|
|
3085
3124
|
export type RemoveFavoriteData = {
|
|
3086
3125
|
body?: never;
|
|
3087
3126
|
path: {
|
|
3127
|
+
/**
|
|
3128
|
+
* The ID of the item.
|
|
3129
|
+
*/
|
|
3088
3130
|
id: number;
|
|
3089
3131
|
};
|
|
3090
3132
|
query?: never;
|
|
@@ -3133,6 +3175,9 @@ export type SearchForumPostsData = {
|
|
|
3133
3175
|
* Search for a specific id. Multiple can be separated by commas, up to 100.
|
|
3134
3176
|
*/
|
|
3135
3177
|
'search[id]'?: number | string;
|
|
3178
|
+
/**
|
|
3179
|
+
* The order of the results.
|
|
3180
|
+
*/
|
|
3136
3181
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
3137
3182
|
'search[creator_id]'?: number;
|
|
3138
3183
|
'search[creator_name]'?: string;
|
|
@@ -3184,7 +3229,7 @@ export type DeleteForumPostData = {
|
|
|
3184
3229
|
body?: never;
|
|
3185
3230
|
path: {
|
|
3186
3231
|
/**
|
|
3187
|
-
* The ID of the
|
|
3232
|
+
* The ID of the item.
|
|
3188
3233
|
*/
|
|
3189
3234
|
id: number;
|
|
3190
3235
|
};
|
|
@@ -3213,7 +3258,7 @@ export type GetForumPostData = {
|
|
|
3213
3258
|
body?: never;
|
|
3214
3259
|
path: {
|
|
3215
3260
|
/**
|
|
3216
|
-
* The ID of the
|
|
3261
|
+
* The ID of the item.
|
|
3217
3262
|
*/
|
|
3218
3263
|
id: number;
|
|
3219
3264
|
};
|
|
@@ -3244,7 +3289,7 @@ export type EditForumPostData = {
|
|
|
3244
3289
|
};
|
|
3245
3290
|
path: {
|
|
3246
3291
|
/**
|
|
3247
|
-
* The ID of the
|
|
3292
|
+
* The ID of the item.
|
|
3248
3293
|
*/
|
|
3249
3294
|
id: number;
|
|
3250
3295
|
};
|
|
@@ -3279,7 +3324,7 @@ export type HideForumPostData = {
|
|
|
3279
3324
|
body?: never;
|
|
3280
3325
|
path: {
|
|
3281
3326
|
/**
|
|
3282
|
-
* The ID of the
|
|
3327
|
+
* The ID of the item.
|
|
3283
3328
|
*/
|
|
3284
3329
|
id: number;
|
|
3285
3330
|
};
|
|
@@ -3308,7 +3353,7 @@ export type UnhideForumPostData = {
|
|
|
3308
3353
|
body?: never;
|
|
3309
3354
|
path: {
|
|
3310
3355
|
/**
|
|
3311
|
-
* The ID of the
|
|
3356
|
+
* The ID of the item.
|
|
3312
3357
|
*/
|
|
3313
3358
|
id: number;
|
|
3314
3359
|
};
|
|
@@ -3337,7 +3382,7 @@ export type MarkForumPostData = {
|
|
|
3337
3382
|
body?: Warning;
|
|
3338
3383
|
path: {
|
|
3339
3384
|
/**
|
|
3340
|
-
* The ID of the
|
|
3385
|
+
* The ID of the item.
|
|
3341
3386
|
*/
|
|
3342
3387
|
id: number;
|
|
3343
3388
|
};
|
|
@@ -3366,7 +3411,7 @@ export type DeleteForumPostVoteData = {
|
|
|
3366
3411
|
body?: never;
|
|
3367
3412
|
path: {
|
|
3368
3413
|
/**
|
|
3369
|
-
* The ID of the
|
|
3414
|
+
* The ID of the item.
|
|
3370
3415
|
*/
|
|
3371
3416
|
id: number;
|
|
3372
3417
|
};
|
|
@@ -3403,7 +3448,7 @@ export type CreateForumPostVoteData = {
|
|
|
3403
3448
|
};
|
|
3404
3449
|
path: {
|
|
3405
3450
|
/**
|
|
3406
|
-
* The ID of the
|
|
3451
|
+
* The ID of the item.
|
|
3407
3452
|
*/
|
|
3408
3453
|
id: number;
|
|
3409
3454
|
};
|
|
@@ -3516,7 +3561,7 @@ export type DeleteForumTopicData = {
|
|
|
3516
3561
|
body?: never;
|
|
3517
3562
|
path: {
|
|
3518
3563
|
/**
|
|
3519
|
-
* The ID of the
|
|
3564
|
+
* The ID of the item.
|
|
3520
3565
|
*/
|
|
3521
3566
|
id: number;
|
|
3522
3567
|
};
|
|
@@ -3545,7 +3590,7 @@ export type GetForumTopicData = {
|
|
|
3545
3590
|
body?: never;
|
|
3546
3591
|
path: {
|
|
3547
3592
|
/**
|
|
3548
|
-
* The ID of the
|
|
3593
|
+
* The ID of the item.
|
|
3549
3594
|
*/
|
|
3550
3595
|
id: number;
|
|
3551
3596
|
};
|
|
@@ -3593,7 +3638,7 @@ export type EditForumTopicData = {
|
|
|
3593
3638
|
};
|
|
3594
3639
|
path: {
|
|
3595
3640
|
/**
|
|
3596
|
-
* The ID of the
|
|
3641
|
+
* The ID of the item.
|
|
3597
3642
|
*/
|
|
3598
3643
|
id: number;
|
|
3599
3644
|
};
|
|
@@ -3628,7 +3673,7 @@ export type HideForumTopicData = {
|
|
|
3628
3673
|
body?: never;
|
|
3629
3674
|
path: {
|
|
3630
3675
|
/**
|
|
3631
|
-
* The ID of the
|
|
3676
|
+
* The ID of the item.
|
|
3632
3677
|
*/
|
|
3633
3678
|
id: number;
|
|
3634
3679
|
};
|
|
@@ -3657,7 +3702,7 @@ export type UnhideForumTopicData = {
|
|
|
3657
3702
|
body?: never;
|
|
3658
3703
|
path: {
|
|
3659
3704
|
/**
|
|
3660
|
-
* The ID of the
|
|
3705
|
+
* The ID of the item.
|
|
3661
3706
|
*/
|
|
3662
3707
|
id: number;
|
|
3663
3708
|
};
|
|
@@ -3686,7 +3731,7 @@ export type SubscribeForumTopicData = {
|
|
|
3686
3731
|
body?: never;
|
|
3687
3732
|
path: {
|
|
3688
3733
|
/**
|
|
3689
|
-
* The ID of the
|
|
3734
|
+
* The ID of the item.
|
|
3690
3735
|
*/
|
|
3691
3736
|
id: number;
|
|
3692
3737
|
};
|
|
@@ -3715,7 +3760,7 @@ export type UnsubscribeForumTopicData = {
|
|
|
3715
3760
|
body?: never;
|
|
3716
3761
|
path: {
|
|
3717
3762
|
/**
|
|
3718
|
-
* The ID of the
|
|
3763
|
+
* The ID of the item.
|
|
3719
3764
|
*/
|
|
3720
3765
|
id: number;
|
|
3721
3766
|
};
|
|
@@ -3813,7 +3858,7 @@ export type DeleteHelpPageData = {
|
|
|
3813
3858
|
body?: never;
|
|
3814
3859
|
path: {
|
|
3815
3860
|
/**
|
|
3816
|
-
* The ID of the
|
|
3861
|
+
* The ID of the item.
|
|
3817
3862
|
*/
|
|
3818
3863
|
id: number;
|
|
3819
3864
|
};
|
|
@@ -3842,7 +3887,7 @@ export type GetHelpPageData = {
|
|
|
3842
3887
|
body?: never;
|
|
3843
3888
|
path: {
|
|
3844
3889
|
/**
|
|
3845
|
-
*
|
|
3890
|
+
* An ID that can be either an integer or a name.
|
|
3846
3891
|
*/
|
|
3847
3892
|
id: number | string;
|
|
3848
3893
|
};
|
|
@@ -3879,7 +3924,7 @@ export type EditHelpPageData = {
|
|
|
3879
3924
|
};
|
|
3880
3925
|
path: {
|
|
3881
3926
|
/**
|
|
3882
|
-
* The ID of the
|
|
3927
|
+
* The ID of the item.
|
|
3883
3928
|
*/
|
|
3884
3929
|
id: number;
|
|
3885
3930
|
};
|
|
@@ -3930,6 +3975,9 @@ export type ListIpBansData = {
|
|
|
3930
3975
|
* Must be Admin+ to use. See [postgres' documentation](https://www.postgresql.org/docs/9.3/functions-net.html) for information on how this is parsed. Specifically, "is contained within or equals" (`<<=`).
|
|
3931
3976
|
*/
|
|
3932
3977
|
'search[ip_addr]'?: string;
|
|
3978
|
+
/**
|
|
3979
|
+
* The order of the results.
|
|
3980
|
+
*/
|
|
3933
3981
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
3934
3982
|
'search[banner_id]'?: number;
|
|
3935
3983
|
'search[banner_name]'?: string;
|
|
@@ -3977,7 +4025,7 @@ export type DeleteIpBanData = {
|
|
|
3977
4025
|
body?: never;
|
|
3978
4026
|
path: {
|
|
3979
4027
|
/**
|
|
3980
|
-
* The ID of the
|
|
4028
|
+
* The ID of the item.
|
|
3981
4029
|
*/
|
|
3982
4030
|
id: number;
|
|
3983
4031
|
};
|
|
@@ -4120,7 +4168,7 @@ export type DeleteMascotData = {
|
|
|
4120
4168
|
body?: never;
|
|
4121
4169
|
path: {
|
|
4122
4170
|
/**
|
|
4123
|
-
* The ID of the
|
|
4171
|
+
* The ID of the item.
|
|
4124
4172
|
*/
|
|
4125
4173
|
id: number;
|
|
4126
4174
|
};
|
|
@@ -4161,7 +4209,7 @@ export type EditMascotData = {
|
|
|
4161
4209
|
};
|
|
4162
4210
|
path: {
|
|
4163
4211
|
/**
|
|
4164
|
-
* The ID of the
|
|
4212
|
+
* The ID of the item.
|
|
4165
4213
|
*/
|
|
4166
4214
|
id: number;
|
|
4167
4215
|
};
|
|
@@ -4226,7 +4274,7 @@ export type GetModActionData = {
|
|
|
4226
4274
|
body?: never;
|
|
4227
4275
|
path: {
|
|
4228
4276
|
/**
|
|
4229
|
-
* The ID of the
|
|
4277
|
+
* The ID of the item.
|
|
4230
4278
|
*/
|
|
4231
4279
|
id: number;
|
|
4232
4280
|
};
|
|
@@ -4305,7 +4353,7 @@ export type DeleteNewsUpdateData = {
|
|
|
4305
4353
|
body?: never;
|
|
4306
4354
|
path: {
|
|
4307
4355
|
/**
|
|
4308
|
-
* The ID of the
|
|
4356
|
+
* The ID of the item.
|
|
4309
4357
|
*/
|
|
4310
4358
|
id: number;
|
|
4311
4359
|
};
|
|
@@ -4336,7 +4384,7 @@ export type EditNewsUpdateData = {
|
|
|
4336
4384
|
};
|
|
4337
4385
|
path: {
|
|
4338
4386
|
/**
|
|
4339
|
-
* The ID of the
|
|
4387
|
+
* The ID of the item.
|
|
4340
4388
|
*/
|
|
4341
4389
|
id: number;
|
|
4342
4390
|
};
|
|
@@ -4383,6 +4431,9 @@ export type SearchNotesData = {
|
|
|
4383
4431
|
* Search for a specific id. Multiple can be separated by commas, up to 100.
|
|
4384
4432
|
*/
|
|
4385
4433
|
'search[id]'?: number | string;
|
|
4434
|
+
/**
|
|
4435
|
+
* The order of the results.
|
|
4436
|
+
*/
|
|
4386
4437
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
4387
4438
|
'search[body_matches]'?: string;
|
|
4388
4439
|
'search[is_active]'?: boolean;
|
|
@@ -4448,7 +4499,7 @@ export type DeleteNoteData = {
|
|
|
4448
4499
|
body?: never;
|
|
4449
4500
|
path: {
|
|
4450
4501
|
/**
|
|
4451
|
-
* The ID of the
|
|
4502
|
+
* The ID of the item.
|
|
4452
4503
|
*/
|
|
4453
4504
|
id: number;
|
|
4454
4505
|
};
|
|
@@ -4477,7 +4528,7 @@ export type GetNoteData = {
|
|
|
4477
4528
|
body?: never;
|
|
4478
4529
|
path: {
|
|
4479
4530
|
/**
|
|
4480
|
-
* The ID of the
|
|
4531
|
+
* The ID of the item.
|
|
4481
4532
|
*/
|
|
4482
4533
|
id: number;
|
|
4483
4534
|
};
|
|
@@ -4508,7 +4559,7 @@ export type EditNoteData = {
|
|
|
4508
4559
|
};
|
|
4509
4560
|
path: {
|
|
4510
4561
|
/**
|
|
4511
|
-
* The ID of the
|
|
4562
|
+
* The ID of the item.
|
|
4512
4563
|
*/
|
|
4513
4564
|
id: number;
|
|
4514
4565
|
};
|
|
@@ -4543,7 +4594,7 @@ export type RevertNoteData = {
|
|
|
4543
4594
|
body?: never;
|
|
4544
4595
|
path: {
|
|
4545
4596
|
/**
|
|
4546
|
-
* The ID of the
|
|
4597
|
+
* The ID of the item.
|
|
4547
4598
|
*/
|
|
4548
4599
|
id: number;
|
|
4549
4600
|
};
|
|
@@ -4695,7 +4746,7 @@ export type DeletePoolData = {
|
|
|
4695
4746
|
body?: never;
|
|
4696
4747
|
path: {
|
|
4697
4748
|
/**
|
|
4698
|
-
* The ID of the
|
|
4749
|
+
* The ID of the item.
|
|
4699
4750
|
*/
|
|
4700
4751
|
id: number;
|
|
4701
4752
|
};
|
|
@@ -4724,7 +4775,7 @@ export type GetPoolData = {
|
|
|
4724
4775
|
body?: never;
|
|
4725
4776
|
path: {
|
|
4726
4777
|
/**
|
|
4727
|
-
* The ID of the
|
|
4778
|
+
* The ID of the item.
|
|
4728
4779
|
*/
|
|
4729
4780
|
id: number;
|
|
4730
4781
|
};
|
|
@@ -4762,7 +4813,7 @@ export type EditPoolData = {
|
|
|
4762
4813
|
};
|
|
4763
4814
|
path: {
|
|
4764
4815
|
/**
|
|
4765
|
-
* The ID of the
|
|
4816
|
+
* The ID of the item.
|
|
4766
4817
|
*/
|
|
4767
4818
|
id: number;
|
|
4768
4819
|
};
|
|
@@ -4797,7 +4848,7 @@ export type RevertPoolData = {
|
|
|
4797
4848
|
body?: never;
|
|
4798
4849
|
path: {
|
|
4799
4850
|
/**
|
|
4800
|
-
* The ID of the
|
|
4851
|
+
* The ID of the item.
|
|
4801
4852
|
*/
|
|
4802
4853
|
id: number;
|
|
4803
4854
|
};
|
|
@@ -5039,7 +5090,7 @@ export type GetPostData = {
|
|
|
5039
5090
|
body?: never;
|
|
5040
5091
|
path: {
|
|
5041
5092
|
/**
|
|
5042
|
-
* The ID of the
|
|
5093
|
+
* The ID of the item.
|
|
5043
5094
|
*/
|
|
5044
5095
|
id: number;
|
|
5045
5096
|
};
|
|
@@ -5134,7 +5185,7 @@ export type EditPostData = {
|
|
|
5134
5185
|
};
|
|
5135
5186
|
path: {
|
|
5136
5187
|
/**
|
|
5137
|
-
* The ID of the
|
|
5188
|
+
* The ID of the item.
|
|
5138
5189
|
*/
|
|
5139
5190
|
id: number;
|
|
5140
5191
|
};
|
|
@@ -5169,7 +5220,7 @@ export type UpdatePostIqdbData = {
|
|
|
5169
5220
|
body?: never;
|
|
5170
5221
|
path: {
|
|
5171
5222
|
/**
|
|
5172
|
-
* The ID of the
|
|
5223
|
+
* The ID of the item.
|
|
5173
5224
|
*/
|
|
5174
5225
|
id: number;
|
|
5175
5226
|
};
|
|
@@ -5209,7 +5260,7 @@ export type MarkPostAsTranslatedData = {
|
|
|
5209
5260
|
};
|
|
5210
5261
|
path: {
|
|
5211
5262
|
/**
|
|
5212
|
-
* The ID of the
|
|
5263
|
+
* The ID of the item.
|
|
5213
5264
|
*/
|
|
5214
5265
|
id: number;
|
|
5215
5266
|
};
|
|
@@ -5248,7 +5299,7 @@ export type CopyNotesToPostData = {
|
|
|
5248
5299
|
};
|
|
5249
5300
|
path: {
|
|
5250
5301
|
/**
|
|
5251
|
-
* The ID of the
|
|
5302
|
+
* The ID of the item.
|
|
5252
5303
|
*/
|
|
5253
5304
|
id: number;
|
|
5254
5305
|
};
|
|
@@ -5259,11 +5310,7 @@ export type CopyNotesToPostErrors = {
|
|
|
5259
5310
|
/**
|
|
5260
5311
|
* Error
|
|
5261
5312
|
*/
|
|
5262
|
-
400:
|
|
5263
|
-
success: boolean;
|
|
5264
|
-
message: string;
|
|
5265
|
-
code?: string | null;
|
|
5266
|
-
};
|
|
5313
|
+
400: MessageErrorResponse;
|
|
5267
5314
|
/**
|
|
5268
5315
|
* Access Denied
|
|
5269
5316
|
*/
|
|
@@ -5285,7 +5332,7 @@ export type RevertPostData = {
|
|
|
5285
5332
|
body?: never;
|
|
5286
5333
|
path: {
|
|
5287
5334
|
/**
|
|
5288
|
-
* The ID of the
|
|
5335
|
+
* The ID of the item.
|
|
5289
5336
|
*/
|
|
5290
5337
|
id: number;
|
|
5291
5338
|
};
|
|
@@ -5325,7 +5372,7 @@ export type GetPostInSequenceData = {
|
|
|
5325
5372
|
body?: never;
|
|
5326
5373
|
path: {
|
|
5327
5374
|
/**
|
|
5328
|
-
* The ID of the
|
|
5375
|
+
* The ID of the item.
|
|
5329
5376
|
*/
|
|
5330
5377
|
id: number;
|
|
5331
5378
|
};
|
|
@@ -5372,7 +5419,7 @@ export type UnflagPostData = {
|
|
|
5372
5419
|
};
|
|
5373
5420
|
path: {
|
|
5374
5421
|
/**
|
|
5375
|
-
* The ID of the
|
|
5422
|
+
* The ID of the item.
|
|
5376
5423
|
*/
|
|
5377
5424
|
id: number;
|
|
5378
5425
|
};
|
|
@@ -5401,7 +5448,7 @@ export type ListPostFavoritesData = {
|
|
|
5401
5448
|
body?: never;
|
|
5402
5449
|
path: {
|
|
5403
5450
|
/**
|
|
5404
|
-
* The ID of the
|
|
5451
|
+
* The ID of the item.
|
|
5405
5452
|
*/
|
|
5406
5453
|
id: number;
|
|
5407
5454
|
};
|
|
@@ -5439,7 +5486,7 @@ export type DeletePostVoteData = {
|
|
|
5439
5486
|
body?: never;
|
|
5440
5487
|
path: {
|
|
5441
5488
|
/**
|
|
5442
|
-
* The ID of the
|
|
5489
|
+
* The ID of the item.
|
|
5443
5490
|
*/
|
|
5444
5491
|
id: number;
|
|
5445
5492
|
};
|
|
@@ -5474,7 +5521,7 @@ export type CreatePostVoteData = {
|
|
|
5474
5521
|
body?: never;
|
|
5475
5522
|
path: {
|
|
5476
5523
|
/**
|
|
5477
|
-
* The ID of the
|
|
5524
|
+
* The ID of the item.
|
|
5478
5525
|
*/
|
|
5479
5526
|
id: number;
|
|
5480
5527
|
};
|
|
@@ -5586,7 +5633,7 @@ export type DeletePostSetData = {
|
|
|
5586
5633
|
body?: never;
|
|
5587
5634
|
path: {
|
|
5588
5635
|
/**
|
|
5589
|
-
* The ID of the
|
|
5636
|
+
* The ID of the item.
|
|
5590
5637
|
*/
|
|
5591
5638
|
id: number;
|
|
5592
5639
|
};
|
|
@@ -5615,7 +5662,7 @@ export type GetPostSetData = {
|
|
|
5615
5662
|
body?: never;
|
|
5616
5663
|
path: {
|
|
5617
5664
|
/**
|
|
5618
|
-
* The ID of the
|
|
5665
|
+
* The ID of the item.
|
|
5619
5666
|
*/
|
|
5620
5667
|
id: number;
|
|
5621
5668
|
};
|
|
@@ -5650,7 +5697,7 @@ export type EditPostSetData = {
|
|
|
5650
5697
|
};
|
|
5651
5698
|
path: {
|
|
5652
5699
|
/**
|
|
5653
|
-
* The ID of the
|
|
5700
|
+
* The ID of the item.
|
|
5654
5701
|
*/
|
|
5655
5702
|
id: number;
|
|
5656
5703
|
};
|
|
@@ -5687,7 +5734,7 @@ export type UpdatePostSetPostsData = {
|
|
|
5687
5734
|
};
|
|
5688
5735
|
path: {
|
|
5689
5736
|
/**
|
|
5690
|
-
* The ID of the
|
|
5737
|
+
* The ID of the item.
|
|
5691
5738
|
*/
|
|
5692
5739
|
id: number;
|
|
5693
5740
|
};
|
|
@@ -5727,7 +5774,7 @@ export type AddPostsToPostSetData = {
|
|
|
5727
5774
|
};
|
|
5728
5775
|
path: {
|
|
5729
5776
|
/**
|
|
5730
|
-
* The ID of the
|
|
5777
|
+
* The ID of the item.
|
|
5731
5778
|
*/
|
|
5732
5779
|
id: number;
|
|
5733
5780
|
};
|
|
@@ -5767,7 +5814,7 @@ export type RemovePostsFromPostSetData = {
|
|
|
5767
5814
|
};
|
|
5768
5815
|
path: {
|
|
5769
5816
|
/**
|
|
5770
|
-
* The ID of the
|
|
5817
|
+
* The ID of the item.
|
|
5771
5818
|
*/
|
|
5772
5819
|
id: number;
|
|
5773
5820
|
};
|
|
@@ -5843,6 +5890,9 @@ export type SearchPostApprovalsData = {
|
|
|
5843
5890
|
* Search for a specific id. Multiple can be separated by commas, up to 100.
|
|
5844
5891
|
*/
|
|
5845
5892
|
'search[id]'?: number | string;
|
|
5893
|
+
/**
|
|
5894
|
+
* The order of the results.
|
|
5895
|
+
*/
|
|
5846
5896
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
5847
5897
|
'search[post_tags_match]'?: string;
|
|
5848
5898
|
'search[user_id]'?: number;
|
|
@@ -5874,6 +5924,9 @@ export type SearchPostEventsData = {
|
|
|
5874
5924
|
* Search for a specific id. Multiple can be separated by commas, up to 100.
|
|
5875
5925
|
*/
|
|
5876
5926
|
'search[id]'?: number | string;
|
|
5927
|
+
/**
|
|
5928
|
+
* The order of the results.
|
|
5929
|
+
*/
|
|
5877
5930
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
5878
5931
|
'search[post_id]'?: number;
|
|
5879
5932
|
'search[creator_id]'?: number;
|
|
@@ -5911,6 +5964,9 @@ export type SearchPostFlagsData = {
|
|
|
5911
5964
|
* Must be Admin+ to use. See [postgres' documentation](https://www.postgresql.org/docs/9.3/functions-net.html) for information on how this is parsed. Specifically, "is contained within or equals" (`<<=`).
|
|
5912
5965
|
*/
|
|
5913
5966
|
'search[ip_addr]'?: string;
|
|
5967
|
+
/**
|
|
5968
|
+
* The order of the results.
|
|
5969
|
+
*/
|
|
5914
5970
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
5915
5971
|
'search[reason_matches]'?: string;
|
|
5916
5972
|
'search[creator_id]'?: number;
|
|
@@ -5964,7 +6020,7 @@ export type GetPostFlagData = {
|
|
|
5964
6020
|
body?: never;
|
|
5965
6021
|
path: {
|
|
5966
6022
|
/**
|
|
5967
|
-
* The ID of the
|
|
6023
|
+
* The ID of the item.
|
|
5968
6024
|
*/
|
|
5969
6025
|
id: number;
|
|
5970
6026
|
};
|
|
@@ -5989,7 +6045,7 @@ export type ClearPostFlagNoteData = {
|
|
|
5989
6045
|
body?: never;
|
|
5990
6046
|
path: {
|
|
5991
6047
|
/**
|
|
5992
|
-
* The ID of the
|
|
6048
|
+
* The ID of the item.
|
|
5993
6049
|
*/
|
|
5994
6050
|
id: number;
|
|
5995
6051
|
};
|
|
@@ -6087,11 +6143,7 @@ export type CreatePostReplacementErrors = {
|
|
|
6087
6143
|
/**
|
|
6088
6144
|
* Error
|
|
6089
6145
|
*/
|
|
6090
|
-
412:
|
|
6091
|
-
success: boolean;
|
|
6092
|
-
message: string;
|
|
6093
|
-
code?: string | null;
|
|
6094
|
-
};
|
|
6146
|
+
412: MessageErrorResponse;
|
|
6095
6147
|
/**
|
|
6096
6148
|
* Invalid Input Data
|
|
6097
6149
|
*/
|
|
@@ -6114,7 +6166,7 @@ export type DeletePostReplacementData = {
|
|
|
6114
6166
|
body?: never;
|
|
6115
6167
|
path: {
|
|
6116
6168
|
/**
|
|
6117
|
-
* The ID of the
|
|
6169
|
+
* The ID of the item.
|
|
6118
6170
|
*/
|
|
6119
6171
|
id: number;
|
|
6120
6172
|
};
|
|
@@ -6143,7 +6195,7 @@ export type ApprovePostReplacementData = {
|
|
|
6143
6195
|
body?: never;
|
|
6144
6196
|
path: {
|
|
6145
6197
|
/**
|
|
6146
|
-
* The ID of the
|
|
6198
|
+
* The ID of the item.
|
|
6147
6199
|
*/
|
|
6148
6200
|
id: number;
|
|
6149
6201
|
};
|
|
@@ -6178,7 +6230,7 @@ export type RejectPostReplacementData = {
|
|
|
6178
6230
|
body?: never;
|
|
6179
6231
|
path: {
|
|
6180
6232
|
/**
|
|
6181
|
-
* The ID of the
|
|
6233
|
+
* The ID of the item.
|
|
6182
6234
|
*/
|
|
6183
6235
|
id: number;
|
|
6184
6236
|
};
|
|
@@ -6213,7 +6265,7 @@ export type PromotePostReplacementData = {
|
|
|
6213
6265
|
body?: never;
|
|
6214
6266
|
path: {
|
|
6215
6267
|
/**
|
|
6216
|
-
* The ID of the
|
|
6268
|
+
* The ID of the item.
|
|
6217
6269
|
*/
|
|
6218
6270
|
id: number;
|
|
6219
6271
|
};
|
|
@@ -6250,7 +6302,7 @@ export type TogglePostReplacementPenaltyData = {
|
|
|
6250
6302
|
body?: never;
|
|
6251
6303
|
path: {
|
|
6252
6304
|
/**
|
|
6253
|
-
* The ID of the
|
|
6305
|
+
* The ID of the item.
|
|
6254
6306
|
*/
|
|
6255
6307
|
id: number;
|
|
6256
6308
|
};
|
|
@@ -6330,7 +6382,7 @@ export type HidePostVersionData = {
|
|
|
6330
6382
|
body?: never;
|
|
6331
6383
|
path: {
|
|
6332
6384
|
/**
|
|
6333
|
-
* The ID of the
|
|
6385
|
+
* The ID of the item.
|
|
6334
6386
|
*/
|
|
6335
6387
|
id: number;
|
|
6336
6388
|
};
|
|
@@ -6352,7 +6404,7 @@ export type UnhidePostVersionData = {
|
|
|
6352
6404
|
body?: never;
|
|
6353
6405
|
path: {
|
|
6354
6406
|
/**
|
|
6355
|
-
* The ID of the
|
|
6407
|
+
* The ID of the item.
|
|
6356
6408
|
*/
|
|
6357
6409
|
id: number;
|
|
6358
6410
|
};
|
|
@@ -6374,7 +6426,7 @@ export type UndoPostVersionData = {
|
|
|
6374
6426
|
body?: never;
|
|
6375
6427
|
path: {
|
|
6376
6428
|
/**
|
|
6377
|
-
* The ID of the
|
|
6429
|
+
* The ID of the item.
|
|
6378
6430
|
*/
|
|
6379
6431
|
id: number;
|
|
6380
6432
|
};
|
|
@@ -6497,7 +6549,7 @@ export type DeleteTagData = {
|
|
|
6497
6549
|
body?: never;
|
|
6498
6550
|
path: {
|
|
6499
6551
|
/**
|
|
6500
|
-
* The ID of the
|
|
6552
|
+
* The ID of the item.
|
|
6501
6553
|
*/
|
|
6502
6554
|
id: number;
|
|
6503
6555
|
};
|
|
@@ -6526,7 +6578,7 @@ export type GetTagData = {
|
|
|
6526
6578
|
body?: never;
|
|
6527
6579
|
path: {
|
|
6528
6580
|
/**
|
|
6529
|
-
* The ID
|
|
6581
|
+
* The ID of the item.
|
|
6530
6582
|
*/
|
|
6531
6583
|
id: number;
|
|
6532
6584
|
};
|
|
@@ -6557,7 +6609,7 @@ export type EditTagData = {
|
|
|
6557
6609
|
};
|
|
6558
6610
|
path: {
|
|
6559
6611
|
/**
|
|
6560
|
-
* The ID of the
|
|
6612
|
+
* The ID of the item.
|
|
6561
6613
|
*/
|
|
6562
6614
|
id: number;
|
|
6563
6615
|
};
|
|
@@ -6592,7 +6644,7 @@ export type GetTagCorrectionData = {
|
|
|
6592
6644
|
body?: never;
|
|
6593
6645
|
path: {
|
|
6594
6646
|
/**
|
|
6595
|
-
* The ID of the
|
|
6647
|
+
* The ID of the item.
|
|
6596
6648
|
*/
|
|
6597
6649
|
id: number;
|
|
6598
6650
|
};
|
|
@@ -6622,7 +6674,7 @@ export type CorrectTagData = {
|
|
|
6622
6674
|
};
|
|
6623
6675
|
path: {
|
|
6624
6676
|
/**
|
|
6625
|
-
* The ID of the
|
|
6677
|
+
* The ID of the item.
|
|
6626
6678
|
*/
|
|
6627
6679
|
id: number;
|
|
6628
6680
|
};
|
|
@@ -6735,7 +6787,7 @@ export type RejectTagAliasData = {
|
|
|
6735
6787
|
body?: never;
|
|
6736
6788
|
path: {
|
|
6737
6789
|
/**
|
|
6738
|
-
* The ID of the
|
|
6790
|
+
* The ID of the item.
|
|
6739
6791
|
*/
|
|
6740
6792
|
id: number;
|
|
6741
6793
|
};
|
|
@@ -6764,7 +6816,7 @@ export type GetTagAliasData = {
|
|
|
6764
6816
|
body?: never;
|
|
6765
6817
|
path: {
|
|
6766
6818
|
/**
|
|
6767
|
-
* The ID of the
|
|
6819
|
+
* The ID of the item.
|
|
6768
6820
|
*/
|
|
6769
6821
|
id: number;
|
|
6770
6822
|
};
|
|
@@ -6793,7 +6845,7 @@ export type EditTagAliasData = {
|
|
|
6793
6845
|
};
|
|
6794
6846
|
path: {
|
|
6795
6847
|
/**
|
|
6796
|
-
* The ID of the
|
|
6848
|
+
* The ID of the item.
|
|
6797
6849
|
*/
|
|
6798
6850
|
id: number;
|
|
6799
6851
|
};
|
|
@@ -6828,7 +6880,7 @@ export type ApproveTagAliasData = {
|
|
|
6828
6880
|
body?: never;
|
|
6829
6881
|
path: {
|
|
6830
6882
|
/**
|
|
6831
|
-
* The ID of the
|
|
6883
|
+
* The ID of the item.
|
|
6832
6884
|
*/
|
|
6833
6885
|
id: number;
|
|
6834
6886
|
};
|
|
@@ -6925,7 +6977,7 @@ export type RejectTagImplicationData = {
|
|
|
6925
6977
|
body?: never;
|
|
6926
6978
|
path: {
|
|
6927
6979
|
/**
|
|
6928
|
-
* The ID of the
|
|
6980
|
+
* The ID of the item.
|
|
6929
6981
|
*/
|
|
6930
6982
|
id: number;
|
|
6931
6983
|
};
|
|
@@ -6954,7 +7006,7 @@ export type GetTagImplicationData = {
|
|
|
6954
7006
|
body?: never;
|
|
6955
7007
|
path: {
|
|
6956
7008
|
/**
|
|
6957
|
-
* The ID of the
|
|
7009
|
+
* The ID of the item.
|
|
6958
7010
|
*/
|
|
6959
7011
|
id: number;
|
|
6960
7012
|
};
|
|
@@ -6983,7 +7035,7 @@ export type EditTagImplicationData = {
|
|
|
6983
7035
|
};
|
|
6984
7036
|
path: {
|
|
6985
7037
|
/**
|
|
6986
|
-
* The ID of the
|
|
7038
|
+
* The ID of the item.
|
|
6987
7039
|
*/
|
|
6988
7040
|
id: number;
|
|
6989
7041
|
};
|
|
@@ -7018,7 +7070,7 @@ export type ApproveTagImplicationData = {
|
|
|
7018
7070
|
body?: never;
|
|
7019
7071
|
path: {
|
|
7020
7072
|
/**
|
|
7021
|
-
* The ID of the
|
|
7073
|
+
* The ID of the item.
|
|
7022
7074
|
*/
|
|
7023
7075
|
id: number;
|
|
7024
7076
|
};
|
|
@@ -7097,6 +7149,207 @@ export type ListBulkRelatedTagsResponses = {
|
|
|
7097
7149
|
200: BulkRelatedTag;
|
|
7098
7150
|
};
|
|
7099
7151
|
export type ListBulkRelatedTagsResponse = ListBulkRelatedTagsResponses[keyof ListBulkRelatedTagsResponses];
|
|
7152
|
+
export type ListSearchTrendsData = {
|
|
7153
|
+
body?: never;
|
|
7154
|
+
path?: never;
|
|
7155
|
+
query?: {
|
|
7156
|
+
day?: string;
|
|
7157
|
+
};
|
|
7158
|
+
url: '/search_trends.json';
|
|
7159
|
+
};
|
|
7160
|
+
export type ListSearchTrendsResponses = {
|
|
7161
|
+
/**
|
|
7162
|
+
* Success
|
|
7163
|
+
*/
|
|
7164
|
+
200: Array<SearchTrend>;
|
|
7165
|
+
};
|
|
7166
|
+
export type ListSearchTrendsResponse = ListSearchTrendsResponses[keyof ListSearchTrendsResponses];
|
|
7167
|
+
export type ListRisingSearchTrendsData = {
|
|
7168
|
+
body?: never;
|
|
7169
|
+
path?: never;
|
|
7170
|
+
query?: never;
|
|
7171
|
+
url: '/search_trends/rising.json';
|
|
7172
|
+
};
|
|
7173
|
+
export type ListRisingSearchTrendsResponses = {
|
|
7174
|
+
/**
|
|
7175
|
+
* Success
|
|
7176
|
+
*/
|
|
7177
|
+
200: Array<RisingSearchTrend>;
|
|
7178
|
+
};
|
|
7179
|
+
export type ListRisingSearchTrendsResponse = ListRisingSearchTrendsResponses[keyof ListRisingSearchTrendsResponses];
|
|
7180
|
+
export type ClearSearchTrendsCacheData = {
|
|
7181
|
+
body?: never;
|
|
7182
|
+
path?: never;
|
|
7183
|
+
query?: never;
|
|
7184
|
+
url: '/search_trends/clear_cache.json';
|
|
7185
|
+
};
|
|
7186
|
+
export type ClearSearchTrendsCacheErrors = {
|
|
7187
|
+
/**
|
|
7188
|
+
* Access Denied
|
|
7189
|
+
*/
|
|
7190
|
+
403: AccessDeniedResponse;
|
|
7191
|
+
};
|
|
7192
|
+
export type ClearSearchTrendsCacheError = ClearSearchTrendsCacheErrors[keyof ClearSearchTrendsCacheErrors];
|
|
7193
|
+
export type ClearSearchTrendsCacheResponses = {
|
|
7194
|
+
/**
|
|
7195
|
+
* Success
|
|
7196
|
+
*/
|
|
7197
|
+
200: MessageSuccessResponse;
|
|
7198
|
+
};
|
|
7199
|
+
export type ClearSearchTrendsCacheResponse = ClearSearchTrendsCacheResponses[keyof ClearSearchTrendsCacheResponses];
|
|
7200
|
+
export type UpdateSearchTrendsSettingsData = {
|
|
7201
|
+
body?: {
|
|
7202
|
+
trends_enabled?: boolean;
|
|
7203
|
+
trends_min_today?: number;
|
|
7204
|
+
trends_min_dleta?: number;
|
|
7205
|
+
trends_min_ratio?: number;
|
|
7206
|
+
trends_ip_limit?: number;
|
|
7207
|
+
trends_ip_window?: number;
|
|
7208
|
+
trends_tag_limit?: number;
|
|
7209
|
+
trends_tag_window?: number;
|
|
7210
|
+
};
|
|
7211
|
+
path?: never;
|
|
7212
|
+
query?: never;
|
|
7213
|
+
url: '/search_trends/update_settings.json';
|
|
7214
|
+
};
|
|
7215
|
+
export type UpdateSearchTrendsSettingsErrors = {
|
|
7216
|
+
/**
|
|
7217
|
+
* Access Denied
|
|
7218
|
+
*/
|
|
7219
|
+
403: AccessDeniedResponse;
|
|
7220
|
+
};
|
|
7221
|
+
export type UpdateSearchTrendsSettingsError = UpdateSearchTrendsSettingsErrors[keyof UpdateSearchTrendsSettingsErrors];
|
|
7222
|
+
export type UpdateSearchTrendsSettingsResponses = {
|
|
7223
|
+
/**
|
|
7224
|
+
* Success
|
|
7225
|
+
*/
|
|
7226
|
+
200: MessageSuccessResponse;
|
|
7227
|
+
};
|
|
7228
|
+
export type UpdateSearchTrendsSettingsResponse = UpdateSearchTrendsSettingsResponses[keyof UpdateSearchTrendsSettingsResponses];
|
|
7229
|
+
export type SearchSearchTrendBlacklistsData = {
|
|
7230
|
+
body?: never;
|
|
7231
|
+
path?: never;
|
|
7232
|
+
query?: {
|
|
7233
|
+
/**
|
|
7234
|
+
* The maximum number of results to return. Between 0 and 320.
|
|
7235
|
+
*/
|
|
7236
|
+
limit?: number;
|
|
7237
|
+
/**
|
|
7238
|
+
* The page number of results to get. Between 1 and 750.
|
|
7239
|
+
*/
|
|
7240
|
+
page?: number;
|
|
7241
|
+
/**
|
|
7242
|
+
* The order of the results.
|
|
7243
|
+
*/
|
|
7244
|
+
'search[order]'?: 'id_asc' | 'id_desc';
|
|
7245
|
+
tag?: string;
|
|
7246
|
+
reason?: string;
|
|
7247
|
+
};
|
|
7248
|
+
url: '/search_trend_blacklists.json';
|
|
7249
|
+
};
|
|
7250
|
+
export type SearchSearchTrendBlacklistsErrors = {
|
|
7251
|
+
/**
|
|
7252
|
+
* Access Denied
|
|
7253
|
+
*/
|
|
7254
|
+
403: AccessDeniedResponse;
|
|
7255
|
+
};
|
|
7256
|
+
export type SearchSearchTrendBlacklistsError = SearchSearchTrendBlacklistsErrors[keyof SearchSearchTrendBlacklistsErrors];
|
|
7257
|
+
export type SearchSearchTrendBlacklistsResponses = {
|
|
7258
|
+
/**
|
|
7259
|
+
* Success
|
|
7260
|
+
*/
|
|
7261
|
+
200: Array<SearchTrendBlacklist>;
|
|
7262
|
+
};
|
|
7263
|
+
export type SearchSearchTrendBlacklistsResponse = SearchSearchTrendBlacklistsResponses[keyof SearchSearchTrendBlacklistsResponses];
|
|
7264
|
+
export type CreateSearchTrendBlacklistData = {
|
|
7265
|
+
body?: {
|
|
7266
|
+
tag: string;
|
|
7267
|
+
reason: string;
|
|
7268
|
+
};
|
|
7269
|
+
path?: never;
|
|
7270
|
+
query?: never;
|
|
7271
|
+
url: '/search_trend_blacklists.json';
|
|
7272
|
+
};
|
|
7273
|
+
export type CreateSearchTrendBlacklistErrors = {
|
|
7274
|
+
/**
|
|
7275
|
+
* Access Denied
|
|
7276
|
+
*/
|
|
7277
|
+
403: AccessDeniedResponse;
|
|
7278
|
+
/**
|
|
7279
|
+
* Invalid Input Data
|
|
7280
|
+
*/
|
|
7281
|
+
422: {
|
|
7282
|
+
errors: Array<string>;
|
|
7283
|
+
};
|
|
7284
|
+
};
|
|
7285
|
+
export type CreateSearchTrendBlacklistError = CreateSearchTrendBlacklistErrors[keyof CreateSearchTrendBlacklistErrors];
|
|
7286
|
+
export type CreateSearchTrendBlacklistResponses = {
|
|
7287
|
+
/**
|
|
7288
|
+
* Success
|
|
7289
|
+
*/
|
|
7290
|
+
201: SearchTrendBlacklist;
|
|
7291
|
+
};
|
|
7292
|
+
export type CreateSearchTrendBlacklistResponse = CreateSearchTrendBlacklistResponses[keyof CreateSearchTrendBlacklistResponses];
|
|
7293
|
+
export type DeleteSearchTrendBlacklistData = {
|
|
7294
|
+
body?: never;
|
|
7295
|
+
path: {
|
|
7296
|
+
/**
|
|
7297
|
+
* The ID of the item.
|
|
7298
|
+
*/
|
|
7299
|
+
id: number;
|
|
7300
|
+
};
|
|
7301
|
+
query?: never;
|
|
7302
|
+
url: '/search_trend_blacklists/{id}.json';
|
|
7303
|
+
};
|
|
7304
|
+
export type DeleteSearchTrendBlacklistErrors = {
|
|
7305
|
+
/**
|
|
7306
|
+
* Access Denied
|
|
7307
|
+
*/
|
|
7308
|
+
403: AccessDeniedResponse;
|
|
7309
|
+
/**
|
|
7310
|
+
* Not Found
|
|
7311
|
+
*/
|
|
7312
|
+
404: NotFoundResponse;
|
|
7313
|
+
};
|
|
7314
|
+
export type DeleteSearchTrendBlacklistError = DeleteSearchTrendBlacklistErrors[keyof DeleteSearchTrendBlacklistErrors];
|
|
7315
|
+
export type DeleteSearchTrendBlacklistResponses = {
|
|
7316
|
+
/**
|
|
7317
|
+
* Success
|
|
7318
|
+
*/
|
|
7319
|
+
204: void;
|
|
7320
|
+
};
|
|
7321
|
+
export type DeleteSearchTrendBlacklistResponse = DeleteSearchTrendBlacklistResponses[keyof DeleteSearchTrendBlacklistResponses];
|
|
7322
|
+
export type PurgeSearchTrendBlacklistData = {
|
|
7323
|
+
body?: never;
|
|
7324
|
+
path: {
|
|
7325
|
+
/**
|
|
7326
|
+
* The ID of the item.
|
|
7327
|
+
*/
|
|
7328
|
+
id: number;
|
|
7329
|
+
};
|
|
7330
|
+
query?: never;
|
|
7331
|
+
url: '/search_trend_blacklists/{id}/purge.json';
|
|
7332
|
+
};
|
|
7333
|
+
export type PurgeSearchTrendBlacklistErrors = {
|
|
7334
|
+
/**
|
|
7335
|
+
* Access Denied
|
|
7336
|
+
*/
|
|
7337
|
+
403: AccessDeniedResponse;
|
|
7338
|
+
/**
|
|
7339
|
+
* Not Found
|
|
7340
|
+
*/
|
|
7341
|
+
404: NotFoundResponse;
|
|
7342
|
+
};
|
|
7343
|
+
export type PurgeSearchTrendBlacklistError = PurgeSearchTrendBlacklistErrors[keyof PurgeSearchTrendBlacklistErrors];
|
|
7344
|
+
export type PurgeSearchTrendBlacklistResponses = {
|
|
7345
|
+
/**
|
|
7346
|
+
* Success
|
|
7347
|
+
*/
|
|
7348
|
+
200: {
|
|
7349
|
+
deleted_count: number;
|
|
7350
|
+
};
|
|
7351
|
+
};
|
|
7352
|
+
export type PurgeSearchTrendBlacklistResponse = PurgeSearchTrendBlacklistResponses[keyof PurgeSearchTrendBlacklistResponses];
|
|
7100
7353
|
export type LoginData = {
|
|
7101
7354
|
body?: {
|
|
7102
7355
|
/**
|
|
@@ -7141,6 +7394,9 @@ export type SearchStaffNotesData = {
|
|
|
7141
7394
|
* Search for a specific id. Multiple can be separated by commas, up to 100.
|
|
7142
7395
|
*/
|
|
7143
7396
|
'search[id]'?: number | string;
|
|
7397
|
+
/**
|
|
7398
|
+
* The order of the results.
|
|
7399
|
+
*/
|
|
7144
7400
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
7145
7401
|
'search[creator_id]'?: number;
|
|
7146
7402
|
'search[creator_name]'?: string;
|
|
@@ -7197,7 +7453,7 @@ export type GetStaffNoteData = {
|
|
|
7197
7453
|
body?: never;
|
|
7198
7454
|
path: {
|
|
7199
7455
|
/**
|
|
7200
|
-
* The ID of the
|
|
7456
|
+
* The ID of the item.
|
|
7201
7457
|
*/
|
|
7202
7458
|
id: number;
|
|
7203
7459
|
};
|
|
@@ -7228,7 +7484,7 @@ export type EditStaffNoteData = {
|
|
|
7228
7484
|
};
|
|
7229
7485
|
path: {
|
|
7230
7486
|
/**
|
|
7231
|
-
* The ID of the
|
|
7487
|
+
* The ID of the item.
|
|
7232
7488
|
*/
|
|
7233
7489
|
id: number;
|
|
7234
7490
|
};
|
|
@@ -7263,7 +7519,7 @@ export type DeleteStaffNoteData = {
|
|
|
7263
7519
|
body?: never;
|
|
7264
7520
|
path: {
|
|
7265
7521
|
/**
|
|
7266
|
-
* The ID of the
|
|
7522
|
+
* The ID of the item.
|
|
7267
7523
|
*/
|
|
7268
7524
|
id: number;
|
|
7269
7525
|
};
|
|
@@ -7292,7 +7548,7 @@ export type UndeleteStaffNoteData = {
|
|
|
7292
7548
|
body?: never;
|
|
7293
7549
|
path: {
|
|
7294
7550
|
/**
|
|
7295
|
-
* The ID of the
|
|
7551
|
+
* The ID of the item.
|
|
7296
7552
|
*/
|
|
7297
7553
|
id: number;
|
|
7298
7554
|
};
|
|
@@ -7450,7 +7706,7 @@ export type DeleteTakedownData = {
|
|
|
7450
7706
|
body?: never;
|
|
7451
7707
|
path: {
|
|
7452
7708
|
/**
|
|
7453
|
-
* The ID of the
|
|
7709
|
+
* The ID of the item.
|
|
7454
7710
|
*/
|
|
7455
7711
|
id: number;
|
|
7456
7712
|
};
|
|
@@ -7479,7 +7735,7 @@ export type GetTakedownData = {
|
|
|
7479
7735
|
body?: never;
|
|
7480
7736
|
path: {
|
|
7481
7737
|
/**
|
|
7482
|
-
* The ID of the
|
|
7738
|
+
* The ID of the item.
|
|
7483
7739
|
*/
|
|
7484
7740
|
id: number;
|
|
7485
7741
|
};
|
|
@@ -7513,7 +7769,7 @@ export type EditTakedownData = {
|
|
|
7513
7769
|
};
|
|
7514
7770
|
path: {
|
|
7515
7771
|
/**
|
|
7516
|
-
* The ID of the
|
|
7772
|
+
* The ID of the item.
|
|
7517
7773
|
*/
|
|
7518
7774
|
id: number;
|
|
7519
7775
|
};
|
|
@@ -7550,7 +7806,7 @@ export type AddPostsToTakedownByIdsData = {
|
|
|
7550
7806
|
};
|
|
7551
7807
|
path: {
|
|
7552
7808
|
/**
|
|
7553
|
-
* The ID of the
|
|
7809
|
+
* The ID of the item.
|
|
7554
7810
|
*/
|
|
7555
7811
|
id: number;
|
|
7556
7812
|
};
|
|
@@ -7584,7 +7840,7 @@ export type AddPostsToTakedownByTagsData = {
|
|
|
7584
7840
|
};
|
|
7585
7841
|
path: {
|
|
7586
7842
|
/**
|
|
7587
|
-
* The ID of the
|
|
7843
|
+
* The ID of the item.
|
|
7588
7844
|
*/
|
|
7589
7845
|
id: number;
|
|
7590
7846
|
};
|
|
@@ -7618,7 +7874,7 @@ export type CountMatchingPostsData = {
|
|
|
7618
7874
|
};
|
|
7619
7875
|
path: {
|
|
7620
7876
|
/**
|
|
7621
|
-
* The ID of the
|
|
7877
|
+
* The ID of the item.
|
|
7622
7878
|
*/
|
|
7623
7879
|
id: number;
|
|
7624
7880
|
};
|
|
@@ -7651,7 +7907,7 @@ export type RemovePostsFromTakedownByIdsData = {
|
|
|
7651
7907
|
};
|
|
7652
7908
|
path: {
|
|
7653
7909
|
/**
|
|
7654
|
-
* The ID of the
|
|
7910
|
+
* The ID of the item.
|
|
7655
7911
|
*/
|
|
7656
7912
|
id: number;
|
|
7657
7913
|
};
|
|
@@ -7747,7 +8003,7 @@ export type GetTicketData = {
|
|
|
7747
8003
|
body?: never;
|
|
7748
8004
|
path: {
|
|
7749
8005
|
/**
|
|
7750
|
-
* The ID of the
|
|
8006
|
+
* The ID of the item.
|
|
7751
8007
|
*/
|
|
7752
8008
|
id: number;
|
|
7753
8009
|
};
|
|
@@ -7784,7 +8040,7 @@ export type EditTicketData = {
|
|
|
7784
8040
|
};
|
|
7785
8041
|
path: {
|
|
7786
8042
|
/**
|
|
7787
|
-
* The ID of the
|
|
8043
|
+
* The ID of the item.
|
|
7788
8044
|
*/
|
|
7789
8045
|
id: number;
|
|
7790
8046
|
};
|
|
@@ -7813,7 +8069,7 @@ export type ClaimTicketData = {
|
|
|
7813
8069
|
body?: never;
|
|
7814
8070
|
path: {
|
|
7815
8071
|
/**
|
|
7816
|
-
* The ID of the
|
|
8072
|
+
* The ID of the item.
|
|
7817
8073
|
*/
|
|
7818
8074
|
id: number;
|
|
7819
8075
|
};
|
|
@@ -7842,7 +8098,7 @@ export type UnclaimTicketData = {
|
|
|
7842
8098
|
body?: never;
|
|
7843
8099
|
path: {
|
|
7844
8100
|
/**
|
|
7845
|
-
* The ID of the
|
|
8101
|
+
* The ID of the item.
|
|
7846
8102
|
*/
|
|
7847
8103
|
id: number;
|
|
7848
8104
|
};
|
|
@@ -7883,6 +8139,9 @@ export type SearchUploadsData = {
|
|
|
7883
8139
|
* Search for a specific id. Multiple can be separated by commas, up to 100.
|
|
7884
8140
|
*/
|
|
7885
8141
|
'search[id]'?: number | string;
|
|
8142
|
+
/**
|
|
8143
|
+
* The order of the results.
|
|
8144
|
+
*/
|
|
7886
8145
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
7887
8146
|
'search[uploader_id]'?: number;
|
|
7888
8147
|
'search[uploader_name]'?: string;
|
|
@@ -7950,11 +8209,7 @@ export type UploadPostErrors = {
|
|
|
7950
8209
|
/**
|
|
7951
8210
|
* Error
|
|
7952
8211
|
*/
|
|
7953
|
-
412:
|
|
7954
|
-
success: boolean;
|
|
7955
|
-
message: string;
|
|
7956
|
-
code?: string | null;
|
|
7957
|
-
};
|
|
8212
|
+
412: MessageErrorResponse;
|
|
7958
8213
|
};
|
|
7959
8214
|
export type UploadPostError = UploadPostErrors[keyof UploadPostErrors];
|
|
7960
8215
|
export type UploadPostResponses = {
|
|
@@ -7972,7 +8227,7 @@ export type GetUploadData = {
|
|
|
7972
8227
|
body?: never;
|
|
7973
8228
|
path: {
|
|
7974
8229
|
/**
|
|
7975
|
-
* The ID of the
|
|
8230
|
+
* The ID of the item.
|
|
7976
8231
|
*/
|
|
7977
8232
|
id: number;
|
|
7978
8233
|
};
|
|
@@ -8065,7 +8320,7 @@ export type DeleteUploadWhitelistData = {
|
|
|
8065
8320
|
body?: never;
|
|
8066
8321
|
path: {
|
|
8067
8322
|
/**
|
|
8068
|
-
* The ID of the
|
|
8323
|
+
* The ID of the item.
|
|
8069
8324
|
*/
|
|
8070
8325
|
id: number;
|
|
8071
8326
|
};
|
|
@@ -8100,7 +8355,7 @@ export type EditUploadWhitelistData = {
|
|
|
8100
8355
|
};
|
|
8101
8356
|
path: {
|
|
8102
8357
|
/**
|
|
8103
|
-
* The ID of the
|
|
8358
|
+
* The ID of the item.
|
|
8104
8359
|
*/
|
|
8105
8360
|
id: number;
|
|
8106
8361
|
};
|
|
@@ -8496,7 +8751,7 @@ export type AuditUserDMailData = {
|
|
|
8496
8751
|
*/
|
|
8497
8752
|
user_id: number;
|
|
8498
8753
|
/**
|
|
8499
|
-
* The ID of the
|
|
8754
|
+
* The ID of the item.
|
|
8500
8755
|
*/
|
|
8501
8756
|
id: number;
|
|
8502
8757
|
};
|
|
@@ -8577,6 +8832,9 @@ export type SearchUserFeedbacksData = {
|
|
|
8577
8832
|
* Search for a specific id. Multiple can be separated by commas, up to 100.
|
|
8578
8833
|
*/
|
|
8579
8834
|
'search[id]'?: number | string;
|
|
8835
|
+
/**
|
|
8836
|
+
* The order of the results.
|
|
8837
|
+
*/
|
|
8580
8838
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
8581
8839
|
/**
|
|
8582
8840
|
* You must be Janitor+.
|
|
@@ -8633,7 +8891,7 @@ export type DestroyUserFeedbackData = {
|
|
|
8633
8891
|
body?: never;
|
|
8634
8892
|
path: {
|
|
8635
8893
|
/**
|
|
8636
|
-
* The ID of the
|
|
8894
|
+
* The ID of the item.
|
|
8637
8895
|
*/
|
|
8638
8896
|
id: number;
|
|
8639
8897
|
};
|
|
@@ -8662,7 +8920,7 @@ export type GetUserFeedbackData = {
|
|
|
8662
8920
|
body?: never;
|
|
8663
8921
|
path: {
|
|
8664
8922
|
/**
|
|
8665
|
-
* The ID of the
|
|
8923
|
+
* The ID of the item.
|
|
8666
8924
|
*/
|
|
8667
8925
|
id: number;
|
|
8668
8926
|
};
|
|
@@ -8694,7 +8952,7 @@ export type EditUserFeedbackData = {
|
|
|
8694
8952
|
};
|
|
8695
8953
|
path: {
|
|
8696
8954
|
/**
|
|
8697
|
-
* The ID of the
|
|
8955
|
+
* The ID of the item.
|
|
8698
8956
|
*/
|
|
8699
8957
|
id: number;
|
|
8700
8958
|
};
|
|
@@ -8729,7 +8987,7 @@ export type DeleteUserFeedbackData = {
|
|
|
8729
8987
|
body?: never;
|
|
8730
8988
|
path: {
|
|
8731
8989
|
/**
|
|
8732
|
-
* The ID of the
|
|
8990
|
+
* The ID of the item.
|
|
8733
8991
|
*/
|
|
8734
8992
|
id: number;
|
|
8735
8993
|
};
|
|
@@ -8758,7 +9016,7 @@ export type UndeleteUserFeedbackData = {
|
|
|
8758
9016
|
body?: never;
|
|
8759
9017
|
path: {
|
|
8760
9018
|
/**
|
|
8761
|
-
* The ID of the
|
|
9019
|
+
* The ID of the item.
|
|
8762
9020
|
*/
|
|
8763
9021
|
id: number;
|
|
8764
9022
|
};
|
|
@@ -8799,6 +9057,9 @@ export type SearchUserNameChangeRequestsData = {
|
|
|
8799
9057
|
* Search for a specific id. Multiple can be separated by commas, up to 100.
|
|
8800
9058
|
*/
|
|
8801
9059
|
'search[id]'?: number | string;
|
|
9060
|
+
/**
|
|
9061
|
+
* The order of the results.
|
|
9062
|
+
*/
|
|
8802
9063
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
8803
9064
|
'search[current_id]'?: number;
|
|
8804
9065
|
'search[current_name]'?: string;
|
|
@@ -8840,7 +9101,7 @@ export type DeleteUserNameChangeRequestData = {
|
|
|
8840
9101
|
body?: never;
|
|
8841
9102
|
path: {
|
|
8842
9103
|
/**
|
|
8843
|
-
* The ID of the
|
|
9104
|
+
* The ID of the item.
|
|
8844
9105
|
*/
|
|
8845
9106
|
id: number;
|
|
8846
9107
|
};
|
|
@@ -8858,7 +9119,7 @@ export type GetUserNameChangeRequestData = {
|
|
|
8858
9119
|
body?: never;
|
|
8859
9120
|
path: {
|
|
8860
9121
|
/**
|
|
8861
|
-
* The ID of the
|
|
9122
|
+
* The ID of the item.
|
|
8862
9123
|
*/
|
|
8863
9124
|
id: number;
|
|
8864
9125
|
};
|
|
@@ -8970,7 +9231,7 @@ export type DeleteWikiPageData = {
|
|
|
8970
9231
|
body?: never;
|
|
8971
9232
|
path: {
|
|
8972
9233
|
/**
|
|
8973
|
-
* The ID of the
|
|
9234
|
+
* The ID of the item.
|
|
8974
9235
|
*/
|
|
8975
9236
|
id: number;
|
|
8976
9237
|
};
|
|
@@ -8999,9 +9260,9 @@ export type GetWikiPageData = {
|
|
|
8999
9260
|
body?: never;
|
|
9000
9261
|
path: {
|
|
9001
9262
|
/**
|
|
9002
|
-
*
|
|
9263
|
+
* An ID that can be either an integer or a name.
|
|
9003
9264
|
*/
|
|
9004
|
-
id: number;
|
|
9265
|
+
id: number | string;
|
|
9005
9266
|
};
|
|
9006
9267
|
query?: never;
|
|
9007
9268
|
url: '/wiki_pages/{id}.json';
|
|
@@ -9052,7 +9313,7 @@ export type EditWikiPageData = {
|
|
|
9052
9313
|
};
|
|
9053
9314
|
path: {
|
|
9054
9315
|
/**
|
|
9055
|
-
* The ID of the
|
|
9316
|
+
* The ID of the item.
|
|
9056
9317
|
*/
|
|
9057
9318
|
id: number;
|
|
9058
9319
|
};
|
|
@@ -9087,7 +9348,7 @@ export type RevertWikiPageData = {
|
|
|
9087
9348
|
body?: never;
|
|
9088
9349
|
path: {
|
|
9089
9350
|
/**
|
|
9090
|
-
* The ID of the
|
|
9351
|
+
* The ID of the item.
|
|
9091
9352
|
*/
|
|
9092
9353
|
id: number;
|
|
9093
9354
|
};
|
|
@@ -9143,6 +9404,9 @@ export type SearchWikiPageVersionsData = {
|
|
|
9143
9404
|
* Must be Admin+ to use. See [postgres' documentation](https://www.postgresql.org/docs/9.3/functions-net.html) for information on how this is parsed. Specifically, "is contained within or equals" (`<<=`).
|
|
9144
9405
|
*/
|
|
9145
9406
|
'search[ip_addr]'?: string;
|
|
9407
|
+
/**
|
|
9408
|
+
* The order of the results.
|
|
9409
|
+
*/
|
|
9146
9410
|
'search[order]'?: 'id_asc' | 'id_desc';
|
|
9147
9411
|
'search[updater_id]'?: number;
|
|
9148
9412
|
'search[updater_name]'?: string;
|
|
@@ -9165,7 +9429,7 @@ export type GetWikiPageVersionData = {
|
|
|
9165
9429
|
body?: never;
|
|
9166
9430
|
path: {
|
|
9167
9431
|
/**
|
|
9168
|
-
* The ID of the
|
|
9432
|
+
* The ID of the item.
|
|
9169
9433
|
*/
|
|
9170
9434
|
id: number;
|
|
9171
9435
|
};
|
|
@@ -9230,7 +9494,7 @@ export type AdminEditUserData = {
|
|
|
9230
9494
|
};
|
|
9231
9495
|
path: {
|
|
9232
9496
|
/**
|
|
9233
|
-
* The ID of the
|
|
9497
|
+
* The ID of the item.
|
|
9234
9498
|
*/
|
|
9235
9499
|
id: number;
|
|
9236
9500
|
};
|
|
@@ -9241,11 +9505,7 @@ export type AdminEditUserErrors = {
|
|
|
9241
9505
|
/**
|
|
9242
9506
|
* Error
|
|
9243
9507
|
*/
|
|
9244
|
-
400:
|
|
9245
|
-
success: boolean;
|
|
9246
|
-
message: string;
|
|
9247
|
-
code?: string | null;
|
|
9248
|
-
};
|
|
9508
|
+
400: MessageErrorResponse;
|
|
9249
9509
|
/**
|
|
9250
9510
|
* Access Denied
|
|
9251
9511
|
*/
|
|
@@ -9273,7 +9533,7 @@ export type AdminAnonymizeUserData = {
|
|
|
9273
9533
|
body?: never;
|
|
9274
9534
|
path: {
|
|
9275
9535
|
/**
|
|
9276
|
-
* The ID of the
|
|
9536
|
+
* The ID of the item.
|
|
9277
9537
|
*/
|
|
9278
9538
|
id: number;
|
|
9279
9539
|
};
|
|
@@ -9312,7 +9572,7 @@ export type DeletePostData = {
|
|
|
9312
9572
|
};
|
|
9313
9573
|
path: {
|
|
9314
9574
|
/**
|
|
9315
|
-
* The ID of the
|
|
9575
|
+
* The ID of the item.
|
|
9316
9576
|
*/
|
|
9317
9577
|
id: number;
|
|
9318
9578
|
};
|
|
@@ -9340,7 +9600,7 @@ export type UndeletePostData = {
|
|
|
9340
9600
|
body?: never;
|
|
9341
9601
|
path: {
|
|
9342
9602
|
/**
|
|
9343
|
-
* The ID of the
|
|
9603
|
+
* The ID of the item.
|
|
9344
9604
|
*/
|
|
9345
9605
|
id: number;
|
|
9346
9606
|
};
|
|
@@ -9377,7 +9637,7 @@ export type RegeneratePostThumbnailsData = {
|
|
|
9377
9637
|
body?: never;
|
|
9378
9638
|
path: {
|
|
9379
9639
|
/**
|
|
9380
|
-
* The ID of the
|
|
9640
|
+
* The ID of the item.
|
|
9381
9641
|
*/
|
|
9382
9642
|
id: number;
|
|
9383
9643
|
};
|
|
@@ -9414,7 +9674,7 @@ export type RegeneratePostVideosData = {
|
|
|
9414
9674
|
body?: never;
|
|
9415
9675
|
path: {
|
|
9416
9676
|
/**
|
|
9417
|
-
* The ID of the
|
|
9677
|
+
* The ID of the item.
|
|
9418
9678
|
*/
|
|
9419
9679
|
id: number;
|
|
9420
9680
|
};
|
|
@@ -9451,7 +9711,7 @@ export type ExpungePostData = {
|
|
|
9451
9711
|
};
|
|
9452
9712
|
path: {
|
|
9453
9713
|
/**
|
|
9454
|
-
* The ID of the
|
|
9714
|
+
* The ID of the item.
|
|
9455
9715
|
*/
|
|
9456
9716
|
id: number;
|
|
9457
9717
|
};
|
|
@@ -9493,7 +9753,7 @@ export type MovePostFavoritesData = {
|
|
|
9493
9753
|
};
|
|
9494
9754
|
path: {
|
|
9495
9755
|
/**
|
|
9496
|
-
* The ID of the
|
|
9756
|
+
* The ID of the item.
|
|
9497
9757
|
*/
|
|
9498
9758
|
id: number;
|
|
9499
9759
|
};
|
|
@@ -9515,7 +9775,7 @@ export type AiCheckPostData = {
|
|
|
9515
9775
|
body?: never;
|
|
9516
9776
|
path: {
|
|
9517
9777
|
/**
|
|
9518
|
-
* The ID of the
|
|
9778
|
+
* The ID of the item.
|
|
9519
9779
|
*/
|
|
9520
9780
|
id: number;
|
|
9521
9781
|
};
|