@tennac-booking/sdk 1.0.174 → 1.0.176
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 +404 -399
- package/README.md +30 -13
- package/api.ts +2072 -852
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1231 -506
- package/dist/api.js +2167 -1382
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1231 -506
- package/dist/esm/api.js +2276 -1491
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingsApi.md +4 -4
- package/docs/BookingsUserApi.md +56 -0
- package/docs/ClubsManagerApi.md +6 -6
- package/docs/CreateOpenBookingRequest.md +4 -0
- package/docs/EventsApi.md +2 -2
- package/docs/{JoinWaitList200Response.md → JoinEventWaitList200Response.md} +3 -7
- package/docs/{RequestPasswordReset200Response.md → LeaveEventWaitList200Response.md} +3 -3
- package/docs/OpenBookingInfo.md +48 -0
- package/docs/OpenBookingPlayerInfo.md +26 -0
- package/docs/OpenBookingSlotInfo.md +24 -0
- package/docs/OpenBookingSportInfo.md +24 -0
- package/docs/{GetOpenBookings200Response.md → OpenBookingsResponse.md} +4 -4
- package/docs/UpdateOpenBooking200Response.md +22 -0
- package/docs/UpdateOpenBookingRequest.md +22 -0
- package/docs/UsersApi.md +69 -14
- package/docs/WaitListApi.md +499 -0
- package/docs/{GetWaitListForEvent200Response.md → WaitListListResponse.md} +5 -5
- package/docs/{GetUserPosition200Response.md → WaitListPositionResponse.md} +5 -5
- package/docs/WaitListResponse.md +12 -6
- package/docs/WaitListStaffApi.md +331 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/EventsWaitListApi.md +0 -175
- package/docs/EventsWaitListStaffApi.md +0 -115
- package/docs/JoinWaitListRequest.md +0 -22
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/docs/BookingsApi.md
CHANGED
|
@@ -327,7 +327,7 @@ const { status, data } = await apiInstance.getOpenBookingJoinPrice(
|
|
|
327
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
328
|
|
|
329
329
|
# **getOpenBookings**
|
|
330
|
-
>
|
|
330
|
+
> OpenBookingsResponse getOpenBookings()
|
|
331
331
|
|
|
332
332
|
|
|
333
333
|
### Example
|
|
@@ -357,7 +357,7 @@ const { status, data } = await apiInstance.getOpenBookings(
|
|
|
357
357
|
|
|
358
358
|
### Return type
|
|
359
359
|
|
|
360
|
-
**
|
|
360
|
+
**OpenBookingsResponse**
|
|
361
361
|
|
|
362
362
|
### Authorization
|
|
363
363
|
|
|
@@ -512,7 +512,7 @@ const { status, data } = await apiInstance.joinOpenBooking(
|
|
|
512
512
|
[[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)
|
|
513
513
|
|
|
514
514
|
# **leaveOpenBooking**
|
|
515
|
-
>
|
|
515
|
+
> LeaveEventWaitList200Response leaveOpenBooking()
|
|
516
516
|
|
|
517
517
|
|
|
518
518
|
### Example
|
|
@@ -542,7 +542,7 @@ const { status, data } = await apiInstance.leaveOpenBooking(
|
|
|
542
542
|
|
|
543
543
|
### Return type
|
|
544
544
|
|
|
545
|
-
**
|
|
545
|
+
**LeaveEventWaitList200Response**
|
|
546
546
|
|
|
547
547
|
### Authorization
|
|
548
548
|
|
package/docs/BookingsUserApi.md
CHANGED
|
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost*
|
|
|
7
7
|
|[**cancelBooking**](#cancelbooking) | **DELETE** /api/bookings/{bookingId} | |
|
|
8
8
|
|[**createBooking**](#createbooking) | **POST** /api/bookings | |
|
|
9
9
|
|[**createOpenBooking**](#createopenbooking) | **POST** /api/bookings/open | |
|
|
10
|
+
|[**updateOpenBooking**](#updateopenbooking) | **PATCH** /api/bookings/{bookingId}/open | |
|
|
10
11
|
|
|
11
12
|
# **cancelBooking**
|
|
12
13
|
> CancelBookingResponse cancelBooking()
|
|
@@ -163,3 +164,58 @@ const { status, data } = await apiInstance.createOpenBooking(
|
|
|
163
164
|
|
|
164
165
|
[[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)
|
|
165
166
|
|
|
167
|
+
# **updateOpenBooking**
|
|
168
|
+
> UpdateOpenBooking200Response updateOpenBooking(updateOpenBookingRequest)
|
|
169
|
+
|
|
170
|
+
Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
171
|
+
|
|
172
|
+
### Example
|
|
173
|
+
|
|
174
|
+
```typescript
|
|
175
|
+
import {
|
|
176
|
+
BookingsUserApi,
|
|
177
|
+
Configuration,
|
|
178
|
+
UpdateOpenBookingRequest
|
|
179
|
+
} from '@tennac-booking/sdk';
|
|
180
|
+
|
|
181
|
+
const configuration = new Configuration();
|
|
182
|
+
const apiInstance = new BookingsUserApi(configuration);
|
|
183
|
+
|
|
184
|
+
let bookingId: string; // (default to undefined)
|
|
185
|
+
let updateOpenBookingRequest: UpdateOpenBookingRequest; //
|
|
186
|
+
|
|
187
|
+
const { status, data } = await apiInstance.updateOpenBooking(
|
|
188
|
+
bookingId,
|
|
189
|
+
updateOpenBookingRequest
|
|
190
|
+
);
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### Parameters
|
|
194
|
+
|
|
195
|
+
|Name | Type | Description | Notes|
|
|
196
|
+
|------------- | ------------- | ------------- | -------------|
|
|
197
|
+
| **updateOpenBookingRequest** | **UpdateOpenBookingRequest**| | |
|
|
198
|
+
| **bookingId** | [**string**] | | defaults to undefined|
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
### Return type
|
|
202
|
+
|
|
203
|
+
**UpdateOpenBooking200Response**
|
|
204
|
+
|
|
205
|
+
### Authorization
|
|
206
|
+
|
|
207
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
208
|
+
|
|
209
|
+
### HTTP request headers
|
|
210
|
+
|
|
211
|
+
- **Content-Type**: application/json
|
|
212
|
+
- **Accept**: application/json
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
### HTTP response details
|
|
216
|
+
| Status code | Description | Response headers |
|
|
217
|
+
|-------------|-------------|------------------|
|
|
218
|
+
|**200** | Réservation ouverte mise à jour avec succès | - |
|
|
219
|
+
|
|
220
|
+
[[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)
|
|
221
|
+
|
package/docs/ClubsManagerApi.md
CHANGED
|
@@ -342,7 +342,7 @@ const { status, data } = await apiInstance.createSportForClub(
|
|
|
342
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
343
|
|
|
344
344
|
# **deleteActuality**
|
|
345
|
-
>
|
|
345
|
+
> LeaveEventWaitList200Response deleteActuality()
|
|
346
346
|
|
|
347
347
|
|
|
348
348
|
### Example
|
|
@@ -372,7 +372,7 @@ const { status, data } = await apiInstance.deleteActuality(
|
|
|
372
372
|
|
|
373
373
|
### Return type
|
|
374
374
|
|
|
375
|
-
**
|
|
375
|
+
**LeaveEventWaitList200Response**
|
|
376
376
|
|
|
377
377
|
### Authorization
|
|
378
378
|
|
|
@@ -501,7 +501,7 @@ const { status, data } = await apiInstance.deleteCourt(
|
|
|
501
501
|
[[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)
|
|
502
502
|
|
|
503
503
|
# **deleteSlotsByClubInRange**
|
|
504
|
-
>
|
|
504
|
+
> LeaveEventWaitList200Response deleteSlotsByClubInRange()
|
|
505
505
|
|
|
506
506
|
|
|
507
507
|
### Example
|
|
@@ -524,7 +524,7 @@ This endpoint does not have any parameters.
|
|
|
524
524
|
|
|
525
525
|
### Return type
|
|
526
526
|
|
|
527
|
-
**
|
|
527
|
+
**LeaveEventWaitList200Response**
|
|
528
528
|
|
|
529
529
|
### Authorization
|
|
530
530
|
|
|
@@ -644,7 +644,7 @@ const { status, data } = await apiInstance.publishActuality(
|
|
|
644
644
|
[[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)
|
|
645
645
|
|
|
646
646
|
# **restoreSubscriptionPlanForClub**
|
|
647
|
-
>
|
|
647
|
+
> LeaveEventWaitList200Response restoreSubscriptionPlanForClub()
|
|
648
648
|
|
|
649
649
|
|
|
650
650
|
### Example
|
|
@@ -674,7 +674,7 @@ const { status, data } = await apiInstance.restoreSubscriptionPlanForClub(
|
|
|
674
674
|
|
|
675
675
|
### Return type
|
|
676
676
|
|
|
677
|
-
**
|
|
677
|
+
**LeaveEventWaitList200Response**
|
|
678
678
|
|
|
679
679
|
### Authorization
|
|
680
680
|
|
|
@@ -10,6 +10,8 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**useDefaultPaymentMethod** | **boolean** | Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut | [optional] [default to undefined]
|
|
11
11
|
**creditToUseInCents** | **number** | Crédit à utiliser en centimes | [optional] [default to undefined]
|
|
12
12
|
**maxPlayers** | **number** | Nombre maximal de joueurs souhaités (incluant le créateur) | [default to undefined]
|
|
13
|
+
**description** | **string** | Description de la réservation ouverte | [optional] [default to undefined]
|
|
14
|
+
**minLevel** | **string** | Niveau minimal souhaité pour rejoindre | [optional] [default to undefined]
|
|
13
15
|
|
|
14
16
|
## Example
|
|
15
17
|
|
|
@@ -22,6 +24,8 @@ const instance: CreateOpenBookingRequest = {
|
|
|
22
24
|
useDefaultPaymentMethod,
|
|
23
25
|
creditToUseInCents,
|
|
24
26
|
maxPlayers,
|
|
27
|
+
description,
|
|
28
|
+
minLevel,
|
|
25
29
|
};
|
|
26
30
|
```
|
|
27
31
|
|
package/docs/EventsApi.md
CHANGED
|
@@ -578,7 +578,7 @@ const { status, data } = await apiInstance.leaveEvent(
|
|
|
578
578
|
[[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)
|
|
579
579
|
|
|
580
580
|
# **leaveOpenEventBooking**
|
|
581
|
-
>
|
|
581
|
+
> LeaveEventWaitList200Response leaveOpenEventBooking()
|
|
582
582
|
|
|
583
583
|
|
|
584
584
|
### Example
|
|
@@ -608,7 +608,7 @@ const { status, data } = await apiInstance.leaveOpenEventBooking(
|
|
|
608
608
|
|
|
609
609
|
### Return type
|
|
610
610
|
|
|
611
|
-
**
|
|
611
|
+
**LeaveEventWaitList200Response**
|
|
612
612
|
|
|
613
613
|
### Authorization
|
|
614
614
|
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# JoinEventWaitList200Response
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**requiresSetup** | **boolean** | | [optional] [default to undefined]
|
|
9
|
-
**paymentLink** | **string** | | [optional] [default to undefined]
|
|
10
8
|
**waitList** | [**WaitListResponse**](WaitListResponse.md) | | [default to undefined]
|
|
11
9
|
**message** | **string** | | [default to undefined]
|
|
12
10
|
|
|
13
11
|
## Example
|
|
14
12
|
|
|
15
13
|
```typescript
|
|
16
|
-
import {
|
|
14
|
+
import { JoinEventWaitList200Response } from '@tennac-booking/sdk';
|
|
17
15
|
|
|
18
|
-
const instance:
|
|
19
|
-
requiresSetup,
|
|
20
|
-
paymentLink,
|
|
16
|
+
const instance: JoinEventWaitList200Response = {
|
|
21
17
|
waitList,
|
|
22
18
|
message,
|
|
23
19
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# LeaveEventWaitList200Response
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { LeaveEventWaitList200Response } from '@tennac-booking/sdk';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
15
|
+
const instance: LeaveEventWaitList200Response = {
|
|
16
16
|
message,
|
|
17
17
|
};
|
|
18
18
|
```
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# OpenBookingInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID de la réservation | [default to undefined]
|
|
9
|
+
**clubId** | **string** | ID du club | [default to undefined]
|
|
10
|
+
**userId** | **string** | ID de l\'utilisateur créateur | [default to undefined]
|
|
11
|
+
**players** | [**Array<OpenBookingPlayerInfo>**](OpenBookingPlayerInfo.md) | Liste des joueurs avec leurs infos | [default to undefined]
|
|
12
|
+
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
|
|
13
|
+
**totalPrice** | **number** | Prix total en euros | [default to undefined]
|
|
14
|
+
**slots** | [**Array<OpenBookingSlotInfo>**](OpenBookingSlotInfo.md) | Informations des créneaux | [default to undefined]
|
|
15
|
+
**isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined]
|
|
16
|
+
**createdAt** | **string** | Date de création | [default to undefined]
|
|
17
|
+
**updatedAt** | **string** | Date de mise à jour | [default to undefined]
|
|
18
|
+
**sport** | [**OpenBookingSportInfo**](OpenBookingSportInfo.md) | | [optional] [default to undefined]
|
|
19
|
+
**minLevel** | **string** | Niveau minimal souhaité | [optional] [default to undefined]
|
|
20
|
+
**description** | **string** | Description de la réservation | [optional] [default to undefined]
|
|
21
|
+
**maxPlayers** | **number** | Nombre maximal de joueurs | [optional] [default to undefined]
|
|
22
|
+
**currentPlayersCount** | **number** | Nombre de joueurs actuels | [default to undefined]
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { OpenBookingInfo } from '@tennac-booking/sdk';
|
|
28
|
+
|
|
29
|
+
const instance: OpenBookingInfo = {
|
|
30
|
+
id,
|
|
31
|
+
clubId,
|
|
32
|
+
userId,
|
|
33
|
+
players,
|
|
34
|
+
status,
|
|
35
|
+
totalPrice,
|
|
36
|
+
slots,
|
|
37
|
+
isCreatorPayingAll,
|
|
38
|
+
createdAt,
|
|
39
|
+
updatedAt,
|
|
40
|
+
sport,
|
|
41
|
+
minLevel,
|
|
42
|
+
description,
|
|
43
|
+
maxPlayers,
|
|
44
|
+
currentPlayersCount,
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[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,26 @@
|
|
|
1
|
+
# OpenBookingPlayerInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID du joueur | [default to undefined]
|
|
9
|
+
**firstName** | **string** | Prénom | [default to undefined]
|
|
10
|
+
**lastName** | **string** | Nom | [default to undefined]
|
|
11
|
+
**profilePicture** | **string** | Photo de profil | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { OpenBookingPlayerInfo } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: OpenBookingPlayerInfo = {
|
|
19
|
+
id,
|
|
20
|
+
firstName,
|
|
21
|
+
lastName,
|
|
22
|
+
profilePicture,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[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
|
+
# OpenBookingSlotInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID du slot | [default to undefined]
|
|
9
|
+
**startDate** | **string** | Date de début ISO | [default to undefined]
|
|
10
|
+
**endDate** | **string** | Date de fin ISO | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { OpenBookingSlotInfo } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: OpenBookingSlotInfo = {
|
|
18
|
+
id,
|
|
19
|
+
startDate,
|
|
20
|
+
endDate,
|
|
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,24 @@
|
|
|
1
|
+
# OpenBookingSportInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID du sport | [default to undefined]
|
|
9
|
+
**key** | **string** | Clé du sport | [default to undefined]
|
|
10
|
+
**name** | **string** | Nom du sport | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { OpenBookingSportInfo } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: OpenBookingSportInfo = {
|
|
18
|
+
id,
|
|
19
|
+
key,
|
|
20
|
+
name,
|
|
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)
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
#
|
|
1
|
+
# OpenBookingsResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**bookings** | [**Array<
|
|
8
|
+
**bookings** | [**Array<OpenBookingInfo>**](OpenBookingInfo.md) | Liste des réservations ouvertes | [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { OpenBookingsResponse } from '@tennac-booking/sdk';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
15
|
+
const instance: OpenBookingsResponse = {
|
|
16
16
|
bookings,
|
|
17
17
|
};
|
|
18
18
|
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UpdateOpenBooking200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**booking** | [**BookingInfo**](BookingInfo.md) | | [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateOpenBooking200Response } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateOpenBooking200Response = {
|
|
17
|
+
booking,
|
|
18
|
+
message,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UpdateOpenBookingRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**description** | **string** | Description de la réservation ouverte | [optional] [default to undefined]
|
|
9
|
+
**minLevel** | **string** | Niveau minimal souhaité pour rejoindre | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateOpenBookingRequest } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateOpenBookingRequest = {
|
|
17
|
+
description,
|
|
18
|
+
minLevel,
|
|
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)
|