@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.
Files changed (51) hide show
  1. package/.openapi-generator/FILES +404 -399
  2. package/README.md +30 -13
  3. package/api.ts +2072 -852
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1231 -506
  8. package/dist/api.js +2167 -1382
  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 +1231 -506
  16. package/dist/esm/api.js +2276 -1491
  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/BookingsApi.md +4 -4
  28. package/docs/BookingsUserApi.md +56 -0
  29. package/docs/ClubsManagerApi.md +6 -6
  30. package/docs/CreateOpenBookingRequest.md +4 -0
  31. package/docs/EventsApi.md +2 -2
  32. package/docs/{JoinWaitList200Response.md → JoinEventWaitList200Response.md} +3 -7
  33. package/docs/{RequestPasswordReset200Response.md → LeaveEventWaitList200Response.md} +3 -3
  34. package/docs/OpenBookingInfo.md +48 -0
  35. package/docs/OpenBookingPlayerInfo.md +26 -0
  36. package/docs/OpenBookingSlotInfo.md +24 -0
  37. package/docs/OpenBookingSportInfo.md +24 -0
  38. package/docs/{GetOpenBookings200Response.md → OpenBookingsResponse.md} +4 -4
  39. package/docs/UpdateOpenBooking200Response.md +22 -0
  40. package/docs/UpdateOpenBookingRequest.md +22 -0
  41. package/docs/UsersApi.md +69 -14
  42. package/docs/WaitListApi.md +499 -0
  43. package/docs/{GetWaitListForEvent200Response.md → WaitListListResponse.md} +5 -5
  44. package/docs/{GetUserPosition200Response.md → WaitListPositionResponse.md} +5 -5
  45. package/docs/WaitListResponse.md +12 -6
  46. package/docs/WaitListStaffApi.md +331 -0
  47. package/index.ts +1 -1
  48. package/package.json +1 -1
  49. package/docs/EventsWaitListApi.md +0 -175
  50. package/docs/EventsWaitListStaffApi.md +0 -115
  51. package/docs/JoinWaitListRequest.md +0 -22
