// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation
import Get
import URLQueryEncoder

extension Paths.Video.Hooks.Admin {
    public var resetModeration: ResetModeration {
        ResetModeration(path: path + "/reset_moderation")
    }

    public struct ResetModeration {
        /// Path: `/api/video/hooks/admin/reset_moderation`
        public let path: String

        /// Reset Moderation
        ///
        /// Set the current user's video cover hook perm in Redis.
        /// Staff-only endpoint that sets the video cover hook perm for the current user.
        public func post(_ body: GenAPI.ResetModerationModeRequest) -> Request<GenAPI.ResetModerationModeResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_video_hooks_admin_api_reset_moderation")
        }
    }
}
