@tennac-booking/sdk 1.0.23 → 1.0.24

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 (41) hide show
  1. package/.openapi-generator/FILES +6 -2
  2. package/README.md +13 -7
  3. package/api.ts +647 -519
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +336 -232
  8. package/dist/api.js +345 -321
  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 +336 -232
  16. package/dist/esm/api.js +343 -315
  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/AddPaymentMethodSetupRequestBody.md +20 -0
  28. package/docs/AddPaymentMethodSetupResponse.md +24 -0
  29. package/docs/BlockSlotResponse.md +1 -1
  30. package/docs/ClubSettings.md +14 -8
  31. package/docs/{DeleteClubSettings200Response.md → LevelBySportsItem.md} +7 -5
  32. package/docs/ProfilePictureResponse.md +20 -0
  33. package/docs/StaffClubsApi.md +56 -0
  34. package/docs/UpdateLevelBySportsRequestBody.md +20 -0
  35. package/docs/UpdateProfilePictureRequestBody.md +20 -0
  36. package/docs/UserApi.md +0 -56
  37. package/docs/UserPaymentApi.md +55 -0
  38. package/docs/UserProfileApi.md +158 -0
  39. package/index.ts +1 -1
  40. package/package.json +1 -1
  41. package/docs/ManagerClubSettingsApi.md +0 -172
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.23
5
+ * The version of the OpenAPI document: 1.0.24
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js 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.24
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.23
5
+ * The version of the OpenAPI document: 1.0.24
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.24
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.23
5
+ * The version of the OpenAPI document: 1.0.24
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.24
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.23
5
+ * The version of the OpenAPI document: 1.0.24
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js 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.24
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.23
5
+ * The version of the OpenAPI document: 1.0.24
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pandook API
6
6
  * API for managing pickle ball games and players
7
7
  *
