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

import Foundation
import Get
import URLQueryEncoder

extension Paths.VideoGen {
    public var pendingBatches: PendingBatches {
        PendingBatches(path: path + "/pending_batches")
    }

    public struct PendingBatches {
        /// Path: `/api/video_gen/pending_batches`
        public let path: String

        /// Get Pending Batches
        ///
        /// Get all batch IDs that are currently in a pending/processing state.
        /// Optionally filter by clip IDs.
        public func post(_ body: GenAPI.PendingBatchesRequest) -> Request<GenAPI.PendingBatchesResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_video_generation_api_get_pending_batches")
        }
    }
}
