@tennac-booking/sdk 1.0.37 → 1.0.40

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.
Files changed (244) hide show
  1. package/.openapi-generator/FILES +66 -42
  2. package/README.md +94 -39
  3. package/api.ts +3985 -718
  4. package/base.ts +4 -4
  5. package/common.ts +3 -3
  6. package/configuration.ts +3 -3
  7. package/dist/api.d.ts +2632 -777
  8. package/dist/api.js +2452 -40
  9. package/dist/base.d.ts +3 -3
  10. package/dist/base.js +4 -4
  11. package/dist/common.d.ts +3 -3
  12. package/dist/common.js +3 -3
  13. package/dist/configuration.d.ts +3 -3
  14. package/dist/configuration.js +3 -3
  15. package/dist/esm/api.d.ts +2632 -777
  16. package/dist/esm/api.js +2443 -39
  17. package/dist/esm/base.d.ts +3 -3
  18. package/dist/esm/base.js +4 -4
  19. package/dist/esm/common.d.ts +3 -3
  20. package/dist/esm/common.js +3 -3
  21. package/dist/esm/configuration.d.ts +3 -3
  22. package/dist/esm/configuration.js +3 -3
  23. package/dist/esm/index.d.ts +3 -3
  24. package/dist/esm/index.js +3 -3
  25. package/dist/index.d.ts +3 -3
  26. package/dist/index.js +3 -3
  27. package/docs/ActiveClub.md +2 -0
  28. package/docs/AddClubMemberRequest.md +22 -0
  29. package/docs/AddClubMemberResponse.md +22 -0
  30. package/docs/AddFavoriteClubRequestBody.md +20 -0
  31. package/docs/AddFavoritePlayerRequestBody.md +20 -0
  32. package/docs/AddPaymentMethodRequestBody.md +20 -0
  33. package/docs/AddPaymentMethodSetupRequestBody.md +20 -0
  34. package/docs/AddPaymentMethodSetupResponse.md +24 -0
  35. package/docs/ApiErrorResponse.md +1 -1
  36. package/docs/BaseUser.md +76 -0
  37. package/docs/BlockSlotResponse.md +22 -0
  38. package/docs/BookingDetailResponse.md +46 -0
  39. package/docs/BookingHistoryResponse.md +22 -0
  40. package/docs/BookingHistoryResponseHistoryInner.md +32 -0
  41. package/docs/BookingPaymentStatusResponse.md +24 -0
  42. package/docs/BookingPaymentStatusResponseBooking.md +26 -0
  43. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +36 -0
  44. package/docs/BookingPaymentStatusResponseSummary.md +28 -0
  45. package/docs/BookingPopulated.md +28 -0
  46. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +22 -0
  47. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +24 -0
  48. package/docs/BookingPopulatedSlotId.md +26 -0
  49. package/docs/BookingPopulatedSlotIdCourtId.md +28 -0
  50. package/docs/BookingPopulatedSlotIdCourtIdSportId.md +22 -0
  51. package/docs/BookingPopulatedUserId.md +24 -0
  52. package/docs/BookingResponse.md +28 -0
  53. package/docs/BookingSummary.md +44 -0
  54. package/docs/BookingSummaryBookingHistory.md +18 -0
  55. package/docs/BookingSummaryClubAddress.md +18 -0
  56. package/docs/BookingsApi.md +113 -0
  57. package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +20 -0
  58. package/docs/CancelBookingResponse.md +22 -0
  59. package/docs/CancelBookingResponseBooking.md +30 -0
  60. package/docs/ChangePasswordRequestBody.md +22 -0
  61. package/docs/ChangePasswordResponse.md +20 -0
  62. package/docs/CheckInPlayersResponse.md +30 -0
  63. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +34 -0
  64. package/docs/ClubAnalyticsApi.md +241 -0
  65. package/docs/ClubInfoResponse.md +48 -0
  66. package/docs/ClubMember.md +24 -0
  67. package/docs/ClubMembersResponse.md +22 -0
  68. package/docs/ClubRoleResponse.md +6 -6
  69. package/docs/ClubRolesResponse.md +22 -0
  70. package/docs/ClubSettings.md +21 -9
  71. package/docs/ClubStaffResponse.md +48 -0
  72. package/docs/ClubsApi.md +61 -0
  73. package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
  74. package/docs/ConfirmPaymentMethodResponse.md +22 -0
  75. package/docs/ConfirmPaymentMethodSetupRequestBody.md +20 -0
  76. package/docs/ConfirmPaymentMethodSetupResponse.md +22 -0
  77. package/docs/CourtDeleteResponse.md +20 -0
  78. package/docs/CourtResponse.md +18 -16
  79. package/docs/CourtStatus.md +5 -2
  80. package/docs/CourtWithNameResponse.md +48 -0
  81. package/docs/CourtsResponse.md +22 -0
  82. package/docs/CourtsWithNameResponse.md +22 -0
  83. package/docs/CreateBookingRequest.md +28 -0
  84. package/docs/CreateClubRoleRequestBody.md +24 -0
  85. package/docs/CreateCourtRequest.md +36 -0
  86. package/docs/CreateEventRequest.md +30 -0
  87. package/docs/CreatePriceRequest.md +26 -0
  88. package/docs/CreateSportRequest.md +26 -0
  89. package/docs/CreateSubscriptionPlanRequest.md +24 -0
  90. package/docs/DailyTurnoverResponse.md +24 -0
  91. package/docs/DeleteClubRole200Response.md +20 -0
  92. package/docs/DeleteEvent200Response.md +20 -0
  93. package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
  94. package/docs/DeleteSport200Response.md +20 -0
  95. package/docs/DiagnosticsApi.md +52 -0
  96. package/docs/DiagnosticsResponse.md +24 -0
  97. package/docs/Event.md +40 -0
  98. package/docs/EventBooking.md +32 -0
  99. package/docs/EventRegistrationRequest.md +22 -0
  100. package/docs/EventsApi.md +119 -0
  101. package/docs/FavoriteClubItem.md +26 -0
  102. package/docs/FavoriteClubMutationResponse.md +22 -0
  103. package/docs/FavoriteClubRequestBody.md +20 -0
  104. package/docs/FavoriteClubResponse.md +22 -0
  105. package/docs/FavoriteClubsResponse.md +20 -0
  106. package/docs/FavoritePlayerMutationResponse.md +22 -0
  107. package/docs/FavoritePlayerPublic.md +28 -0
  108. package/docs/FavoritePlayerRequestBody.md +20 -0
  109. package/docs/FavoritePlayersIdsResponse.md +22 -0
  110. package/docs/FavoritePlayersResponse.md +20 -0
  111. package/docs/FrequentClub.md +24 -0
  112. package/docs/FrequentPlayer.md +28 -0
  113. package/docs/{UserResponseFrequentlyPlayedWithInner.md → FrequentlyPlayedWithItem.md} +3 -3
  114. package/docs/{UserResponseFrequentlyVisitedClubsInner.md → FrequentlyVisitedClubItem.md} +3 -3
  115. package/docs/Gender.md +12 -0
  116. package/docs/GenderPercentage.md +26 -0
  117. package/docs/GetActiveClubs200Response.md +20 -0
  118. package/docs/GetClubInfos200Response.md +30 -0
  119. package/docs/GetClubUsersById200Response.md +20 -0
  120. package/docs/GetCourtsByClubAndSport200Response.md +26 -0
  121. package/docs/GetInfillPercentagePerPeriod200Response.md +24 -0
  122. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +22 -0
  123. package/docs/GetNumberOfClubUsers200Response.md +20 -0
  124. package/docs/GetPublishedEventsByClubId200Response.md +20 -0
  125. package/docs/GetUserRolesResponse.md +20 -0
  126. package/docs/GetUserRolesResponseRolesInner.md +26 -0
  127. package/docs/GetUserSubscriptionsResponse.md +22 -0
  128. package/docs/GoogleAuthRequestBody.md +20 -0
  129. package/docs/GoogleAuthResponse.md +30 -0
  130. package/docs/GoogleAuthResponseUser.md +26 -0
  131. package/docs/GoogleSignInRequestBody.md +20 -0
  132. package/docs/GoogleSignInResponse.md +24 -0
  133. package/docs/ILevelBySports.md +22 -0
  134. package/docs/InitiateSubscriptionSessionRequestBody.md +26 -0
  135. package/docs/InitiateSubscriptionSessionResponse.md +22 -0
  136. package/docs/InvoicesResponse.md +22 -0
  137. package/docs/InvoicesResponseInvoicesInner.md +34 -0
  138. package/docs/InvoicesResponsePagination.md +26 -0
  139. package/docs/LevelBySportEntry.md +22 -0
  140. package/docs/LevelBySportsItem.md +22 -0
  141. package/docs/LoginRequestBody.md +22 -0
  142. package/docs/LoginResponse.md +28 -0
  143. package/docs/ManagerBookingsApi.md +125 -0
  144. package/docs/ManagerCancelBookingRequest.md +20 -0
  145. package/docs/ManagerCancelBookingResponse.md +22 -0
  146. package/docs/ManagerCancelBookingResponseBooking.md +30 -0
  147. package/docs/ManagerClubCourtsApi.md +220 -0
  148. package/docs/ManagerClubRolesApi.md +268 -0
  149. package/docs/ManagerClubSlotsApi.md +119 -0
  150. package/docs/ManagerClubSubscriptionsApi.md +387 -0
  151. package/docs/ManagerClubsApi.md +253 -0
  152. package/docs/ManagerEventResponse.md +22 -0
  153. package/docs/ManagerEventsApi.md +227 -0
  154. package/docs/ManagerSportsApi.md +119 -0
  155. package/docs/MonthlyTurnoverResponse.md +28 -0
  156. package/docs/NoShowFeeResponse.md +30 -0
  157. package/docs/NoShowFeeResponseCaptureResultsInner.md +30 -0
  158. package/docs/NoShowFeeResponseCreatorChargeResult.md +26 -0
  159. package/docs/NotImplementedResponse.md +20 -0
  160. package/docs/PasswordResetRequestBody.md +20 -0
  161. package/docs/PaymentMethodSetupResponse.md +24 -0
  162. package/docs/PaymentStatus.md +30 -0
  163. package/docs/PickUserResponseExcludeKeyofUserResponseLocation.md +73 -0
  164. package/docs/PlayerWithPaymentMethod.md +22 -0
  165. package/docs/PriceResponse.md +2 -8
  166. package/docs/ProfilePictureResponse.md +20 -0
  167. package/docs/ProfilePictureUpdateRequestBody.md +20 -0
  168. package/docs/ProfileVisibilityResponse.md +20 -0
  169. package/docs/PublicClubUser.md +46 -0
  170. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +28 -0
  171. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +24 -0
  172. package/docs/{UserResponseLevelBySportsInner.md → PublicClubUserLevelBySportsInner.md} +3 -3
  173. package/docs/RefreshTokenRequestBody.md +20 -0
  174. package/docs/RefreshTokenResponse.md +26 -0
  175. package/docs/RegisterForEvent201Response.md +20 -0
  176. package/docs/{User.md → RegisterRequestBody.md} +5 -9
  177. package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
  178. package/docs/SdkDiagnosticsResponse.md +28 -0
  179. package/docs/SdkDiagnosticsResponseOpenapi.md +24 -0
  180. package/docs/SdkDiagnosticsResponseSdk.md +24 -0
  181. package/docs/SetupPaymentMethodRequestBody.md +20 -0
  182. package/docs/SetupPaymentMethodResponse.md +24 -0
  183. package/docs/SlotResponse.md +2 -10
  184. package/docs/SlotsResponse.md +22 -0
  185. package/docs/Sport.md +0 -2
  186. package/docs/SportResponse.md +4 -2
  187. package/docs/StaffBookingsApi.md +61 -0
  188. package/docs/StaffClubAnalyticsApi.md +254 -0
  189. package/docs/StaffClubBookingsApi.md +52 -0
  190. package/docs/StaffClubsApi.md +147 -0
  191. package/docs/StaffEventResponse.md +20 -0
  192. package/docs/StaffEventsApi.md +54 -0
  193. package/docs/StaffProfileApi.md +110 -0
  194. package/docs/StaffUserProfileResponse.md +22 -0
  195. package/docs/SubscribeToClubRequestBody.md +22 -0
  196. package/docs/SubscriptionMutationResponse.md +20 -0
  197. package/docs/SubscriptionPlanResponse.md +32 -0
  198. package/docs/SubscriptionSessionRequestBody.md +22 -0
  199. package/docs/SubscriptionSessionResponse.md +20 -0
  200. package/docs/UpdateClubRequest.md +34 -0
  201. package/docs/UpdateClubRoleRequestBody.md +24 -0
  202. package/docs/UpdateClubSettingsRequest.md +28 -0
  203. package/docs/UpdateCourtRequest.md +38 -0
  204. package/docs/UpdateCustomerRequestBody.md +22 -0
  205. package/docs/UpdateCustomerRequestBodyAddress.md +30 -0
  206. package/docs/UpdateCustomerResponse.md +20 -0
  207. package/docs/UpdateCustomerResponseCustomer.md +28 -0
  208. package/docs/UpdateLevelBySportsRequestBody.md +20 -0
  209. package/docs/UpdateProfilePictureRequestBody.md +20 -0
  210. package/docs/UpdateProfileVisibilityRequestBody.md +20 -0
  211. package/docs/UpdateSportRequest.md +24 -0
  212. package/docs/UpdateSubscriptionPlanRequest.md +24 -0
  213. package/docs/UpdateSubscriptionPlanResponse.md +22 -0
  214. package/docs/UpdateUserCityRequestBody.md +20 -0
  215. package/docs/UpdateUserDescriptionRequestBody.md +20 -0
  216. package/docs/UpdateUserRequestBody.md +38 -0
  217. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +22 -0
  218. package/docs/UserApi.md +63 -0
  219. package/docs/UserAuthenticationApi.md +226 -0
  220. package/docs/UserBookingItem.md +46 -0
  221. package/docs/UserBookingsApi.md +166 -0
  222. package/docs/UserBookingsResponse.md +26 -0
  223. package/docs/UserCityResponse.md +20 -0
  224. package/docs/UserClubCourtsApi.md +64 -0
  225. package/docs/UserClubSlotsApi.md +181 -0
  226. package/docs/UserClubSportsApi.md +60 -0
  227. package/docs/UserClubsApi.md +145 -0
  228. package/docs/UserDescriptionResponse.md +20 -0
  229. package/docs/UserFavoriteClubsResponse.md +20 -0
  230. package/docs/UserInfoStaff.md +38 -0
  231. package/docs/UserLocationSummary.md +44 -0
  232. package/docs/UserPaymentApi.md +176 -0
  233. package/docs/UserProfileApi.md +1254 -0
  234. package/docs/UserProfileResponse.md +28 -0
  235. package/docs/UserResponse.md +8 -48
  236. package/docs/UserRolesResponse.md +20 -0
  237. package/docs/UserStaffResponse.md +40 -0
  238. package/docs/UserSubscriptionsApi.md +222 -0
  239. package/docs/UserSubscriptionsResponse.md +20 -0
  240. package/docs/UsersApi.md +1888 -0
  241. package/docs/YearlyTurnoverResponse.md +26 -0
  242. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +24 -0
  243. package/index.ts +3 -3
  244. package/package.json +1 -1
