|
13 | 13 | */
|
14 | 14 |
|
15 | 15 | import { exists, mapValues } from '../runtime';
|
16 |
| -import type { UserEventInfo } from './UserEventInfo'; |
| 16 | +import type { UserRecentEvent } from './UserRecentEvent'; |
17 | 17 | import {
|
18 |
| - UserEventInfoFromJSON, |
19 |
| - UserEventInfoFromJSONTyped, |
20 |
| - UserEventInfoToJSON, |
21 |
| -} from './UserEventInfo'; |
| 18 | + UserRecentEventFromJSON, |
| 19 | + UserRecentEventFromJSONTyped, |
| 20 | + UserRecentEventToJSON, |
| 21 | +} from './UserRecentEvent'; |
22 | 22 | import type { UserSocialConnections } from './UserSocialConnections';
|
23 | 23 | import {
|
24 | 24 | UserSocialConnectionsFromJSON,
|
@@ -100,10 +100,10 @@ export interface UserInfo {
|
100 | 100 | phone_verified: boolean;
|
101 | 101 | /**
|
102 | 102 | *
|
103 |
| - * @type {Array<UserEventInfo>} |
| 103 | + * @type {Array<UserRecentEvent>} |
104 | 104 | * @memberof UserInfo
|
105 | 105 | */
|
106 |
| - recent_events: Array<UserEventInfo>; |
| 106 | + recent_events: Array<UserRecentEvent>; |
107 | 107 | /**
|
108 | 108 | *
|
109 | 109 | * @type {UserSocialConnections}
|
@@ -191,7 +191,7 @@ export function UserInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
191 | 191 | 'login_count': json['login_count'],
|
192 | 192 | 'phone': json['phone'],
|
193 | 193 | 'phone_verified': json['phone_verified'],
|
194 |
| - 'recent_events': ((json['recent_events'] as Array<any>).map(UserEventInfoFromJSON)), |
| 194 | + 'recent_events': ((json['recent_events'] as Array<any>).map(UserRecentEventFromJSON)), |
195 | 195 | 'social_connections': UserSocialConnectionsFromJSON(json['social_connections']),
|
196 | 196 | 'status': UserStatusFromJSON(json['status']),
|
197 | 197 | 'updated_at': (new Date(json['updated_at'])),
|
@@ -219,7 +219,7 @@ export function UserInfoToJSON(value?: UserInfo | null): any {
|
219 | 219 | 'login_count': value.login_count,
|
220 | 220 | 'phone': value.phone,
|
221 | 221 | 'phone_verified': value.phone_verified,
|
222 |
| - 'recent_events': ((value.recent_events as Array<any>).map(UserEventInfoToJSON)), |
| 222 | + 'recent_events': ((value.recent_events as Array<any>).map(UserRecentEventToJSON)), |
223 | 223 | 'social_connections': UserSocialConnectionsToJSON(value.social_connections),
|
224 | 224 | 'status': UserStatusToJSON(value.status),
|
225 | 225 | 'updated_at': (value.updated_at.toISOString()),
|
|
0 commit comments