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

import Foundation
import Get
import URLQueryEncoder

extension Paths {
    public static var updateUserConfig: UpdateUserConfig {
        UpdateUserConfig(path: "/api/update_user_config")
    }

    public struct UpdateUserConfig {
        /// Path: `/api/update_user_config`
        public let path: String

        /// Update User Config
        public func post(_ body: GenAPI.UpdateUserConfigRequestSpec) -> Request<GenAPI.UserConfigSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_api_update_user_config")
        }
    }
}
