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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Billing {
    public var changePlan: ChangePlan {
        ChangePlan(path: path + "/change-plan")
    }

    public struct ChangePlan {
        /// Path: `/api/billing/change-plan`
        public let path: String

        /// Change Plan
        public func post(_ body: GenAPI.PlanChangeSpec) -> Request<GenAPI.PlanChangeSchemaResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_billing_api_change_plan")
        }
    }
}
