This commit is contained in:
Hy4ri committed 2026-06-16 00:52:36 +03:00
1 parent 0562906634
commit 8ca4599c6a
14 files changed
+362 -166

No files matched your search

@@ -1,12 +1,7 @@
package com.m57.hermescontrol.data.model
data class DoctorResponse(
val status: String,
val reports: List<DoctorReport>,
)
data class DoctorReport(
val category: String,
val status: String,
val message: String,
val ok: Boolean,
val pid: Int?,
val name: String?,
)
@@ -0,0 +1,28 @@
package com.m57.hermescontrol.data.model
import com.google.gson.annotations.SerializedName
data class EnvVarConfig(
@SerializedName("is_set") val isSet: Boolean,
@SerializedName("redacted_value") val redactedValue: String?,
val description: String?,
val url: String?,
val category: String?,
@SerializedName("is_password") val isPassword: Boolean,
)
data class EnvVarRevealRequest(
val key: String,
val profile: String? = null,
)
data class EnvVarRevealResponse(
val key: String,
val value: String,
)
data class EnvVarUpdate(
val key: String,
val value: String,
val profile: String? = null,
)
@@ -1,27 +1,38 @@
package com.m57.hermescontrol.data.model
import com.google.gson.annotations.SerializedName
data class KanbanBoard(
val id: String,
@SerializedName("slug") val id: String,
val name: String,
val description: String?,
)
data class KanbanTask(
val id: String,
val boardId: String,
val title: String,
val description: String?,
@SerializedName("body") val description: String?,
val status: String,
val assignedTo: String?,
@SerializedName("assignee") val assignedTo: String?,
)
data class MoveTaskRequest(
val status: String,
data class CreateTaskBody(
val title: String,
val body: String?,
)
data class CreateTaskRequest(
val boardId: String,
val title: String,
val description: String?,
val status: String,
data class KanbanColumn(
val name: String,
val tasks: List<KanbanTask>,
)
data class KanbanBoardResponse(
val columns: List<KanbanColumn>,
val assignees: List<String>?,
val tenants: List<String>?,
)
data class KanbanBoardsResponse(
val boards: List<KanbanBoard>,
val current: String,
)
@@ -1,8 +1,27 @@
package com.m57.hermescontrol.data.model
import com.google.gson.annotations.SerializedName
data class MessagingPlatform(
val id: String,
val name: String,
val enabled: Boolean,
val configured: Boolean,
val details: Map<String, String>?,
@SerializedName("env_vars") val envVars: List<EnvVarField>? = null,
)
data class EnvVarField(
val key: String,
val required: Boolean,
@SerializedName("is_set") val isSet: Boolean,
val description: String?,
val prompt: String?,
@SerializedName("is_password") val isPassword: Boolean,
)
data class MessagingPlatformUpdate(
val enabled: Boolean? = null,
val env: Map<String, String> = emptyMap(),
@SerializedName("clear_env") val clearEnv: List<String> = emptyList(),
val profile: String? = null,
)
@@ -1,13 +1,21 @@
package com.m57.hermescontrol.data.model
import com.google.gson.annotations.SerializedName
data class PluginInfo(
val name: String,
val description: String?,
val version: String?,
val enabled: Boolean,
val installed: Boolean,
val installed: Boolean = true,
)
data class TogglePluginRequest(
val enabled: Boolean,
)
data class AgentPluginInstallBody(
val identifier: String,
val force: Boolean = false,
val enable: Boolean = true,
)