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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Billing {
    public var purchaseCommercialRights: PurchaseCommercialRights {
        PurchaseCommercialRights(path: path + "/purchase-commercial-rights")
    }

    public struct PurchaseCommercialRights {
        /// Path: `/api/billing/purchase-commercial-rights`
        public let path: String

        /// Purchase Commercial Rights Api
        public func post(_ body: GenAPI.CommercialRightsPurchaseSpec) -> Request<GenAPI.CommercialRightsPurchaseSchemaResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_billing_api_purchase_commercial_rights_api")
        }
    }
}
