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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Studio {
    public var verifyCode: VerifyCode {
        VerifyCode(path: path + "/verify-code")
    }

    public struct VerifyCode {
        /// Path: `/api/studio/verify-code`
        public let path: String

        /// Verify Code
        ///
        /// Verify a Studio invitation code.
        public func get(code: String) -> Request<GenAPI.StudioInvitationCodeRedeemSchema> {
            Request(path: path, method: "GET", query: [("code", code)], id: "studio_api_bots_studio_api_verify_code")
        }
    }
}
