@tennac-booking/sdk 1.0.250 → 1.0.252
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 +6 -0
- package/README.md +7 -0
- package/api.ts +400 -15
- package/dist/api.d.ts +346 -6
- package/dist/api.js +92 -15
- package/dist/esm/api.d.ts +346 -6
- package/dist/esm/api.js +92 -15
- package/docs/BookingClubInfo.md +2 -0
- package/docs/BookingClubInfoClubSettings.md +22 -0
- package/docs/ClubGeneralSettingsResponse.md +2 -0
- package/docs/ClubResponse.md +2 -0
- package/docs/CreateEventRequest.md +2 -0
- package/docs/EventDetailClub.md +24 -0
- package/docs/EventDetailCourt.md +26 -0
- package/docs/EventDetailResponse.md +38 -0
- package/docs/EventDetailSponsor.md +24 -0
- package/docs/EventResponse.md +2 -0
- package/docs/EventsApi.md +54 -0
- package/docs/JoinEventRequest.md +4 -0
- package/docs/JoinOpenEventBookingRequest.md +2 -0
- package/docs/JoinWaitListRequest.md +24 -0
- package/docs/UpdateClubGeneralSettingsRequest.md +2 -0
- package/docs/UpdateClubRequest.md +2 -0
- package/docs/UpdateEventRequest.md +2 -0
- package/docs/UpdateRecurringDefinitionRequest.md +2 -0
- package/docs/WaitListApi.md +21 -9
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ Name | Type | Description | Notes
|
|
|
30
30
|
**levels** | **Array<string | null>** | | [optional] [default to undefined]
|
|
31
31
|
**registrationOpenDaysBefore** | **number** | | [optional] [default to undefined]
|
|
32
32
|
**sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
|
|
33
|
+
**needLicence** | **boolean** | | [optional] [default to undefined]
|
|
33
34
|
|
|
34
35
|
## Example
|
|
35
36
|
|
|
@@ -62,6 +63,7 @@ const instance: UpdateEventRequest = {
|
|
|
62
63
|
levels,
|
|
63
64
|
registrationOpenDaysBefore,
|
|
64
65
|
sponsors,
|
|
66
|
+
needLicence,
|
|
65
67
|
};
|
|
66
68
|
```
|
|
67
69
|
|
|
@@ -29,6 +29,7 @@ Name | Type | Description | Notes
|
|
|
29
29
|
**baseEndDate** | **string** | | [optional] [default to undefined]
|
|
30
30
|
**recurringType** | **string** | | [optional] [default to undefined]
|
|
31
31
|
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
32
|
+
**needLicence** | **boolean** | | [optional] [default to undefined]
|
|
32
33
|
|
|
33
34
|
## Example
|
|
34
35
|
|
|
@@ -60,6 +61,7 @@ const instance: UpdateRecurringDefinitionRequest = {
|
|
|
60
61
|
baseEndDate,
|
|
61
62
|
recurringType,
|
|
62
63
|
recurrenceEndDate,
|
|
64
|
+
needLicence,
|
|
63
65
|
};
|
|
64
66
|
```
|
|
65
67
|
|
package/docs/WaitListApi.md
CHANGED
|
@@ -183,16 +183,19 @@ Rejoindre la file d\'attente pour un booking (créneau ouvert)
|
|
|
183
183
|
```typescript
|
|
184
184
|
import {
|
|
185
185
|
WaitListApi,
|
|
186
|
-
Configuration
|
|
186
|
+
Configuration,
|
|
187
|
+
JoinWaitListRequest
|
|
187
188
|
} from '@tennac-booking/sdk';
|
|
188
189
|
|
|
189
190
|
const configuration = new Configuration();
|
|
190
191
|
const apiInstance = new WaitListApi(configuration);
|
|
191
192
|
|
|
192
193
|
let bookingId: string; // (default to undefined)
|
|
194
|
+
let joinWaitListRequest: JoinWaitListRequest; // (optional)
|
|
193
195
|
|
|
194
196
|
const { status, data } = await apiInstance.joinBookingWaitList(
|
|
195
|
-
bookingId
|
|
197
|
+
bookingId,
|
|
198
|
+
joinWaitListRequest
|
|
196
199
|
);
|
|
197
200
|
```
|
|
198
201
|
|
|
@@ -200,6 +203,7 @@ const { status, data } = await apiInstance.joinBookingWaitList(
|
|
|
200
203
|
|
|
201
204
|
|Name | Type | Description | Notes|
|
|
202
205
|
|------------- | ------------- | ------------- | -------------|
|
|
206
|
+
| **joinWaitListRequest** | **JoinWaitListRequest**| | |
|
|
203
207
|
| **bookingId** | [**string**] | | defaults to undefined|
|
|
204
208
|
|
|
205
209
|
|
|
@@ -213,7 +217,7 @@ const { status, data } = await apiInstance.joinBookingWaitList(
|
|
|
213
217
|
|
|
214
218
|
### HTTP request headers
|
|
215
219
|
|
|
216
|
-
- **Content-Type**:
|
|
220
|
+
- **Content-Type**: application/json
|
|
217
221
|
- **Accept**: application/json
|
|
218
222
|
|
|
219
223
|
|
|
@@ -237,16 +241,19 @@ Rejoindre la file d\'attente pour un eventBooking (event en équipe avec crénea
|
|
|
237
241
|
```typescript
|
|
238
242
|
import {
|
|
239
243
|
WaitListApi,
|
|
240
|
-
Configuration
|
|
244
|
+
Configuration,
|
|
245
|
+
JoinWaitListRequest
|
|
241
246
|
} from '@tennac-booking/sdk';
|
|
242
247
|
|
|
243
248
|
const configuration = new Configuration();
|
|
244
249
|
const apiInstance = new WaitListApi(configuration);
|
|
245
250
|
|
|
246
251
|
let eventBookingId: string; // (default to undefined)
|
|
252
|
+
let joinWaitListRequest: JoinWaitListRequest; // (optional)
|
|
247
253
|
|
|
248
254
|
const { status, data } = await apiInstance.joinEventBookingWaitList(
|
|
249
|
-
eventBookingId
|
|
255
|
+
eventBookingId,
|
|
256
|
+
joinWaitListRequest
|
|
250
257
|
);
|
|
251
258
|
```
|
|
252
259
|
|
|
@@ -254,6 +261,7 @@ const { status, data } = await apiInstance.joinEventBookingWaitList(
|
|
|
254
261
|
|
|
255
262
|
|Name | Type | Description | Notes|
|
|
256
263
|
|------------- | ------------- | ------------- | -------------|
|
|
264
|
+
| **joinWaitListRequest** | **JoinWaitListRequest**| | |
|
|
257
265
|
| **eventBookingId** | [**string**] | | defaults to undefined|
|
|
258
266
|
|
|
259
267
|
|
|
@@ -267,7 +275,7 @@ const { status, data } = await apiInstance.joinEventBookingWaitList(
|
|
|
267
275
|
|
|
268
276
|
### HTTP request headers
|
|
269
277
|
|
|
270
|
-
- **Content-Type**:
|
|
278
|
+
- **Content-Type**: application/json
|
|
271
279
|
- **Accept**: application/json
|
|
272
280
|
|
|
273
281
|
|
|
@@ -291,16 +299,19 @@ Rejoindre la file d\'attente pour un event (participation solo)
|
|
|
291
299
|
```typescript
|
|
292
300
|
import {
|
|
293
301
|
WaitListApi,
|
|
294
|
-
Configuration
|
|
302
|
+
Configuration,
|
|
303
|
+
JoinWaitListRequest
|
|
295
304
|
} from '@tennac-booking/sdk';
|
|
296
305
|
|
|
297
306
|
const configuration = new Configuration();
|
|
298
307
|
const apiInstance = new WaitListApi(configuration);
|
|
299
308
|
|
|
300
309
|
let eventId: string; // (default to undefined)
|
|
310
|
+
let joinWaitListRequest: JoinWaitListRequest; // (optional)
|
|
301
311
|
|
|
302
312
|
const { status, data } = await apiInstance.joinEventWaitList(
|
|
303
|
-
eventId
|
|
313
|
+
eventId,
|
|
314
|
+
joinWaitListRequest
|
|
304
315
|
);
|
|
305
316
|
```
|
|
306
317
|
|
|
@@ -308,6 +319,7 @@ const { status, data } = await apiInstance.joinEventWaitList(
|
|
|
308
319
|
|
|
309
320
|
|Name | Type | Description | Notes|
|
|
310
321
|
|------------- | ------------- | ------------- | -------------|
|
|
322
|
+
| **joinWaitListRequest** | **JoinWaitListRequest**| | |
|
|
311
323
|
| **eventId** | [**string**] | | defaults to undefined|
|
|
312
324
|
|
|
313
325
|
|
|
@@ -321,7 +333,7 @@ const { status, data } = await apiInstance.joinEventWaitList(
|
|
|
321
333
|
|
|
322
334
|
### HTTP request headers
|
|
323
335
|
|
|
324
|
-
- **Content-Type**:
|
|
336
|
+
- **Content-Type**: application/json
|
|
325
337
|
- **Accept**: application/json
|
|
326
338
|
|
|
327
339
|
|