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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Preferences {
    public var upsertProject: UpsertProject {
        UpsertProject(path: path + "/upsert-project")
    }

    public struct UpsertProject {
        /// Path: `/api/preferences/upsert-project`
        public let path: String

        /// Upsert Label Maker Project
        public func post(_ body: GenAPI.UpsertLabelMakerProjectSpec) -> Request<Void> {
            Request(path: path, method: "POST", body: body, id: "studio_api_preferences_api_upsert_label_maker_project")
        }
    }
}
