@tennac-booking/sdk 1.0.244 → 1.0.245
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 +4 -0
- package/README.md +5 -0
- package/api.ts +370 -1
- package/dist/api.d.ts +322 -1
- package/dist/api.js +84 -5
- package/dist/esm/api.d.ts +322 -1
- package/dist/esm/api.js +79 -0
- package/docs/EventBookingDetailClubInfo.md +26 -0
- package/docs/EventBookingDetailEventSummary.md +56 -0
- package/docs/EventBookingDetailResponse.md +28 -0
- package/docs/EventBookingDetailResponseBooking.md +38 -0
- package/docs/SubscriptionPaymentSheetResponse.md +3 -1
- package/docs/UsersApi.md +51 -0
- package/package.json +1 -1
package/docs/UsersApi.md
CHANGED
|
@@ -11,6 +11,7 @@ All URIs are relative to *http://localhost*
|
|
|
11
11
|
|[**completeRegister**](#completeregister) | **POST** /api/users/complete-register | |
|
|
12
12
|
|[**getAllUsers**](#getallusers) | **GET** /api/users | |
|
|
13
13
|
|[**getBookingDetail**](#getbookingdetail) | **GET** /api/users/me/booking-detail/{bookingId} | |
|
|
14
|
+
|[**getEventBookingDetail**](#geteventbookingdetail) | **GET** /api/users/me/event-booking-detail/{eventBookingId} | |
|
|
14
15
|
|[**getFavoriteClubs**](#getfavoriteclubs) | **GET** /api/users/me/favorite-clubs | |
|
|
15
16
|
|[**getFavoritesPlayers**](#getfavoritesplayers) | **GET** /api/users/me/favoritesPlayers | |
|
|
16
17
|
|[**getFrequentlyPlayedWith**](#getfrequentlyplayedwith) | **GET** /api/users/me/frequentlyPlayedWith | |
|
|
@@ -394,6 +395,56 @@ const { status, data } = await apiInstance.getBookingDetail(
|
|
|
394
395
|
- **Accept**: application/json
|
|
395
396
|
|
|
396
397
|
|
|
398
|
+
### HTTP response details
|
|
399
|
+
| Status code | Description | Response headers |
|
|
400
|
+
|-------------|-------------|------------------|
|
|
401
|
+
|**200** | Ok | - |
|
|
402
|
+
|
|
403
|
+
[[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)
|
|
404
|
+
|
|
405
|
+
# **getEventBookingDetail**
|
|
406
|
+
> EventBookingDetailResponse getEventBookingDetail()
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
### Example
|
|
410
|
+
|
|
411
|
+
```typescript
|
|
412
|
+
import {
|
|
413
|
+
UsersApi,
|
|
414
|
+
Configuration
|
|
415
|
+
} from '@tennac-booking/sdk';
|
|
416
|
+
|
|
417
|
+
const configuration = new Configuration();
|
|
418
|
+
const apiInstance = new UsersApi(configuration);
|
|
419
|
+
|
|
420
|
+
let eventBookingId: string; // (default to undefined)
|
|
421
|
+
|
|
422
|
+
const { status, data } = await apiInstance.getEventBookingDetail(
|
|
423
|
+
eventBookingId
|
|
424
|
+
);
|
|
425
|
+
```
|
|
426
|
+
|
|
427
|
+
### Parameters
|
|
428
|
+
|
|
429
|
+
|Name | Type | Description | Notes|
|
|
430
|
+
|------------- | ------------- | ------------- | -------------|
|
|
431
|
+
| **eventBookingId** | [**string**] | | defaults to undefined|
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
### Return type
|
|
435
|
+
|
|
436
|
+
**EventBookingDetailResponse**
|
|
437
|
+
|
|
438
|
+
### Authorization
|
|
439
|
+
|
|
440
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
441
|
+
|
|
442
|
+
### HTTP request headers
|
|
443
|
+
|
|
444
|
+
- **Content-Type**: Not defined
|
|
445
|
+
- **Accept**: application/json
|
|
446
|
+
|
|
447
|
+
|
|
397
448
|
### HTTP response details
|
|
398
449
|
| Status code | Description | Response headers |
|
|
399
450
|
|-------------|-------------|------------------|
|