@@ -0,0 +1,1254 @@
1
+ # UserProfileApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**addFavoriteClub**](#addfavoriteclub) | **POST** /api/users/me/favorite-clubs | Add a club to the user\'s favorite list|
8
+ |[**addFavoritePlayer**](#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers | Ajoute un joueur aux favoris de l\'utilisateur connecté|
9
+ |[**changePassword**](#changepassword) | **PUT** /api/users/me/password | Modifie le mot de passe de l\'utilisateur connecté|
10
+ |[**getAllUsers**](#getallusers) | **GET** /api/users | Récupère la liste des utilisateurs avec filtres et pagination|
11
+ |[**getFavoriteClubs**](#getfavoriteclubs) | **GET** /api/users/me/favorite-clubs | Retrieve the list of favorite clubs for the logged-in user|
12
+ |[**getFavoritesPlayers**](#getfavoritesplayers) | **GET** /api/users/me/favoritesPlayers | Récupère les joueurs favoris (profils visibles) de l\'utilisateur connecté|
13
+ |[**getFrequentlyPlayedWith**](#getfrequentlyplayedwith) | **GET** /api/users/me/frequentlyPlayedWith | Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)|
14
+ |[**getFrequentlyVisitedClub**](#getfrequentlyvisitedclub) | **GET** /api/users/me/frequentlyVisitedClub | Clubs les plus fréquemment visités par l\'utilisateur connecté|
15
+ |[**getProfilePicture**](#getprofilepicture) | **GET** /api/users/me/profile-picture | Récupère l\'URL de la photo de profil de l\'utilisateur connecté|
16
+ |[**getPublicUserProfile**](#getpublicuserprofile) | **GET** /api/users/profile/{id} | Récupère le profil public d\'un utilisateur par son ID|
17
+ |[**getUserBookingDetail**](#getuserbookingdetail) | **GET** /api/users/me/booking-detail/{bookingId} | Récupère le detéail d\'une réservation|
18
+ |[**getUserBookings**](#getuserbookings) | **GET** /api/users/me/bookings | Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)|
19
+ |[**getUserCity**](#getusercity) | **GET** /api/users/me/city | Récupère la ville de l\'utilisateur connecté|
20
+ |[**getUserDescription**](#getuserdescription) | **GET** /api/users/me/description | Récupère la description de l\'utilisateur connecté|
21
+ |[**getUserInfo**](#getuserinfo) | **GET** /api/users/me | Récupère les informations de l\'utilisateur connecté|
22
+ |[**getUserProfileVisibility**](#getuserprofilevisibility) | **GET** /api/users/me/profile-visibility | Récupère la visibilité du profil de l\'utilisateur connecté|
23
+ |[**removeFavoriteClub**](#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs/{clubId} | Remove a club from the user\'s favorite list|
24
+ |[**removeFavoritePlayer**](#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | Retire un joueur des favoris de l\'utilisateur connecté|
25
+ |[**updateLevelBySports**](#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | Met à jour le tableau levelBySports de l\'utilisateur connecté|
26
+ |[**updateProfilePicture**](#updateprofilepicture) | **PUT** /api/users/me/profile-picture | Met à jour l\'URL de la photo de profil de l\'utilisateur connecté|
27
+ |[**updateProfileVisibility**](#updateprofilevisibility) | **PUT** /api/users/me/profile-visibility | Met à jour la visibilité du profil de l\'utilisateur connecté|
28
+ |[**updateUser**](#updateuser) | **PUT** /api/users/me | Met à jour les données de l\'utilisateur connecté|
29
+ |[**updateUserCity**](#updateusercity) | **PUT** /api/users/me/city | Met à jour la ville de l\'utilisateur connecté|
30
+ |[**updateUserDescription**](#updateuserdescription) | **PUT** /api/users/me/description | Met à jour la description de l\'utilisateur connecté|
31
+
32
+ # **addFavoriteClub**
33
+ > FavoriteClubResponse addFavoriteClub(addFavoriteClubRequestBody)
34
+
35
+
36
+ ### Example
37
+
38
+ ```typescript
39
+ import {
40
+ UserProfileApi,
41
+ Configuration,
42
+ AddFavoriteClubRequestBody
43
+ } from '@tennac-booking/sdk';
44
+
45
+ const configuration = new Configuration();
46
+ const apiInstance = new UserProfileApi(configuration);
47
+
48
+ let addFavoriteClubRequestBody: AddFavoriteClubRequestBody; //
49
+
50
+ const { status, data } = await apiInstance.addFavoriteClub(
51
+ addFavoriteClubRequestBody
52
+ );
53
+ ```
54
+
55
+ ### Parameters
56
+
57
+ |Name | Type | Description | Notes|
58
+ |------------- | ------------- | ------------- | -------------|
59
+ | **addFavoriteClubRequestBody** | **AddFavoriteClubRequestBody**| | |
60
+
61
+
62
+ ### Return type
63
+
64
+ **FavoriteClubResponse**
65
+
66
+ ### Authorization
67
+
68
+ [bearerAuth](../README.md#bearerAuth)
69
+
70
+ ### HTTP request headers
71
+
72
+ - **Content-Type**: application/json
73
+ - **Accept**: application/json
74
+
75
+
76
+ ### HTTP response details
77
+ | Status code | Description | Response headers |
78
+ |-------------|-------------|------------------|
79
+ |**200** | Club added to favorites | - |
80
+ |**400** | Requête invalide | - |
81
+ |**401** | Non autorisé | - |
82
+ |**500** | Erreur serveur interne | - |
83
+
84
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
85
+
86
+ # **addFavoritePlayer**
87
+ > FavoritePlayersIdsResponse addFavoritePlayer(addFavoritePlayerRequestBody)
88
+
89
+
90
+ ### Example
91
+
92
+ ```typescript
93
+ import {
94
+ UserProfileApi,
95
+ Configuration,
96
+ AddFavoritePlayerRequestBody
97
+ } from '@tennac-booking/sdk';
98
+
99
+ const configuration = new Configuration();
100
+ const apiInstance = new UserProfileApi(configuration);
101
+
102
+ let addFavoritePlayerRequestBody: AddFavoritePlayerRequestBody; //
103
+
104
+ const { status, data } = await apiInstance.addFavoritePlayer(
105
+ addFavoritePlayerRequestBody
106
+ );
107
+ ```
108
+
109
+ ### Parameters
110
+
111
+ |Name | Type | Description | Notes|
112
+ |------------- | ------------- | ------------- | -------------|
113
+ | **addFavoritePlayerRequestBody** | **AddFavoritePlayerRequestBody**| | |
114
+
115
+
116
+ ### Return type
117
+
118
+ **FavoritePlayersIdsResponse**
119
+
120
+ ### Authorization
121
+
122
+ [bearerAuth](../README.md#bearerAuth)
123
+
124
+ ### HTTP request headers
125
+
126
+ - **Content-Type**: application/json
127
+ - **Accept**: application/json
128
+
129
+
130
+ ### HTTP response details
131
+ | Status code | Description | Response headers |
132
+ |-------------|-------------|------------------|
133
+ |**200** | Joueur ajouté aux favoris | - |
134
+ |**400** | Requête invalide | - |
135
+ |**401** | Non autorisé | - |
136
+ |**404** | Ressource non trouvée | - |
137
+ |**500** | Erreur serveur interne | - |
138
+
139
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
140
+
141
+ # **changePassword**
142
+ > ChangePasswordResponse changePassword(changePasswordRequestBody)
143
+
144
+
145
+ ### Example
146
+
147
+ ```typescript
148
+ import {
149
+ UserProfileApi,
150
+ Configuration,
151
+ ChangePasswordRequestBody
152
+ } from '@tennac-booking/sdk';
153
+
154
+ const configuration = new Configuration();
155
+ const apiInstance = new UserProfileApi(configuration);
156
+
157
+ let changePasswordRequestBody: ChangePasswordRequestBody; //
158
+
159
+ const { status, data } = await apiInstance.changePassword(
160
+ changePasswordRequestBody
161
+ );
162
+ ```
163
+
164
+ ### Parameters
165
+
166
+ |Name | Type | Description | Notes|
167
+ |------------- | ------------- | ------------- | -------------|
168
+ | **changePasswordRequestBody** | **ChangePasswordRequestBody**| | |
169
+
170
+
171
+ ### Return type
172
+
173
+ **ChangePasswordResponse**
174
+
175
+ ### Authorization
176
+
177
+ [bearerAuth](../README.md#bearerAuth)
178
+
179
+ ### HTTP request headers
180
+
181
+ - **Content-Type**: application/json
182
+ - **Accept**: application/json
183
+
184
+
185
+ ### HTTP response details
186
+ | Status code | Description | Response headers |
187
+ |-------------|-------------|------------------|
188
+ |**200** | Mot de passe modifié | - |
189
+ |**400** | Requête invalide | - |
190
+ |**401** | Non autorisé | - |
191
+ |**404** | Ressource non trouvée | - |
192
+ |**500** | Erreur serveur interne | - |
193
+
194
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
195
+
196
+ # **getAllUsers**
197
+ > Array<UserResponse> getAllUsers()
198
+
199
+
200
+ ### Example
201
+
202
+ ```typescript
203
+ import {
204
+ UserProfileApi,
205
+ Configuration
206
+ } from '@tennac-booking/sdk';
207
+
208
+ const configuration = new Configuration();
209
+ const apiInstance = new UserProfileApi(configuration);
210
+
211
+ let limit: number; //Nombre maximum d\'utilisateurs à retourner (optional) (default to 20)
212
+ let skip: number; //Nombre d\'utilisateurs à ignorer (pagination) (optional) (default to 0)
213
+ let search: string; //Recherche dans firstName, lastName, email (optional) (default to undefined)
214
+
215
+ const { status, data } = await apiInstance.getAllUsers(
216
+ limit,
217
+ skip,
218
+ search
219
+ );
220
+ ```
221
+
222
+ ### Parameters
223
+
224
+ |Name | Type | Description | Notes|
225
+ |------------- | ------------- | ------------- | -------------|
226
+ | **limit** | [**number**] | Nombre maximum d\&#39;utilisateurs à retourner | (optional) defaults to 20|
227
+ | **skip** | [**number**] | Nombre d\&#39;utilisateurs à ignorer (pagination) | (optional) defaults to 0|
228
+ | **search** | [**string**] | Recherche dans firstName, lastName, email | (optional) defaults to undefined|
229
+
230
+
231
+ ### Return type
232
+
233
+ **Array<UserResponse>**
234
+
235
+ ### Authorization
236
+
237
+ [bearerAuth](../README.md#bearerAuth)
238
+
239
+ ### HTTP request headers
240
+
241
+ - **Content-Type**: Not defined
242
+ - **Accept**: application/json
243
+
244
+
245
+ ### HTTP response details
246
+ | Status code | Description | Response headers |
247
+ |-------------|-------------|------------------|
248
+ |**200** | Liste des utilisateurs | - |
249
+ |**401** | Non autorisé | - |
250
+ |**500** | Erreur serveur interne | - |
251
+
252
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
253
+
254
+ # **getFavoriteClubs**
255
+ > UserFavoriteClubsResponse getFavoriteClubs()
256
+
257
+
258
+ ### Example
259
+
260
+ ```typescript
261
+ import {
262
+ UserProfileApi,
263
+ Configuration
264
+ } from '@tennac-booking/sdk';
265
+
266
+ const configuration = new Configuration();
267
+ const apiInstance = new UserProfileApi(configuration);
268
+
269
+ const { status, data } = await apiInstance.getFavoriteClubs();
270
+ ```
271
+
272
+ ### Parameters
273
+ This endpoint does not have any parameters.
274
+
275
+
276
+ ### Return type
277
+
278
+ **UserFavoriteClubsResponse**
279
+
280
+ ### Authorization
281
+
282
+ [bearerAuth](../README.md#bearerAuth)
283
+
284
+ ### HTTP request headers
285
+
286
+ - **Content-Type**: Not defined
287
+ - **Accept**: application/json
288
+
289
+
290
+ ### HTTP response details
291
+ | Status code | Description | Response headers |
292
+ |-------------|-------------|------------------|
293
+ |**200** | List of favorite clubs | - |
294
+ |**401** | Non autorisé | - |
295
+ |**500** | Erreur serveur interne | - |
296
+
297
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
298
+
299
+ # **getFavoritesPlayers**
300
+ > FavoritePlayersResponse getFavoritesPlayers()
301
+
302
+
303
+ ### Example
304
+
305
+ ```typescript
306
+ import {
307
+ UserProfileApi,
308
+ Configuration
309
+ } from '@tennac-booking/sdk';
310
+
311
+ const configuration = new Configuration();
312
+ const apiInstance = new UserProfileApi(configuration);
313
+
314
+ const { status, data } = await apiInstance.getFavoritesPlayers();
315
+ ```
316
+
317
+ ### Parameters
318
+ This endpoint does not have any parameters.
319
+
320
+
321
+ ### Return type
322
+
323
+ **FavoritePlayersResponse**
324
+
325
+ ### Authorization
326
+
327
+ [bearerAuth](../README.md#bearerAuth)
328
+
329
+ ### HTTP request headers
330
+
331
+ - **Content-Type**: Not defined
332
+ - **Accept**: application/json
333
+
334
+
335
+ ### HTTP response details
336
+ | Status code | Description | Response headers |
337
+ |-------------|-------------|------------------|
338
+ |**200** | Liste des joueurs favoris visibles | - |
339
+ |**401** | Non autorisé | - |
340
+ |**500** | Erreur serveur interne | - |
341
+
342
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
343
+
344
+ # **getFrequentlyPlayedWith**
345
+ > Array<FrequentlyPlayedWithItem> getFrequentlyPlayedWith()
346
+
347
+
348
+ ### Example
349
+
350
+ ```typescript
351
+ import {
352
+ UserProfileApi,
353
+ Configuration
354
+ } from '@tennac-booking/sdk';
355
+
356
+ const configuration = new Configuration();
357
+ const apiInstance = new UserProfileApi(configuration);
358
+
359
+ const { status, data } = await apiInstance.getFrequentlyPlayedWith();
360
+ ```
361
+
362
+ ### Parameters
363
+ This endpoint does not have any parameters.
364
+
365
+
366
+ ### Return type
367
+
368
+ **Array<FrequentlyPlayedWithItem>**
369
+
370
+ ### Authorization
371
+
372
+ [bearerAuth](../README.md#bearerAuth)
373
+
374
+ ### HTTP request headers
375
+
376
+ - **Content-Type**: Not defined
377
+ - **Accept**: application/json
378
+
379
+
380
+ ### HTTP response details
381
+ | Status code | Description | Response headers |
382
+ |-------------|-------------|------------------|
383
+ |**200** | Liste des joueurs triée par nombre de parties jouées | - |
384
+ |**401** | Non autorisé | - |
385
+ |**500** | Erreur serveur interne | - |
386
+
387
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
388
+
389
+ # **getFrequentlyVisitedClub**
390
+ > Array<FrequentlyVisitedClubItem> getFrequentlyVisitedClub()
391
+
392
+
393
+ ### Example
394
+
395
+ ```typescript
396
+ import {
397
+ UserProfileApi,
398
+ Configuration
399
+ } from '@tennac-booking/sdk';
400
+
401
+ const configuration = new Configuration();
402
+ const apiInstance = new UserProfileApi(configuration);
403
+
404
+ const { status, data } = await apiInstance.getFrequentlyVisitedClub();
405
+ ```
406
+
407
+ ### Parameters
408
+ This endpoint does not have any parameters.
409
+
410
+
411
+ ### Return type
412
+
413
+ **Array<FrequentlyVisitedClubItem>**
414
+
415
+ ### Authorization
416
+
417
+ [bearerAuth](../README.md#bearerAuth)
418
+
419
+ ### HTTP request headers
420
+
421
+ - **Content-Type**: Not defined
422
+ - **Accept**: application/json
423
+
424
+
425
+ ### HTTP response details
426
+ | Status code | Description | Response headers |
427
+ |-------------|-------------|------------------|
428
+ |**200** | Liste des clubs triée par nombre de visites | - |
429
+ |**401** | Non autorisé | - |
430
+ |**500** | Erreur serveur interne | - |
431
+
432
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
433
+
434
+ # **getProfilePicture**
435
+ > ProfilePictureResponse getProfilePicture()
436
+
437
+
438
+ ### Example
439
+
440
+ ```typescript
441
+ import {
442
+ UserProfileApi,
443
+ Configuration
444
+ } from '@tennac-booking/sdk';
445
+
446
+ const configuration = new Configuration();
447
+ const apiInstance = new UserProfileApi(configuration);
448
+
449
+ const { status, data } = await apiInstance.getProfilePicture();
450
+ ```
451
+
452
+ ### Parameters
453
+ This endpoint does not have any parameters.
454
+
455
+
456
+ ### Return type
457
+
458
+ **ProfilePictureResponse**
459
+
460
+ ### Authorization
461
+
462
+ [bearerAuth](../README.md#bearerAuth)
463
+
464
+ ### HTTP request headers
465
+
466
+ - **Content-Type**: Not defined
467
+ - **Accept**: application/json
468
+
469
+
470
+ ### HTTP response details
471
+ | Status code | Description | Response headers |
472
+ |-------------|-------------|------------------|
473
+ |**200** | URL de la photo de profil | - |
474
+ |**401** | Non autorisé | - |
475
+ |**404** | Ressource non trouvée | - |
476
+ |**500** | Erreur serveur interne | - |
477
+
478
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
479
+
480
+ # **getPublicUserProfile**
481
+ > PublicClubUser getPublicUserProfile()
482
+
483
+
484
+ ### Example
485
+
486
+ ```typescript
487
+ import {
488
+ UserProfileApi,
489
+ Configuration
490
+ } from '@tennac-booking/sdk';
491
+
492
+ const configuration = new Configuration();
493
+ const apiInstance = new UserProfileApi(configuration);
494
+
495
+ let id: string; //ID de l\'utilisateur (default to undefined)
496
+
497
+ const { status, data } = await apiInstance.getPublicUserProfile(
498
+ id
499
+ );
500
+ ```
501
+
502
+ ### Parameters
503
+
504
+ |Name | Type | Description | Notes|
505
+ |------------- | ------------- | ------------- | -------------|
506
+ | **id** | [**string**] | ID de l\&#39;utilisateur | defaults to undefined|
507
+
508
+
509
+ ### Return type
510
+
511
+ **PublicClubUser**
512
+
513
+ ### Authorization
514
+
515
+ [bearerAuth](../README.md#bearerAuth)
516
+
517
+ ### HTTP request headers
518
+
519
+ - **Content-Type**: Not defined
520
+ - **Accept**: application/json
521
+
522
+
523
+ ### HTTP response details
524
+ | Status code | Description | Response headers |
525
+ |-------------|-------------|------------------|
526
+ |**200** | Profil public de l\&#39;utilisateur | - |
527
+ |**401** | Non autorisé | - |
528
+ |**500** | Erreur serveur interne | - |
529
+
530
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
531
+
532
+ # **getUserBookingDetail**
533
+ > UserBookingItem getUserBookingDetail()
534
+
535
+
536
+ ### Example
537
+
538
+ ```typescript
539
+ import {
540
+ UserProfileApi,
541
+ Configuration
542
+ } from '@tennac-booking/sdk';
543
+
544
+ const configuration = new Configuration();
545
+ const apiInstance = new UserProfileApi(configuration);
546
+
547
+ let bookingId: string; //ID de la réservation (default to undefined)
548
+
549
+ const { status, data } = await apiInstance.getUserBookingDetail(
550
+ bookingId
551
+ );
552
+ ```
553
+
554
+ ### Parameters
555
+
556
+ |Name | Type | Description | Notes|
557
+ |------------- | ------------- | ------------- | -------------|
558
+ | **bookingId** | [**string**] | ID de la réservation | defaults to undefined|
559
+
560
+
561
+ ### Return type
562
+
563
+ **UserBookingItem**
564
+
565
+ ### Authorization
566
+
567
+ [bearerAuth](../README.md#bearerAuth)
568
+
569
+ ### HTTP request headers
570
+
571
+ - **Content-Type**: Not defined
572
+ - **Accept**: application/json
573
+
574
+
575
+ ### HTTP response details
576
+ | Status code | Description | Response headers |
577
+ |-------------|-------------|------------------|
578
+ |**200** | Réservations de l\&#39;utilisateur | - |
579
+ |**401** | Non autorisé | - |
580
+ |**500** | Erreur serveur interne | - |
581
+
582
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
583
+
584
+ # **getUserBookings**
585
+ > UserBookingsResponse getUserBookings()
586
+
587
+
588
+ ### Example
589
+
590
+ ```typescript
591
+ import {
592
+ UserProfileApi,
593
+ Configuration
594
+ } from '@tennac-booking/sdk';
595
+
596
+ const configuration = new Configuration();
597
+ const apiInstance = new UserProfileApi(configuration);
598
+
599
+ let limit: number; //Nombre maximum de réservations à retourner (optional) (default to 20)
600
+ let skip: number; //Nombre de réservations à ignorer (pagination) (optional) (default to 0)
601
+
602
+ const { status, data } = await apiInstance.getUserBookings(
603
+ limit,
604
+ skip
605
+ );
606
+ ```
607
+
608
+ ### Parameters
609
+
610
+ |Name | Type | Description | Notes|
611
+ |------------- | ------------- | ------------- | -------------|
612
+ | **limit** | [**number**] | Nombre maximum de réservations à retourner | (optional) defaults to 20|
613
+ | **skip** | [**number**] | Nombre de réservations à ignorer (pagination) | (optional) defaults to 0|
614
+
615
+
616
+ ### Return type
617
+
618
+ **UserBookingsResponse**
619
+
620
+ ### Authorization
621
+
622
+ [bearerAuth](../README.md#bearerAuth)
623
+
624
+ ### HTTP request headers
625
+
626
+ - **Content-Type**: Not defined
627
+ - **Accept**: application/json
628
+
629
+
630
+ ### HTTP response details
631
+ | Status code | Description | Response headers |
632
+ |-------------|-------------|------------------|
633
+ |**200** | Réservations de l\&#39;utilisateur | - |
634
+ |**401** | Non autorisé | - |
635
+ |**500** | Erreur serveur interne | - |
636
+
637
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
638
+
639
+ # **getUserCity**
640
+ > UserCityResponse getUserCity()
641
+
642
+
643
+ ### Example
644
+
645
+ ```typescript
646
+ import {
647
+ UserProfileApi,
648
+ Configuration
649
+ } from '@tennac-booking/sdk';
650
+
651
+ const configuration = new Configuration();
652
+ const apiInstance = new UserProfileApi(configuration);
653
+
654
+ const { status, data } = await apiInstance.getUserCity();
655
+ ```
656
+
657
+ ### Parameters
658
+ This endpoint does not have any parameters.
659
+
660
+
661
+ ### Return type
662
+
663
+ **UserCityResponse**
664
+
665
+ ### Authorization
666
+
667
+ [bearerAuth](../README.md#bearerAuth)
668
+
669
+ ### HTTP request headers
670
+
671
+ - **Content-Type**: Not defined
672
+ - **Accept**: application/json
673
+
674
+
675
+ ### HTTP response details
676
+ | Status code | Description | Response headers |
677
+ |-------------|-------------|------------------|
678
+ |**200** | Ville de l\&#39;utilisateur | - |
679
+ |**401** | Non autorisé | - |
680
+ |**404** | Ressource non trouvée | - |
681
+ |**500** | Erreur serveur interne | - |
682
+
683
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
684
+
685
+ # **getUserDescription**
686
+ > UserDescriptionResponse getUserDescription()
687
+
688
+
689
+ ### Example
690
+
691
+ ```typescript
692
+ import {
693
+ UserProfileApi,
694
+ Configuration
695
+ } from '@tennac-booking/sdk';
696
+
697
+ const configuration = new Configuration();
698
+ const apiInstance = new UserProfileApi(configuration);
699
+
700
+ const { status, data } = await apiInstance.getUserDescription();
701
+ ```
702
+
703
+ ### Parameters
704
+ This endpoint does not have any parameters.
705
+
706
+
707
+ ### Return type
708
+
709
+ **UserDescriptionResponse**
710
+
711
+ ### Authorization
712
+
713
+ [bearerAuth](../README.md#bearerAuth)
714
+
715
+ ### HTTP request headers
716
+
717
+ - **Content-Type**: Not defined
718
+ - **Accept**: application/json
719
+
720
+
721
+ ### HTTP response details
722
+ | Status code | Description | Response headers |
723
+ |-------------|-------------|------------------|
724
+ |**200** | Description de l\&#39;utilisateur | - |
725
+ |**401** | Non autorisé | - |
726
+ |**404** | Ressource non trouvée | - |
727
+ |**500** | Erreur serveur interne | - |
728
+
729
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
730
+
731
+ # **getUserInfo**
732
+ > UserResponse getUserInfo()
733
+
734
+
735
+ ### Example
736
+
737
+ ```typescript
738
+ import {
739
+ UserProfileApi,
740
+ Configuration
741
+ } from '@tennac-booking/sdk';
742
+
743
+ const configuration = new Configuration();
744
+ const apiInstance = new UserProfileApi(configuration);
745
+
746
+ const { status, data } = await apiInstance.getUserInfo();
747
+ ```
748
+
749
+ ### Parameters
750
+ This endpoint does not have any parameters.
751
+
752
+
753
+ ### Return type
754
+
755
+ **UserResponse**
756
+
757
+ ### Authorization
758
+
759
+ [bearerAuth](../README.md#bearerAuth)
760
+
761
+ ### HTTP request headers
762
+
763
+ - **Content-Type**: Not defined
764
+ - **Accept**: application/json
765
+
766
+
767
+ ### HTTP response details
768
+ | Status code | Description | Response headers |
769
+ |-------------|-------------|------------------|
770
+ |**200** | Informations de l\&#39;utilisateur | - |
771
+ |**401** | Non autorisé | - |
772
+ |**404** | Ressource non trouvée | - |
773
+ |**500** | Erreur serveur interne | - |
774
+
775
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
776
+
777
+ # **getUserProfileVisibility**
778
+ > ProfileVisibilityResponse getUserProfileVisibility()
779
+
780
+
781
+ ### Example
782
+
783
+ ```typescript
784
+ import {
785
+ UserProfileApi,
786
+ Configuration
787
+ } from '@tennac-booking/sdk';
788
+
789
+ const configuration = new Configuration();
790
+ const apiInstance = new UserProfileApi(configuration);
791
+
792
+ const { status, data } = await apiInstance.getUserProfileVisibility();
793
+ ```
794
+
795
+ ### Parameters
796
+ This endpoint does not have any parameters.
797
+
798
+
799
+ ### Return type
800
+
801
+ **ProfileVisibilityResponse**
802
+
803
+ ### Authorization
804
+
805
+ [bearerAuth](../README.md#bearerAuth)
806
+
807
+ ### HTTP request headers
808
+
809
+ - **Content-Type**: Not defined
810
+ - **Accept**: application/json
811
+
812
+
813
+ ### HTTP response details
814
+ | Status code | Description | Response headers |
815
+ |-------------|-------------|------------------|
816
+ |**200** | Visibilité du profil de l\&#39;utilisateur | - |
817
+ |**401** | Non autorisé | - |
818
+ |**404** | Ressource non trouvée | - |
819
+ |**500** | Erreur serveur interne | - |
820
+
821
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
822
+
823
+ # **removeFavoriteClub**
824
+ > FavoriteClubResponse removeFavoriteClub()
825
+
826
+
827
+ ### Example
828
+
829
+ ```typescript
830
+ import {
831
+ UserProfileApi,
832
+ Configuration
833
+ } from '@tennac-booking/sdk';
834
+
835
+ const configuration = new Configuration();
836
+ const apiInstance = new UserProfileApi(configuration);
837
+
838
+ let clubId: string; //ID of the club to remove from favorites (default to undefined)
839
+
840
+ const { status, data } = await apiInstance.removeFavoriteClub(
841
+ clubId
842
+ );
843
+ ```
844
+
845
+ ### Parameters
846
+
847
+ |Name | Type | Description | Notes|
848
+ |------------- | ------------- | ------------- | -------------|
849
+ | **clubId** | [**string**] | ID of the club to remove from favorites | defaults to undefined|
850
+
851
+
852
+ ### Return type
853
+
854
+ **FavoriteClubResponse**
855
+
856
+ ### Authorization
857
+
858
+ [bearerAuth](../README.md#bearerAuth)
859
+
860
+ ### HTTP request headers
861
+
862
+ - **Content-Type**: Not defined
863
+ - **Accept**: application/json
864
+
865
+
866
+ ### HTTP response details
867
+ | Status code | Description | Response headers |
868
+ |-------------|-------------|------------------|
869
+ |**200** | Club removed from favorites | - |
870
+ |**400** | Requête invalide | - |
871
+ |**401** | Non autorisé | - |
872
+ |**500** | Erreur serveur interne | - |
873
+
874
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
875
+
876
+ # **removeFavoritePlayer**
877
+ > FavoritePlayersIdsResponse removeFavoritePlayer()
878
+
879
+
880
+ ### Example
881
+
882
+ ```typescript
883
+ import {
884
+ UserProfileApi,
885
+ Configuration
886
+ } from '@tennac-booking/sdk';
887
+
888
+ const configuration = new Configuration();
889
+ const apiInstance = new UserProfileApi(configuration);
890
+
891
+ let favoritePlayerId: string; //ID du joueur à retirer des favoris (default to undefined)
892
+
893
+ const { status, data } = await apiInstance.removeFavoritePlayer(
894
+ favoritePlayerId
895
+ );
896
+ ```
897
+
898
+ ### Parameters
899
+
900
+ |Name | Type | Description | Notes|
901
+ |------------- | ------------- | ------------- | -------------|
902
+ | **favoritePlayerId** | [**string**] | ID du joueur à retirer des favoris | defaults to undefined|
903
+
904
+
905
+ ### Return type
906
+
907
+ **FavoritePlayersIdsResponse**
908
+
909
+ ### Authorization
910
+
911
+ [bearerAuth](../README.md#bearerAuth)
912
+
913
+ ### HTTP request headers
914
+
915
+ - **Content-Type**: Not defined
916
+ - **Accept**: application/json
917
+
918
+
919
+ ### HTTP response details
920
+ | Status code | Description | Response headers |
921
+ |-------------|-------------|------------------|
922
+ |**200** | Joueur retiré des favoris | - |
923
+ |**400** | Requête invalide | - |
924
+ |**401** | Non autorisé | - |
925
+ |**404** | Ressource non trouvée | - |
926
+ |**500** | Erreur serveur interne | - |
927
+
928
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
929
+
930
+ # **updateLevelBySports**
931
+ > UserResponse updateLevelBySports(updateLevelBySportsRequestBody)
932
+
933
+
934
+ ### Example
935
+
936
+ ```typescript
937
+ import {
938
+ UserProfileApi,
939
+ Configuration,
940
+ UpdateLevelBySportsRequestBody
941
+ } from '@tennac-booking/sdk';
942
+
943
+ const configuration = new Configuration();
944
+ const apiInstance = new UserProfileApi(configuration);
945
+
946
+ let updateLevelBySportsRequestBody: UpdateLevelBySportsRequestBody; //
947
+
948
+ const { status, data } = await apiInstance.updateLevelBySports(
949
+ updateLevelBySportsRequestBody
950
+ );
951
+ ```
952
+
953
+ ### Parameters
954
+
955
+ |Name | Type | Description | Notes|
956
+ |------------- | ------------- | ------------- | -------------|
957
+ | **updateLevelBySportsRequestBody** | **UpdateLevelBySportsRequestBody**| | |
958
+
959
+
960
+ ### Return type
961
+
962
+ **UserResponse**
963
+
964
+ ### Authorization
965
+
966
+ [bearerAuth](../README.md#bearerAuth)
967
+
968
+ ### HTTP request headers
969
+
970
+ - **Content-Type**: application/json
971
+ - **Accept**: application/json
972
+
973
+
974
+ ### HTTP response details
975
+ | Status code | Description | Response headers |
976
+ |-------------|-------------|------------------|
977
+ |**200** | Utilisateur mis à jour | - |
978
+ |**400** | Requête invalide | - |
979
+ |**401** | Non autorisé | - |
980
+ |**500** | Erreur serveur interne | - |
981
+
982
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
983
+
984
+ # **updateProfilePicture**
985
+ > ProfilePictureResponse updateProfilePicture(updateProfilePictureRequestBody)
986
+
987
+
988
+ ### Example
989
+
990
+ ```typescript
991
+ import {
992
+ UserProfileApi,
993
+ Configuration,
994
+ UpdateProfilePictureRequestBody
995
+ } from '@tennac-booking/sdk';
996
+
997
+ const configuration = new Configuration();
998
+ const apiInstance = new UserProfileApi(configuration);
999
+
1000
+ let updateProfilePictureRequestBody: UpdateProfilePictureRequestBody; //
1001
+
1002
+ const { status, data } = await apiInstance.updateProfilePicture(
1003
+ updateProfilePictureRequestBody
1004
+ );
1005
+ ```
1006
+
1007
+ ### Parameters
1008
+
1009
+ |Name | Type | Description | Notes|
1010
+ |------------- | ------------- | ------------- | -------------|
1011
+ | **updateProfilePictureRequestBody** | **UpdateProfilePictureRequestBody**| | |
1012
+
1013
+
1014
+ ### Return type
1015
+
1016
+ **ProfilePictureResponse**
1017
+
1018
+ ### Authorization
1019
+
1020
+ [bearerAuth](../README.md#bearerAuth)
1021
+
1022
+ ### HTTP request headers
1023
+
1024
+ - **Content-Type**: application/json
1025
+ - **Accept**: application/json
1026
+
1027
+
1028
+ ### HTTP response details
1029
+ | Status code | Description | Response headers |
1030
+ |-------------|-------------|------------------|
1031
+ |**200** | Nouvelle URL de la photo de profil | - |
1032
+ |**400** | Requête invalide | - |
1033
+ |**401** | Non autorisé | - |
1034
+ |**404** | Ressource non trouvée | - |
1035
+ |**500** | Erreur serveur interne | - |
1036
+
1037
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1038
+
1039
+ # **updateProfileVisibility**
1040
+ > UserResponse updateProfileVisibility(updateProfileVisibilityRequestBody)
1041
+
1042
+
1043
+ ### Example
1044
+
1045
+ ```typescript
1046
+ import {
1047
+ UserProfileApi,
1048
+ Configuration,
1049
+ UpdateProfileVisibilityRequestBody
1050
+ } from '@tennac-booking/sdk';
1051
+
1052
+ const configuration = new Configuration();
1053
+ const apiInstance = new UserProfileApi(configuration);
1054
+
1055
+ let updateProfileVisibilityRequestBody: UpdateProfileVisibilityRequestBody; //
1056
+
1057
+ const { status, data } = await apiInstance.updateProfileVisibility(
1058
+ updateProfileVisibilityRequestBody
1059
+ );
1060
+ ```
1061
+
1062
+ ### Parameters
1063
+
1064
+ |Name | Type | Description | Notes|
1065
+ |------------- | ------------- | ------------- | -------------|
1066
+ | **updateProfileVisibilityRequestBody** | **UpdateProfileVisibilityRequestBody**| | |
1067
+
1068
+
1069
+ ### Return type
1070
+
1071
+ **UserResponse**
1072
+
1073
+ ### Authorization
1074
+
1075
+ [bearerAuth](../README.md#bearerAuth)
1076
+
1077
+ ### HTTP request headers
1078
+
1079
+ - **Content-Type**: application/json
1080
+ - **Accept**: application/json
1081
+
1082
+
1083
+ ### HTTP response details
1084
+ | Status code | Description | Response headers |
1085
+ |-------------|-------------|------------------|
1086
+ |**200** | Visibilité du profil mise à jour | - |
1087
+ |**400** | Requête invalide | - |
1088
+ |**401** | Non autorisé | - |
1089
+ |**500** | Erreur serveur interne | - |
1090
+
1091
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1092
+
1093
+ # **updateUser**
1094
+ > UserResponse updateUser(updateUserRequestBody)
1095
+
1096
+
1097
+ ### Example
1098
+
1099
+ ```typescript
1100
+ import {
1101
+ UserProfileApi,
1102
+ Configuration,
1103
+ UpdateUserRequestBody
1104
+ } from '@tennac-booking/sdk';
1105
+
1106
+ const configuration = new Configuration();
1107
+ const apiInstance = new UserProfileApi(configuration);
1108
+
1109
+ let updateUserRequestBody: UpdateUserRequestBody; //
1110
+
1111
+ const { status, data } = await apiInstance.updateUser(
1112
+ updateUserRequestBody
1113
+ );
1114
+ ```
1115
+
1116
+ ### Parameters
1117
+
1118
+ |Name | Type | Description | Notes|
1119
+ |------------- | ------------- | ------------- | -------------|
1120
+ | **updateUserRequestBody** | **UpdateUserRequestBody**| | |
1121
+
1122
+
1123
+ ### Return type
1124
+
1125
+ **UserResponse**
1126
+
1127
+ ### Authorization
1128
+
1129
+ [bearerAuth](../README.md#bearerAuth)
1130
+
1131
+ ### HTTP request headers
1132
+
1133
+ - **Content-Type**: application/json
1134
+ - **Accept**: application/json
1135
+
1136
+
1137
+ ### HTTP response details
1138
+ | Status code | Description | Response headers |
1139
+ |-------------|-------------|------------------|
1140
+ |**200** | Utilisateur mis à jour | - |
1141
+ |**400** | Requête invalide | - |
1142
+ |**401** | Non autorisé | - |
1143
+ |**500** | Erreur serveur interne | - |
1144
+
1145
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1146
+
1147
+ # **updateUserCity**
1148
+ > UserResponse updateUserCity(updateUserCityRequestBody)
1149
+
1150
+
1151
+ ### Example
1152
+
1153
+ ```typescript
1154
+ import {
1155
+ UserProfileApi,
1156
+ Configuration,
1157
+ UpdateUserCityRequestBody
1158
+ } from '@tennac-booking/sdk';
1159
+
1160
+ const configuration = new Configuration();
1161
+ const apiInstance = new UserProfileApi(configuration);
1162
+
1163
+ let updateUserCityRequestBody: UpdateUserCityRequestBody; //
1164
+
1165
+ const { status, data } = await apiInstance.updateUserCity(
1166
+ updateUserCityRequestBody
1167
+ );
1168
+ ```
1169
+
1170
+ ### Parameters
1171
+
1172
+ |Name | Type | Description | Notes|
1173
+ |------------- | ------------- | ------------- | -------------|
1174
+ | **updateUserCityRequestBody** | **UpdateUserCityRequestBody**| | |
1175
+
1176
+
1177
+ ### Return type
1178
+
1179
+ **UserResponse**
1180
+
1181
+ ### Authorization
1182
+
1183
+ [bearerAuth](../README.md#bearerAuth)
1184
+
1185
+ ### HTTP request headers
1186
+
1187
+ - **Content-Type**: application/json
1188
+ - **Accept**: application/json
1189
+
1190
+
1191
+ ### HTTP response details
1192
+ | Status code | Description | Response headers |
1193
+ |-------------|-------------|------------------|
1194
+ |**200** | Ville mise à jour | - |
1195
+ |**400** | Requête invalide | - |
1196
+ |**401** | Non autorisé | - |
1197
+ |**500** | Erreur serveur interne | - |
1198
+
1199
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1200
+
1201
+ # **updateUserDescription**
1202
+ > UserResponse updateUserDescription(updateUserDescriptionRequestBody)
1203
+
1204
+
1205
+ ### Example
1206
+
1207
+ ```typescript
1208
+ import {
1209
+ UserProfileApi,
1210
+ Configuration,
1211
+ UpdateUserDescriptionRequestBody
1212
+ } from '@tennac-booking/sdk';
1213
+
1214
+ const configuration = new Configuration();
1215
+ const apiInstance = new UserProfileApi(configuration);
1216
+
1217
+ let updateUserDescriptionRequestBody: UpdateUserDescriptionRequestBody; //
1218
+
1219
+ const { status, data } = await apiInstance.updateUserDescription(
1220
+ updateUserDescriptionRequestBody
1221
+ );
1222
+ ```
1223
+
1224
+ ### Parameters
1225
+
1226
+ |Name | Type | Description | Notes|
1227
+ |------------- | ------------- | ------------- | -------------|
1228
+ | **updateUserDescriptionRequestBody** | **UpdateUserDescriptionRequestBody**| | |
1229
+
1230
+
1231
+ ### Return type
1232
+
1233
+ **UserResponse**
1234
+
1235
+ ### Authorization
1236
+
1237
+ [bearerAuth](../README.md#bearerAuth)
1238
+
1239
+ ### HTTP request headers
1240
+
1241
+ - **Content-Type**: application/json
1242
+ - **Accept**: application/json
1243
+
1244
+
1245
+ ### HTTP response details
1246
+ | Status code | Description | Response headers |
1247
+ |-------------|-------------|------------------|
1248
+ |**200** | Description mise à jour | - |
1249
+ |**400** | Requête invalide | - |
1250
+ |**401** | Non autorisé | - |
1251
+ |**500** | Erreur serveur interne | - |
1252
+
1253
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1254
+