@jugarhoy/api 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -106,6 +106,12 @@ export interface ClubSearchResponseDataInner {
|
|
|
106
106
|
* @memberof ClubSearchResponseDataInner
|
|
107
107
|
*/
|
|
108
108
|
rating?: number;
|
|
109
|
+
/**
|
|
110
|
+
* Internal location ID for direct navigation
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof ClubSearchResponseDataInner
|
|
113
|
+
*/
|
|
114
|
+
locationId?: string;
|
|
109
115
|
}
|
|
110
116
|
|
|
111
117
|
/**
|
|
@@ -137,6 +143,7 @@ export function ClubSearchResponseDataInnerFromJSONTyped(json: any, ignoreDiscri
|
|
|
137
143
|
'sports': json['sports'] == null ? undefined : ((json['sports'] as Array<any>).map(SportFromJSON)),
|
|
138
144
|
'features': json['features'] == null ? undefined : json['features'],
|
|
139
145
|
'rating': json['rating'] == null ? undefined : json['rating'],
|
|
146
|
+
'locationId': json['locationId'] == null ? undefined : json['locationId'],
|
|
140
147
|
};
|
|
141
148
|
}
|
|
142
149
|
|
|
@@ -163,6 +170,7 @@ export function ClubSearchResponseDataInnerToJSONTyped(value?: ClubSearchRespons
|
|
|
163
170
|
'sports': value['sports'] == null ? undefined : ((value['sports'] as Array<any>).map(SportToJSON)),
|
|
164
171
|
'features': value['features'],
|
|
165
172
|
'rating': value['rating'],
|
|
173
|
+
'locationId': value['locationId'],
|
|
166
174
|
};
|
|
167
175
|
}
|
|
168
176
|
|
package/models/UserDto.ts
CHANGED
|
@@ -42,7 +42,7 @@ export interface UserDto {
|
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof UserDto
|
|
44
44
|
*/
|
|
45
|
-
phone
|
|
45
|
+
phone?: string;
|
|
46
46
|
/**
|
|
47
47
|
* User's date of birth in YYYY-MM-DD format
|
|
48
48
|
* @type {Date}
|
|
@@ -88,7 +88,6 @@ export function instanceOfUserDto(value: object): value is UserDto {
|
|
|
88
88
|
if (!('firstName' in value) || value['firstName'] === undefined) return false;
|
|
89
89
|
if (!('lastName' in value) || value['lastName'] === undefined) return false;
|
|
90
90
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
91
|
-
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
92
91
|
if (!('birthDate' in value) || value['birthDate'] === undefined) return false;
|
|
93
92
|
return true;
|
|
94
93
|
}
|
|
@@ -106,7 +105,7 @@ export function UserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): U
|
|
|
106
105
|
'firstName': json['firstName'],
|
|
107
106
|
'lastName': json['lastName'],
|
|
108
107
|
'email': json['email'],
|
|
109
|
-
'phone': json['phone'],
|
|
108
|
+
'phone': json['phone'] == null ? undefined : json['phone'],
|
|
110
109
|
'birthDate': (new Date(json['birthDate'])),
|
|
111
110
|
'avatarBase64': json['avatarBase64'] == null ? undefined : json['avatarBase64'],
|
|
112
111
|
'instagramHandle': json['instagramHandle'] == null ? undefined : json['instagramHandle'],
|