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

import Foundation
import Get
import URLQueryEncoder

extension Paths.V2.External {
    public var generate: Generate {
        Generate(path: path + "/generate")
    }

    public struct Generate {
        /// Path: `/api/v2/external/generate`
        public let path: String

        /// Run Generation Integration
        public func post(_ body: GenAPI.ExternalGenerationSpec) -> Request<GenAPI.ExternalClipSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_external_api_run_generation_integration")
        }
    }
}
