e621 3.0.3 → 3.2.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.
- package/README.md +52 -0
- package/dist/browser/e621.d.ts +2 -0
- package/dist/browser/e621.js +19289 -0
- package/dist/browser/e621.js.map +7 -0
- package/dist/lib/Debug.browser.d.ts +6 -0
- package/dist/lib/Debug.browser.js +8 -0
- package/dist/lib/client.d.ts +59 -0
- package/dist/lib/client.js +72 -0
- package/dist/lib/errors.d.ts +3 -3
- package/dist/lib/errors.js +6 -2
- package/dist/lib/generated/client/client.js +105 -124
- package/dist/lib/generated/client/types.d.ts +6 -3
- package/dist/lib/generated/client/utils.d.ts +7 -3
- package/dist/lib/generated/client/utils.js +4 -4
- package/dist/lib/generated/core/params.js +5 -5
- package/dist/lib/generated/core/serverSentEvents.d.ts +1 -1
- package/dist/lib/generated/core/serverSentEvents.js +4 -5
- package/dist/lib/generated/schemas.d.ts +1192 -219
- package/dist/lib/generated/schemas.js +1780 -483
- package/dist/lib/generated/sdk.d.ts +612 -380
- package/dist/lib/generated/sdk.js +895 -546
- package/dist/lib/generated/types.d.ts +6241 -4549
- package/dist/lib/index.d.ts +2 -43
- package/dist/lib/index.js +5 -61
- package/dist/lib/models/Appeal.d.ts +48 -0
- package/dist/lib/models/Appeal.js +74 -0
- package/dist/lib/models/Artist.d.ts +15 -18
- package/dist/lib/models/Artist.js +24 -27
- package/dist/lib/models/AvoidPosting.d.ts +11 -15
- package/dist/lib/models/AvoidPosting.js +21 -25
- package/dist/lib/models/Base.browser.d.ts +14 -0
- package/dist/lib/models/Base.browser.js +22 -0
- package/dist/lib/models/BasicPost.d.ts +14 -0
- package/dist/lib/models/BasicPost.js +17 -0
- package/dist/lib/models/Blip.d.ts +19 -24
- package/dist/lib/models/Blip.js +30 -35
- package/dist/lib/models/BulkUpdateRequest.d.ts +9 -12
- package/dist/lib/models/BulkUpdateRequest.js +18 -21
- package/dist/lib/models/Comment.d.ts +25 -32
- package/dist/lib/models/Comment.js +39 -46
- package/dist/lib/models/CommentVote.d.ts +47 -0
- package/dist/lib/models/CommentVote.js +74 -0
- package/dist/lib/models/CurrentUser.d.ts +33 -1
- package/dist/lib/models/CurrentUser.js +54 -3
- package/dist/lib/models/DMail.d.ts +15 -9
- package/dist/lib/models/DMail.js +27 -13
- package/dist/lib/models/DbExport.d.ts +14 -0
- package/dist/lib/models/DbExport.js +17 -0
- package/dist/lib/models/EmailBlacklist.d.ts +2 -3
- package/dist/lib/models/EmailBlacklist.js +4 -5
- package/dist/lib/models/ExceptionLog.d.ts +14 -0
- package/dist/lib/models/ExceptionLog.js +17 -0
- package/dist/lib/models/ExtendedPost.d.ts +14 -0
- package/dist/lib/models/ExtendedPost.js +17 -0
- package/dist/lib/models/ForumPost.d.ts +37 -34
- package/dist/lib/models/ForumPost.js +57 -47
- package/dist/lib/models/ForumPostVote.d.ts +2 -3
- package/dist/lib/models/ForumPostVote.js +5 -6
- package/dist/lib/models/ForumTopic.d.ts +20 -26
- package/dist/lib/models/ForumTopic.js +33 -39
- package/dist/lib/models/HelpPage.d.ts +37 -0
- package/dist/lib/models/HelpPage.js +55 -0
- package/dist/lib/models/IpBan.d.ts +2 -3
- package/dist/lib/models/IpBan.js +4 -5
- package/dist/lib/models/Mascot.d.ts +6 -8
- package/dist/lib/models/Mascot.js +10 -12
- package/dist/lib/models/MinimalUser.d.ts +14 -0
- package/dist/lib/models/MinimalUser.js +17 -0
- package/dist/lib/models/NewsUpdate.d.ts +6 -8
- package/dist/lib/models/NewsUpdate.js +10 -12
- package/dist/lib/models/Note.d.ts +9 -12
- package/dist/lib/models/Note.js +18 -21
- package/dist/lib/models/NoteVersion.d.ts +2 -3
- package/dist/lib/models/NoteVersion.js +4 -5
- package/dist/lib/models/Pool.d.ts +15 -20
- package/dist/lib/models/Pool.js +28 -33
- package/dist/lib/models/PoolVersion.d.ts +2 -3
- package/dist/lib/models/PoolVersion.js +4 -5
- package/dist/lib/models/Post.d.ts +5 -174
- package/dist/lib/models/Post.js +8 -294
- package/dist/lib/models/PostApproval.d.ts +2 -3
- package/dist/lib/models/PostApproval.js +4 -5
- package/dist/lib/models/PostFlag.d.ts +4 -6
- package/dist/lib/models/PostFlag.js +8 -10
- package/dist/lib/models/PostReplacement.d.ts +10 -15
- package/dist/lib/models/PostReplacement.js +16 -21
- package/dist/lib/models/PostSet.d.ts +15 -20
- package/dist/lib/models/PostSet.js +26 -31
- package/dist/lib/models/PostVersion.d.ts +8 -12
- package/dist/lib/models/PostVersion.js +13 -17
- package/dist/lib/models/PostVote.d.ts +6 -9
- package/dist/lib/models/PostVote.js +11 -14
- package/dist/lib/models/SearchTrendBlacklist.d.ts +23 -0
- package/dist/lib/models/SearchTrendBlacklist.js +41 -3
- package/dist/lib/models/StaffFile.d.ts +37 -0
- package/dist/lib/models/StaffFile.js +55 -0
- package/dist/lib/models/StaffNote.d.ts +10 -13
- package/dist/lib/models/StaffNote.js +19 -22
- package/dist/lib/models/StaffWiki.d.ts +59 -0
- package/dist/lib/models/StaffWiki.js +93 -0
- package/dist/lib/models/StaffWikiVersion.d.ts +14 -0
- package/dist/lib/models/StaffWikiVersion.js +17 -0
- package/dist/lib/models/Tag.d.ts +16 -20
- package/dist/lib/models/Tag.js +28 -32
- package/dist/lib/models/TagAlias.d.ts +11 -14
- package/dist/lib/models/TagAlias.js +20 -23
- package/dist/lib/models/TagImplication.d.ts +11 -14
- package/dist/lib/models/TagImplication.js +20 -23
- package/dist/lib/models/Takedown.d.ts +18 -24
- package/dist/lib/models/Takedown.js +27 -33
- package/dist/lib/models/ThumbnailPost.d.ts +14 -0
- package/dist/lib/models/ThumbnailPost.js +17 -0
- package/dist/lib/models/Ticket.d.ts +11 -14
- package/dist/lib/models/Ticket.js +20 -23
- package/dist/lib/models/UploadWhitelist.d.ts +6 -8
- package/dist/lib/models/UploadWhitelist.js +10 -12
- package/dist/lib/models/User.d.ts +27 -23
- package/dist/lib/models/User.js +43 -31
- package/dist/lib/models/UserFeedback.d.ts +11 -15
- package/dist/lib/models/UserFeedback.js +21 -25
- package/dist/lib/models/UserNameChangeRequest.d.ts +2 -3
- package/dist/lib/models/UserNameChangeRequest.js +4 -5
- package/dist/lib/models/WikiPage.d.ts +11 -14
- package/dist/lib/models/WikiPage.js +20 -23
- package/dist/lib/models/WikiPageVersion.d.ts +2 -3
- package/dist/lib/models/WikiPageVersion.js +4 -5
- package/dist/lib/models/index.d.ts +12 -1
- package/dist/lib/models/index.js +13 -2
- package/dist/lib/models/posts/Actions.d.ts +279 -0
- package/dist/lib/models/posts/Actions.js +476 -0
- package/dist/lib/modules/Appeals.d.ts +69 -0
- package/dist/lib/modules/Appeals.js +125 -0
- package/dist/lib/modules/ArtistUrls.d.ts +5 -5
- package/dist/lib/modules/ArtistUrls.js +7 -7
- package/dist/lib/modules/ArtistVersions.d.ts +5 -5
- package/dist/lib/modules/ArtistVersions.js +7 -7
- package/dist/lib/modules/Artists.d.ts +31 -36
- package/dist/lib/modules/Artists.js +53 -58
- package/dist/lib/modules/AvoidPostingVersions.d.ts +5 -5
- package/dist/lib/modules/AvoidPostingVersions.js +7 -7
- package/dist/lib/modules/AvoidPostings.d.ts +29 -55
- package/dist/lib/modules/AvoidPostings.js +51 -75
- package/dist/lib/modules/Bans.d.ts +7 -8
- package/dist/lib/modules/Bans.js +11 -12
- package/dist/lib/modules/Base.d.ts +15 -4
- package/dist/lib/modules/Base.js +15 -4
- package/dist/lib/modules/Blips.d.ts +34 -41
- package/dist/lib/modules/Blips.js +59 -64
- package/dist/lib/modules/BulkUpdateRequests.d.ts +25 -30
- package/dist/lib/modules/BulkUpdateRequests.js +47 -52
- package/dist/lib/modules/CommentVotes.d.ts +45 -6
- package/dist/lib/modules/CommentVotes.js +75 -12
- package/dist/lib/modules/Comments.d.ts +34 -43
- package/dist/lib/modules/Comments.js +57 -66
- package/dist/lib/modules/DMails.d.ts +25 -20
- package/dist/lib/modules/DMails.js +37 -32
- package/dist/lib/modules/DText.d.ts +6 -6
- package/dist/lib/modules/DText.js +7 -7
- package/dist/lib/modules/DbExports.d.ts +13 -0
- package/dist/lib/modules/DbExports.js +27 -0
- package/dist/lib/modules/EditHistories.d.ts +8 -9
- package/dist/lib/modules/EditHistories.js +11 -12
- package/dist/lib/modules/EmailBlacklists.d.ts +10 -12
- package/dist/lib/modules/EmailBlacklists.js +16 -18
- package/dist/lib/modules/Favorites.d.ts +15 -17
- package/dist/lib/modules/Favorites.js +20 -20
- package/dist/lib/modules/ForumPostVotes.d.ts +40 -0
- package/dist/lib/modules/ForumPostVotes.js +71 -0
- package/dist/lib/modules/ForumPosts.d.ts +32 -41
- package/dist/lib/modules/ForumPosts.js +55 -64
- package/dist/lib/modules/ForumTopics.d.ts +36 -50
- package/dist/lib/modules/ForumTopics.js +61 -84
- package/dist/lib/modules/Health.d.ts +12 -0
- package/dist/lib/modules/Health.js +26 -0
- package/dist/lib/modules/HelpPages.d.ts +27 -26
- package/dist/lib/modules/HelpPages.js +58 -47
- package/dist/lib/modules/IpBans.d.ts +10 -12
- package/dist/lib/modules/IpBans.js +16 -18
- package/dist/lib/modules/IqdbQueries.d.ts +14 -14
- package/dist/lib/modules/IqdbQueries.js +25 -18
- package/dist/lib/modules/Mascots.d.ts +19 -22
- package/dist/lib/modules/Mascots.js +33 -36
- package/dist/lib/modules/ModActions.d.ts +7 -8
- package/dist/lib/modules/ModActions.js +11 -12
- package/dist/lib/modules/NewsUpdates.d.ts +19 -22
- package/dist/lib/modules/NewsUpdates.js +35 -38
- package/dist/lib/modules/NoteVersions.d.ts +5 -5
- package/dist/lib/modules/NoteVersions.js +7 -7
- package/dist/lib/modules/Notes.d.ts +24 -29
- package/dist/lib/modules/Notes.js +45 -50
- package/dist/lib/modules/PoolVersions.d.ts +5 -5
- package/dist/lib/modules/PoolVersions.js +7 -7
- package/dist/lib/modules/Pools.d.ts +33 -41
- package/dist/lib/modules/Pools.js +58 -66
- package/dist/lib/modules/Popular.d.ts +7 -7
- package/dist/lib/modules/Popular.js +13 -11
- package/dist/lib/modules/PostApprovals.d.ts +9 -11
- package/dist/lib/modules/PostApprovals.js +15 -17
- package/dist/lib/modules/PostDisapprovals.d.ts +11 -9
- package/dist/lib/modules/PostDisapprovals.js +12 -13
- package/dist/lib/modules/PostEvents.d.ts +5 -5
- package/dist/lib/modules/PostEvents.js +13 -9
- package/dist/lib/modules/PostFlags.d.ts +26 -15
- package/dist/lib/modules/PostFlags.js +42 -23
- package/dist/lib/modules/PostReplacements.d.ts +20 -26
- package/dist/lib/modules/PostReplacements.js +36 -38
- package/dist/lib/modules/PostSets.d.ts +34 -42
- package/dist/lib/modules/PostSets.js +60 -68
- package/dist/lib/modules/PostVersions.d.ts +11 -14
- package/dist/lib/modules/PostVersions.js +19 -22
- package/dist/lib/modules/PostVotes.d.ts +33 -12
- package/dist/lib/modules/PostVotes.js +56 -17
- package/dist/lib/modules/Posts.d.ts +130 -70
- package/dist/lib/modules/Posts.js +215 -115
- package/dist/lib/modules/RelatedTags.d.ts +7 -7
- package/dist/lib/modules/RelatedTags.js +7 -7
- package/dist/lib/modules/SearchTrendBlacklists.d.ts +11 -28
- package/dist/lib/modules/SearchTrendBlacklists.js +15 -40
- package/dist/lib/modules/SearchTrends.d.ts +30 -19
- package/dist/lib/modules/SearchTrends.js +41 -22
- package/dist/lib/modules/StaffAutomodDMails.d.ts +55 -0
- package/dist/lib/modules/StaffAutomodDMails.js +98 -0
- package/dist/lib/modules/{users/DMails.d.ts → StaffDMails.d.ts} +8 -9
- package/dist/lib/modules/StaffDMails.js +54 -0
- package/dist/lib/modules/StaffExceptionLogs.d.ts +33 -0
- package/dist/lib/modules/StaffExceptionLogs.js +54 -0
- package/dist/lib/modules/StaffFiles.d.ts +72 -0
- package/dist/lib/modules/StaffFiles.js +121 -0
- package/dist/lib/modules/StaffNotes.d.ts +26 -31
- package/dist/lib/modules/StaffNotes.js +47 -52
- package/dist/lib/modules/StaffUserCleanups.d.ts +60 -0
- package/dist/lib/modules/StaffUserCleanups.js +124 -0
- package/dist/lib/modules/StaffUsers.d.ts +43 -0
- package/dist/lib/modules/StaffUsers.js +75 -0
- package/dist/lib/modules/StaffVoteTrends.d.ts +26 -0
- package/dist/lib/modules/StaffVoteTrends.js +39 -0
- package/dist/lib/modules/StaffWikiVersions.d.ts +33 -0
- package/dist/lib/modules/StaffWikiVersions.js +54 -0
- package/dist/lib/modules/StaffWikis.d.ts +94 -0
- package/dist/lib/modules/StaffWikis.js +165 -0
- package/dist/lib/modules/TagAliases.d.ts +26 -31
- package/dist/lib/modules/TagAliases.js +47 -52
- package/dist/lib/modules/TagCorrections.d.ts +6 -7
- package/dist/lib/modules/TagCorrections.js +12 -13
- package/dist/lib/modules/TagImplications.d.ts +26 -31
- package/dist/lib/modules/TagImplications.js +47 -52
- package/dist/lib/modules/TagTypeVersions.d.ts +5 -5
- package/dist/lib/modules/TagTypeVersions.js +7 -7
- package/dist/lib/modules/Tags.d.ts +23 -27
- package/dist/lib/modules/Tags.js +42 -46
- package/dist/lib/modules/Takedowns.d.ts +37 -45
- package/dist/lib/modules/Takedowns.js +59 -67
- package/dist/lib/modules/Tickets.d.ts +24 -28
- package/dist/lib/modules/Tickets.js +44 -48
- package/dist/lib/modules/UploadWhitelists.d.ts +21 -25
- package/dist/lib/modules/UploadWhitelists.js +37 -41
- package/dist/lib/modules/Uploads.d.ts +11 -13
- package/dist/lib/modules/Uploads.js +16 -18
- package/dist/lib/modules/UserFeedbacks.d.ts +28 -34
- package/dist/lib/modules/UserFeedbacks.js +52 -58
- package/dist/lib/modules/UserNameChangeRequests.d.ts +12 -15
- package/dist/lib/modules/UserNameChangeRequests.js +20 -23
- package/dist/lib/modules/Users.d.ts +56 -40
- package/dist/lib/modules/Users.js +91 -63
- package/dist/lib/modules/WikiPageVersions.d.ts +7 -8
- package/dist/lib/modules/WikiPageVersions.js +11 -12
- package/dist/lib/modules/WikiPages.d.ts +26 -31
- package/dist/lib/modules/WikiPages.js +47 -52
- package/dist/lib/modules/index.d.ts +39 -10
- package/dist/lib/modules/index.js +27 -5
- package/dist/lib/modules/posts/Format.d.ts +27 -0
- package/dist/lib/modules/posts/Format.js +17 -0
- package/dist/lib/standalone.d.ts +20 -0
- package/dist/lib/standalone.js +17 -0
- package/dist/lib/util.js +4 -10
- package/dist/lib/version.d.ts +2 -0
- package/dist/lib/version.js +3 -0
- package/package.json +34 -10
- package/tsconfig.json +2 -2
- package/dist/lib/generated/source.json +0 -19075
- package/dist/lib/models/Help.d.ts +0 -39
- package/dist/lib/models/Help.js +0 -57
- package/dist/lib/modules/admin/Users.d.ts +0 -45
- package/dist/lib/modules/admin/Users.js +0 -77
- package/dist/lib/modules/comments/Votes.d.ts +0 -31
- package/dist/lib/modules/comments/Votes.js +0 -51
- package/dist/lib/modules/forum_posts/Votes.d.ts +0 -29
- package/dist/lib/modules/forum_posts/Votes.js +0 -51
- package/dist/lib/modules/posts/Flag.d.ts +0 -16
- package/dist/lib/modules/posts/Flag.js +0 -31
- package/dist/lib/modules/posts/Votes.d.ts +0 -31
- package/dist/lib/modules/posts/Votes.js +0 -51
- package/dist/lib/modules/users/DMails.js +0 -55
- package/dist/package.json +0 -73
|
@@ -1,140 +1,135 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import {
|
|
2
|
+
import { staffNotes_create, staffNotes_delete, staffNotes_update, staffNotes_show, staffNotes_index, staffNotes_undelete, } from "../generated/sdk.js";
|
|
3
3
|
import StaffNote from "../models/StaffNote.js";
|
|
4
4
|
import { OperationID, prefixKeys } from "../util.js";
|
|
5
5
|
import Base from "./Base.js";
|
|
6
6
|
/** @category Modules */
|
|
7
7
|
export default class StaffNotes extends Base {
|
|
8
|
+
static moduleKey = "staffNotes";
|
|
8
9
|
/**
|
|
9
|
-
* Create Staff Note
|
|
10
10
|
*
|
|
11
11
|
* @requiresApiKeyAuth
|
|
12
12
|
*
|
|
13
|
-
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-
|
|
13
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#create staff_notes#create}
|
|
14
14
|
*
|
|
15
|
-
* @see {@link https://e621.wiki/#operations-Staff_Notes-
|
|
15
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#create Documentation} for more details.
|
|
16
16
|
*/
|
|
17
17
|
async create(options) {
|
|
18
|
-
return
|
|
18
|
+
return staffNotes_create({
|
|
19
19
|
client: this.client,
|
|
20
|
-
body:
|
|
20
|
+
body: options,
|
|
21
21
|
}).then(res => this._handleResponse(res, 201, true, StaffNote));
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Delete Staff Note
|
|
25
24
|
*
|
|
26
25
|
* You must be the creator or Admin+.
|
|
27
26
|
|
|
28
27
|
*
|
|
29
28
|
* @requiresApiKeyAuth
|
|
30
29
|
*
|
|
31
|
-
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-
|
|
30
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#delete staff_notes#delete}
|
|
32
31
|
*
|
|
33
|
-
* @see {@link https://e621.wiki/#operations-Staff_Notes-
|
|
32
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#delete Documentation} for more details.
|
|
34
33
|
*/
|
|
35
34
|
async delete(id) {
|
|
36
|
-
return
|
|
35
|
+
return staffNotes_delete({
|
|
37
36
|
client: this.client,
|
|
38
37
|
path: { id },
|
|
39
38
|
}).then(res => this._handleResponse(res, 201, true, StaffNote));
|
|
40
39
|
}
|
|
41
40
|
/**
|
|
42
|
-
* Edit Staff Note
|
|
43
41
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* @requiresApiKeyAuth
|
|
47
|
-
*
|
|
48
|
-
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-editStaffNote editStaffNote}
|
|
49
|
-
*
|
|
50
|
-
* @see {@link https://e621.wiki/#operations-Staff_Notes-editStaffNote Documentation} for more details.
|
|
51
|
-
*/
|
|
52
|
-
async edit(id, options) {
|
|
53
|
-
return editStaffNote({
|
|
54
|
-
client: this.client,
|
|
55
|
-
path: { id },
|
|
56
|
-
body: prefixKeys(options, "staff_note"),
|
|
57
|
-
}).then(res => this._handleResponse(res, 200, true, StaffNote));
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Get Staff Note
|
|
61
|
-
*
|
|
62
|
-
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-getStaffNote getStaffNote}
|
|
42
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#show staff_notes#show}
|
|
63
43
|
*
|
|
64
|
-
* @see {@link https://e621.wiki/#operations-Staff_Notes-
|
|
44
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#show Documentation} for more details.
|
|
65
45
|
*/
|
|
66
46
|
async get(id) {
|
|
67
|
-
return
|
|
47
|
+
return staffNotes_show({
|
|
68
48
|
client: this.client,
|
|
69
49
|
path: { id },
|
|
70
50
|
}).then(res => this._handleResponse(res, 200, false, StaffNote));
|
|
71
51
|
}
|
|
72
52
|
/**
|
|
73
|
-
* Search Staff Notes
|
|
74
53
|
*
|
|
75
|
-
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-
|
|
54
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#index staff_notes#index}
|
|
76
55
|
*
|
|
77
|
-
* @see {@link https://e621.wiki/#operations-Staff_Notes-
|
|
56
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#index Documentation} for more details.
|
|
78
57
|
*/
|
|
79
58
|
async search(options) {
|
|
80
|
-
return
|
|
59
|
+
return staffNotes_index({
|
|
81
60
|
client: this.client,
|
|
82
61
|
query: prefixKeys(options, "search", ["limit", "page"]),
|
|
83
62
|
}).then(res => this._handleResponse(res, 200, true, StaffNote));
|
|
84
63
|
}
|
|
85
64
|
/**
|
|
86
|
-
* Undelete Staff Note
|
|
87
65
|
*
|
|
88
66
|
* You must be the creator or Admin+.
|
|
89
67
|
|
|
90
68
|
*
|
|
91
69
|
* @requiresApiKeyAuth
|
|
92
70
|
*
|
|
93
|
-
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-
|
|
71
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#undelete staff_notes#undelete}
|
|
94
72
|
*
|
|
95
|
-
* @see {@link https://e621.wiki/#operations-Staff_Notes-
|
|
73
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#undelete Documentation} for more details.
|
|
96
74
|
*/
|
|
97
75
|
async undelete(id) {
|
|
98
|
-
return
|
|
76
|
+
return staffNotes_undelete({
|
|
99
77
|
client: this.client,
|
|
100
78
|
path: { id },
|
|
101
79
|
}).then(res => this._handleResponse(res, 201, true, StaffNote));
|
|
102
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* You must be the creator or Admin+.
|
|
84
|
+
*
|
|
85
|
+
* @requiresApiKeyAuth
|
|
86
|
+
*
|
|
87
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#update staff_notes#update}
|
|
88
|
+
*
|
|
89
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-staff_notes\#update Documentation} for more details.
|
|
90
|
+
*/
|
|
91
|
+
async update(id, options) {
|
|
92
|
+
return staffNotes_update({
|
|
93
|
+
client: this.client,
|
|
94
|
+
path: { id },
|
|
95
|
+
body: options,
|
|
96
|
+
}).then(res => this._handleResponse(res, 200, true, StaffNote));
|
|
97
|
+
}
|
|
103
98
|
}
|
|
104
99
|
__decorate([
|
|
105
|
-
OperationID("
|
|
100
|
+
OperationID("staff_notes#create"),
|
|
106
101
|
__metadata("design:type", Function),
|
|
107
102
|
__metadata("design:paramtypes", [Object]),
|
|
108
103
|
__metadata("design:returntype", Promise)
|
|
109
104
|
], StaffNotes.prototype, "create", null);
|
|
110
105
|
__decorate([
|
|
111
|
-
OperationID("
|
|
106
|
+
OperationID("staff_notes#delete"),
|
|
112
107
|
__metadata("design:type", Function),
|
|
113
108
|
__metadata("design:paramtypes", [Number]),
|
|
114
109
|
__metadata("design:returntype", Promise)
|
|
115
110
|
], StaffNotes.prototype, "delete", null);
|
|
116
111
|
__decorate([
|
|
117
|
-
OperationID("
|
|
118
|
-
__metadata("design:type", Function),
|
|
119
|
-
__metadata("design:paramtypes", [Number, Object]),
|
|
120
|
-
__metadata("design:returntype", Promise)
|
|
121
|
-
], StaffNotes.prototype, "edit", null);
|
|
122
|
-
__decorate([
|
|
123
|
-
OperationID("getStaffNote"),
|
|
112
|
+
OperationID("staff_notes#show"),
|
|
124
113
|
__metadata("design:type", Function),
|
|
125
114
|
__metadata("design:paramtypes", [Number]),
|
|
126
115
|
__metadata("design:returntype", Promise)
|
|
127
116
|
], StaffNotes.prototype, "get", null);
|
|
128
117
|
__decorate([
|
|
129
|
-
OperationID("
|
|
118
|
+
OperationID("staff_notes#index"),
|
|
130
119
|
__metadata("design:type", Function),
|
|
131
120
|
__metadata("design:paramtypes", [Object]),
|
|
132
121
|
__metadata("design:returntype", Promise)
|
|
133
122
|
], StaffNotes.prototype, "search", null);
|
|
134
123
|
__decorate([
|
|
135
|
-
OperationID("
|
|
124
|
+
OperationID("staff_notes#undelete"),
|
|
136
125
|
__metadata("design:type", Function),
|
|
137
126
|
__metadata("design:paramtypes", [Number]),
|
|
138
127
|
__metadata("design:returntype", Promise)
|
|
139
128
|
], StaffNotes.prototype, "undelete", null);
|
|
140
|
-
|
|
129
|
+
__decorate([
|
|
130
|
+
OperationID("staff_notes#update"),
|
|
131
|
+
__metadata("design:type", Function),
|
|
132
|
+
__metadata("design:paramtypes", [Number, Object]),
|
|
133
|
+
__metadata("design:returntype", Promise)
|
|
134
|
+
], StaffNotes.prototype, "update", null);
|
|
135
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3RhZmZOb3Rlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2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BSSxFQUFFLEVBQUUsRUFBRSxFQUFFO1NBQ2YsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxlQUFlLENBQUMsR0FBRyxFQUFFLEdBQUcsRUFBRSxJQUFJLEVBQUUsU0FBUyxDQUFDLENBQUMsQ0FBQztJQUNwRSxDQUFDO0lBRUQ7Ozs7Ozs7OztPQVNBO0lBRU0sQUFBTixLQUFLLENBQUMsTUFBTSxDQUFDLEVBQVUsRUFBRSxPQUErQjtRQUNwRCxPQUFPLGlCQUFpQixDQUFDO1lBQ3JCLE1BQU0sRUFBRSxJQUFJLENBQUMsTUFBTTtZQUNuQixJQUFJLEVBQUUsRUFBRSxFQUFFLEVBQUU7WUFDWixJQUFJLEVBQUUsT0FBTztTQUNoQixDQUFDLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsSUFBSSxDQUFDLGVBQWUsQ0FBQyxHQUFHLEVBQUUsR0FBRyxFQUFFLElBQUksRUFBRSxTQUFTLENBQUMsQ0FBQyxDQUFDO0lBQ3BFLENBQUM7O0FBMUZLO0lBRFIsV0FBVyxDQUFDLG9CQUFvQixDQUFDOzs7O3dDQU05QjtBQWNLO0lBRFIsV0FBVyxDQUFDLG9CQUFvQixDQUFDOzs7O3dDQU05QjtBQVNLO0lBRFIsV0FBVyxDQUFDLGtCQUFrQixDQUFDOzs7O3FDQU01QjtBQVNLO0lBRFIsV0FBVyxDQUFDLG1CQUFtQixDQUFDOzs7O3dDQU03QjtBQWNLO0lBRFIsV0FBVyxDQUFDLHNCQUFzQixDQUFDOzs7OzBDQU1oQztBQWFLO0lBRFIsV0FBVyxDQUFDLG9CQUFvQixDQUFDOzs7O3dDQU85QiJ9
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import Base from "./Base.js";
|
|
2
|
+
/** @category Modules */
|
|
3
|
+
export default class StaffUserCleanups extends Base {
|
|
4
|
+
static readonly moduleKey: "staffUserCleanups";
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* You must be Moderator+.
|
|
8
|
+
*
|
|
9
|
+
* @requiresApiKeyAuth
|
|
10
|
+
*
|
|
11
|
+
* @operationId {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#clear_avatar staff/user_cleanups#clear_avatar}
|
|
12
|
+
*
|
|
13
|
+
* @see {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#clear_avatar Documentation} for more details.
|
|
14
|
+
*/
|
|
15
|
+
clearAvatar(id: number): Promise<string>;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* You must be Moderator+.
|
|
19
|
+
*
|
|
20
|
+
* @requiresApiKeyAuth
|
|
21
|
+
*
|
|
22
|
+
* @operationId {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#clear_profile staff/user_cleanups#clear_profile}
|
|
23
|
+
*
|
|
24
|
+
* @see {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#clear_profile Documentation} for more details.
|
|
25
|
+
*/
|
|
26
|
+
clearProfile(id: number): Promise<string>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* You must be Moderator+.
|
|
30
|
+
*
|
|
31
|
+
* @requiresApiKeyAuth
|
|
32
|
+
*
|
|
33
|
+
* @operationId {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_blips staff/user_cleanups#hide_blips}
|
|
34
|
+
*
|
|
35
|
+
* @see {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_blips Documentation} for more details.
|
|
36
|
+
*/
|
|
37
|
+
hideBlips(id: number): Promise<string>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* You must be Moderator+.
|
|
41
|
+
*
|
|
42
|
+
* @requiresApiKeyAuth
|
|
43
|
+
*
|
|
44
|
+
* @operationId {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_comments staff/user_cleanups#hide_comments}
|
|
45
|
+
*
|
|
46
|
+
* @see {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_comments Documentation} for more details.
|
|
47
|
+
*/
|
|
48
|
+
hideComments(id: number): Promise<string>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* You must be Moderator+.
|
|
52
|
+
*
|
|
53
|
+
* @requiresApiKeyAuth
|
|
54
|
+
*
|
|
55
|
+
* @operationId {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_forum_posts staff/user_cleanups#hide_forum_posts}
|
|
56
|
+
*
|
|
57
|
+
* @see {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_forum_posts Documentation} for more details.
|
|
58
|
+
*/
|
|
59
|
+
hideForumPosts(id: number): Promise<string>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { staffUserCleanups_clearAvatar, staffUserCleanups_clearProfile, staffUserCleanups_hideBlips, staffUserCleanups_hideComments, staffUserCleanups_hideForumPosts } from "../generated/sdk.js";
|
|
3
|
+
import { OperationID } from "../util.js";
|
|
4
|
+
import Base from "./Base.js";
|
|
5
|
+
/** @category Modules */
|
|
6
|
+
export default class StaffUserCleanups extends Base {
|
|
7
|
+
static moduleKey = "staffUserCleanups";
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* You must be Moderator+.
|
|
11
|
+
*
|
|
12
|
+
* @requiresApiKeyAuth
|
|
13
|
+
*
|
|
14
|
+
* @operationId {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#clear_avatar staff/user_cleanups#clear_avatar}
|
|
15
|
+
*
|
|
16
|
+
* @see {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#clear_avatar Documentation} for more details.
|
|
17
|
+
*/
|
|
18
|
+
async clearAvatar(id) {
|
|
19
|
+
return staffUserCleanups_clearAvatar({
|
|
20
|
+
client: this.client,
|
|
21
|
+
path: { id },
|
|
22
|
+
redirect: "manual",
|
|
23
|
+
}).then(res => this._handleResponse(res, 302, true));
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* You must be Moderator+.
|
|
28
|
+
*
|
|
29
|
+
* @requiresApiKeyAuth
|
|
30
|
+
*
|
|
31
|
+
* @operationId {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#clear_profile staff/user_cleanups#clear_profile}
|
|
32
|
+
*
|
|
33
|
+
* @see {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#clear_profile Documentation} for more details.
|
|
34
|
+
*/
|
|
35
|
+
async clearProfile(id) {
|
|
36
|
+
return staffUserCleanups_clearProfile({
|
|
37
|
+
client: this.client,
|
|
38
|
+
path: { id },
|
|
39
|
+
redirect: "manual",
|
|
40
|
+
}).then(res => this._handleResponse(res, 302, true));
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* You must be Moderator+.
|
|
45
|
+
*
|
|
46
|
+
* @requiresApiKeyAuth
|
|
47
|
+
*
|
|
48
|
+
* @operationId {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_blips staff/user_cleanups#hide_blips}
|
|
49
|
+
*
|
|
50
|
+
* @see {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_blips Documentation} for more details.
|
|
51
|
+
*/
|
|
52
|
+
async hideBlips(id) {
|
|
53
|
+
return staffUserCleanups_hideBlips({
|
|
54
|
+
client: this.client,
|
|
55
|
+
path: { id },
|
|
56
|
+
redirect: "manual",
|
|
57
|
+
}).then(res => this._handleResponse(res, 302, true));
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* You must be Moderator+.
|
|
62
|
+
*
|
|
63
|
+
* @requiresApiKeyAuth
|
|
64
|
+
*
|
|
65
|
+
* @operationId {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_comments staff/user_cleanups#hide_comments}
|
|
66
|
+
*
|
|
67
|
+
* @see {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_comments Documentation} for more details.
|
|
68
|
+
*/
|
|
69
|
+
async hideComments(id) {
|
|
70
|
+
return staffUserCleanups_hideComments({
|
|
71
|
+
client: this.client,
|
|
72
|
+
path: { id },
|
|
73
|
+
redirect: "manual",
|
|
74
|
+
}).then(res => this._handleResponse(res, 302, true));
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* You must be Moderator+.
|
|
79
|
+
*
|
|
80
|
+
* @requiresApiKeyAuth
|
|
81
|
+
*
|
|
82
|
+
* @operationId {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_forum_posts staff/user_cleanups#hide_forum_posts}
|
|
83
|
+
*
|
|
84
|
+
* @see {@link https://e621.wiki/#operations-User_Cleanups-staff/user_cleanups\#hide_forum_posts Documentation} for more details.
|
|
85
|
+
*/
|
|
86
|
+
async hideForumPosts(id) {
|
|
87
|
+
return staffUserCleanups_hideForumPosts({
|
|
88
|
+
client: this.client,
|
|
89
|
+
path: { id },
|
|
90
|
+
redirect: "manual",
|
|
91
|
+
}).then(res => this._handleResponse(res, 302, true));
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
__decorate([
|
|
95
|
+
OperationID("staff/user_cleanups#clear_avatar"),
|
|
96
|
+
__metadata("design:type", Function),
|
|
97
|
+
__metadata("design:paramtypes", [Number]),
|
|
98
|
+
__metadata("design:returntype", Promise)
|
|
99
|
+
], StaffUserCleanups.prototype, "clearAvatar", null);
|
|
100
|
+
__decorate([
|
|
101
|
+
OperationID("staff/user_cleanups#clear_profile"),
|
|
102
|
+
__metadata("design:type", Function),
|
|
103
|
+
__metadata("design:paramtypes", [Number]),
|
|
104
|
+
__metadata("design:returntype", Promise)
|
|
105
|
+
], StaffUserCleanups.prototype, "clearProfile", null);
|
|
106
|
+
__decorate([
|
|
107
|
+
OperationID("staff/user_cleanups#hide_blips"),
|
|
108
|
+
__metadata("design:type", Function),
|
|
109
|
+
__metadata("design:paramtypes", [Number]),
|
|
110
|
+
__metadata("design:returntype", Promise)
|
|
111
|
+
], StaffUserCleanups.prototype, "hideBlips", null);
|
|
112
|
+
__decorate([
|
|
113
|
+
OperationID("staff/user_cleanups#hide_comments"),
|
|
114
|
+
__metadata("design:type", Function),
|
|
115
|
+
__metadata("design:paramtypes", [Number]),
|
|
116
|
+
__metadata("design:returntype", Promise)
|
|
117
|
+
], StaffUserCleanups.prototype, "hideComments", null);
|
|
118
|
+
__decorate([
|
|
119
|
+
OperationID("staff/user_cleanups#hide_forum_posts"),
|
|
120
|
+
__metadata("design:type", Function),
|
|
121
|
+
__metadata("design:paramtypes", [Number]),
|
|
122
|
+
__metadata("design:returntype", Promise)
|
|
123
|
+
], StaffUserCleanups.prototype, "hideForumPosts", null);
|
|
124
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3RhZmZVc2VyQ2xlYW51cHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9saWIvbW9kdWxlcy9TdGFmZlVzZXJDbGVhbnVwcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLDZCQUE2QixFQUFFLDhCQUE4QixFQUFFLDJCQUEyQixFQUFFLDhCQUE4QixFQUFFLGdDQUFnQyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDbk0sT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUV6QyxPQUFPLElBQUksTUFBTSxXQUFXLENBQUM7QUFFN0Isd0JBQXdCO0FBQ3hCLE1BQU0sQ0FBQyxPQUFPLE9BQU8saUJBQWtCLFNBQVEsSUFBSTtJQUMvQyxNQUFNLENBQVUsU0FBUyxHQUFHLG1CQUE0QixDQUFDO0lBQ3pEOzs7Ozs7Ozs7T0F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s7O3VEQU9oRCJ9
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type StaffUsersUpdateData } from "../generated/types.js";
|
|
2
|
+
import { type TransformDataBodyToOptions } from "../util.js";
|
|
3
|
+
import Base from "./Base.js";
|
|
4
|
+
/** @category Modules/Types */
|
|
5
|
+
export interface UpdateStaffUserOptions extends TransformDataBodyToOptions<StaffUsersUpdateData> {
|
|
6
|
+
}
|
|
7
|
+
/** @category Modules */
|
|
8
|
+
export default class StaffUsers extends Base {
|
|
9
|
+
static readonly moduleKey: "staffUsers";
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* You must be Admin+.
|
|
13
|
+
*
|
|
14
|
+
* @requiresApiKeyAuth
|
|
15
|
+
*
|
|
16
|
+
* @operationId {@link https://e621.wiki/#operations-Admin_Users-staff/users\#alt_list staff/users#alt_list}
|
|
17
|
+
*
|
|
18
|
+
* @see {@link https://e621.wiki/#operations-Admin_Users-staff/users\#alt_list Documentation} for more details.
|
|
19
|
+
*/
|
|
20
|
+
altList(): Promise<Array<[number, Array<number>]>>;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* You must have the bd staff user flag. Cannot be used on staff.
|
|
24
|
+
*
|
|
25
|
+
* @requiresApiKeyAuth
|
|
26
|
+
*
|
|
27
|
+
* @operationId {@link https://e621.wiki/#operations-Admin_Users-staff/users\#anonymize_confirm staff/users#anonymize_confirm}
|
|
28
|
+
*
|
|
29
|
+
* @see {@link https://e621.wiki/#operations-Admin_Users-staff/users\#anonymize_confirm Documentation} for more details.
|
|
30
|
+
*/
|
|
31
|
+
anonymize(id: number): Promise<string>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* You must be Admin+. If editing an Admin+, you must be Owner+.
|
|
35
|
+
*
|
|
36
|
+
* @requiresApiKeyAuth
|
|
37
|
+
*
|
|
38
|
+
* @operationId {@link https://e621.wiki/#operations-Admin_Users-staff/users\#update staff/users#update}
|
|
39
|
+
*
|
|
40
|
+
* @see {@link https://e621.wiki/#operations-Admin_Users-staff/users\#update Documentation} for more details.
|
|
41
|
+
*/
|
|
42
|
+
update(id: number, options: UpdateStaffUserOptions): Promise<null>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { staffUsers_anonymizeConfirm, staffUsers_update, staffUsers_altList } from "../generated/sdk.js";
|
|
3
|
+
import { OperationID } from "../util.js";
|
|
4
|
+
import Base from "./Base.js";
|
|
5
|
+
/** @category Modules */
|
|
6
|
+
export default class StaffUsers extends Base {
|
|
7
|
+
static moduleKey = "staffUsers";
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* You must be Admin+.
|
|
11
|
+
*
|
|
12
|
+
* @requiresApiKeyAuth
|
|
13
|
+
*
|
|
14
|
+
* @operationId {@link https://e621.wiki/#operations-Admin_Users-staff/users\#alt_list staff/users#alt_list}
|
|
15
|
+
*
|
|
16
|
+
* @see {@link https://e621.wiki/#operations-Admin_Users-staff/users\#alt_list Documentation} for more details.
|
|
17
|
+
*/
|
|
18
|
+
async altList() {
|
|
19
|
+
return staffUsers_altList({
|
|
20
|
+
client: this.client,
|
|
21
|
+
}).then(res => this._handleResponse(res, 200, true));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* You must have the bd staff user flag. Cannot be used on staff.
|
|
26
|
+
*
|
|
27
|
+
* @requiresApiKeyAuth
|
|
28
|
+
*
|
|
29
|
+
* @operationId {@link https://e621.wiki/#operations-Admin_Users-staff/users\#anonymize_confirm staff/users#anonymize_confirm}
|
|
30
|
+
*
|
|
31
|
+
* @see {@link https://e621.wiki/#operations-Admin_Users-staff/users\#anonymize_confirm Documentation} for more details.
|
|
32
|
+
*/
|
|
33
|
+
async anonymize(id) {
|
|
34
|
+
return staffUsers_anonymizeConfirm({
|
|
35
|
+
client: this.client,
|
|
36
|
+
path: { id },
|
|
37
|
+
}).then(res => this._handleResponse(res, 302, true));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* You must be Admin+. If editing an Admin+, you must be Owner+.
|
|
42
|
+
*
|
|
43
|
+
* @requiresApiKeyAuth
|
|
44
|
+
*
|
|
45
|
+
* @operationId {@link https://e621.wiki/#operations-Admin_Users-staff/users\#update staff/users#update}
|
|
46
|
+
*
|
|
47
|
+
* @see {@link https://e621.wiki/#operations-Admin_Users-staff/users\#update Documentation} for more details.
|
|
48
|
+
*/
|
|
49
|
+
async update(id, options) {
|
|
50
|
+
return staffUsers_update({
|
|
51
|
+
client: this.client,
|
|
52
|
+
path: { id },
|
|
53
|
+
body: options,
|
|
54
|
+
}).then(res => this._handleResponse(res, 204, true));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
__decorate([
|
|
58
|
+
OperationID("staff/users#alt_list"),
|
|
59
|
+
__metadata("design:type", Function),
|
|
60
|
+
__metadata("design:paramtypes", []),
|
|
61
|
+
__metadata("design:returntype", Promise)
|
|
62
|
+
], StaffUsers.prototype, "altList", null);
|
|
63
|
+
__decorate([
|
|
64
|
+
OperationID("staff/users#anonymize_confirm"),
|
|
65
|
+
__metadata("design:type", Function),
|
|
66
|
+
__metadata("design:paramtypes", [Number]),
|
|
67
|
+
__metadata("design:returntype", Promise)
|
|
68
|
+
], StaffUsers.prototype, "anonymize", null);
|
|
69
|
+
__decorate([
|
|
70
|
+
OperationID("staff/users#update"),
|
|
71
|
+
__metadata("design:type", Function),
|
|
72
|
+
__metadata("design:paramtypes", [Number, Object]),
|
|
73
|
+
__metadata("design:returntype", Promise)
|
|
74
|
+
], StaffUsers.prototype, "update", null);
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3RhZmZVc2Vycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9tb2R1bGVzL1N0YWZmVXNlcnMudHMi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QUFFLE9BQStCO1FBQ3BELE9BQU8saUJBQWlCLENBQUM7WUFDckIsTUFBTSxFQUFFLElBQUksQ0FBQyxNQUFNO1lBQ25CLElBQUksRUFBRSxFQUFFLEVBQUUsRUFBRTtZQUNaLElBQUksRUFBRSxPQUFPO1NBQ2hCLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsZUFBZSxDQUFDLEdBQUcsRUFBRSxHQUFHLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQztJQUN6RCxDQUFDOztBQXpDSztJQURSLFdBQVcsQ0FBQyxzQkFBc0IsQ0FBQzs7Ozt5Q0FLaEM7QUFhSztJQURSLFdBQVcsQ0FBQywrQkFBK0IsQ0FBQzs7OzsyQ0FNekM7QUFhSztJQURSLFdBQVcsQ0FBQyxvQkFBb0IsQ0FBQzs7Ozt3Q0FPOUIifQ==
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type TransformDataQueryToOptions } from "../util.js";
|
|
2
|
+
import Base from "./Base.js";
|
|
3
|
+
import type { StaffVoteTrendsIndexData, VoteTrend } from "../generated/types.js";
|
|
4
|
+
/** @category Modules/Types */
|
|
5
|
+
export interface GetStaffVoteTrendsOptions extends TransformDataQueryToOptions<StaffVoteTrendsIndexData> {
|
|
6
|
+
}
|
|
7
|
+
/** @category Modules/Types */
|
|
8
|
+
export interface StaffVoteTrendResult {
|
|
9
|
+
scores: Array<number>;
|
|
10
|
+
trend: VoteTrend;
|
|
11
|
+
}
|
|
12
|
+
/** @category Modules */
|
|
13
|
+
export default class StaffVoteTrends extends Base {
|
|
14
|
+
static readonly moduleKey: "staffVoteTrends";
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* You must be Staff+.
|
|
18
|
+
*
|
|
19
|
+
* @requiresApiKeyAuth
|
|
20
|
+
*
|
|
21
|
+
* @operationId {@link https://e621.wiki/#operations-Vote_Trends-staff/vote_trends\#index staff/vote_trends#index}
|
|
22
|
+
*
|
|
23
|
+
* @see {@link https://e621.wiki/#operations-Vote_Trends-staff/vote_trends\#index Documentation} for more details.
|
|
24
|
+
*/
|
|
25
|
+
get(options: GetStaffVoteTrendsOptions): Promise<Array<StaffVoteTrendResult>>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { staffVoteTrends_index } from "../generated/sdk.js";
|
|
3
|
+
import { OperationID } from "../util.js";
|
|
4
|
+
import Base from "./Base.js";
|
|
5
|
+
/** @category Modules */
|
|
6
|
+
export default class StaffVoteTrends extends Base {
|
|
7
|
+
static moduleKey = "staffVoteTrends";
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* You must be Staff+.
|
|
11
|
+
*
|
|
12
|
+
* @requiresApiKeyAuth
|
|
13
|
+
*
|
|
14
|
+
* @operationId {@link https://e621.wiki/#operations-Vote_Trends-staff/vote_trends\#index staff/vote_trends#index}
|
|
15
|
+
*
|
|
16
|
+
* @see {@link https://e621.wiki/#operations-Vote_Trends-staff/vote_trends\#index Documentation} for more details.
|
|
17
|
+
*/
|
|
18
|
+
async get(options) {
|
|
19
|
+
return staffVoteTrends_index({
|
|
20
|
+
client: this.client,
|
|
21
|
+
query: options,
|
|
22
|
+
}).then((res) => {
|
|
23
|
+
const data = this._handleResponse(res, 200, true);
|
|
24
|
+
const results = [];
|
|
25
|
+
// NOTE: the spec describes this as a "2D array" of [VoteTrend, scores] pairs, flattened by the generator into an alternating array.
|
|
26
|
+
for (let i = 0; i < data.length; i += 2) {
|
|
27
|
+
results.push({ trend: data[i], scores: data[i + 1] });
|
|
28
|
+
}
|
|
29
|
+
return results;
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
__decorate([
|
|
34
|
+
OperationID("staff/vote_trends#index"),
|
|
35
|
+
__metadata("design:type", Function),
|
|
36
|
+
__metadata("design:paramtypes", [Object]),
|
|
37
|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QyxFQUFFLENBQUM7Z0JBQ3RDLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRSxLQUFLLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBYyxFQUFFLE1BQU0sRUFBRSxJQUFJLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBa0IsRUFBRSxDQUFDLENBQUM7WUFDeEYsQ0FBQztZQUNELE9BQU8sT0FBTyxDQUFDO1FBQ25CLENBQUMsQ0FBQyxDQUFDO0lBQ1AsQ0FBQzs7QUFiSztJQURSLFdBQVcsQ0FBQyx5QkFBeUIsQ0FBQzs7OzswQ0FjbkMifQ==
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import StaffWikiVersion from "../models/StaffWikiVersion.js";
|
|
2
|
+
import { type TransformDataQueryToOptions } from "../util.js";
|
|
3
|
+
import Base from "./Base.js";
|
|
4
|
+
import type { StaffWikiVersionsIndexData } from "../generated/types.js";
|
|
5
|
+
/** @category Modules/Types */
|
|
6
|
+
export interface SearchStaffWikiVersionsOptions extends TransformDataQueryToOptions<StaffWikiVersionsIndexData> {
|
|
7
|
+
}
|
|
8
|
+
/** @category Modules */
|
|
9
|
+
export default class StaffWikiVersions extends Base {
|
|
10
|
+
static readonly moduleKey: "staffWikiVersions";
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* You must be Staff+.
|
|
14
|
+
*
|
|
15
|
+
* @requiresApiKeyAuth
|
|
16
|
+
*
|
|
17
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Wiki_Versions-staff/wiki_versions\#show staff/wiki_versions#show}
|
|
18
|
+
*
|
|
19
|
+
* @see {@link https://e621.wiki/#operations-Staff_Wiki_Versions-staff/wiki_versions\#show Documentation} for more details.
|
|
20
|
+
*/
|
|
21
|
+
get(id: number): Promise<StaffWikiVersion>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* You must be Staff+.
|
|
25
|
+
*
|
|
26
|
+
* @requiresApiKeyAuth
|
|
27
|
+
*
|
|
28
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Wiki_Versions-staff/wiki_versions\#index staff/wiki_versions#index}
|
|
29
|
+
*
|
|
30
|
+
* @see {@link https://e621.wiki/#operations-Staff_Wiki_Versions-staff/wiki_versions\#index Documentation} for more details.
|
|
31
|
+
*/
|
|
32
|
+
search(options?: SearchStaffWikiVersionsOptions): Promise<Array<StaffWikiVersion>>;
|
|
33
|
+
}
|