// // ApiServiceProtocol.swift // AutoCatCore // // Created by Selim Mustafaev on 13.07.2024. // Copyright © 2024 Selim Mustafaev. All rights reserved. // import Mockable @Mockable public protocol ApiServiceProtocol: Sendable { func add(notes: [VehicleNoteDto], to number: String) async throws -> VehicleDto func edit(note: VehicleNoteDto) async throws -> VehicleDto func remove(note id: String) async throws -> VehicleDto func getBrands() async throws -> [String] func getModels(of brand: String) async throws -> [String] func getColors() async throws -> [String] func getRegions() async throws -> [VehicleRegion] func getYears() async throws -> [Int] }