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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Billing {
    public var createPortal: CreatePortal {
        CreatePortal(path: path + "/create-portal")
    }

    public struct CreatePortal {
        /// Path: `/api/billing/create-portal`
        public let path: String

        /// Create Portal Session
        public var post: Request<GenAPI.PortalRedirectSchemaResponse> {
            Request(path: path, method: "POST", id: "studio_api_bots_billing_api_create_portal_session")
        }
    }
}
