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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Modals.WithModalId {
    public var seen: Seen {
        Seen(path: path + "/seen")
    }

    public struct Seen {
        /// Path: `/api/modals/{modal_id}/seen`
        public let path: String

        /// Mark Modal Seen
        ///
        /// Mark a modal as seen by the current user.
        /// 
        /// This prevents the modal from being shown again in future requests.
        /// 
        /// Args:
        ///     modal_id: UUID string of the modal
        /// 
        /// Returns:
        ///     MarkModalSeenResponse with success=True if successful, success=False otherwise
        public var post: Request<GenAPI.MarkModalSeenResponse> {
            Request(path: path, method: "POST", id: "studio_api_modals_api_mark_modal_seen")
        }
    }
}
