Feature: Task Scheduler - planned tasks with webhook support

This commit is contained in:
cynfo3000
2026-03-05 08:59:53 +01:00
parent e1a3246075
commit 7908ae26a0
9 changed files with 1036 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
package models
type Task struct {
ID int `json:"id"`
AgentID string `json:"agent_id"`
AgentName string `json:"agent_name,omitempty"`
CustomerName string `json:"customer_name,omitempty"`
Action string `json:"action"`
Status string `json:"status"`
ScheduledAt string `json:"scheduled_at"`
StartedAt *string `json:"started_at,omitempty"`
FinishedAt *string `json:"finished_at,omitempty"`
Result interface{} `json:"result,omitempty"`
WebhookURL string `json:"webhook_url,omitempty"`
WebhookSent bool `json:"webhook_sent"`
WebhookResponse string `json:"webhook_response,omitempty"`
CreatedBy string `json:"created_by,omitempty"`
CreatedAt string `json:"created_at"`
}