// // Suggestion.swift // Pachyderm // // Created by Shadowfacts on 1/22/23. // import Foundation public struct Suggestion: Decodable { public let source: Source public let account: Account public static func remove(accountID: String) -> Request { return Request(method: .delete, path: "/api/v1/suggestions/\(accountID)") } } extension Suggestion { public enum Source: String, Decodable { case staff case pastInteractions = "past_interactions" case global } }