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

import Foundation
import Get
import URLQueryEncoder

extension Paths.User {
    public var findExistingUserByPhone: FindExistingUserByPhone {
        FindExistingUserByPhone(path: path + "/find_existing_user_by_phone")
    }

    public struct FindExistingUserByPhone {
        /// Path: `/api/user/find_existing_user_by_phone`
        public let path: String

        /// Find Existing User By Phone
        public func post(_ body: GenAPI.FindExistingUserByPhoneReq) -> Request<GenAPI.FindExistingUserByPhoneResp> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_user_api_find_existing_user_by_phone")
        }
    }
}
