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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Invite.Ios {
    public var waitlist: Waitlist {
        Waitlist(path: path + "/waitlist")
    }

    public struct Waitlist {
        /// Path: `/api/invite/ios/waitlist`
        public let path: String

        /// Waitlist
        ///
        /// Return True if the user is already on the waitlist or has just been added to the waitlist
        /// as a result of this call (ie. no promo code exists for them yet).
        /// Return False otherwise.
        public var post: Request<GenAPI.IosWaitlistResponse> {
            Request(path: path, method: "POST", id: "studio_api_bots_invite_ios_api_waitlist")
        }
    }
}
