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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Generate.Sunote {
    public var process: Process {
        Process(path: path + "/process")
    }

    public struct Process {
        /// Path: `/api/generate/sunote/process`
        public let path: String

        /// Process Sunote Files
        ///
        /// Process audio and text files from Sunote modal.
        /// 
        /// This endpoint:
        /// 1. Receives audio and text file references from the client
        /// 2. Calls a Modal function to process them
        /// 3. Uses the Modal output to crop the audio files
        /// 4. Creates a GeneratedClip with the cropped audio
        public func post(_ body: GenAPI.SunoteRequest) -> Request<GenAPI.SunoteResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_generate_api_process_sunote_files")
        }
    }
}
