UNPKG

@tennac-booking/sdk

Version:

OpenAPI client for @tennac-booking/sdk

117 lines (109 loc) 5.55 kB
# UserProfileResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **username** | **string** | | [optional] [default to undefined] **googleId** | **string** | | [optional] [default to undefined] **firstName** | **string** | | [default to undefined] **lastName** | **string** | | [default to undefined] **firstNameNormalized** | **string** | | [optional] [default to undefined] **lastNameNormalized** | **string** | | [optional] [default to undefined] **email** | **string** | | [default to undefined] **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined] **location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined] **isAccountVerified** | **boolean** | | [optional] [default to undefined] **levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined] **characteristics** | [**Array<ICharacteristic>**](ICharacteristic.md) | | [optional] [default to undefined] **phone** | **string** | | [optional] [default to undefined] **birthDate** | **string** | | [optional] [default to undefined] **password** | **string** | | [optional] [default to undefined] **profilePicture** | **string** | | [optional] [default to undefined] **resetPasswordToken** | **string** | | [optional] [default to undefined] **resetPasswordExpires** | **string** | | [optional] [default to undefined] **emailVerificationToken** | **string** | | [optional] [default to undefined] **emailVerificationExpires** | **string** | | [optional] [default to undefined] **signupConfirmationEmailSentAt** | **string** | | [optional] [default to undefined] **organizations** | [**Array<IUserAttributesOrganizationsInner>**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined] **isGuest** | **boolean** | | [optional] [default to undefined] **isAdmin** | **boolean** | | [optional] [default to undefined] **isClient** | **boolean** | | [optional] [default to undefined] **isOnBoardingInAppCompleted** | **boolean** | | [optional] [default to undefined] **createdFrom** | **string** | | [optional] [default to undefined] **createdAt** | **string** | | [optional] [default to undefined] **updatedAt** | **string** | | [optional] [default to undefined] **isLevelCertified** | **boolean** | | [optional] [default to undefined] **favoriteClubs** | **Array<string>** | | [optional] [default to undefined] **description** | **string** | | [optional] [default to undefined] **isProfileVisible** | **boolean** | | [optional] [default to undefined] **favoritePlayers** | **Array<string>** | | [optional] [default to undefined] **sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined] **stripeCustomerId** | **string** | | [optional] [default to undefined] **upcomingBookingsCount** | **number** | | [optional] [default to undefined] **nextBooking** | [**UserNextBookingSummary**](UserNextBookingSummary.md) | | [optional] [default to undefined] **subscriptionsCount** | **number** | | [optional] [default to undefined] **subscriptions** | [**Array<ClubSubscriptions>**](ClubSubscriptions.md) | | [optional] [default to undefined] **clubs** | [**Array<UserClubMembership>**](UserClubMembership.md) | | [optional] [default to undefined] **favoriteClubsDetails** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined] **frequentlyVisitedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined] **recentlyPlayedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined] **nearbyCityClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined] **frequentlyPlayedWith** | [**Array<PlayerSummary>**](PlayerSummary.md) | | [optional] [default to undefined] **stripeLinks** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined] **verifiedSports** | [**Array<SportResponse>**](SportResponse.md) | | [optional] [default to undefined] **clubId** | **string** | | [optional] [default to undefined] ## Example ```typescript import { UserProfileResponse } from '@tennac-booking/sdk'; const instance: UserProfileResponse = { username, googleId, firstName, lastName, firstNameNormalized, lastNameNormalized, email, gender, location, isAccountVerified, levelBySports, characteristics, phone, birthDate, password, profilePicture, resetPasswordToken, resetPasswordExpires, emailVerificationToken, emailVerificationExpires, signupConfirmationEmailSentAt, organizations, isGuest, isAdmin, isClient, isOnBoardingInAppCompleted, createdFrom, createdAt, updatedAt, isLevelCertified, favoriteClubs, description, isProfileVisible, favoritePlayers, sports, stripeCustomerId, upcomingBookingsCount, nextBooking, subscriptionsCount, subscriptions, clubs, favoriteClubsDetails, frequentlyVisitedClubs, recentlyPlayedClubs, nearbyCityClubs, frequentlyPlayedWith, stripeLinks, verifiedSports, clubId, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)