package/docs/UsersApi.md CHANGED
@@ -25,6 +25,7 @@ All URIs are relative to *http://localhost*
25
25
  |[**getUserBookings**](#getuserbookings) | **GET** /api/users/me/bookings | |
26
26
  |[**getUserEvents**](#getuserevents) | **GET** /api/users/me/events | |
27
27
  |[**getUserProfileById**](#getuserprofilebyid) | **GET** /api/users/profile/{id} | |
28
+ |[**leaveBooking**](#leavebooking) | **DELETE** /api/users/me/bookings/{bookingId}/leave | |
28
29
  |[**listPlayers**](#listplayers) | **GET** /api/users/players | |
29
30
  |[**login**](#login) | **POST** /api/users/login | |
30
31
  |[**loginClubMember**](#loginclubmember) | **POST** /api/users/club-members/login | |
@@ -148,7 +149,7 @@ const { status, data } = await apiInstance.addFavoritePlayer(
148
149
  [[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)
149
150
 
150
151
  # **addOrganization**
151
- > RequestPasswordReset200Response addOrganization(addOrganizationRequest)
152
+ > LeaveEventWaitList200Response addOrganization(addOrganizationRequest)
152
153
 
153
154
 
154
155
  ### Example
@@ -179,7 +180,7 @@ const { status, data } = await apiInstance.addOrganization(
179
180
 
180
181
  ### Return type
181
182
 
182
- **RequestPasswordReset200Response**
183
+ **LeaveEventWaitList200Response**
183
184
 
184
185
  ### Authorization
185
186
 
@@ -1076,6 +1077,60 @@ const { status, data } = await apiInstance.getUserProfileById(
1076
1077
 
1077
1078
  [[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)
1078
1079
 
1080
+ # **leaveBooking**
1081
+ > LeaveEventWaitList200Response leaveBooking()
1082
+
1083
+ Quitter une réservation
1084
+
1085
+ ### Example
1086
+
1087
+ ```typescript
1088
+ import {
1089
+ UsersApi,
1090
+ Configuration
1091
+ } from '@tennac-booking/sdk';
1092
+
1093
+ const configuration = new Configuration();
1094
+ const apiInstance = new UsersApi(configuration);
1095
+
1096
+ let bookingId: string; // (default to undefined)
1097
+
1098
+ const { status, data } = await apiInstance.leaveBooking(
1099
+ bookingId
1100
+ );
1101
+ ```
1102
+
1103
+ ### Parameters
1104
+
1105
+ |Name | Type | Description | Notes|
1106
+ |------------- | ------------- | ------------- | -------------|
1107
+ | **bookingId** | [**string**] | | defaults to undefined|
1108
+
1109
+
1110
+ ### Return type
1111
+
1112
+ **LeaveEventWaitList200Response**
1113
+
1114
+ ### Authorization
1115
+
1116
+ [bearerAuth](../README.md#bearerAuth)
1117
+
1118
+ ### HTTP request headers
1119
+
1120
+ - **Content-Type**: Not defined
1121
+ - **Accept**: application/json
1122
+
1123
+
1124
+ ### HTTP response details
1125
+ | Status code | Description | Response headers |
1126
+ |-------------|-------------|------------------|
1127
+ |**200** | Réservation quittée avec succès | - |
1128
+ |**400** | Requête invalide | - |
1129
+ |**404** | Réservation non trouvée | - |
1130
+ |**500** | Erreur serveur | - |
1131
+
1132
+ [[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)
1133
+
1079
1134
  # **listPlayers**
1080
1135
  > PlayerListResponse listPlayers()
1081
1136
 
@@ -1509,7 +1564,7 @@ const { status, data } = await apiInstance.removeFavoritePlayer(
1509
1564
  [[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)
1510
1565
 
1511
1566
  # **removeOrganization**
1512
- > RequestPasswordReset200Response removeOrganization(addOrganizationRequest)
1567
+ > LeaveEventWaitList200Response removeOrganization(addOrganizationRequest)
1513
1568
 
1514
1569
 
1515
1570
  ### Example
@@ -1540,7 +1595,7 @@ const { status, data } = await apiInstance.removeOrganization(
1540
1595
 
1541
1596
  ### Return type
1542
1597
 
1543
- **RequestPasswordReset200Response**
1598
+ **LeaveEventWaitList200Response**
1544
1599
 
1545
1600
  ### Authorization
1546
1601
 
@@ -1560,7 +1615,7 @@ const { status, data } = await apiInstance.removeOrganization(
1560
1615
  [[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)
1561
1616
 
1562
1617
  # **requestEmailVerification**
1563
- > RequestPasswordReset200Response requestEmailVerification()
1618
+ > LeaveEventWaitList200Response requestEmailVerification()
1564
1619
 
1565
1620
 
1566
1621
  ### Example
@@ -1583,7 +1638,7 @@ This endpoint does not have any parameters.
1583
1638
 
1584
1639
  ### Return type
1585
1640
 
1586
- **RequestPasswordReset200Response**
1641
+ **LeaveEventWaitList200Response**
1587
1642
 
1588
1643
  ### Authorization
1589
1644
 
@@ -1603,7 +1658,7 @@ This endpoint does not have any parameters.
1603
1658
  [[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)
1604
1659
 
1605
1660
  # **requestPasswordReset**
1606
- > RequestPasswordReset200Response requestPasswordReset(passwordResetRequestBody)
1661
+ > LeaveEventWaitList200Response requestPasswordReset(passwordResetRequestBody)
1607
1662
 
1608
1663
 
1609
1664
  ### Example
@@ -1634,7 +1689,7 @@ const { status, data } = await apiInstance.requestPasswordReset(
1634
1689
 
1635
1690
  ### Return type
1636
1691
 
1637
- **RequestPasswordReset200Response**
1692
+ **LeaveEventWaitList200Response**
1638
1693
 
1639
1694
  ### Authorization
1640
1695
 
@@ -1654,7 +1709,7 @@ No authorization required
1654
1709
  [[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)
1655
1710
 
1656
1711
  # **resetPassword**
1657
- > RequestPasswordReset200Response resetPassword(resetPasswordRequest)
1712
+ > LeaveEventWaitList200Response resetPassword(resetPasswordRequest)
1658
1713
 
1659
1714
 
1660
1715
  ### Example
@@ -1685,7 +1740,7 @@ const { status, data } = await apiInstance.resetPassword(
1685
1740
 
1686
1741
  ### Return type
1687
1742
 
1688
- **RequestPasswordReset200Response**
1743
+ **LeaveEventWaitList200Response**
1689
1744
 
1690
1745
  ### Authorization
1691
1746
 
@@ -1960,7 +2015,7 @@ const { status, data } = await apiInstance.updateProfilePicture(
1960
2015
  [[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)
1961
2016
 
1962
2017
  # **verifyEmail**
1963
- > RequestPasswordReset200Response verifyEmail(verifyEmailRequest)
2018
+ > LeaveEventWaitList200Response verifyEmail(verifyEmailRequest)
1964
2019
 
1965
2020
 
1966
2021
  ### Example
@@ -1991,7 +2046,7 @@ const { status, data } = await apiInstance.verifyEmail(
1991
2046
 
1992
2047
  ### Return type
1993
2048
 
1994
- **RequestPasswordReset200Response**
2049
+ **LeaveEventWaitList200Response**
1995
2050
 
1996
2051
  ### Authorization
1997
2052
 
@@ -2011,7 +2066,7 @@ No authorization required
2011
2066
  [[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)
2012
2067
 
2013
2068
  # **verifyOrganization**
2014
- > RequestPasswordReset200Response verifyOrganization(verifyEmailRequest)
2069
+ > LeaveEventWaitList200Response verifyOrganization(verifyEmailRequest)
2015
2070
 
2016
2071
 
2017
2072
  ### Example
@@ -2042,7 +2097,7 @@ const { status, data } = await apiInstance.verifyOrganization(
2042
2097
 
2043
2098
  ### Return type
2044
2099
 
2045
- **RequestPasswordReset200Response**
2100
+ **LeaveEventWaitList200Response**
2046
2101
 
2047
2102
  ### Authorization
2048
2103
 
@@ -0,0 +1,499 @@
1
+ # WaitListApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getBookingPosition**](#getbookingposition) | **GET** /api/waitlist/booking/{bookingId}/position | |
8
+ |[**getEventBookingPosition**](#geteventbookingposition) | **GET** /api/waitlist/event-booking/{eventBookingId}/position | |
9
+ |[**getEventPosition**](#geteventposition) | **GET** /api/waitlist/event/{eventId}/position | |
10
+ |[**joinBookingWaitList**](#joinbookingwaitlist) | **POST** /api/waitlist/booking/{bookingId}/join | |
11
+ |[**joinEventBookingWaitList**](#joineventbookingwaitlist) | **POST** /api/waitlist/event-booking/{eventBookingId}/join | |
12
+ |[**joinEventWaitList**](#joineventwaitlist) | **POST** /api/waitlist/event/{eventId}/join | |
13
+ |[**leaveBookingWaitList**](#leavebookingwaitlist) | **DELETE** /api/waitlist/booking/{bookingId}/leave | |
14
+ |[**leaveEventBookingWaitList**](#leaveeventbookingwaitlist) | **DELETE** /api/waitlist/event-booking/{eventBookingId}/leave | |
15
+ |[**leaveEventWaitList**](#leaveeventwaitlist) | **DELETE** /api/waitlist/event/{eventId}/leave | |
16
+
17
+ # **getBookingPosition**
18
+ > WaitListPositionResponse getBookingPosition()
19
+
20
+ Obtenir la position actuelle dans la file d\'attente d\'un booking
21
+
22
+ ### Example
23
+
24
+ ```typescript
25
+ import {
26
+ WaitListApi,
27
+ Configuration
28
+ } from '@tennac-booking/sdk';
29
+
30
+ const configuration = new Configuration();
31
+ const apiInstance = new WaitListApi(configuration);
32
+
33
+ let bookingId: string; // (default to undefined)
34
+
35
+ const { status, data } = await apiInstance.getBookingPosition(
36
+ bookingId
37
+ );
38
+ ```
39
+
40
+ ### Parameters
41
+
42
+ |Name | Type | Description | Notes|
43
+ |------------- | ------------- | ------------- | -------------|
44
+ | **bookingId** | [**string**] | | defaults to undefined|
45
+
46
+
47
+ ### Return type
48
+
49
+ **WaitListPositionResponse**
50
+
51
+ ### Authorization
52
+
53
+ [bearerAuth](../README.md#bearerAuth)
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: Not defined
58
+ - **Accept**: application/json
59
+
60
+
61
+ ### HTTP response details
62
+ | Status code | Description | Response headers |
63
+ |-------------|-------------|------------------|
64
+ |**200** | Position récupérée avec succès | - |
65
+ |**404** | Non trouvé dans la file d\'attente | - |
66
+ |**500** | Erreur serveur | - |
67
+
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)
69
+
70
+ # **getEventBookingPosition**
71
+ > WaitListPositionResponse getEventBookingPosition()
72
+
73
+ Obtenir la position actuelle dans la file d\'attente d\'un eventBooking
74
+
75
+ ### Example
76
+
77
+ ```typescript
78
+ import {
79
+ WaitListApi,
80
+ Configuration
81
+ } from '@tennac-booking/sdk';
82
+
83
+ const configuration = new Configuration();
84
+ const apiInstance = new WaitListApi(configuration);
85
+
86
+ let eventBookingId: string; // (default to undefined)
87
+
88
+ const { status, data } = await apiInstance.getEventBookingPosition(
89
+ eventBookingId
90
+ );
91
+ ```
92
+
93
+ ### Parameters
94
+
95
+ |Name | Type | Description | Notes|
96
+ |------------- | ------------- | ------------- | -------------|
97
+ | **eventBookingId** | [**string**] | | defaults to undefined|
98
+
99
+
100
+ ### Return type
101
+
102
+ **WaitListPositionResponse**
103
+
104
+ ### Authorization
105
+
106
+ [bearerAuth](../README.md#bearerAuth)
107
+
108
+ ### HTTP request headers
109
+
110
+ - **Content-Type**: Not defined
111
+ - **Accept**: application/json
112
+
113
+
114
+ ### HTTP response details
115
+ | Status code | Description | Response headers |
116
+ |-------------|-------------|------------------|
117
+ |**200** | Position récupérée avec succès | - |
118
+ |**404** | Non trouvé dans la file d\'attente | - |
119
+ |**500** | Erreur serveur | - |
120
+
121
+ [[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)
122
+
123
+ # **getEventPosition**
124
+ > WaitListPositionResponse getEventPosition()
125
+
126
+ Obtenir la position actuelle dans la file d\'attente d\'un event
127
+
128
+ ### Example
129
+
130
+ ```typescript
131
+ import {
132
+ WaitListApi,
133
+ Configuration
134
+ } from '@tennac-booking/sdk';
135
+
136
+ const configuration = new Configuration();
137
+ const apiInstance = new WaitListApi(configuration);
138
+
139
+ let eventId: string; // (default to undefined)
140
+
141
+ const { status, data } = await apiInstance.getEventPosition(
142
+ eventId
143
+ );
144
+ ```
145
+
146
+ ### Parameters
147
+
148
+ |Name | Type | Description | Notes|
149
+ |------------- | ------------- | ------------- | -------------|
150
+ | **eventId** | [**string**] | | defaults to undefined|
151
+
152
+
153
+ ### Return type
154
+
155
+ **WaitListPositionResponse**
156
+
157
+ ### Authorization
158
+
159
+ [bearerAuth](../README.md#bearerAuth)
160
+
161
+ ### HTTP request headers
162
+
163
+ - **Content-Type**: Not defined
164
+ - **Accept**: application/json
165
+
166
+
167
+ ### HTTP response details
168
+ | Status code | Description | Response headers |
169
+ |-------------|-------------|------------------|
170
+ |**200** | Position récupérée avec succès | - |
171
+ |**404** | Non trouvé dans la file d\'attente | - |
172
+ |**500** | Erreur serveur | - |
173
+
174
+ [[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)
175
+
176
+ # **joinBookingWaitList**
177
+ > JoinEventWaitList200Response joinBookingWaitList()
178
+
179
+ Rejoindre la file d\'attente pour un booking (créneau ouvert)
180
+
181
+ ### Example
182
+
183
+ ```typescript
184
+ import {
185
+ WaitListApi,
186
+ Configuration
187
+ } from '@tennac-booking/sdk';
188
+
189
+ const configuration = new Configuration();
190
+ const apiInstance = new WaitListApi(configuration);
191
+
192
+ let bookingId: string; // (default to undefined)
193
+
194
+ const { status, data } = await apiInstance.joinBookingWaitList(
195
+ bookingId
196
+ );
197
+ ```
198
+
199
+ ### Parameters
200
+
201
+ |Name | Type | Description | Notes|
202
+ |------------- | ------------- | ------------- | -------------|
203
+ | **bookingId** | [**string**] | | defaults to undefined|
204
+
205
+
206
+ ### Return type
207
+
208
+ **JoinEventWaitList200Response**
209
+
210
+ ### Authorization
211
+
212
+ [bearerAuth](../README.md#bearerAuth)
213
+
214
+ ### HTTP request headers
215
+
216
+ - **Content-Type**: Not defined
217
+ - **Accept**: application/json
218
+
219
+
220
+ ### HTTP response details
221
+ | Status code | Description | Response headers |
222
+ |-------------|-------------|------------------|
223
+ |**200** | Ajouté à la file d\'attente avec succès | - |
224
+ |**400** | Requête invalide | - |
225
+ |**404** | Réservation non trouvée | - |
226
+ |**500** | Erreur serveur | - |
227
+
228
+ [[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)
229
+
230
+ # **joinEventBookingWaitList**
231
+ > JoinEventWaitList200Response joinEventBookingWaitList()
232
+
233
+ Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
234
+
235
+ ### Example
236
+
237
+ ```typescript
238
+ import {
239
+ WaitListApi,
240
+ Configuration
241
+ } from '@tennac-booking/sdk';
242
+
243
+ const configuration = new Configuration();
244
+ const apiInstance = new WaitListApi(configuration);
245
+
246
+ let eventBookingId: string; // (default to undefined)
247
+
248
+ const { status, data } = await apiInstance.joinEventBookingWaitList(
249
+ eventBookingId
250
+ );
251
+ ```
252
+
253
+ ### Parameters
254
+
255
+ |Name | Type | Description | Notes|
256
+ |------------- | ------------- | ------------- | -------------|
257
+ | **eventBookingId** | [**string**] | | defaults to undefined|
258
+
259
+
260
+ ### Return type
261
+
262
+ **JoinEventWaitList200Response**
263
+
264
+ ### Authorization
265
+
266
+ [bearerAuth](../README.md#bearerAuth)
267
+
268
+ ### HTTP request headers
269
+
270
+ - **Content-Type**: Not defined
271
+ - **Accept**: application/json
272
+
273
+
274
+ ### HTTP response details
275
+ | Status code | Description | Response headers |
276
+ |-------------|-------------|------------------|
277
+ |**200** | Ajouté à la file d\'attente avec succès | - |
278
+ |**400** | Requête invalide | - |
279
+ |**404** | Inscription événement non trouvée | - |
280
+ |**500** | Erreur serveur | - |
281
+
282
+ [[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)
283
+
284
+ # **joinEventWaitList**
285
+ > JoinEventWaitList200Response joinEventWaitList()
286
+
287
+ Rejoindre la file d\'attente pour un event (participation solo)
288
+
289
+ ### Example
290
+
291
+ ```typescript
292
+ import {
293
+ WaitListApi,
294
+ Configuration
295
+ } from '@tennac-booking/sdk';
296
+
297
+ const configuration = new Configuration();
298
+ const apiInstance = new WaitListApi(configuration);
299
+
300
+ let eventId: string; // (default to undefined)
301
+
302
+ const { status, data } = await apiInstance.joinEventWaitList(
303
+ eventId
304
+ );
305
+ ```
306
+
307
+ ### Parameters
308
+
309
+ |Name | Type | Description | Notes|
310
+ |------------- | ------------- | ------------- | -------------|
311
+ | **eventId** | [**string**] | | defaults to undefined|
312
+
313
+
314
+ ### Return type
315
+
316
+ **JoinEventWaitList200Response**
317
+
318
+ ### Authorization
319
+
320
+ [bearerAuth](../README.md#bearerAuth)
321
+
322
+ ### HTTP request headers
323
+
324
+ - **Content-Type**: Not defined
325
+ - **Accept**: application/json
326
+
327
+
328
+ ### HTTP response details
329
+ | Status code | Description | Response headers |
330
+ |-------------|-------------|------------------|
331
+ |**200** | Ajouté à la file d\'attente avec succès | - |
332
+ |**400** | Requête invalide | - |
333
+ |**404** | Événement non trouvé | - |
334
+ |**500** | Erreur serveur | - |
335
+
336
+ [[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)
337
+
338
+ # **leaveBookingWaitList**
339
+ > LeaveEventWaitList200Response leaveBookingWaitList()
340
+
341
+ Quitter la file d\'attente d\'un booking
342
+
343
+ ### Example
344
+
345
+ ```typescript
346
+ import {
347
+ WaitListApi,
348
+ Configuration
349
+ } from '@tennac-booking/sdk';
350
+
351
+ const configuration = new Configuration();
352
+ const apiInstance = new WaitListApi(configuration);
353
+
354
+ let bookingId: string; // (default to undefined)
355
+
356
+ const { status, data } = await apiInstance.leaveBookingWaitList(
357
+ bookingId
358
+ );
359
+ ```
360
+
361
+ ### Parameters
362
+
363
+ |Name | Type | Description | Notes|
364
+ |------------- | ------------- | ------------- | -------------|
365
+ | **bookingId** | [**string**] | | defaults to undefined|
366
+
367
+
368
+ ### Return type
369
+
370
+ **LeaveEventWaitList200Response**
371
+
372
+ ### Authorization
373
+
374
+ [bearerAuth](../README.md#bearerAuth)
375
+
376
+ ### HTTP request headers
377
+
378
+ - **Content-Type**: Not defined
379
+ - **Accept**: application/json
380
+
381
+
382
+ ### HTTP response details
383
+ | Status code | Description | Response headers |
384
+ |-------------|-------------|------------------|
385
+ |**200** | Retiré de la file d\'attente avec succès | - |
386
+ |**400** | Requête invalide | - |
387
+ |**404** | Non trouvé dans la file d\'attente | - |
388
+ |**500** | Erreur serveur | - |
389
+
390
+ [[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)
391
+
392
+ # **leaveEventBookingWaitList**
393
+ > LeaveEventWaitList200Response leaveEventBookingWaitList()
394
+
395
+ Quitter la file d\'attente d\'un eventBooking
396
+
397
+ ### Example
398
+
399
+ ```typescript
400
+ import {
401
+ WaitListApi,
402
+ Configuration
403
+ } from '@tennac-booking/sdk';
404
+
405
+ const configuration = new Configuration();
406
+ const apiInstance = new WaitListApi(configuration);
407
+
408
+ let eventBookingId: string; // (default to undefined)
409
+
410
+ const { status, data } = await apiInstance.leaveEventBookingWaitList(
411
+ eventBookingId
412
+ );
413
+ ```
414
+
415
+ ### Parameters
416
+
417
+ |Name | Type | Description | Notes|
418
+ |------------- | ------------- | ------------- | -------------|
419
+ | **eventBookingId** | [**string**] | | defaults to undefined|
420
+
421
+
422
+ ### Return type
423
+
424
+ **LeaveEventWaitList200Response**
425
+
426
+ ### Authorization
427
+
428
+ [bearerAuth](../README.md#bearerAuth)
429
+
430
+ ### HTTP request headers
431
+
432
+ - **Content-Type**: Not defined
433
+ - **Accept**: application/json
434
+
435
+
436
+ ### HTTP response details
437
+ | Status code | Description | Response headers |
438
+ |-------------|-------------|------------------|
439
+ |**200** | Retiré de la file d\'attente avec succès | - |
440
+ |**400** | Requête invalide | - |
441
+ |**404** | Non trouvé dans la file d\'attente | - |
442
+ |**500** | Erreur serveur | - |
443
+
444
+ [[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)
445
+
446
+ # **leaveEventWaitList**
447
+ > LeaveEventWaitList200Response leaveEventWaitList()
448
+
449
+ Quitter la file d\'attente d\'un event
450
+
451
+ ### Example
452
+
453
+ ```typescript
454
+ import {
455
+ WaitListApi,
456
+ Configuration
457
+ } from '@tennac-booking/sdk';
458
+
459
+ const configuration = new Configuration();
460
+ const apiInstance = new WaitListApi(configuration);
461
+
462
+ let eventId: string; // (default to undefined)
463
+
464
+ const { status, data } = await apiInstance.leaveEventWaitList(
465
+ eventId
466
+ );
467
+ ```
468
+
469
+ ### Parameters
470
+
471
+ |Name | Type | Description | Notes|
472
+ |------------- | ------------- | ------------- | -------------|
473
+ | **eventId** | [**string**] | | defaults to undefined|
474
+
475
+
476
+ ### Return type
477
+
478
+ **LeaveEventWaitList200Response**
479
+
480
+ ### Authorization
481
+
482
+ [bearerAuth](../README.md#bearerAuth)
483
+
484
+ ### HTTP request headers
485
+
486
+ - **Content-Type**: Not defined
487
+ - **Accept**: application/json
488
+
489
+
490
+ ### HTTP response details
491
+ | Status code | Description | Response headers |
492
+ |-------------|-------------|------------------|
493
+ |**200** | Retiré de la file d\'attente avec succès | - |
494
+ |**400** | Requête invalide | - |
495
+ |**404** | Non trouvé dans la file d\'attente | - |
496
+ |**500** | Erreur serveur | - |
497
+
498
+ [[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)
499
+
@@ -1,21 +1,21 @@
1
- # GetWaitListForEvent200Response
1
+ # WaitListListResponse
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **total** | **number** | | [default to undefined]
9
8
  **waitList** | [**Array<WaitListResponse>**](WaitListResponse.md) | | [default to undefined]
9
+ **total** | **number** | | [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { GetWaitListForEvent200Response } from '@tennac-booking/sdk';
14
+ import { WaitListListResponse } from '@tennac-booking/sdk';
15
15
 
16
- const instance: GetWaitListForEvent200Response = {
17
- total,
16
+ const instance: WaitListListResponse = {
18
17
  waitList,
18
+ total,
19
19
  };
20
20
  ```
21
21