@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
@@ -1,21 +1,21 @@
1
- # GetUserPosition200Response
1
+ # WaitListPositionResponse
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
9
8
  **position** | **number** | | [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { GetUserPosition200Response } from '@tennac-booking/sdk';
14
+ import { WaitListPositionResponse } from '@tennac-booking/sdk';
15
15
 
16
- const instance: GetUserPosition200Response = {
17
- message,
16
+ const instance: WaitListPositionResponse = {
18
17
  position,
18
+ message,
19
19
  };
20
20
  ```
21
21
 
@@ -6,14 +6,17 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [default to undefined]
9
- **eventId** | **string** | | [default to undefined]
10
9
  **userId** | **string** | | [default to undefined]
10
+ **clubId** | **string** | | [default to undefined]
11
+ **targetType** | **string** | | [default to undefined]
12
+ **targetId** | **string** | | [default to undefined]
11
13
  **status** | **string** | | [default to undefined]
12
14
  **position** | **number** | | [default to undefined]
13
15
  **priceInCents** | **number** | | [default to undefined]
14
- **paymentAuthorized** | **boolean** | | [default to undefined]
15
16
  **joinedAt** | **string** | | [default to undefined]
16
- **expiresAt** | **string** | | [optional] [default to undefined]
17
+ **notifiedAt** | **string** | | [optional] [default to undefined]
18
+ **paymentExpiresAt** | **string** | | [optional] [default to undefined]
19
+ **confirmedAt** | **string** | | [optional] [default to undefined]
17
20
  **paymentLink** | **string** | | [optional] [default to undefined]
18
21
 
19
22
  ## Example
@@ -23,14 +26,17 @@ import { WaitListResponse } from '@tennac-booking/sdk';
23
26
 
24
27
  const instance: WaitListResponse = {
25
28
  id,
26
- eventId,
27
29
  userId,
30
+ clubId,
31
+ targetType,
32
+ targetId,
28
33
  status,
29
34
  position,
30
35
  priceInCents,
31
- paymentAuthorized,
32
36
  joinedAt,
33
- expiresAt,
37
+ notifiedAt,
38
+ paymentExpiresAt,
39
+ confirmedAt,
34
40
  paymentLink,
35
41
  };
36
42
  ```
@@ -0,0 +1,331 @@
1
+ # WaitListStaffApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getBookingWaitList**](#getbookingwaitlist) | **GET** /api/waitlist/booking/{bookingId}/list | |
8
+ |[**getEventBookingWaitList**](#geteventbookingwaitlist) | **GET** /api/waitlist/event-booking/{eventBookingId}/list | |
9
+ |[**getEventWaitList**](#geteventwaitlist) | **GET** /api/waitlist/event/{eventId}/list | |
10
+ |[**processBookingWaitList**](#processbookingwaitlist) | **POST** /api/waitlist/booking/{bookingId}/process | |
11
+ |[**processEventBookingWaitList**](#processeventbookingwaitlist) | **POST** /api/waitlist/event-booking/{eventBookingId}/process | |
12
+ |[**processEventWaitList**](#processeventwaitlist) | **POST** /api/waitlist/event/{eventId}/process | |
13
+
14
+ # **getBookingWaitList**
15
+ > WaitListListResponse getBookingWaitList()
16
+
17
+ Obtenir la liste complète de la file d\'attente pour un booking (staff only)
18
+
19
+ ### Example
20
+
21
+ ```typescript
22
+ import {
23
+ WaitListStaffApi,
24
+ Configuration
25
+ } from '@tennac-booking/sdk';
26
+
27
+ const configuration = new Configuration();
28
+ const apiInstance = new WaitListStaffApi(configuration);
29
+
30
+ let bookingId: string; // (default to undefined)
31
+
32
+ const { status, data } = await apiInstance.getBookingWaitList(
33
+ bookingId
34
+ );
35
+ ```
36
+
37
+ ### Parameters
38
+
39
+ |Name | Type | Description | Notes|
40
+ |------------- | ------------- | ------------- | -------------|
41
+ | **bookingId** | [**string**] | | defaults to undefined|
42
+
43
+
44
+ ### Return type
45
+
46
+ **WaitListListResponse**
47
+
48
+ ### Authorization
49
+
50
+ [bearerAuth](../README.md#bearerAuth)
51
+
52
+ ### HTTP request headers
53
+
54
+ - **Content-Type**: Not defined
55
+ - **Accept**: application/json
56
+
57
+
58
+ ### HTTP response details
59
+ | Status code | Description | Response headers |
60
+ |-------------|-------------|------------------|
61
+ |**200** | File d\'attente récupérée avec succès | - |
62
+ |**404** | Réservation non trouvée | - |
63
+ |**500** | Erreur serveur | - |
64
+
65
+ [[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)
66
+
67
+ # **getEventBookingWaitList**
68
+ > WaitListListResponse getEventBookingWaitList()
69
+
70
+ Obtenir la liste complète de la file d\'attente pour un eventBooking (staff only)
71
+
72
+ ### Example
73
+
74
+ ```typescript
75
+ import {
76
+ WaitListStaffApi,
77
+ Configuration
78
+ } from '@tennac-booking/sdk';
79
+
80
+ const configuration = new Configuration();
81
+ const apiInstance = new WaitListStaffApi(configuration);
82
+
83
+ let eventBookingId: string; // (default to undefined)
84
+
85
+ const { status, data } = await apiInstance.getEventBookingWaitList(
86
+ eventBookingId
87
+ );
88
+ ```
89
+
90
+ ### Parameters
91
+
92
+ |Name | Type | Description | Notes|
93
+ |------------- | ------------- | ------------- | -------------|
94
+ | **eventBookingId** | [**string**] | | defaults to undefined|
95
+
96
+
97
+ ### Return type
98
+
99
+ **WaitListListResponse**
100
+
101
+ ### Authorization
102
+
103
+ [bearerAuth](../README.md#bearerAuth)
104
+
105
+ ### HTTP request headers
106
+
107
+ - **Content-Type**: Not defined
108
+ - **Accept**: application/json
109
+
110
+
111
+ ### HTTP response details
112
+ | Status code | Description | Response headers |
113
+ |-------------|-------------|------------------|
114
+ |**200** | File d\'attente récupérée avec succès | - |
115
+ |**404** | Inscription événement non trouvée | - |
116
+ |**500** | Erreur serveur | - |
117
+
118
+ [[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)
119
+
120
+ # **getEventWaitList**
121
+ > WaitListListResponse getEventWaitList()
122
+
123
+ Obtenir la liste complète de la file d\'attente pour un event (staff only)
124
+
125
+ ### Example
126
+
127
+ ```typescript
128
+ import {
129
+ WaitListStaffApi,
130
+ Configuration
131
+ } from '@tennac-booking/sdk';
132
+
133
+ const configuration = new Configuration();
134
+ const apiInstance = new WaitListStaffApi(configuration);
135
+
136
+ let eventId: string; // (default to undefined)
137
+
138
+ const { status, data } = await apiInstance.getEventWaitList(
139
+ eventId
140
+ );
141
+ ```
142
+
143
+ ### Parameters
144
+
145
+ |Name | Type | Description | Notes|
146
+ |------------- | ------------- | ------------- | -------------|
147
+ | **eventId** | [**string**] | | defaults to undefined|
148
+
149
+
150
+ ### Return type
151
+
152
+ **WaitListListResponse**
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** | File d\'attente récupérée avec succès | - |
168
+ |**404** | Événement non trouvé | - |
169
+ |**500** | Erreur serveur | - |
170
+
171
+ [[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)
172
+
173
+ # **processBookingWaitList**
174
+ > LeaveEventWaitList200Response processBookingWaitList()
175
+
176
+ Forcer le traitement de la waitlist pour un booking (staff only)
177
+
178
+ ### Example
179
+
180
+ ```typescript
181
+ import {
182
+ WaitListStaffApi,
183
+ Configuration
184
+ } from '@tennac-booking/sdk';
185
+
186
+ const configuration = new Configuration();
187
+ const apiInstance = new WaitListStaffApi(configuration);
188
+
189
+ let bookingId: string; // (default to undefined)
190
+
191
+ const { status, data } = await apiInstance.processBookingWaitList(
192
+ bookingId
193
+ );
194
+ ```
195
+
196
+ ### Parameters
197
+
198
+ |Name | Type | Description | Notes|
199
+ |------------- | ------------- | ------------- | -------------|
200
+ | **bookingId** | [**string**] | | defaults to undefined|
201
+
202
+
203
+ ### Return type
204
+
205
+ **LeaveEventWaitList200Response**
206
+
207
+ ### Authorization
208
+
209
+ [bearerAuth](../README.md#bearerAuth)
210
+
211
+ ### HTTP request headers
212
+
213
+ - **Content-Type**: Not defined
214
+ - **Accept**: application/json
215
+
216
+
217
+ ### HTTP response details
218
+ | Status code | Description | Response headers |
219
+ |-------------|-------------|------------------|
220
+ |**200** | File d\'attente traitée avec succès | - |
221
+ |**404** | Réservation non trouvée | - |
222
+ |**500** | Erreur serveur | - |
223
+
224
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
225
+
226
+ # **processEventBookingWaitList**
227
+ > LeaveEventWaitList200Response processEventBookingWaitList()
228
+
229
+ Forcer le traitement de la waitlist pour un eventBooking (staff only)
230
+
231
+ ### Example
232
+
233
+ ```typescript
234
+ import {
235
+ WaitListStaffApi,
236
+ Configuration
237
+ } from '@tennac-booking/sdk';
238
+
239
+ const configuration = new Configuration();
240
+ const apiInstance = new WaitListStaffApi(configuration);
241
+
242
+ let eventBookingId: string; // (default to undefined)
243
+
244
+ const { status, data } = await apiInstance.processEventBookingWaitList(
245
+ eventBookingId
246
+ );
247
+ ```
248
+
249
+ ### Parameters
250
+
251
+ |Name | Type | Description | Notes|
252
+ |------------- | ------------- | ------------- | -------------|
253
+ | **eventBookingId** | [**string**] | | defaults to undefined|
254
+
255
+
256
+ ### Return type
257
+
258
+ **LeaveEventWaitList200Response**
259
+
260
+ ### Authorization
261
+
262
+ [bearerAuth](../README.md#bearerAuth)
263
+
264
+ ### HTTP request headers
265
+
266
+ - **Content-Type**: Not defined
267
+ - **Accept**: application/json
268
+
269
+
270
+ ### HTTP response details
271
+ | Status code | Description | Response headers |
272
+ |-------------|-------------|------------------|
273
+ |**200** | File d\'attente traitée avec succès | - |
274
+ |**404** | Inscription événement non trouvée | - |
275
+ |**500** | Erreur serveur | - |
276
+
277
+ [[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
+
279
+ # **processEventWaitList**
280
+ > LeaveEventWaitList200Response processEventWaitList()
281
+
282
+ Forcer le traitement de la waitlist pour un event (staff only)
283
+
284
+ ### Example
285
+
286
+ ```typescript
287
+ import {
288
+ WaitListStaffApi,
289
+ Configuration
290
+ } from '@tennac-booking/sdk';
291
+
292
+ const configuration = new Configuration();
293
+ const apiInstance = new WaitListStaffApi(configuration);
294
+
295
+ let eventId: string; // (default to undefined)
296
+
297
+ const { status, data } = await apiInstance.processEventWaitList(
298
+ eventId
299
+ );
300
+ ```
301
+
302
+ ### Parameters
303
+
304
+ |Name | Type | Description | Notes|
305
+ |------------- | ------------- | ------------- | -------------|
306
+ | **eventId** | [**string**] | | defaults to undefined|
307
+
308
+
309
+ ### Return type
310
+
311
+ **LeaveEventWaitList200Response**
312
+
313
+ ### Authorization
314
+
315
+ [bearerAuth](../README.md#bearerAuth)
316
+
317
+ ### HTTP request headers
318
+
319
+ - **Content-Type**: Not defined
320
+ - **Accept**: application/json
321
+
322
+
323
+ ### HTTP response details
324
+ | Status code | Description | Response headers |
325
+ |-------------|-------------|------------------|
326
+ |**200** | File d\'attente traitée avec succès | - |
327
+ |**404** | Événement non trouvé | - |
328
+ |**500** | Erreur serveur | - |
329
+
330
+ [[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)
331
+
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.172
7
+ * The version of the OpenAPI document: 1.0.176
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.174",
3
+ "version": "1.0.176",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,175 +0,0 @@
1
- # EventsWaitListApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**getUserPosition**](#getuserposition) | **GET** /api/events/waitlist/{eventId}/position | |
8
- |[**joinWaitList**](#joinwaitlist) | **POST** /api/events/waitlist/{eventId}/join | |
9
- |[**leaveWaitList**](#leavewaitlist) | **DELETE** /api/events/waitlist/{eventId}/leave | |
10
-
11
- # **getUserPosition**
12
- > GetUserPosition200Response getUserPosition()
13
-
14
- Obtenir la position actuelle dans la file d\'attente
15
-
16
- ### Example
17
-
18
- ```typescript
19
- import {
20
- EventsWaitListApi,
21
- Configuration
22
- } from '@tennac-booking/sdk';
23
-
24
- const configuration = new Configuration();
25
- const apiInstance = new EventsWaitListApi(configuration);
26
-
27
- let eventId: string; // (default to undefined)
28
-
29
- const { status, data } = await apiInstance.getUserPosition(
30
- eventId
31
- );
32
- ```
33
-
34
- ### Parameters
35
-
36
- |Name | Type | Description | Notes|
37
- |------------- | ------------- | ------------- | -------------|
38
- | **eventId** | [**string**] | | defaults to undefined|
39
-
40
-
41
- ### Return type
42
-
43
- **GetUserPosition200Response**
44
-
45
- ### Authorization
46
-
47
- [bearerAuth](../README.md#bearerAuth)
48
-
49
- ### HTTP request headers
50
-
51
- - **Content-Type**: Not defined
52
- - **Accept**: application/json
53
-
54
-
55
- ### HTTP response details
56
- | Status code | Description | Response headers |
57
- |-------------|-------------|------------------|
58
- |**200** | Position récupérée avec succès | - |
59
- |**404** | Non trouvé dans la file d\'attente | - |
60
- |**500** | Erreur serveur | - |
61
-
62
- [[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)
63
-
64
- # **joinWaitList**
65
- > JoinWaitList200Response joinWaitList(joinWaitListRequest)
66
-
67
- Rejoindre la file d\'attente pour un événement
68
-
69
- ### Example
70
-
71
- ```typescript
72
- import {
73
- EventsWaitListApi,
74
- Configuration,
75
- JoinWaitListRequest
76
- } from '@tennac-booking/sdk';
77
-
78
- const configuration = new Configuration();
79
- const apiInstance = new EventsWaitListApi(configuration);
80
-
81
- let eventId: string; // (default to undefined)
82
- let joinWaitListRequest: JoinWaitListRequest; //
83
-
84
- const { status, data } = await apiInstance.joinWaitList(
85
- eventId,
86
- joinWaitListRequest
87
- );
88
- ```
89
-
90
- ### Parameters
91
-
92
- |Name | Type | Description | Notes|
93
- |------------- | ------------- | ------------- | -------------|
94
- | **joinWaitListRequest** | **JoinWaitListRequest**| | |
95
- | **eventId** | [**string**] | | defaults to undefined|
96
-
97
-
98
- ### Return type
99
-
100
- **JoinWaitList200Response**
101
-
102
- ### Authorization
103
-
104
- [bearerAuth](../README.md#bearerAuth)
105
-
106
- ### HTTP request headers
107
-
108
- - **Content-Type**: application/json
109
- - **Accept**: application/json
110
-
111
-
112
- ### HTTP response details
113
- | Status code | Description | Response headers |
114
- |-------------|-------------|------------------|
115
- |**200** | Ajouté à la file d\'attente avec succès | - |
116
- |**400** | Requête invalide | - |
117
- |**404** | Événement non trouvé | - |
118
- |**500** | Erreur serveur | - |
119
-
120
- [[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)
121
-
122
- # **leaveWaitList**
123
- > RequestPasswordReset200Response leaveWaitList()
124
-
125
- Quitter la file d\'attente
126
-
127
- ### Example
128
-
129
- ```typescript
130
- import {
131
- EventsWaitListApi,
132
- Configuration
133
- } from '@tennac-booking/sdk';
134
-
135
- const configuration = new Configuration();
136
- const apiInstance = new EventsWaitListApi(configuration);
137
-
138
- let eventId: string; // (default to undefined)
139
-
140
- const { status, data } = await apiInstance.leaveWaitList(
141
- eventId
142
- );
143
- ```
144
-
145
- ### Parameters
146
-
147
- |Name | Type | Description | Notes|
148
- |------------- | ------------- | ------------- | -------------|
149
- | **eventId** | [**string**] | | defaults to undefined|
150
-
151
-
152
- ### Return type
153
-
154
- **RequestPasswordReset200Response**
155
-
156
- ### Authorization
157
-
158
- [bearerAuth](../README.md#bearerAuth)
159
-
160
- ### HTTP request headers
161
-
162
- - **Content-Type**: Not defined
163
- - **Accept**: application/json
164
-
165
-
166
- ### HTTP response details
167
- | Status code | Description | Response headers |
168
- |-------------|-------------|------------------|
169
- |**200** | Retiré de la file d\'attente avec succès | - |
170
- |**400** | Requête invalide | - |
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
-
@@ -1,115 +0,0 @@
1
- # EventsWaitListStaffApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**getWaitListForEvent**](#getwaitlistforevent) | **GET** /api/events/waitlist/{eventId} | |
8
- |[**processWaitList**](#processwaitlist) | **POST** /api/events/waitlist/{eventId}/process | |
9
-
10
- # **getWaitListForEvent**
11
- > GetWaitListForEvent200Response getWaitListForEvent()
12
-
13
- Obtenir la liste complète de la file d\'attente (staff only)
14
-
15
- ### Example
16
-
17
- ```typescript
18
- import {
19
- EventsWaitListStaffApi,
20
- Configuration
21
- } from '@tennac-booking/sdk';
22
-
23
- const configuration = new Configuration();
24
- const apiInstance = new EventsWaitListStaffApi(configuration);
25
-
26
- let eventId: string; // (default to undefined)
27
-
28
- const { status, data } = await apiInstance.getWaitListForEvent(
29
- eventId
30
- );
31
- ```
32
-
33
- ### Parameters
34
-
35
- |Name | Type | Description | Notes|
36
- |------------- | ------------- | ------------- | -------------|
37
- | **eventId** | [**string**] | | defaults to undefined|
38
-
39
-
40
- ### Return type
41
-
42
- **GetWaitListForEvent200Response**
43
-
44
- ### Authorization
45
-
46
- [bearerAuth](../README.md#bearerAuth)
47
-
48
- ### HTTP request headers
49
-
50
- - **Content-Type**: Not defined
51
- - **Accept**: application/json
52
-
53
-
54
- ### HTTP response details
55
- | Status code | Description | Response headers |
56
- |-------------|-------------|------------------|
57
- |**200** | File d\'attente récupérée avec succès | - |
58
- |**404** | Événement non trouvé | - |
59
- |**500** | Erreur serveur | - |
60
-
61
- [[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)
62
-
63
- # **processWaitList**
64
- > RequestPasswordReset200Response processWaitList()
65
-
66
- Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
67
-
68
- ### Example
69
-
70
- ```typescript
71
- import {
72
- EventsWaitListStaffApi,
73
- Configuration
74
- } from '@tennac-booking/sdk';
75
-
76
- const configuration = new Configuration();
77
- const apiInstance = new EventsWaitListStaffApi(configuration);
78
-
79
- let eventId: string; // (default to undefined)
80
-
81
- const { status, data } = await apiInstance.processWaitList(
82
- eventId
83
- );
84
- ```
85
-
86
- ### Parameters
87
-
88
- |Name | Type | Description | Notes|
89
- |------------- | ------------- | ------------- | -------------|
90
- | **eventId** | [**string**] | | defaults to undefined|
91
-
92
-
93
- ### Return type
94
-
95
- **RequestPasswordReset200Response**
96
-
97
- ### Authorization
98
-
99
- [bearerAuth](../README.md#bearerAuth)
100
-
101
- ### HTTP request headers
102
-
103
- - **Content-Type**: Not defined
104
- - **Accept**: application/json
105
-
106
-
107
- ### HTTP response details
108
- | Status code | Description | Response headers |
109
- |-------------|-------------|------------------|
110
- |**200** | File d\'attente traitée avec succès | - |
111
- |**404** | Événement non trouvé | - |
112
- |**500** | Erreur serveur | - |
113
-
114
- [[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)
115
-