@tennac-booking/sdk 1.0.10 → 1.0.12
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.
- package/.openapi-generator/FILES +56 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +95 -4
- package/api.ts +6129 -367
- package/common.ts +4 -4
- package/dist/api.d.ts +4124 -295
- package/dist/api.js +3318 -58
- package/dist/esm/api.d.ts +4124 -295
- package/dist/esm/api.js +3282 -58
- package/docs/AddClubMemberRequest.md +22 -0
- package/docs/AddClubMemberResponse.md +22 -0
- package/docs/BlockSlotResponse.md +22 -0
- package/docs/BookingResponse.md +28 -0
- package/docs/BookingsApi.md +120 -0
- package/docs/Club.md +46 -0
- package/docs/ClubCourtsApi.md +118 -0
- package/docs/ClubInfoResponse.md +46 -0
- package/docs/ClubListResponse.md +22 -0
- package/docs/ClubMember.md +34 -0
- package/docs/ClubMembersResponse.md +22 -0
- package/docs/ClubResponse.md +46 -0
- package/docs/ClubRole.md +30 -0
- package/docs/ClubRoleResponse.md +30 -0
- package/docs/ClubRolesApi.md +268 -0
- package/docs/ClubRolesResponse.md +22 -0
- package/docs/ClubSettings.md +28 -0
- package/docs/ClubSettingsApi.md +227 -0
- package/docs/ClubSlotsApi.md +300 -0
- package/docs/ClubSportsApi.md +118 -0
- package/docs/ClubSubscriptionsApi.md +408 -0
- package/docs/ClubsApi.md +432 -0
- package/docs/CourtResponse.md +44 -0
- package/docs/CourtsResponse.md +22 -0
- package/docs/CreateBookingRequest.md +28 -0
- package/docs/CreateClubRequest.md +38 -0
- package/docs/CreateClubRoleRequestBody.md +24 -0
- package/docs/CreateCourtRequest.md +34 -0
- package/docs/CreatePriceRequest.md +26 -0
- package/docs/CreateSportRequest.md +22 -0
- package/docs/CreateSubscriptionPlanRequest.md +24 -0
- package/docs/DeleteClub200Response.md +20 -0
- package/docs/DeleteClubRole200Response.md +20 -0
- package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
- package/docs/GenerateSlotsForNextThreeWeeks201Response.md +20 -0
- package/docs/GetAllSportsRequest.md +20 -0
- package/docs/GetClubSettingsRequest.md +20 -0
- package/docs/GetUserRolesInClubs200Response.md +20 -0
- package/docs/PaymentMethod.md +11 -0
- package/docs/PlayerWithPaymentMethod.md +22 -0
- package/docs/PriceResponse.md +38 -0
- package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
- package/docs/SlotResponse.md +40 -0
- package/docs/SlotsResponse.md +22 -0
- package/docs/Sport.md +24 -0
- package/docs/SportResponse.md +34 -0
- package/docs/SportsApi.md +229 -0
- package/docs/SportsResponse.md +22 -0
- package/docs/SubscriptionPlan.md +36 -0
- package/docs/SubscriptionPlanResponse.md +36 -0
- package/docs/UpdateClubRequest.md +40 -0
- package/docs/UpdateClubRoleRequestBody.md +24 -0
- package/docs/UpdateSportRequest.md +20 -0
- package/docs/UpdateSubscriptionPlanRequest.md +24 -0
- package/docs/UpdateSubscriptionPlanResponse.md +22 -0
- package/docs/UsersApi.md +77 -46
- package/package.json +1 -29
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# UpdateClubRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**city** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**zipCode** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**country** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**phone** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**website** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**logo** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**isActive** | **boolean** | | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { UpdateClubRequest } from '@tennac-booking/sdk';
|
|
24
|
+
|
|
25
|
+
const instance: UpdateClubRequest = {
|
|
26
|
+
name,
|
|
27
|
+
address,
|
|
28
|
+
city,
|
|
29
|
+
zipCode,
|
|
30
|
+
country,
|
|
31
|
+
phone,
|
|
32
|
+
email,
|
|
33
|
+
website,
|
|
34
|
+
description,
|
|
35
|
+
logo,
|
|
36
|
+
isActive,
|
|
37
|
+
};
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[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
|
+
# UpdateClubRoleRequestBody
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | Nouveau nom du rôle (optionnel) | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | Nouvelle description du rôle (optionnel) | [optional] [default to undefined]
|
|
10
|
+
**permissions** | **Array<string>** | Nouvelle liste de permissions (optionnel) | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { UpdateClubRoleRequestBody } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: UpdateClubRoleRequestBody = {
|
|
18
|
+
name,
|
|
19
|
+
description,
|
|
20
|
+
permissions,
|
|
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)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UpdateSportRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**key** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { UpdateSportRequest } from '@tennac-booking/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: UpdateSportRequest = {
|
|
16
|
+
key,
|
|
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
|
+
# UpdateSubscriptionPlanRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**metadata** | **object** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { UpdateSubscriptionPlanRequest } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: UpdateSubscriptionPlanRequest = {
|
|
18
|
+
name,
|
|
19
|
+
description,
|
|
20
|
+
metadata,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UpdateSubscriptionPlanResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**plan** | [**SubscriptionPlanResponse**](SubscriptionPlanResponse.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateSubscriptionPlanResponse } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateSubscriptionPlanResponse = {
|
|
17
|
+
message,
|
|
18
|
+
plan,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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/UsersApi.md
CHANGED
|
@@ -4,13 +4,14 @@ All URIs are relative to *https://api.mon-domaine.com*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**changePassword**](#changepassword) | **PUT** /api/users/
|
|
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|
|
|
9
|
-
|[**getUserInfo**](#getuserinfo) | **GET** /api/users/
|
|
9
|
+
|[**getUserInfo**](#getuserinfo) | **GET** /api/users/me | Récupère les informations de l\'utilisateur connecté|
|
|
10
|
+
|[**getUserRolesInClubs**](#getuserrolesinclubs) | **GET** /api/users/me/roles | Récupère les rôles de l\'utilisateur dans les clubs|
|
|
10
11
|
|[**login**](#login) | **POST** /api/users/login | Authentifie un utilisateur|
|
|
11
12
|
|[**refreshToken**](#refreshtoken) | **POST** /api/users/refresh-token | Rafraîchit le token d\'accès|
|
|
12
13
|
|[**register**](#register) | **POST** /api/users | Crée un nouvel utilisateur|
|
|
13
|
-
|[**updateUser**](#updateuser) | **PUT** /api/users/
|
|
14
|
+
|[**updateUser**](#updateuser) | **PUT** /api/users/me | Met à jour les données de l\'utilisateur connecté|
|
|
14
15
|
|
|
15
16
|
# **changePassword**
|
|
16
17
|
> ChangePasswordResponse changePassword(changePasswordRequestBody)
|
|
@@ -28,11 +29,9 @@ import {
|
|
|
28
29
|
const configuration = new Configuration();
|
|
29
30
|
const apiInstance = new UsersApi(configuration);
|
|
30
31
|
|
|
31
|
-
let id: string; //ID de l\'utilisateur (default to undefined)
|
|
32
32
|
let changePasswordRequestBody: ChangePasswordRequestBody; //
|
|
33
33
|
|
|
34
34
|
const { status, data } = await apiInstance.changePassword(
|
|
35
|
-
id,
|
|
36
35
|
changePasswordRequestBody
|
|
37
36
|
);
|
|
38
37
|
```
|
|
@@ -42,7 +41,6 @@ const { status, data } = await apiInstance.changePassword(
|
|
|
42
41
|
|Name | Type | Description | Notes|
|
|
43
42
|
|------------- | ------------- | ------------- | -------------|
|
|
44
43
|
| **changePasswordRequestBody** | **ChangePasswordRequestBody**| | |
|
|
45
|
-
| **id** | [**string**] | ID de l\'utilisateur | defaults to undefined|
|
|
46
44
|
|
|
47
45
|
|
|
48
46
|
### Return type
|
|
@@ -51,7 +49,7 @@ const { status, data } = await apiInstance.changePassword(
|
|
|
51
49
|
|
|
52
50
|
### Authorization
|
|
53
51
|
|
|
54
|
-
|
|
52
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
55
53
|
|
|
56
54
|
### HTTP request headers
|
|
57
55
|
|
|
@@ -63,10 +61,9 @@ No authorization required
|
|
|
63
61
|
| Status code | Description | Response headers |
|
|
64
62
|
|-------------|-------------|------------------|
|
|
65
63
|
|**200** | Mot de passe modifié | - |
|
|
66
|
-
|**400** |
|
|
67
|
-
|**401** |
|
|
68
|
-
|**
|
|
69
|
-
|**500** | | - |
|
|
64
|
+
|**400** | Requête invalide | - |
|
|
65
|
+
|**401** | Non autorisé | - |
|
|
66
|
+
|**500** | Erreur serveur interne | - |
|
|
70
67
|
|
|
71
68
|
[[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)
|
|
72
69
|
|
|
@@ -98,7 +95,7 @@ This endpoint does not have any parameters.
|
|
|
98
95
|
|
|
99
96
|
### Authorization
|
|
100
97
|
|
|
101
|
-
|
|
98
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
102
99
|
|
|
103
100
|
### HTTP request headers
|
|
104
101
|
|
|
@@ -110,8 +107,8 @@ No authorization required
|
|
|
110
107
|
| Status code | Description | Response headers |
|
|
111
108
|
|-------------|-------------|------------------|
|
|
112
109
|
|**200** | Liste des utilisateurs | - |
|
|
113
|
-
|**401** |
|
|
114
|
-
|**500** |
|
|
110
|
+
|**401** | Non autorisé | - |
|
|
111
|
+
|**500** | Erreur serveur interne | - |
|
|
115
112
|
|
|
116
113
|
[[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)
|
|
117
114
|
|
|
@@ -130,18 +127,11 @@ import {
|
|
|
130
127
|
const configuration = new Configuration();
|
|
131
128
|
const apiInstance = new UsersApi(configuration);
|
|
132
129
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
const { status, data } = await apiInstance.getUserInfo(
|
|
136
|
-
id
|
|
137
|
-
);
|
|
130
|
+
const { status, data } = await apiInstance.getUserInfo();
|
|
138
131
|
```
|
|
139
132
|
|
|
140
133
|
### Parameters
|
|
141
|
-
|
|
142
|
-
|Name | Type | Description | Notes|
|
|
143
|
-
|------------- | ------------- | ------------- | -------------|
|
|
144
|
-
| **id** | [**string**] | ID de l\'utilisateur | defaults to undefined|
|
|
134
|
+
This endpoint does not have any parameters.
|
|
145
135
|
|
|
146
136
|
|
|
147
137
|
### Return type
|
|
@@ -150,7 +140,7 @@ const { status, data } = await apiInstance.getUserInfo(
|
|
|
150
140
|
|
|
151
141
|
### Authorization
|
|
152
142
|
|
|
153
|
-
|
|
143
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
154
144
|
|
|
155
145
|
### HTTP request headers
|
|
156
146
|
|
|
@@ -162,9 +152,54 @@ No authorization required
|
|
|
162
152
|
| Status code | Description | Response headers |
|
|
163
153
|
|-------------|-------------|------------------|
|
|
164
154
|
|**200** | Informations de l\'utilisateur | - |
|
|
165
|
-
|**401** |
|
|
166
|
-
|**
|
|
167
|
-
|
|
155
|
+
|**401** | Non autorisé | - |
|
|
156
|
+
|**500** | Erreur serveur interne | - |
|
|
157
|
+
|
|
158
|
+
[[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)
|
|
159
|
+
|
|
160
|
+
# **getUserRolesInClubs**
|
|
161
|
+
> GetUserRolesInClubs200Response getUserRolesInClubs()
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
### Example
|
|
165
|
+
|
|
166
|
+
```typescript
|
|
167
|
+
import {
|
|
168
|
+
UsersApi,
|
|
169
|
+
Configuration
|
|
170
|
+
} from '@tennac-booking/sdk';
|
|
171
|
+
|
|
172
|
+
const configuration = new Configuration();
|
|
173
|
+
const apiInstance = new UsersApi(configuration);
|
|
174
|
+
|
|
175
|
+
const { status, data } = await apiInstance.getUserRolesInClubs();
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### Parameters
|
|
179
|
+
This endpoint does not have any parameters.
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### Return type
|
|
183
|
+
|
|
184
|
+
**GetUserRolesInClubs200Response**
|
|
185
|
+
|
|
186
|
+
### Authorization
|
|
187
|
+
|
|
188
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
189
|
+
|
|
190
|
+
### HTTP request headers
|
|
191
|
+
|
|
192
|
+
- **Content-Type**: Not defined
|
|
193
|
+
- **Accept**: application/json
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
### HTTP response details
|
|
197
|
+
| Status code | Description | Response headers |
|
|
198
|
+
|-------------|-------------|------------------|
|
|
199
|
+
|**200** | Liste des rôles dans les clubs | - |
|
|
200
|
+
|**400** | Requête invalide | - |
|
|
201
|
+
|**401** | Non autorisé | - |
|
|
202
|
+
|**500** | Erreur serveur interne | - |
|
|
168
203
|
|
|
169
204
|
[[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
205
|
|
|
@@ -204,7 +239,7 @@ const { status, data } = await apiInstance.login(
|
|
|
204
239
|
|
|
205
240
|
### Authorization
|
|
206
241
|
|
|
207
|
-
|
|
242
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
208
243
|
|
|
209
244
|
### HTTP request headers
|
|
210
245
|
|
|
@@ -216,9 +251,9 @@ No authorization required
|
|
|
216
251
|
| Status code | Description | Response headers |
|
|
217
252
|
|-------------|-------------|------------------|
|
|
218
253
|
|**200** | Authentification réussie | - |
|
|
219
|
-
|**400** |
|
|
220
|
-
|**401** |
|
|
221
|
-
|**500** |
|
|
254
|
+
|**400** | Requête invalide | - |
|
|
255
|
+
|**401** | Non autorisé | - |
|
|
256
|
+
|**500** | Erreur serveur interne | - |
|
|
222
257
|
|
|
223
258
|
[[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
259
|
|
|
@@ -258,7 +293,7 @@ const { status, data } = await apiInstance.refreshToken(
|
|
|
258
293
|
|
|
259
294
|
### Authorization
|
|
260
295
|
|
|
261
|
-
|
|
296
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
262
297
|
|
|
263
298
|
### HTTP request headers
|
|
264
299
|
|
|
@@ -270,9 +305,9 @@ No authorization required
|
|
|
270
305
|
| Status code | Description | Response headers |
|
|
271
306
|
|-------------|-------------|------------------|
|
|
272
307
|
|**200** | Nouveaux tokens | - |
|
|
273
|
-
|**400** |
|
|
274
|
-
|**401** |
|
|
275
|
-
|**500** |
|
|
308
|
+
|**400** | Requête invalide | - |
|
|
309
|
+
|**401** | Non autorisé | - |
|
|
310
|
+
|**500** | Erreur serveur interne | - |
|
|
276
311
|
|
|
277
312
|
[[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)
|
|
278
313
|
|
|
@@ -312,7 +347,7 @@ const { status, data } = await apiInstance.register(
|
|
|
312
347
|
|
|
313
348
|
### Authorization
|
|
314
349
|
|
|
315
|
-
|
|
350
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
316
351
|
|
|
317
352
|
### HTTP request headers
|
|
318
353
|
|
|
@@ -324,9 +359,9 @@ No authorization required
|
|
|
324
359
|
| Status code | Description | Response headers |
|
|
325
360
|
|-------------|-------------|------------------|
|
|
326
361
|
|**201** | Utilisateur créé | - |
|
|
327
|
-
|**400** |
|
|
362
|
+
|**400** | Requête invalide | - |
|
|
328
363
|
|**409** | Email déjà utilisé | - |
|
|
329
|
-
|**500** |
|
|
364
|
+
|**500** | Erreur serveur interne | - |
|
|
330
365
|
|
|
331
366
|
[[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)
|
|
332
367
|
|
|
@@ -346,11 +381,9 @@ import {
|
|
|
346
381
|
const configuration = new Configuration();
|
|
347
382
|
const apiInstance = new UsersApi(configuration);
|
|
348
383
|
|
|
349
|
-
let id: string; //ID de l\'utilisateur (default to undefined)
|
|
350
384
|
let updateUserRequestBody: UpdateUserRequestBody; //
|
|
351
385
|
|
|
352
386
|
const { status, data } = await apiInstance.updateUser(
|
|
353
|
-
id,
|
|
354
387
|
updateUserRequestBody
|
|
355
388
|
);
|
|
356
389
|
```
|
|
@@ -360,7 +393,6 @@ const { status, data } = await apiInstance.updateUser(
|
|
|
360
393
|
|Name | Type | Description | Notes|
|
|
361
394
|
|------------- | ------------- | ------------- | -------------|
|
|
362
395
|
| **updateUserRequestBody** | **UpdateUserRequestBody**| | |
|
|
363
|
-
| **id** | [**string**] | ID de l\'utilisateur | defaults to undefined|
|
|
364
396
|
|
|
365
397
|
|
|
366
398
|
### Return type
|
|
@@ -369,7 +401,7 @@ const { status, data } = await apiInstance.updateUser(
|
|
|
369
401
|
|
|
370
402
|
### Authorization
|
|
371
403
|
|
|
372
|
-
|
|
404
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
373
405
|
|
|
374
406
|
### HTTP request headers
|
|
375
407
|
|
|
@@ -381,10 +413,9 @@ No authorization required
|
|
|
381
413
|
| Status code | Description | Response headers |
|
|
382
414
|
|-------------|-------------|------------------|
|
|
383
415
|
|**200** | Utilisateur mis à jour | - |
|
|
384
|
-
|**400** |
|
|
385
|
-
|**401** |
|
|
386
|
-
|**
|
|
387
|
-
|**500** | | - |
|
|
416
|
+
|**400** | Requête invalide | - |
|
|
417
|
+
|**401** | Non autorisé | - |
|
|
418
|
+
|**500** | Erreur serveur interne | - |
|
|
388
419
|
|
|
389
420
|
[[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)
|
|
390
421
|
|
package/package.json
CHANGED
|
@@ -1,29 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@tennac-booking/sdk",
|
|
3
|
-
"version": "1.0.10",
|
|
4
|
-
"description": "OpenAPI client for @tennac-booking/sdk",
|
|
5
|
-
"author": "OpenAPI-Generator Contributors",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"axios",
|
|
8
|
-
"typescript",
|
|
9
|
-
"openapi-client",
|
|
10
|
-
"openapi-generator",
|
|
11
|
-
"@tennac-booking/sdk"
|
|
12
|
-
],
|
|
13
|
-
"license": "Unlicense",
|
|
14
|
-
"main": "./dist/index.js",
|
|
15
|
-
"typings": "./dist/index.d.ts",
|
|
16
|
-
"module": "./dist/esm/index.js",
|
|
17
|
-
"sideEffects": false,
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "tsc && tsc -p tsconfig.esm.json",
|
|
20
|
-
"prepare": "npm run build"
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"axios": "^1.6.1"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@types/node": "12.11.5 - 12.20.42",
|
|
27
|
-
"typescript": "^4.0 || ^5.0"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
{ "name": "@tennac-booking/sdk", "version": "1.0.12", "description": "OpenAPI client for @tennac-booking/sdk", "author": "OpenAPI-Generator Contributors", "publishConfig": { "access": "public" }, "keywords": [ "axios", "typescript", "openapi-client", "openapi-generator", "@tennac-booking/sdk" ], "license": "Unlicense", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "module": "./dist/esm/index.js", "sideEffects": false, "scripts": { "build": "tsc && tsc -p tsconfig.esm.json", "prepare": "npm run build" }, "dependencies": { "axios": "^1.6.1" }, "devDependencies": { "@types/node": "12.11.5 - 12.20.42", "typescript": "^4.0 || ^5.0" }}
|