Add report workflow
This commit is contained in:
@@ -20,6 +20,7 @@ class ReportService
|
||||
Json::Value updateStatus(const auth::UserContext &user,
|
||||
long long reportId,
|
||||
const Json::Value &body);
|
||||
Json::Value takeReport(const auth::UserContext &user, long long reportId);
|
||||
Json::Value addMessage(const auth::UserContext &user,
|
||||
long long reportId,
|
||||
const Json::Value &body);
|
||||
@@ -30,8 +31,12 @@ class ReportService
|
||||
Json::Value addFeedback(const auth::UserContext &user,
|
||||
long long reportId,
|
||||
const Json::Value &body);
|
||||
Json::Value canAddPhoto(const auth::UserContext &user, long long reportId);
|
||||
Json::Value addPhoto(const auth::UserContext &user,
|
||||
long long reportId,
|
||||
const std::string &url);
|
||||
const std::string &url,
|
||||
const std::string &originalFilename,
|
||||
const std::string &contentType,
|
||||
size_t sizeBytes);
|
||||
};
|
||||
} // namespace visione::services
|
||||
|
||||
Reference in New Issue
Block a user