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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Mobile.V0 {
    public var registerPush: RegisterPush {
        RegisterPush(path: path + "/register-push")
    }

    public struct RegisterPush {
        /// Path: `/api/mobile/v0/register-push`
        public let path: String

        /// Register Push
        ///
        /// Register a token for a push notification.
        public func post(_ body: GenAPI.RegisterPushSpec) -> Request<Void> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_mobile_api_register_push")
        }
    }
}
