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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Notification {
    public var read: Read {
        Read(path: path + "/read")
    }

    public struct Read {
        /// Path: `/api/notification/read`
        public let path: String

        /// Mark Notifications As Read
        ///
        /// Mark notifications as read.
        public func post(_ body: GenAPI.ReadNotificationsSpec) -> Request<Void> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_notification_api_mark_notifications_as_read")
        }
    }
}
