docs: refine task controls and tenant quota contracts

This commit is contained in:
2026-09-23 20:27:51 +08:00
parent 6e29ac87ac
commit ef84a0663d
8 changed files with 453 additions and 247 deletions
@@ -2,6 +2,7 @@
"schema_version": "config-read.v0.1",
"resource": "task_config",
"dispatcher_id": "c046b893-8628-4589-ae50-619d049248a6",
"tenant_id": "tenant-id-mock",
"tenant_key": "tenant-mock",
"task_id": "task-mock",
"task_revision": 2,
@@ -9,7 +10,10 @@
"name": "Mock task",
"group_id": null,
"max_concurrent_calls": 2,
"ring_timeout_ms": 30000,
"max_call_duration_ms": 120000,
"route_policy_id": "route-mock",
"caller_profile_id": "caller-profile-mock",
"allowed_trunk_ids": ["trunk-mock"],
"schedule": {
"time_zone": "Asia/Shanghai",
@@ -28,7 +32,6 @@
},
"agent": {
"agent_version_id": "agent-version-mock",
"content_sha256": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
"authorization_id": "auth-mock",
"authorization_expires_at": "2026-09-21T18:00:00+08:00",
"config": {
@@ -0,0 +1,10 @@
{
"schema_version": "config-read.v0.1",
"resource": "tenant_quota",
"dispatcher_id": "c046b893-8628-4589-ae50-619d049248a6",
"tenant_id": "tenant-id-mock",
"tenant_key": "tenant-mock",
"quota_revision": 1,
"max_concurrent_calls": 3,
"valid_until": "2026-09-21T18:00:00+08:00"
}