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

import Foundation
import Get
import URLQueryEncoder

extension Paths.VideoGen {
    public var history: History {
        History(path: path + "/history")
    }

    public struct History {
        /// Path: `/api/video_gen/history`
        public let path: String

        /// Get Generation History
        ///
        /// Get the user's generation history for a specific clip.
        public func post(_ body: GenAPI.HistoryRequest) -> Request<GenAPI.HistoryResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_video_generation_api_get_generation_history")
        }
    }
}
