- Only device_id without instance_id returns error
- Three valid combinations:
- device_id + instance_id: clear specific instance
- only instance_id: clear instance across devices
- no params: clear all instances
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Remove device deletion on logout
- Only delete DeviceSession records
- Support clearing specific instance or all instances
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Logout: clear device sessions on logout
- User info: return expiry/balance based on billing type
- Avatar upload: support jpg/png/gif/webp, max 2MB
- App tickets: create, reply, close tickets for app users
- Add ClosedAt field to Ticket model
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>