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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Billing.ChangePlan {
    public var preview: Preview {
        Preview(path: path + "/preview")
    }

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

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