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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Billing.Clips.WithClipId {
    public var download: Download {
        Download(path: path + "/download")
    }

    public struct Download {
        /// Path: `/api/billing/clips/{clip_id}/download`
        public let path: String

        /// Log Clip Download
        ///
        /// Log a clip download to the ClipDownloadHistory table
        public var post: Request<GenAPI.ClipDownloadResponse> {
            Request(path: path, method: "POST", id: "studio_api_bots_billing_api_log_clip_download")
        }
    }
}
