@tennac-booking/sdk 1.0.220 → 1.0.221
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 +24 -47
- package/README.md +38 -70
- package/api.ts +1834 -3355
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1784 -3051
- package/dist/api.js +1137 -1603
- 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 +1784 -3051
- package/dist/esm/api.js +1114 -1584
- 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/AgendaBooking.md +0 -2
- package/docs/BookingPopulated.md +1 -9
- package/docs/BookingSummary.md +0 -4
- package/docs/BookingsApi.md +79 -25
- package/docs/BookingsStaffApi.md +57 -1
- package/docs/BookingsUserApi.md +6 -6
- package/docs/CheckInPlayerSumupRequest.md +22 -0
- package/docs/CheckInPlayerSumupResponse.md +24 -0
- package/docs/CheckInSumupPaymentInfo.md +26 -0
- package/docs/ClubPageResponse.md +0 -14
- package/docs/ClubPricingPeriodResponse.md +6 -6
- package/docs/ClubReservationSettingsResponse.md +2 -2
- package/docs/ClubResponse.md +2 -12
- package/docs/ClubSummary.md +0 -6
- package/docs/CreateOpenBookingRequest.md +2 -4
- package/docs/CreateSubscriptionPlanRequestDiscount.md +0 -4
- package/docs/EventBookingDetailSummary.md +0 -2
- package/docs/EventBookingResponse.md +0 -2
- package/docs/EventResponse.md +0 -2
- package/docs/EventsApi.md +0 -58
- package/docs/EventsStaffApi.md +25 -119
- package/docs/GetClubsWithVerificationDomains200ResponseInner.md +0 -2
- package/docs/GetOpenBookingPrice200Response.md +24 -0
- package/docs/GetOpenBookingPriceRequest.md +26 -0
- package/docs/IUserAttributes.md +0 -4
- package/docs/JoinPriceEstimateResponse.md +38 -0
- package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +25 -0
- package/docs/MyClubInfosResponse.md +2 -0
- package/docs/OpenBookingInfo.md +2 -4
- package/docs/OpenBookingSlotInfo.md +24 -0
- package/docs/PaymentIntentResult.md +28 -0
- package/docs/{SupportedLanguage.md → PaymentProviderType.md} +3 -3
- package/docs/{NotificationActorType.md → PaymentStatus.md} +6 -4
- package/docs/PaymentsStaffApi.md +124 -0
- package/docs/PublicEmailApi.md +4 -4
- package/docs/QuickReservationClubSummary.md +0 -12
- package/docs/SportResponse.md +0 -2
- package/docs/StaffEventBookingResponse.md +0 -2
- package/docs/StaffEventsPaginatedResponse.md +26 -0
- package/docs/StaffUserProfileResponse.md +0 -4
- package/docs/SubscriptionPlanDiscountResponse.md +0 -2
- package/docs/SubscriptionPlanDiscountUpdateRequest.md +0 -2
- package/docs/SumUpApi.md +63 -0
- package/docs/SumUpManagerApi.md +332 -0
- package/docs/SumupAccountStatusResponse.md +32 -0
- package/docs/{VerifyVerificationCodeResponse.md → SumupCancelPaymentRequest.md} +5 -5
- package/docs/{RequestVerificationCodeResponse.md → SumupConnectUrlResponse.md} +5 -5
- package/docs/SumupCreatePaymentRequest.md +32 -0
- package/docs/SumupOAuthCallbackResponse.md +24 -0
- package/docs/SumupPairReaderRequest.md +22 -0
- package/docs/{MarkNotificationsReadResponse.md → SumupPairReaderResponse.md} +5 -5
- package/docs/SumupReaderInfo.md +34 -0
- package/docs/{Health200Response.md → SumupReadersResponse.md} +5 -7
- package/docs/UpdateClubHoursSettingsRequest.md +1 -1
- package/docs/UpdateClubReservationSettingsRequest.md +2 -2
- package/docs/UserClubMembership.md +0 -2
- package/docs/UserProfileResponse.md +0 -12
- package/docs/UsersApi.md +0 -273
- package/docs/WaitListStaffApi.md +0 -55
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/AuthApi.md +0 -113
- package/docs/ClubPageResponseClubCustomerStatus.md +0 -27
- package/docs/ClubPricingPeriodPayload.md +0 -32
- package/docs/ComingEventsPageResponse.md +0 -22
- package/docs/CourtEnvironment.md +0 -10
- package/docs/EstimateOpenBookingJoinRequest.md +0 -24
- package/docs/JobResult.md +0 -24
- package/docs/JobsApi.md +0 -367
- package/docs/JoinOpenBookingRequest.md +0 -28
- package/docs/MarkNotificationsReadRequest.md +0 -22
- package/docs/NotificationData.md +0 -22
- package/docs/NotificationInitiator.md +0 -28
- package/docs/NotificationParticipantPreview.md +0 -24
- package/docs/NotificationPreview.md +0 -78
- package/docs/NotificationResponse.md +0 -46
- package/docs/NotificationResponseClub.md +0 -24
- package/docs/NotificationSlotPreview.md +0 -24
- package/docs/NotificationSportPreview.md +0 -24
- package/docs/NotificationTargetPreview.md +0 -22
- package/docs/NotificationType.md +0 -26
- package/docs/OpenBookingBasePriceResponse.md +0 -24
- package/docs/OpenBookingJoinEstimateResponse.md +0 -26
- package/docs/OpenBookingPriceBody.md +0 -26
- package/docs/PartnerSearchItem.md +0 -28
- package/docs/PartnerSearchResponse.md +0 -22
- package/docs/PartnerSearchResponseMeta.md +0 -26
- package/docs/PricingPeriodDiscount.md +0 -24
- package/docs/QuickReservationCourtType.md +0 -10
- package/docs/RequestOrganizationEmailCodeBody.md +0 -22
- package/docs/RequestOrganizationEmailCodeResponse.md +0 -22
- package/docs/RequestVerificationCodeBody.md +0 -26
- package/docs/StaffEventsPageResponse.md +0 -22
- package/docs/UserNextBookingSummary.md +0 -26
- package/docs/UserNotificationsResponse.md +0 -22
- package/docs/UserNotificationsResponseMeta.md +0 -28
- package/docs/VerifyOrganizationEmailCodeBody.md +0 -24
- package/docs/VerifyOrganizationEmailCodeResponse.md +0 -22
- package/docs/VerifyVerificationCodeBody.md +0 -24
- package/docs/WaitListEntryWithPlayer.md +0 -44
- package/docs/WaitListPlayer.md +0 -28
- package/docs/WaitListPlayersListResponse.md +0 -22
package/docs/UsersApi.md
CHANGED
|
@@ -24,13 +24,11 @@ All URIs are relative to *http://localhost*
|
|
|
24
24
|
|[**getPlayerCategories**](#getplayercategories) | **GET** /api/users/players/categories | |
|
|
25
25
|
|[**getUserBookings**](#getuserbookings) | **GET** /api/users/me/bookings | |
|
|
26
26
|
|[**getUserEvents**](#getuserevents) | **GET** /api/users/me/events | |
|
|
27
|
-
|[**getUserNotifications**](#getusernotifications) | **GET** /api/users/me/notifications | |
|
|
28
27
|
|[**getUserProfileById**](#getuserprofilebyid) | **GET** /api/users/profile/{id} | |
|
|
29
28
|
|[**leaveBooking**](#leavebooking) | **DELETE** /api/users/me/bookings/{bookingId}/leave | |
|
|
30
29
|
|[**listPlayers**](#listplayers) | **GET** /api/users/players | |
|
|
31
30
|
|[**login**](#login) | **POST** /api/users/login | |
|
|
32
31
|
|[**loginClubMember**](#loginclubmember) | **POST** /api/users/club-members/login | |
|
|
33
|
-
|[**markNotificationsRead**](#marknotificationsread) | **POST** /api/users/me/notifications/read | |
|
|
34
32
|
|[**refreshToken**](#refreshtoken) | **POST** /api/users/refresh-token | |
|
|
35
33
|
|[**register**](#register) | **POST** /api/users | |
|
|
36
34
|
|[**registerFromApp**](#registerfromapp) | **POST** /api/users/register-app | |
|
|
@@ -38,10 +36,8 @@ All URIs are relative to *http://localhost*
|
|
|
38
36
|
|[**removeFavoritePlayer**](#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | |
|
|
39
37
|
|[**removeOrganization**](#removeorganization) | **POST** /api/users/me/remove-organization | |
|
|
40
38
|
|[**requestEmailVerification**](#requestemailverification) | **POST** /api/users/me/request-email-verification | |
|
|
41
|
-
|[**requestOrganizationCode**](#requestorganizationcode) | **POST** /api/users/me/request-organization-code | |
|
|
42
39
|
|[**requestPasswordReset**](#requestpasswordreset) | **POST** /api/users/request-password-reset | |
|
|
43
40
|
|[**resetPassword**](#resetpassword) | **POST** /api/users/reset-password | |
|
|
44
|
-
|[**searchPartner**](#searchpartner) | **GET** /api/users/searchPartner | |
|
|
45
41
|
|[**signInOrSignUpWithGoogle**](#signinorsignupwithgoogle) | **POST** /api/users/googleSignin | |
|
|
46
42
|
|[**updateCustomer**](#updatecustomer) | **PUT** /api/users/me/customer | |
|
|
47
43
|
|[**updateLevelBySports**](#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | |
|
|
@@ -49,7 +45,6 @@ All URIs are relative to *http://localhost*
|
|
|
49
45
|
|[**updateProfilePicture**](#updateprofilepicture) | **PUT** /api/users/me/profile-picture | |
|
|
50
46
|
|[**verifyEmail**](#verifyemail) | **POST** /api/users/verify-email | |
|
|
51
47
|
|[**verifyOrganization**](#verifyorganization) | **POST** /api/users/verify-organization | |
|
|
52
|
-
|[**verifyOrganizationCode**](#verifyorganizationcode) | **POST** /api/users/me/verify-organization-code | |
|
|
53
48
|
|
|
54
49
|
# **addFavoriteClub**
|
|
55
50
|
> FavoriteClubMutationResponse addFavoriteClub(favoriteClubRequestBody)
|
|
@@ -1025,62 +1020,6 @@ const { status, data } = await apiInstance.getUserEvents(
|
|
|
1025
1020
|
- **Accept**: application/json
|
|
1026
1021
|
|
|
1027
1022
|
|
|
1028
|
-
### HTTP response details
|
|
1029
|
-
| Status code | Description | Response headers |
|
|
1030
|
-
|-------------|-------------|------------------|
|
|
1031
|
-
|**200** | Ok | - |
|
|
1032
|
-
|
|
1033
|
-
[[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)
|
|
1034
|
-
|
|
1035
|
-
# **getUserNotifications**
|
|
1036
|
-
> UserNotificationsResponse getUserNotifications()
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
### Example
|
|
1040
|
-
|
|
1041
|
-
```typescript
|
|
1042
|
-
import {
|
|
1043
|
-
UsersApi,
|
|
1044
|
-
Configuration
|
|
1045
|
-
} from '@tennac-booking/sdk';
|
|
1046
|
-
|
|
1047
|
-
const configuration = new Configuration();
|
|
1048
|
-
const apiInstance = new UsersApi(configuration);
|
|
1049
|
-
|
|
1050
|
-
let limit: number; // (optional) (default to undefined)
|
|
1051
|
-
let skip: number; // (optional) (default to undefined)
|
|
1052
|
-
let includeRead: any; // (optional) (default to undefined)
|
|
1053
|
-
|
|
1054
|
-
const { status, data } = await apiInstance.getUserNotifications(
|
|
1055
|
-
limit,
|
|
1056
|
-
skip,
|
|
1057
|
-
includeRead
|
|
1058
|
-
);
|
|
1059
|
-
```
|
|
1060
|
-
|
|
1061
|
-
### Parameters
|
|
1062
|
-
|
|
1063
|
-
|Name | Type | Description | Notes|
|
|
1064
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1065
|
-
| **limit** | [**number**] | | (optional) defaults to undefined|
|
|
1066
|
-
| **skip** | [**number**] | | (optional) defaults to undefined|
|
|
1067
|
-
| **includeRead** | **any** | | (optional) defaults to undefined|
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
### Return type
|
|
1071
|
-
|
|
1072
|
-
**UserNotificationsResponse**
|
|
1073
|
-
|
|
1074
|
-
### Authorization
|
|
1075
|
-
|
|
1076
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
1077
|
-
|
|
1078
|
-
### HTTP request headers
|
|
1079
|
-
|
|
1080
|
-
- **Content-Type**: Not defined
|
|
1081
|
-
- **Accept**: application/json
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
1023
|
### HTTP response details
|
|
1085
1024
|
| Status code | Description | Response headers |
|
|
1086
1025
|
|-------------|-------------|------------------|
|
|
@@ -1364,57 +1303,6 @@ No authorization required
|
|
|
1364
1303
|
- **Accept**: application/json
|
|
1365
1304
|
|
|
1366
1305
|
|
|
1367
|
-
### HTTP response details
|
|
1368
|
-
| Status code | Description | Response headers |
|
|
1369
|
-
|-------------|-------------|------------------|
|
|
1370
|
-
|**200** | Ok | - |
|
|
1371
|
-
|
|
1372
|
-
[[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)
|
|
1373
|
-
|
|
1374
|
-
# **markNotificationsRead**
|
|
1375
|
-
> MarkNotificationsReadResponse markNotificationsRead(markNotificationsReadRequest)
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
### Example
|
|
1379
|
-
|
|
1380
|
-
```typescript
|
|
1381
|
-
import {
|
|
1382
|
-
UsersApi,
|
|
1383
|
-
Configuration,
|
|
1384
|
-
MarkNotificationsReadRequest
|
|
1385
|
-
} from '@tennac-booking/sdk';
|
|
1386
|
-
|
|
1387
|
-
const configuration = new Configuration();
|
|
1388
|
-
const apiInstance = new UsersApi(configuration);
|
|
1389
|
-
|
|
1390
|
-
let markNotificationsReadRequest: MarkNotificationsReadRequest; //
|
|
1391
|
-
|
|
1392
|
-
const { status, data } = await apiInstance.markNotificationsRead(
|
|
1393
|
-
markNotificationsReadRequest
|
|
1394
|
-
);
|
|
1395
|
-
```
|
|
1396
|
-
|
|
1397
|
-
### Parameters
|
|
1398
|
-
|
|
1399
|
-
|Name | Type | Description | Notes|
|
|
1400
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1401
|
-
| **markNotificationsReadRequest** | **MarkNotificationsReadRequest**| | |
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
### Return type
|
|
1405
|
-
|
|
1406
|
-
**MarkNotificationsReadResponse**
|
|
1407
|
-
|
|
1408
|
-
### Authorization
|
|
1409
|
-
|
|
1410
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
1411
|
-
|
|
1412
|
-
### HTTP request headers
|
|
1413
|
-
|
|
1414
|
-
- **Content-Type**: application/json
|
|
1415
|
-
- **Accept**: application/json
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
1306
|
### HTTP response details
|
|
1419
1307
|
| Status code | Description | Response headers |
|
|
1420
1308
|
|-------------|-------------|------------------|
|
|
@@ -1762,57 +1650,6 @@ This endpoint does not have any parameters.
|
|
|
1762
1650
|
- **Accept**: application/json
|
|
1763
1651
|
|
|
1764
1652
|
|
|
1765
|
-
### HTTP response details
|
|
1766
|
-
| Status code | Description | Response headers |
|
|
1767
|
-
|-------------|-------------|------------------|
|
|
1768
|
-
|**200** | Ok | - |
|
|
1769
|
-
|
|
1770
|
-
[[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)
|
|
1771
|
-
|
|
1772
|
-
# **requestOrganizationCode**
|
|
1773
|
-
> RequestOrganizationEmailCodeResponse requestOrganizationCode(requestOrganizationEmailCodeBody)
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
### Example
|
|
1777
|
-
|
|
1778
|
-
```typescript
|
|
1779
|
-
import {
|
|
1780
|
-
UsersApi,
|
|
1781
|
-
Configuration,
|
|
1782
|
-
RequestOrganizationEmailCodeBody
|
|
1783
|
-
} from '@tennac-booking/sdk';
|
|
1784
|
-
|
|
1785
|
-
const configuration = new Configuration();
|
|
1786
|
-
const apiInstance = new UsersApi(configuration);
|
|
1787
|
-
|
|
1788
|
-
let requestOrganizationEmailCodeBody: RequestOrganizationEmailCodeBody; //
|
|
1789
|
-
|
|
1790
|
-
const { status, data } = await apiInstance.requestOrganizationCode(
|
|
1791
|
-
requestOrganizationEmailCodeBody
|
|
1792
|
-
);
|
|
1793
|
-
```
|
|
1794
|
-
|
|
1795
|
-
### Parameters
|
|
1796
|
-
|
|
1797
|
-
|Name | Type | Description | Notes|
|
|
1798
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1799
|
-
| **requestOrganizationEmailCodeBody** | **RequestOrganizationEmailCodeBody**| | |
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
### Return type
|
|
1803
|
-
|
|
1804
|
-
**RequestOrganizationEmailCodeResponse**
|
|
1805
|
-
|
|
1806
|
-
### Authorization
|
|
1807
|
-
|
|
1808
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
1809
|
-
|
|
1810
|
-
### HTTP request headers
|
|
1811
|
-
|
|
1812
|
-
- **Content-Type**: application/json
|
|
1813
|
-
- **Accept**: application/json
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
1653
|
### HTTP response details
|
|
1817
1654
|
| Status code | Description | Response headers |
|
|
1818
1655
|
|-------------|-------------|------------------|
|
|
@@ -1915,65 +1752,6 @@ No authorization required
|
|
|
1915
1752
|
- **Accept**: application/json
|
|
1916
1753
|
|
|
1917
1754
|
|
|
1918
|
-
### HTTP response details
|
|
1919
|
-
| Status code | Description | Response headers |
|
|
1920
|
-
|-------------|-------------|------------------|
|
|
1921
|
-
|**200** | Ok | - |
|
|
1922
|
-
|
|
1923
|
-
[[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)
|
|
1924
|
-
|
|
1925
|
-
# **searchPartner**
|
|
1926
|
-
> PartnerSearchResponse searchPartner()
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
### Example
|
|
1930
|
-
|
|
1931
|
-
```typescript
|
|
1932
|
-
import {
|
|
1933
|
-
UsersApi,
|
|
1934
|
-
Configuration
|
|
1935
|
-
} from '@tennac-booking/sdk';
|
|
1936
|
-
|
|
1937
|
-
const configuration = new Configuration();
|
|
1938
|
-
const apiInstance = new UsersApi(configuration);
|
|
1939
|
-
|
|
1940
|
-
let q: string; // (default to undefined)
|
|
1941
|
-
let page: number; // (optional) (default to undefined)
|
|
1942
|
-
let limit: number; // (optional) (default to undefined)
|
|
1943
|
-
let excludeIds: Array<string>; // (optional) (default to undefined)
|
|
1944
|
-
|
|
1945
|
-
const { status, data } = await apiInstance.searchPartner(
|
|
1946
|
-
q,
|
|
1947
|
-
page,
|
|
1948
|
-
limit,
|
|
1949
|
-
excludeIds
|
|
1950
|
-
);
|
|
1951
|
-
```
|
|
1952
|
-
|
|
1953
|
-
### Parameters
|
|
1954
|
-
|
|
1955
|
-
|Name | Type | Description | Notes|
|
|
1956
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1957
|
-
| **q** | [**string**] | | defaults to undefined|
|
|
1958
|
-
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
1959
|
-
| **limit** | [**number**] | | (optional) defaults to undefined|
|
|
1960
|
-
| **excludeIds** | **Array<string>** | | (optional) defaults to undefined|
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
### Return type
|
|
1964
|
-
|
|
1965
|
-
**PartnerSearchResponse**
|
|
1966
|
-
|
|
1967
|
-
### Authorization
|
|
1968
|
-
|
|
1969
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
1970
|
-
|
|
1971
|
-
### HTTP request headers
|
|
1972
|
-
|
|
1973
|
-
- **Content-Type**: Not defined
|
|
1974
|
-
- **Accept**: application/json
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
1755
|
### HTTP response details
|
|
1978
1756
|
| Status code | Description | Response headers |
|
|
1979
1757
|
|-------------|-------------|------------------|
|
|
@@ -2338,54 +2116,3 @@ No authorization required
|
|
|
2338
2116
|
|
|
2339
2117
|
[[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)
|
|
2340
2118
|
|
|
2341
|
-
# **verifyOrganizationCode**
|
|
2342
|
-
> VerifyOrganizationEmailCodeResponse verifyOrganizationCode(verifyOrganizationEmailCodeBody)
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
### Example
|
|
2346
|
-
|
|
2347
|
-
```typescript
|
|
2348
|
-
import {
|
|
2349
|
-
UsersApi,
|
|
2350
|
-
Configuration,
|
|
2351
|
-
VerifyOrganizationEmailCodeBody
|
|
2352
|
-
} from '@tennac-booking/sdk';
|
|
2353
|
-
|
|
2354
|
-
const configuration = new Configuration();
|
|
2355
|
-
const apiInstance = new UsersApi(configuration);
|
|
2356
|
-
|
|
2357
|
-
let verifyOrganizationEmailCodeBody: VerifyOrganizationEmailCodeBody; //
|
|
2358
|
-
|
|
2359
|
-
const { status, data } = await apiInstance.verifyOrganizationCode(
|
|
2360
|
-
verifyOrganizationEmailCodeBody
|
|
2361
|
-
);
|
|
2362
|
-
```
|
|
2363
|
-
|
|
2364
|
-
### Parameters
|
|
2365
|
-
|
|
2366
|
-
|Name | Type | Description | Notes|
|
|
2367
|
-
|------------- | ------------- | ------------- | -------------|
|
|
2368
|
-
| **verifyOrganizationEmailCodeBody** | **VerifyOrganizationEmailCodeBody**| | |
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
### Return type
|
|
2372
|
-
|
|
2373
|
-
**VerifyOrganizationEmailCodeResponse**
|
|
2374
|
-
|
|
2375
|
-
### Authorization
|
|
2376
|
-
|
|
2377
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
2378
|
-
|
|
2379
|
-
### HTTP request headers
|
|
2380
|
-
|
|
2381
|
-
- **Content-Type**: application/json
|
|
2382
|
-
- **Accept**: application/json
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
### HTTP response details
|
|
2386
|
-
| Status code | Description | Response headers |
|
|
2387
|
-
|-------------|-------------|------------------|
|
|
2388
|
-
|**200** | Ok | - |
|
|
2389
|
-
|
|
2390
|
-
[[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)
|
|
2391
|
-
|
package/docs/WaitListStaffApi.md
CHANGED
|
@@ -7,7 +7,6 @@ All URIs are relative to *http://localhost*
|
|
|
7
7
|
|[**getBookingWaitList**](#getbookingwaitlist) | **GET** /api/waitlist/booking/{bookingId}/list | |
|
|
8
8
|
|[**getEventBookingWaitList**](#geteventbookingwaitlist) | **GET** /api/waitlist/event-booking/{eventBookingId}/list | |
|
|
9
9
|
|[**getEventWaitList**](#geteventwaitlist) | **GET** /api/waitlist/event/{eventId}/list | |
|
|
10
|
-
|[**getEventWaitListPlayers**](#geteventwaitlistplayers) | **GET** /api/waitlist/event/{eventId}/players | |
|
|
11
10
|
|[**processBookingWaitList**](#processbookingwaitlist) | **POST** /api/waitlist/booking/{bookingId}/process | |
|
|
12
11
|
|[**processEventBookingWaitList**](#processeventbookingwaitlist) | **POST** /api/waitlist/event-booking/{eventBookingId}/process | |
|
|
13
12
|
|[**processEventWaitList**](#processeventwaitlist) | **POST** /api/waitlist/event/{eventId}/process | |
|
|
@@ -171,60 +170,6 @@ const { status, data } = await apiInstance.getEventWaitList(
|
|
|
171
170
|
|
|
172
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)
|
|
173
172
|
|
|
174
|
-
# **getEventWaitListPlayers**
|
|
175
|
-
> WaitListPlayersListResponse getEventWaitListPlayers()
|
|
176
|
-
|
|
177
|
-
Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
178
|
-
|
|
179
|
-
### Example
|
|
180
|
-
|
|
181
|
-
```typescript
|
|
182
|
-
import {
|
|
183
|
-
WaitListStaffApi,
|
|
184
|
-
Configuration
|
|
185
|
-
} from '@tennac-booking/sdk';
|
|
186
|
-
|
|
187
|
-
const configuration = new Configuration();
|
|
188
|
-
const apiInstance = new WaitListStaffApi(configuration);
|
|
189
|
-
|
|
190
|
-
let eventId: string; // (default to undefined)
|
|
191
|
-
|
|
192
|
-
const { status, data } = await apiInstance.getEventWaitListPlayers(
|
|
193
|
-
eventId
|
|
194
|
-
);
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
### Parameters
|
|
198
|
-
|
|
199
|
-
|Name | Type | Description | Notes|
|
|
200
|
-
|------------- | ------------- | ------------- | -------------|
|
|
201
|
-
| **eventId** | [**string**] | | defaults to undefined|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
### Return type
|
|
205
|
-
|
|
206
|
-
**WaitListPlayersListResponse**
|
|
207
|
-
|
|
208
|
-
### Authorization
|
|
209
|
-
|
|
210
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
211
|
-
|
|
212
|
-
### HTTP request headers
|
|
213
|
-
|
|
214
|
-
- **Content-Type**: Not defined
|
|
215
|
-
- **Accept**: application/json
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
### HTTP response details
|
|
219
|
-
| Status code | Description | Response headers |
|
|
220
|
-
|-------------|-------------|------------------|
|
|
221
|
-
|**200** | Joueurs en file d\'attente récupérés avec succès | - |
|
|
222
|
-
|**400** | Requête invalide | - |
|
|
223
|
-
|**404** | Événement non trouvé | - |
|
|
224
|
-
|**500** | Erreur serveur | - |
|
|
225
|
-
|
|
226
|
-
[[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)
|
|
227
|
-
|
|
228
173
|
# **processBookingWaitList**
|
|
229
174
|
> LeaveEventWaitList200Response processBookingWaitList()
|
|
230
175
|
|
package/index.ts
CHANGED
package/package.json
CHANGED
package/docs/AuthApi.md
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
# AuthApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**requestVerificationCode**](#requestverificationcode) | **POST** /api/auth/verification-code | |
|
|
8
|
-
|[**verifyVerificationCode**](#verifyverificationcode) | **POST** /api/auth/verification-code/verify | |
|
|
9
|
-
|
|
10
|
-
# **requestVerificationCode**
|
|
11
|
-
> RequestVerificationCodeResponse requestVerificationCode(requestVerificationCodeBody)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
### Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import {
|
|
18
|
-
AuthApi,
|
|
19
|
-
Configuration,
|
|
20
|
-
RequestVerificationCodeBody
|
|
21
|
-
} from '@tennac-booking/sdk';
|
|
22
|
-
|
|
23
|
-
const configuration = new Configuration();
|
|
24
|
-
const apiInstance = new AuthApi(configuration);
|
|
25
|
-
|
|
26
|
-
let requestVerificationCodeBody: RequestVerificationCodeBody; //
|
|
27
|
-
|
|
28
|
-
const { status, data } = await apiInstance.requestVerificationCode(
|
|
29
|
-
requestVerificationCodeBody
|
|
30
|
-
);
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Parameters
|
|
34
|
-
|
|
35
|
-
|Name | Type | Description | Notes|
|
|
36
|
-
|------------- | ------------- | ------------- | -------------|
|
|
37
|
-
| **requestVerificationCodeBody** | **RequestVerificationCodeBody**| | |
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
### Return type
|
|
41
|
-
|
|
42
|
-
**RequestVerificationCodeResponse**
|
|
43
|
-
|
|
44
|
-
### Authorization
|
|
45
|
-
|
|
46
|
-
No authorization required
|
|
47
|
-
|
|
48
|
-
### HTTP request headers
|
|
49
|
-
|
|
50
|
-
- **Content-Type**: application/json
|
|
51
|
-
- **Accept**: application/json
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
### HTTP response details
|
|
55
|
-
| Status code | Description | Response headers |
|
|
56
|
-
|-------------|-------------|------------------|
|
|
57
|
-
|**200** | OK | - |
|
|
58
|
-
|**400** | Payload invalide | - |
|
|
59
|
-
|
|
60
|
-
[[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)
|
|
61
|
-
|
|
62
|
-
# **verifyVerificationCode**
|
|
63
|
-
> VerifyVerificationCodeResponse verifyVerificationCode(verifyVerificationCodeBody)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
### Example
|
|
67
|
-
|
|
68
|
-
```typescript
|
|
69
|
-
import {
|
|
70
|
-
AuthApi,
|
|
71
|
-
Configuration,
|
|
72
|
-
VerifyVerificationCodeBody
|
|
73
|
-
} from '@tennac-booking/sdk';
|
|
74
|
-
|
|
75
|
-
const configuration = new Configuration();
|
|
76
|
-
const apiInstance = new AuthApi(configuration);
|
|
77
|
-
|
|
78
|
-
let verifyVerificationCodeBody: VerifyVerificationCodeBody; //
|
|
79
|
-
|
|
80
|
-
const { status, data } = await apiInstance.verifyVerificationCode(
|
|
81
|
-
verifyVerificationCodeBody
|
|
82
|
-
);
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### Parameters
|
|
86
|
-
|
|
87
|
-
|Name | Type | Description | Notes|
|
|
88
|
-
|------------- | ------------- | ------------- | -------------|
|
|
89
|
-
| **verifyVerificationCodeBody** | **VerifyVerificationCodeBody**| | |
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### Return type
|
|
93
|
-
|
|
94
|
-
**VerifyVerificationCodeResponse**
|
|
95
|
-
|
|
96
|
-
### Authorization
|
|
97
|
-
|
|
98
|
-
No authorization required
|
|
99
|
-
|
|
100
|
-
### HTTP request headers
|
|
101
|
-
|
|
102
|
-
- **Content-Type**: application/json
|
|
103
|
-
- **Accept**: application/json
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
### HTTP response details
|
|
107
|
-
| Status code | Description | Response headers |
|
|
108
|
-
|-------------|-------------|------------------|
|
|
109
|
-
|**200** | OK | - |
|
|
110
|
-
|**400** | Code invalide | - |
|
|
111
|
-
|
|
112
|
-
[[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)
|
|
113
|
-
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# ClubPageResponseClubCustomerStatus
|
|
2
|
-
|
|
3
|
-
Statut du client dans le club (si l\'utilisateur est connecte)
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**isNoShowForced** | **boolean** | | [default to undefined]
|
|
10
|
-
**isFree** | **boolean** | | [default to undefined]
|
|
11
|
-
**isIllimited** | **boolean** | | [default to undefined]
|
|
12
|
-
**isBanned** | **boolean** | | [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { ClubPageResponseClubCustomerStatus } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: ClubPageResponseClubCustomerStatus = {
|
|
20
|
-
isNoShowForced,
|
|
21
|
-
isFree,
|
|
22
|
-
isIllimited,
|
|
23
|
-
isBanned,
|
|
24
|
-
};
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
[[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,32 +0,0 @@
|
|
|
1
|
-
# ClubPricingPeriodPayload
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**_id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**name** | **string** | | [default to undefined]
|
|
11
|
-
**weekDays** | [**Array<WeekdayKey>**](WeekdayKey.md) | | [default to undefined]
|
|
12
|
-
**startTime** | **number** | | [default to undefined]
|
|
13
|
-
**endTime** | **number** | | [default to undefined]
|
|
14
|
-
**priceVariation** | **number** | | [optional] [default to undefined]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import { ClubPricingPeriodPayload } from '@tennac-booking/sdk';
|
|
20
|
-
|
|
21
|
-
const instance: ClubPricingPeriodPayload = {
|
|
22
|
-
_id,
|
|
23
|
-
id,
|
|
24
|
-
name,
|
|
25
|
-
weekDays,
|
|
26
|
-
startTime,
|
|
27
|
-
endTime,
|
|
28
|
-
priceVariation,
|
|
29
|
-
};
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[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,22 +0,0 @@
|
|
|
1
|
-
# ComingEventsPageResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**events** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
|
|
9
|
-
**pagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ComingEventsPageResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: ComingEventsPageResponse = {
|
|
17
|
-
events,
|
|
18
|
-
pagination,
|
|
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)
|
package/docs/CourtEnvironment.md
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# CourtEnvironment
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Enum
|
|
5
|
-
|
|
6
|
-
* `Indoor` (value: `'indoor'`)
|
|
7
|
-
|
|
8
|
-
* `Outdoor` (value: `'outdoor'`)
|
|
9
|
-
|
|
10
|
-
[[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,24 +0,0 @@
|
|
|
1
|
-
# EstimateOpenBookingJoinRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
9
|
-
**isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
|
|
10
|
-
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { EstimateOpenBookingJoinRequest } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: EstimateOpenBookingJoinRequest = {
|
|
18
|
-
creditToUseInCents,
|
|
19
|
-
isCreatorPayingAll,
|
|
20
|
-
playerShares,
|
|
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)
|
package/docs/JobResult.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# JobResult
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**success** | **boolean** | | [default to undefined]
|
|
9
|
-
**job** | **string** | | [default to undefined]
|
|
10
|
-
**timestamp** | **string** | | [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { JobResult } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: JobResult = {
|
|
18
|
-
success,
|
|
19
|
-
job,
|
|
20
|
-
timestamp,
|
|
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)
|