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

import Foundation
import Get
import URLQueryEncoder

extension Paths.User {
    public var updateUserConfig: UpdateUserConfig {
        UpdateUserConfig(path: path + "/update_user_config")
    }

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

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