packetdial: add gated call-queue + time-frame edit wrappers (live-verified)

Added write wrappers, each tested create→update→delete on the arizonacomputerguru test
domain (sanctioned, non-production):
- call queues: create-callqueue, update-callqueue, delete-callqueue + add-agent /
  update-agent / remove-agent
- time frames: create-timeframe, update-timeframe, delete-timeframe (body-discriminated —
  same path, server selects the op from the body; wrappers pass --body verbatim)

All behind --confirm (gate verified: DRY RUN refuses without it). SKILL.md documents the
bodies + the days-of-week-needs-array gotcha + names ACG as the test bed; capability map
+ api.md history updated. No production objects touched; no test leftovers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-22 07:44:30 -07:00
parent 25b2ff45bf
commit f42f9c2419
4 changed files with 139 additions and 2 deletions

View File

@@ -86,3 +86,10 @@ exact request/response schema of any specific path.
SKILL.md. Added live-verified read wrappers: `callqueues`, `timeframes`, `sites`,
`contacts`, `autoattendants`, `billing`. Reseller territory = 3 domains today
(arizonacomputerguru + two `*.91912.service`).
Added gated WRITE wrappers for call queues (`create/update/delete-callqueue`,
`add/update/remove-agent`) and time frames (`create/update/delete-timeframe`), each
live-verified create→update→delete on the `arizonacomputerguru` test domain (sanctioned
test bed, not in production use). Timeframe writes are body-discriminated (same path; the
server selects the op from the body) — wrappers pass `--body` verbatim. Note: entry-bearing
timeframe types (days-of-week etc.) reject create without their array — create `always` then
convert, or include the array.