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

import Foundation
import Get
import URLQueryEncoder

extension Paths.User {
    public var linkRoyalAccount: LinkRoyalAccount {
        LinkRoyalAccount(path: path + "/link-royal-account")
    }

    public struct LinkRoyalAccount {
        /// Path: `/api/user/link-royal-account`
        public let path: String

        /// Link Royal Account
        ///
        /// Link a Royal account to the user's Suno account.
        public func post(token: String) -> Request<Void> {
            Request(path: path, method: "POST", query: [("token", token)], id: "studio_api_bots_user_api_link_royal_account")
        }
    }
}
