Add device management to user profile and enhance seat hold expiration handling

This commit is contained in:
Stephanos A
2026-06-04 16:38:58 +03:00
parent bc4d6d079b
commit af14535e08
4 changed files with 57 additions and 7 deletions

View File

@@ -137,6 +137,9 @@ export class AuthController {
- **Loyalty Account**: Tier, points balance, lifetime points
- **Wallet Account**: Balance (minor units), currency
#### Devices
- List of registered devices with platform, name, push token, and last seen time
#### User Preferences
- Language, notification settings, etc.
@@ -154,6 +157,8 @@ export class AuthController {
5. **Wallet Balance**: Display available balance
6. **Device Management**: Get list of user's registered devices
---
### Authentication
@@ -196,7 +201,25 @@ export class AuthController {
emailNotifications: true,
smsNotifications: true,
language: 'am'
}
},
devices: [
{
id: 'device-uuid-1',
platform: 'WEB',
name: 'Chrome on Windows',
pushToken: 'token-abc123',
trusted: true,
lastSeenAt: '2024-01-20T14:22:00.000Z'
},
{
id: 'device-uuid-2',
platform: 'IOS',
name: 'iPhone 14',
pushToken: 'token-xyz789',
trusted: false,
lastSeenAt: '2024-01-19T10:15:00.000Z'
}
]
}
}
})