dev add check tokens for monitoring
Test Workflow / test (push) Successful in 3s

This commit is contained in:
vladp
2026-03-05 12:11:09 +07:00
parent 5c27fd52ba
commit 88e7121213
5 changed files with 51 additions and 21 deletions
@@ -48,6 +48,7 @@ public enum MessageCode {
PAYMENT_NOT_FOUND(4, "Payment not found"),
COMPANY_ALREADY_EXISTS(2, "Company already exists"),
USER_LIMIT_IS_OVER(2, "Over user limits"),
MONITORING_TYPE_NOT_FOUND(4, "Monitoring type not found"),
ERROR_TARIFF_INFO(2, "Erorr with tariff info"),
FILE_FOR_SEARCH_NOT_VALID(2, "File for search unsupported"),
NOT_VALID_FILE_TYPE_OR_COUNT_FILE(2, "Cost for file type not found, count is negative or files count" +
@@ -37,4 +37,7 @@ public class MonitoringStatusResponse {
@JsonProperty("new_violations_count")
private long newViolationsCount;
@JsonProperty("need_add_tokens")
private boolean needAddTokens;
}
@@ -13,7 +13,7 @@ public class SetMonitoringRequest {
private String fileId;
@JsonProperty("monitoring_type")
private MonitoringType monitoringType;
private String monitoringType;
@JsonProperty("auth_token")
private String authToken;