cameras/.vrek
Michael Mainguy 622d24b4be Say why a rename was refused, instead of the library's generic error
Your camera answered SetScopes with a SOAP fault, ter:NotAuthorized: the
Operator login may not rename it. The onvif library reports every
SetScopes failure as "Wrong `SetScopes` response", so that cause was
invisible. We now keep the raw reply and turn a NotAuthorized fault into
our own error, and the page says the login isn't allowed to rename the
camera and that the name kept here still works.

Also give credential-store an explicit .ts import so plain Node can run
it, as the admin script's modules already do.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-20 13:48:27 -05:00
..
log.ndjson Say why a rename was refused, instead of the library's generic error 2026-09-20 13:48:27 -05:00