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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Generate {
    public var generateNonauthPreview: GenerateNonauthPreview {
        GenerateNonauthPreview(path: path + "/generate-nonauth-preview")
    }

    public struct GenerateNonauthPreview {
        /// Path: `/api/generate/generate-nonauth-preview`
        public let path: String

        /// Generate Nonauth Preview
        public func post(_ body: GenAPI.GenParamsSpec) -> Request<GenAPI.GenerationRequestSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_generate_api_generate_nonauth_preview")
        }
    }
}
