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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Share {
    public var event: Event {
        Event(path: path + "/event")
    }

    public struct Event {
        /// Path: `/api/share/event`
        public let path: String

        /// Create Share Event
        ///
        /// Create a share event record
        public func post(_ body: GenAPI.ShareEventRequest) -> Request<GenAPI.ShareEventResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_growth_share_api_create_share_event")
        }
    }
}
