@tennac-booking/sdk 1.0.23 → 1.0.25

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 (53) hide show
  1. package/.openapi-generator/FILES +16 -2
  2. package/README.md +31 -7
  3. package/api.ts +1397 -512
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +806 -259
  8. package/dist/api.js +964 -420
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +806 -259
  16. package/dist/esm/api.js +962 -414
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/AddFavoriteClubRequestBody.md +20 -0
  28. package/docs/AddPaymentMethodSetupRequestBody.md +20 -0
  29. package/docs/AddPaymentMethodSetupResponse.md +24 -0
  30. package/docs/BlockSlotResponse.md +1 -1
  31. package/docs/ClubSettings.md +14 -8
  32. package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -2
  33. package/docs/{DeleteClubSettings200Response.md → FavoriteClubResponse.md} +5 -3
  34. package/docs/FrequentlyPlayedWithItem.md +28 -0
  35. package/docs/FrequentlyVisitedClubItem.md +24 -0
  36. package/docs/LevelBySportsItem.md +22 -0
  37. package/docs/ProfilePictureResponse.md +20 -0
  38. package/docs/ProfileVisibilityResponse.md +20 -0
  39. package/docs/SetupPaymentMethodRequestBody.md +0 -2
  40. package/docs/StaffClubsApi.md +56 -0
  41. package/docs/UpdateLevelBySportsRequestBody.md +20 -0
  42. package/docs/UpdateProfilePictureRequestBody.md +20 -0
  43. package/docs/UpdateProfileVisibilityRequestBody.md +20 -0
  44. package/docs/UpdateUserCityRequestBody.md +20 -0
  45. package/docs/UpdateUserDescriptionRequestBody.md +20 -0
  46. package/docs/UserApi.md +0 -56
  47. package/docs/UserCityResponse.md +20 -0
  48. package/docs/UserDescriptionResponse.md +20 -0
  49. package/docs/UserPaymentApi.md +55 -0
  50. package/docs/UserProfileApi.md +556 -0
  51. package/index.ts +1 -1
  52. package/package.json +1 -1
  53. package/docs/ManagerClubSettingsApi.md +0 -172