8
- * The version of the OpenAPI document: 1.0.23
8
+ * The version of the OpenAPI document: 1.0.24
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,20 @@
1
+ # AddPaymentMethodSetupRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **paymentMethodId** | **string** | ID Stripe du moyen de paiement à ajouter | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AddPaymentMethodSetupRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: AddPaymentMethodSetupRequestBody = {
16
+ paymentMethodId,
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)
@@ -0,0 +1,24 @@
1
+ # AddPaymentMethodSetupResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+ **paymentMethods** | **Array<string>** | | [optional] [default to undefined]
10
+ **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AddPaymentMethodSetupResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: AddPaymentMethodSetupResponse = {
18
+ message,
19
+ paymentMethods,
20
+ defaultPaymentMethodId,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | Message de confirmation | [optional] [default to undefined]
8
+ **message** | **string** | | [optional] [default to undefined]
9
9
  **slot** | [**Slot**](Slot.md) | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
@@ -7,10 +7,13 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [optional] [default to undefined]
9
9
  **clubId** | **string** | | [optional] [default to undefined]
10
- **reservationStartTime** | **string** | | [optional] [default to undefined]
11
- **reservationEndTime** | **string** | | [optional] [default to undefined]
12
- **maxSimultaneousReservations** | **number** | | [optional] [default to undefined]
13
- **allowWeekendReservations** | **boolean** | | [optional] [default to undefined]
10
+ **maxWeeklyBookings** | **number** | | [optional] [default to undefined]
11
+ **allowMultipleBookingsAtTheSameTime** | **boolean** | | [optional] [default to undefined]
12
+ **sameTimeBookingsLimit** | **number** | | [optional] [default to undefined]
13
+ **cancellationLimitHours** | **number** | | [optional] [default to undefined]
14
+ **availabilityPeriodInDays** | **number** | | [optional] [default to undefined]
15
+ **sponsors** | **Array<string>** | | [optional] [default to undefined]
16
+ **timeBeforePayment** | **number** | Minutes before payment is required | [optional] [default to undefined]
14
17
  **createdAt** | **string** | | [optional] [default to undefined]
15
18
  **updatedAt** | **string** | | [optional] [default to undefined]
16
19
 
@@ -22,10 +25,13 @@ import { ClubSettings } from '@tennac-booking/sdk';
22
25
  const instance: ClubSettings = {
23
26
  id,
24
27
  clubId,
25
- reservationStartTime,
26
- reservationEndTime,
27
- maxSimultaneousReservations,
28
- allowWeekendReservations,
28
+ maxWeeklyBookings,
29
+ allowMultipleBookingsAtTheSameTime,
30
+ sameTimeBookingsLimit,
31
+ cancellationLimitHours,
32
+ availabilityPeriodInDays,
33
+ sponsors,
34
+ timeBeforePayment,
29
35
  createdAt,
30
36
  updatedAt,
31
37
  };
@@ -1,19 +1,21 @@
1
- # DeleteClubSettings200Response
1
+ # LevelBySportsItem
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
8
+ **sport** | **string** | | [default to undefined]
9
+ **level** | **string** | | [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
12
13
  ```typescript
13
- import { DeleteClubSettings200Response } from '@tennac-booking/sdk';
14
+ import { LevelBySportsItem } from '@tennac-booking/sdk';
14
15
 
15
- const instance: DeleteClubSettings200Response = {
16
- message,
16
+ const instance: LevelBySportsItem = {
17
+ sport,
18
+ level,
17
19
  };
18
20
  ```
19
21
 
@@ -0,0 +1,20 @@
1
+ # ProfilePictureResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **profilePicture** | **string** | URL de la photo de profil | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { ProfilePictureResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: ProfilePictureResponse = {
16
+ profilePicture,
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)
@@ -5,6 +5,7 @@ All URIs are relative to *https://api.mon-domaine.com*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getClubInfos**](#getclubinfos) | **GET** /api/clubs/infos | Get current club information|
8
+ |[**getClubSettings**](#getclubsettings) | **GET** /api/club-settings | Récupère les paramètres d’un club|
8
9
 
9
10
  # **getClubInfos**
10
11
  > GetClubInfos200Response getClubInfos()
@@ -50,3 +51,58 @@ This endpoint does not have any parameters.
50
51
 
51
52
  [[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)
52
53
 
54
+ # **getClubSettings**
55
+ > ClubSettings getClubSettings(getClubSettingsRequest)
56
+
57
+
58
+ ### Example
59
+
60
+ ```typescript
61
+ import {
62
+ StaffClubsApi,
63
+ Configuration,
64
+ GetClubSettingsRequest
65
+ } from '@tennac-booking/sdk';
66
+
67
+ const configuration = new Configuration();
68
+ const apiInstance = new StaffClubsApi(configuration);
69
+
70
+ let getClubSettingsRequest: GetClubSettingsRequest; //
71
+
72
+ const { status, data } = await apiInstance.getClubSettings(
73
+ getClubSettingsRequest
74
+ );
75
+ ```
76
+
77
+ ### Parameters
78
+
79
+ |Name | Type | Description | Notes|
80
+ |------------- | ------------- | ------------- | -------------|
81
+ | **getClubSettingsRequest** | **GetClubSettingsRequest**| | |
82
+
83
+
84
+ ### Return type
85
+
86
+ **ClubSettings**
87
+
88
+ ### Authorization
89
+
90
+ [bearerAuth](../README.md#bearerAuth)
91
+
92
+ ### HTTP request headers
93
+
94
+ - **Content-Type**: application/json
95
+ - **Accept**: application/json
96
+
97
+
98
+ ### HTTP response details
99
+ | Status code | Description | Response headers |
100
+ |-------------|-------------|------------------|
101
+ |**200** | Paramètres du club | - |
102
+ |**401** | Non autorisé | - |
103
+ |**403** | Accès interdit | - |
104
+ |**404** | Paramètres non trouvés | - |
105
+ |**500** | Erreur serveur interne | - |
106
+
107
+ [[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)
108
+
@@ -0,0 +1,20 @@
1
+ # UpdateLevelBySportsRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **levelBySports** | [**Array<LevelBySportsItem>**](LevelBySportsItem.md) | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UpdateLevelBySportsRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: UpdateLevelBySportsRequestBody = {
16
+ levelBySports,
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)
@@ -0,0 +1,20 @@
1
+ # UpdateProfilePictureRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **profilePicture** | **string** | URL distante de la photo de profil (AWS/GCP) | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UpdateProfilePictureRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: UpdateProfilePictureRequestBody = {
16
+ profilePicture,
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)
package/docs/UserApi.md CHANGED
@@ -4,64 +4,8 @@ All URIs are relative to *https://api.mon-domaine.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**subscribeToClub**](#subscribetoclub) | **POST** /api/users/me/subscribe | Abonne l\'utilisateur connecté à un club|
8
7
  |[**updateCustomer**](#updatecustomer) | **PUT** /api/users/me/customer | Met à jour le Customer Stripe de l\'utilisateur|
9
8
 
10
- # **subscribeToClub**
11
- > SubscriptionResponse subscribeToClub(subscribeToClubRequestBody)
12
-
13
-
14
- ### Example
15
-
16
- ```typescript
17
- import {
18
- UserApi,
19
- Configuration,
20
- SubscribeToClubRequestBody
21
- } from '@tennac-booking/sdk';
22
-
23
- const configuration = new Configuration();
24
- const apiInstance = new UserApi(configuration);
25
-
26
- let subscribeToClubRequestBody: SubscribeToClubRequestBody; //
27
-
28
- const { status, data } = await apiInstance.subscribeToClub(
29
- subscribeToClubRequestBody
30
- );
31
- ```
32
-
33
- ### Parameters
34
-
35
- |Name | Type | Description | Notes|
36
- |------------- | ------------- | ------------- | -------------|
37
- | **subscribeToClubRequestBody** | **SubscribeToClubRequestBody**| | |
38
-
39
-
40
- ### Return type
41
-
42
- **SubscriptionResponse**
43
-
44
- ### Authorization
45
-
46
- [bearerAuth](../README.md#bearerAuth)
47
-
48
- ### HTTP request headers
49
-
50
- - **Content-Type**: application/json
51
- - **Accept**: application/json
52
-
53
-
54
- ### HTTP response details
55
- | Status code | Description | Response headers |
56
- |-------------|-------------|------------------|
57
- |**201** | Abonnement créé | - |
58
- |**400** | Requête invalide | - |
59
- |**401** | Non autorisé | - |
60
- |**404** | Ressource non trouvée | - |
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
-
65
9
  # **updateCustomer**
66
10
  > UpdateCustomerResponse updateCustomer(updateCustomerRequestBody)
67
11
 
@@ -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,7 +6,10 @@ 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
+ |[**getProfilePicture**](#getprofilepicture) | **GET** /api/users/me/profile-picture | Récupère l\'URL de la photo de profil de l\'utilisateur connecté|
9
10
  |[**getUserInfo**](#getuserinfo) | **GET** /api/users/me | Récupère les informations de l\'utilisateur connecté|
11
+ |[**updateLevelBySports**](#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | Met à jour le tableau levelBySports de l\'utilisateur connecté|
12
+ |[**updateProfilePicture**](#updateprofilepicture) | **PUT** /api/users/me/profile-picture | Met à jour l\'URL de la photo de profil de l\'utilisateur connecté|
10
13
  |[**updateUser**](#updateuser) | **PUT** /api/users/me | Met à jour les données de l\'utilisateur connecté|
11
14
 
12
15
  # **changePassword**
@@ -122,6 +125,52 @@ const { status, data } = await apiInstance.getAllUsers(
122
125
 
123
126
  [[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
127
 
128
+ # **getProfilePicture**
129
+ > ProfilePictureResponse getProfilePicture()
130
+
131
+
132
+ ### Example
133
+
134
+ ```typescript
135
+ import {
136
+ UserProfileApi,
137
+ Configuration
138
+ } from '@tennac-booking/sdk';
139
+
140
+ const configuration = new Configuration();
141
+ const apiInstance = new UserProfileApi(configuration);
142
+
143
+ const { status, data } = await apiInstance.getProfilePicture();
144
+ ```
145
+
146
+ ### Parameters
147
+ This endpoint does not have any parameters.
148
+
149
+
150
+ ### Return type
151
+
152
+ **ProfilePictureResponse**
153
+
154
+ ### Authorization
155
+
156
+ [bearerAuth](../README.md#bearerAuth)
157
+
158
+ ### HTTP request headers
159
+
160
+ - **Content-Type**: Not defined
161
+ - **Accept**: application/json
162
+
163
+
164
+ ### HTTP response details
165
+ | Status code | Description | Response headers |
166
+ |-------------|-------------|------------------|
167
+ |**200** | URL de la photo de profil | - |
168
+ |**401** | Non autorisé | - |
169
+ |**404** | Ressource non trouvée | - |
170
+ |**500** | Erreur serveur interne | - |
171
+
172
+ [[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)
173
+
125
174
  # **getUserInfo**
126
175
  > UserResponse getUserInfo()
127
176
 
@@ -168,6 +217,115 @@ This endpoint does not have any parameters.
168
217
 
169
218
  [[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
219
 
220
+ # **updateLevelBySports**
221
+ > UserResponse updateLevelBySports(updateLevelBySportsRequestBody)
222
+
223
+
224
+ ### Example
225
+
226
+ ```typescript
227
+ import {
228
+ UserProfileApi,
229
+ Configuration,
230
+ UpdateLevelBySportsRequestBody
231
+ } from '@tennac-booking/sdk';
232
+
233
+ const configuration = new Configuration();
234
+ const apiInstance = new UserProfileApi(configuration);
235
+
236
+ let updateLevelBySportsRequestBody: UpdateLevelBySportsRequestBody; //
237
+
238
+ const { status, data } = await apiInstance.updateLevelBySports(
239
+ updateLevelBySportsRequestBody
240
+ );
241
+ ```
242
+
243
+ ### Parameters
244
+
245
+ |Name | Type | Description | Notes|
246
+ |------------- | ------------- | ------------- | -------------|
247
+ | **updateLevelBySportsRequestBody** | **UpdateLevelBySportsRequestBody**| | |
248
+
249
+
250
+ ### Return type
251
+
252
+ **UserResponse**
253
+
254
+ ### Authorization
255
+
256
+ [bearerAuth](../README.md#bearerAuth)
257
+
258
+ ### HTTP request headers
259
+
260
+ - **Content-Type**: application/json
261
+ - **Accept**: application/json
262
+
263
+
264
+ ### HTTP response details
265
+ | Status code | Description | Response headers |
266
+ |-------------|-------------|------------------|
267
+ |**200** | Utilisateur mis à jour | - |
268
+ |**400** | Requête invalide | - |
269
+ |**401** | Non autorisé | - |
270
+ |**500** | Erreur serveur interne | - |
271
+
272
+ [[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)
273
+
274
+ # **updateProfilePicture**
275
+ > ProfilePictureResponse updateProfilePicture(updateProfilePictureRequestBody)
276
+
277
+
278
+ ### Example
279
+
280
+ ```typescript
281
+ import {
282
+ UserProfileApi,
283
+ Configuration,
284
+ UpdateProfilePictureRequestBody
285
+ } from '@tennac-booking/sdk';
286
+
287
+ const configuration = new Configuration();
288
+ const apiInstance = new UserProfileApi(configuration);
289
+
290
+ let updateProfilePictureRequestBody: UpdateProfilePictureRequestBody; //
291
+
292
+ const { status, data } = await apiInstance.updateProfilePicture(
293
+ updateProfilePictureRequestBody
294
+ );
295
+ ```
296
+
297
+ ### Parameters
298
+
299
+ |Name | Type | Description | Notes|
300
+ |------------- | ------------- | ------------- | -------------|
301
+ | **updateProfilePictureRequestBody** | **UpdateProfilePictureRequestBody**| | |
302
+
303
+
304
+ ### Return type
305
+
306
+ **ProfilePictureResponse**
307
+
308
+ ### Authorization
309
+
310
+ [bearerAuth](../README.md#bearerAuth)
311
+
312
+ ### HTTP request headers
313
+
314
+ - **Content-Type**: application/json
315
+ - **Accept**: application/json
316
+
317
+
318
+ ### HTTP response details
319
+ | Status code | Description | Response headers |
320
+ |-------------|-------------|------------------|
321
+ |**200** | Nouvelle URL de la photo de profil | - |
322
+ |**400** | Requête invalide | - |
323
+ |**401** | Non autorisé | - |
324
+ |**404** | Ressource non trouvée | - |
325
+ |**500** | Erreur serveur interne | - |
326
+
327
+ [[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)
328
+
171
329
  # **updateUser**
172
330
  > UserResponse updateUser(updateUserRequestBody)
173
331
 
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.24
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.24",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "publishConfig": {