@@ -0,0 +1,20 @@
1
+ # UserDescriptionResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **description** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UserDescriptionResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: UserDescriptionResponse = {
16
+ description,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -4,9 +4,64 @@ All URIs are relative to *https://api.mon-domaine.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**addPaymentMethodSetup**](#addpaymentmethodsetup) | **POST** /api/users/addPaymentMethodSetup | Ajoute une méthode de paiement Stripe à la liste de l\'utilisateur|
7
8
  |[**confirmPaymentMethodSetup**](#confirmpaymentmethodsetup) | **POST** /api/users/confirmPaymentMethodSetup | Confirme la configuration d\'une méthode de paiement|
8
9
  |[**setupPaymentMethod**](#setuppaymentmethod) | **POST** /api/users/setupPaymentMethod | Configure une méthode de paiement pour un utilisateur|
9
10
 
11
+ # **addPaymentMethodSetup**
12
+ > AddPaymentMethodSetupResponse addPaymentMethodSetup(addPaymentMethodSetupRequestBody)
13
+
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ UserPaymentApi,
20
+ Configuration,
21
+ AddPaymentMethodSetupRequestBody
22
+ } from '@tennac-booking/sdk';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new UserPaymentApi(configuration);
26
+
27
+ let addPaymentMethodSetupRequestBody: AddPaymentMethodSetupRequestBody; //
28
+
29
+ const { status, data } = await apiInstance.addPaymentMethodSetup(
30
+ addPaymentMethodSetupRequestBody
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **addPaymentMethodSetupRequestBody** | **AddPaymentMethodSetupRequestBody**| | |
39
+
40
+
41
+ ### Return type
42
+
43
+ **AddPaymentMethodSetupResponse**
44
+
45
+ ### Authorization
46
+
47
+ [bearerAuth](../README.md#bearerAuth)
48
+
49
+ ### HTTP request headers
50
+
51
+ - **Content-Type**: application/json
52
+ - **Accept**: application/json
53
+
54
+
55
+ ### HTTP response details
56
+ | Status code | Description | Response headers |
57
+ |-------------|-------------|------------------|
58
+ |**200** | Méthode de paiement ajoutée | - |
59
+ |**400** | Requête invalide | - |
60
+ |**401** | Non autorisé | - |
61
+ |**500** | Erreur serveur interne | - |
62
+
63
+ [[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)
64
+
10
65
  # **confirmPaymentMethodSetup**
11
66
  > ConfirmPaymentMethodSetupResponse confirmPaymentMethodSetup(confirmPaymentMethodSetupRequestBody)
12
67
 
@@ -6,8 +6,19 @@ All URIs are relative to *https://api.mon-domaine.com*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**changePassword**](#changepassword) | **PUT** /api/users/me/password | Modifie le mot de passe de l\'utilisateur connecté|
8
8
  |[**getAllUsers**](#getallusers) | **GET** /api/users | Récupère la liste des utilisateurs avec filtres et pagination|
9
+ |[**getFrequentlyPlayedWith**](#getfrequentlyplayedwith) | **GET** /api/users/me/frequentlyPlayedWith | Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)|
10
+ |[**getFrequentlyVisitedClub**](#getfrequentlyvisitedclub) | **GET** /api/users/me/frequentlyVisitedClub | Clubs les plus fréquemment visités par l\'utilisateur connecté|
11
+ |[**getProfilePicture**](#getprofilepicture) | **GET** /api/users/me/profile-picture | Récupère l\'URL de la photo de profil de l\'utilisateur connecté|
12
+ |[**getUserCity**](#getusercity) | **GET** /api/users/me/city | Récupère la ville de l\'utilisateur connecté|
13
+ |[**getUserDescription**](#getuserdescription) | **GET** /api/users/me/description | Récupère la description de l\'utilisateur connecté|
9
14
  |[**getUserInfo**](#getuserinfo) | **GET** /api/users/me | Récupère les informations de l\'utilisateur connecté|
15
+ |[**getUserProfileVisibility**](#getuserprofilevisibility) | **GET** /api/users/me/profile-visibility | Récupère la visibilité du profil de l\'utilisateur connecté|
16
+ |[**updateLevelBySports**](#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | Met à jour le tableau levelBySports de l\'utilisateur connecté|
17
+ |[**updateProfilePicture**](#updateprofilepicture) | **PUT** /api/users/me/profile-picture | Met à jour l\'URL de la photo de profil de l\'utilisateur connecté|
18
+ |[**updateProfileVisibility**](#updateprofilevisibility) | **PUT** /api/users/me/profile-visibility | Met à jour la visibilité du profil de l\'utilisateur connecté|
10
19
  |[**updateUser**](#updateuser) | **PUT** /api/users/me | Met à jour les données de l\'utilisateur connecté|
20
+ |[**updateUserCity**](#updateusercity) | **PUT** /api/users/me/city | Met à jour la ville de l\'utilisateur connecté|
21
+ |[**updateUserDescription**](#updateuserdescription) | **PUT** /api/users/me/description | Met à jour la description de l\'utilisateur connecté|
11
22
 
12
23
  # **changePassword**
13
24
  > ChangePasswordResponse changePassword(changePasswordRequestBody)
@@ -122,6 +133,234 @@ const { status, data } = await apiInstance.getAllUsers(
122
133
 
123
134
  [[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)
124
135
 
136
+ # **getFrequentlyPlayedWith**
137
+ > Array<FrequentlyPlayedWithItem> getFrequentlyPlayedWith()
138
+
139
+
140
+ ### Example
141
+
142
+ ```typescript
143
+ import {
144
+ UserProfileApi,
145
+ Configuration
146
+ } from '@tennac-booking/sdk';
147
+
148
+ const configuration = new Configuration();
149
+ const apiInstance = new UserProfileApi(configuration);
150
+
151
+ const { status, data } = await apiInstance.getFrequentlyPlayedWith();
152
+ ```
153
+
154
+ ### Parameters
155
+ This endpoint does not have any parameters.
156
+
157
+
158
+ ### Return type
159
+
160
+ **Array<FrequentlyPlayedWithItem>**
161
+
162
+ ### Authorization
163
+
164
+ [bearerAuth](../README.md#bearerAuth)
165
+
166
+ ### HTTP request headers
167
+
168
+ - **Content-Type**: Not defined
169
+ - **Accept**: application/json
170
+
171
+
172
+ ### HTTP response details
173
+ | Status code | Description | Response headers |
174
+ |-------------|-------------|------------------|
175
+ |**200** | Liste des joueurs triée par nombre de parties jouées | - |
176
+ |**401** | Non autorisé | - |
177
+ |**500** | Erreur serveur interne | - |
178
+
179
+ [[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)
180
+
181
+ # **getFrequentlyVisitedClub**
182
+ > Array<FrequentlyVisitedClubItem> getFrequentlyVisitedClub()
183
+
184
+
185
+ ### Example
186
+
187
+ ```typescript
188
+ import {
189
+ UserProfileApi,
190
+ Configuration
191
+ } from '@tennac-booking/sdk';
192
+
193
+ const configuration = new Configuration();
194
+ const apiInstance = new UserProfileApi(configuration);
195
+
196
+ const { status, data } = await apiInstance.getFrequentlyVisitedClub();
197
+ ```
198
+
199
+ ### Parameters
200
+ This endpoint does not have any parameters.
201
+
202
+
203
+ ### Return type
204
+
205
+ **Array<FrequentlyVisitedClubItem>**
206
+
207
+ ### Authorization
208
+
209
+ [bearerAuth](../README.md#bearerAuth)
210
+
211
+ ### HTTP request headers
212
+
213
+ - **Content-Type**: Not defined
214
+ - **Accept**: application/json
215
+
216
+
217
+ ### HTTP response details
218
+ | Status code | Description | Response headers |
219
+ |-------------|-------------|------------------|
220
+ |**200** | Liste des clubs triée par nombre de visites | - |
221
+ |**401** | Non autorisé | - |
222
+ |**500** | Erreur serveur interne | - |
223
+
224
+ [[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)
225
+
226
+ # **getProfilePicture**
227
+ > ProfilePictureResponse getProfilePicture()
228
+
229
+
230
+ ### Example
231
+
232
+ ```typescript
233
+ import {
234
+ UserProfileApi,
235
+ Configuration
236
+ } from '@tennac-booking/sdk';
237
+
238
+ const configuration = new Configuration();
239
+ const apiInstance = new UserProfileApi(configuration);
240
+
241
+ const { status, data } = await apiInstance.getProfilePicture();
242
+ ```
243
+
244
+ ### Parameters
245
+ This endpoint does not have any parameters.
246
+
247
+
248
+ ### Return type
249
+
250
+ **ProfilePictureResponse**
251
+
252
+ ### Authorization
253
+
254
+ [bearerAuth](../README.md#bearerAuth)
255
+
256
+ ### HTTP request headers
257
+
258
+ - **Content-Type**: Not defined
259
+ - **Accept**: application/json
260
+
261
+
262
+ ### HTTP response details
263
+ | Status code | Description | Response headers |
264
+ |-------------|-------------|------------------|
265
+ |**200** | URL de la photo de profil | - |
266
+ |**401** | Non autorisé | - |
267
+ |**404** | Ressource non trouvée | - |
268
+ |**500** | Erreur serveur interne | - |
269
+
270
+ [[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)
271
+
272
+ # **getUserCity**
273
+ > UserCityResponse getUserCity()
274
+
275
+
276
+ ### Example
277
+
278
+ ```typescript
279
+ import {
280
+ UserProfileApi,
281
+ Configuration
282
+ } from '@tennac-booking/sdk';
283
+
284
+ const configuration = new Configuration();
285
+ const apiInstance = new UserProfileApi(configuration);
286
+
287
+ const { status, data } = await apiInstance.getUserCity();
288
+ ```
289
+
290
+ ### Parameters
291
+ This endpoint does not have any parameters.
292
+
293
+
294
+ ### Return type
295
+
296
+ **UserCityResponse**
297
+
298
+ ### Authorization
299
+
300
+ [bearerAuth](../README.md#bearerAuth)
301
+
302
+ ### HTTP request headers
303
+
304
+ - **Content-Type**: Not defined
305
+ - **Accept**: application/json
306
+
307
+
308
+ ### HTTP response details
309
+ | Status code | Description | Response headers |
310
+ |-------------|-------------|------------------|
311
+ |**200** | Ville de l\&#39;utilisateur | - |
312
+ |**401** | Non autorisé | - |
313
+ |**404** | Ressource non trouvée | - |
314
+ |**500** | Erreur serveur interne | - |
315
+
316
+ [[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)
317
+
318
+ # **getUserDescription**
319
+ > UserDescriptionResponse getUserDescription()
320
+
321
+
322
+ ### Example
323
+
324
+ ```typescript
325
+ import {
326
+ UserProfileApi,
327
+ Configuration
328
+ } from '@tennac-booking/sdk';
329
+
330
+ const configuration = new Configuration();
331
+ const apiInstance = new UserProfileApi(configuration);
332
+
333
+ const { status, data } = await apiInstance.getUserDescription();
334
+ ```
335
+
336
+ ### Parameters
337
+ This endpoint does not have any parameters.
338
+
339
+
340
+ ### Return type
341
+
342
+ **UserDescriptionResponse**
343
+
344
+ ### Authorization
345
+
346
+ [bearerAuth](../README.md#bearerAuth)
347
+
348
+ ### HTTP request headers
349
+
350
+ - **Content-Type**: Not defined
351
+ - **Accept**: application/json
352
+
353
+
354
+ ### HTTP response details
355
+ | Status code | Description | Response headers |
356
+ |-------------|-------------|------------------|
357
+ |**200** | Description de l\&#39;utilisateur | - |
358
+ |**401** | Non autorisé | - |
359
+ |**404** | Ressource non trouvée | - |
360
+ |**500** | Erreur serveur interne | - |
361
+
362
+ [[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)
363
+
125
364
  # **getUserInfo**
126
365
  > UserResponse getUserInfo()
127
366
 
@@ -168,6 +407,215 @@ This endpoint does not have any parameters.
168
407
 
169
408
  [[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)
170
409
 
410
+ # **getUserProfileVisibility**
411
+ > ProfileVisibilityResponse getUserProfileVisibility()
412
+
413
+
414
+ ### Example
415
+
416
+ ```typescript
417
+ import {
418
+ UserProfileApi,
419
+ Configuration
420
+ } from '@tennac-booking/sdk';
421
+
422
+ const configuration = new Configuration();
423
+ const apiInstance = new UserProfileApi(configuration);
424
+
425
+ const { status, data } = await apiInstance.getUserProfileVisibility();
426
+ ```
427
+
428
+ ### Parameters
429
+ This endpoint does not have any parameters.
430
+
431
+
432
+ ### Return type
433
+
434
+ **ProfileVisibilityResponse**
435
+
436
+ ### Authorization
437
+
438
+ [bearerAuth](../README.md#bearerAuth)
439
+
440
+ ### HTTP request headers
441
+
442
+ - **Content-Type**: Not defined
443
+ - **Accept**: application/json
444
+
445
+
446
+ ### HTTP response details
447
+ | Status code | Description | Response headers |
448
+ |-------------|-------------|------------------|
449
+ |**200** | Visibilité du profil de l\&#39;utilisateur | - |
450
+ |**401** | Non autorisé | - |
451
+ |**404** | Ressource non trouvée | - |
452
+ |**500** | Erreur serveur interne | - |
453
+
454
+ [[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)
455
+
456
+ # **updateLevelBySports**
457
+ > UserResponse updateLevelBySports(updateLevelBySportsRequestBody)
458
+
459
+
460
+ ### Example
461
+
462
+ ```typescript
463
+ import {
464
+ UserProfileApi,
465
+ Configuration,
466
+ UpdateLevelBySportsRequestBody
467
+ } from '@tennac-booking/sdk';
468
+
469
+ const configuration = new Configuration();
470
+ const apiInstance = new UserProfileApi(configuration);
471
+
472
+ let updateLevelBySportsRequestBody: UpdateLevelBySportsRequestBody; //
473
+
474
+ const { status, data } = await apiInstance.updateLevelBySports(
475
+ updateLevelBySportsRequestBody
476
+ );
477
+ ```
478
+
479
+ ### Parameters
480
+
481
+ |Name | Type | Description | Notes|
482
+ |------------- | ------------- | ------------- | -------------|
483
+ | **updateLevelBySportsRequestBody** | **UpdateLevelBySportsRequestBody**| | |
484
+
485
+
486
+ ### Return type
487
+
488
+ **UserResponse**
489
+
490
+ ### Authorization
491
+
492
+ [bearerAuth](../README.md#bearerAuth)
493
+
494
+ ### HTTP request headers
495
+
496
+ - **Content-Type**: application/json
497
+ - **Accept**: application/json
498
+
499
+
500
+ ### HTTP response details
501
+ | Status code | Description | Response headers |
502
+ |-------------|-------------|------------------|
503
+ |**200** | Utilisateur mis à jour | - |
504
+ |**400** | Requête invalide | - |
505
+ |**401** | Non autorisé | - |
506
+ |**500** | Erreur serveur interne | - |
507
+
508
+ [[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)
509
+
510
+ # **updateProfilePicture**
511
+ > ProfilePictureResponse updateProfilePicture(updateProfilePictureRequestBody)
512
+
513
+
514
+ ### Example
515
+
516
+ ```typescript
517
+ import {
518
+ UserProfileApi,
519
+ Configuration,
520
+ UpdateProfilePictureRequestBody
521
+ } from '@tennac-booking/sdk';
522
+
523
+ const configuration = new Configuration();
524
+ const apiInstance = new UserProfileApi(configuration);
525
+
526
+ let updateProfilePictureRequestBody: UpdateProfilePictureRequestBody; //
527
+
528
+ const { status, data } = await apiInstance.updateProfilePicture(
529
+ updateProfilePictureRequestBody
530
+ );
531
+ ```
532
+
533
+ ### Parameters
534
+
535
+ |Name | Type | Description | Notes|
536
+ |------------- | ------------- | ------------- | -------------|
537
+ | **updateProfilePictureRequestBody** | **UpdateProfilePictureRequestBody**| | |
538
+
539
+
540
+ ### Return type
541
+
542
+ **ProfilePictureResponse**
543
+
544
+ ### Authorization
545
+
546
+ [bearerAuth](../README.md#bearerAuth)
547
+
548
+ ### HTTP request headers
549
+
550
+ - **Content-Type**: application/json
551
+ - **Accept**: application/json
552
+
553
+
554
+ ### HTTP response details
555
+ | Status code | Description | Response headers |
556
+ |-------------|-------------|------------------|
557
+ |**200** | Nouvelle URL de la photo de profil | - |
558
+ |**400** | Requête invalide | - |
559
+ |**401** | Non autorisé | - |
560
+ |**404** | Ressource non trouvée | - |
561
+ |**500** | Erreur serveur interne | - |
562
+
563
+ [[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)
564
+
565
+ # **updateProfileVisibility**
566
+ > UserResponse updateProfileVisibility(updateProfileVisibilityRequestBody)
567
+
568
+
569
+ ### Example
570
+
571
+ ```typescript
572
+ import {
573
+ UserProfileApi,
574
+ Configuration,
575
+ UpdateProfileVisibilityRequestBody
576
+ } from '@tennac-booking/sdk';
577
+
578
+ const configuration = new Configuration();
579
+ const apiInstance = new UserProfileApi(configuration);
580
+
581
+ let updateProfileVisibilityRequestBody: UpdateProfileVisibilityRequestBody; //
582
+
583
+ const { status, data } = await apiInstance.updateProfileVisibility(
584
+ updateProfileVisibilityRequestBody
585
+ );
586
+ ```
587
+
588
+ ### Parameters
589
+
590
+ |Name | Type | Description | Notes|
591
+ |------------- | ------------- | ------------- | -------------|
592
+ | **updateProfileVisibilityRequestBody** | **UpdateProfileVisibilityRequestBody**| | |
593
+
594
+
595
+ ### Return type
596
+
597
+ **UserResponse**
598
+
599
+ ### Authorization
600
+
601
+ [bearerAuth](../README.md#bearerAuth)
602
+
603
+ ### HTTP request headers
604
+
605
+ - **Content-Type**: application/json
606
+ - **Accept**: application/json
607
+
608
+
609
+ ### HTTP response details
610
+ | Status code | Description | Response headers |
611
+ |-------------|-------------|------------------|
612
+ |**200** | Visibilité du profil mise à jour | - |
613
+ |**400** | Requête invalide | - |
614
+ |**401** | Non autorisé | - |
615
+ |**500** | Erreur serveur interne | - |
616
+
617
+ [[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)
618
+
171
619
  # **updateUser**
172
620
  > UserResponse updateUser(updateUserRequestBody)
173
621
 
@@ -222,3 +670,111 @@ const { status, data } = await apiInstance.updateUser(
222
670
 
223
671
  [[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)
224
672
 
673
+ # **updateUserCity**
674
+ > UserResponse updateUserCity(updateUserCityRequestBody)
675
+
676
+
677
+ ### Example
678
+
679
+ ```typescript
680
+ import {
681
+ UserProfileApi,
682
+ Configuration,
683
+ UpdateUserCityRequestBody
684
+ } from '@tennac-booking/sdk';
685
+
686
+ const configuration = new Configuration();
687
+ const apiInstance = new UserProfileApi(configuration);
688
+
689
+ let updateUserCityRequestBody: UpdateUserCityRequestBody; //
690
+
691
+ const { status, data } = await apiInstance.updateUserCity(
692
+ updateUserCityRequestBody
693
+ );
694
+ ```
695
+
696
+ ### Parameters
697
+
698
+ |Name | Type | Description | Notes|
699
+ |------------- | ------------- | ------------- | -------------|
700
+ | **updateUserCityRequestBody** | **UpdateUserCityRequestBody**| | |
701
+
702
+
703
+ ### Return type
704
+
705
+ **UserResponse**
706
+
707
+ ### Authorization
708
+
709
+ [bearerAuth](../README.md#bearerAuth)
710
+
711
+ ### HTTP request headers
712
+
713
+ - **Content-Type**: application/json
714
+ - **Accept**: application/json
715
+
716
+
717
+ ### HTTP response details
718
+ | Status code | Description | Response headers |
719
+ |-------------|-------------|------------------|
720
+ |**200** | Ville mise à jour | - |
721
+ |**400** | Requête invalide | - |
722
+ |**401** | Non autorisé | - |
723
+ |**500** | Erreur serveur interne | - |
724
+
725
+ [[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)
726
+
727
+ # **updateUserDescription**
728
+ > UserResponse updateUserDescription(updateUserDescriptionRequestBody)
729
+
730
+
731
+ ### Example
732
+
733
+ ```typescript
734
+ import {
735
+ UserProfileApi,
736
+ Configuration,
737
+ UpdateUserDescriptionRequestBody
738
+ } from '@tennac-booking/sdk';
739
+
740
+ const configuration = new Configuration();
741
+ const apiInstance = new UserProfileApi(configuration);
742
+
743
+ let updateUserDescriptionRequestBody: UpdateUserDescriptionRequestBody; //
744
+
745
+ const { status, data } = await apiInstance.updateUserDescription(
746
+ updateUserDescriptionRequestBody
747
+ );
748
+ ```
749
+
750
+ ### Parameters
751
+
752
+ |Name | Type | Description | Notes|
753
+ |------------- | ------------- | ------------- | -------------|
754
+ | **updateUserDescriptionRequestBody** | **UpdateUserDescriptionRequestBody**| | |
755
+
756
+
757
+ ### Return type
758
+
759
+ **UserResponse**
760
+
761
+ ### Authorization
762
+
763
+ [bearerAuth](../README.md#bearerAuth)
764
+
765
+ ### HTTP request headers
766
+
767
+ - **Content-Type**: application/json
768
+ - **Accept**: application/json
769
+
770
+
771
+ ### HTTP response details
772
+ | Status code | Description | Response headers |
773
+ |-------------|-------------|------------------|
774
+ |**200** | Description mise à jour | - |
775
+ |**400** | Requête invalide | - |
776
+ |**401** | Non autorisé | - |
777
+ |**500** | Erreur serveur interne | - |
778
+
779
+ [[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)
780
+
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pandook API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.23
7
+ * The version of the OpenAPI document: 1.0.25
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "publishConfig": {