@tennac-booking/sdk 1.0.225 → 1.0.227

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 (138) hide show
  1. package/.openapi-generator/FILES +30 -51
  2. package/README.md +48 -76
  3. package/api.ts +3538 -4733
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +3766 -4855
  8. package/dist/api.js +9858 -15754
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +11 -32
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +41 -133
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +8 -21
  15. package/dist/esm/api.d.ts +25620 -0
  16. package/dist/esm/api.js +17756 -0
  17. package/dist/esm/base.d.ts +66 -0
  18. package/dist/esm/base.js +60 -0
  19. package/dist/esm/common.d.ts +65 -0
  20. package/dist/esm/common.js +149 -0
  21. package/dist/esm/configuration.d.ts +91 -0
  22. package/dist/esm/configuration.js +40 -0
  23. package/dist/esm/index.d.ts +13 -0
  24. package/dist/esm/index.js +15 -0
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/AgendaBooking.md +0 -2
  28. package/docs/BookingPopulated.md +1 -9
  29. package/docs/BookingSummary.md +4 -4
  30. package/docs/BookingsApi.md +79 -25
  31. package/docs/BookingsStaffApi.md +57 -1
  32. package/docs/BookingsUserApi.md +6 -58
  33. package/docs/CheckInPlayerSumupRequest.md +22 -0
  34. package/docs/{CloseOpenBookingResponse.md → CheckInPlayerSumupResponse.md} +7 -5
  35. package/docs/CheckInSumupPaymentInfo.md +26 -0
  36. package/docs/ClubPageResponse.md +0 -16
  37. package/docs/ClubPricingPeriodResponse.md +6 -6
  38. package/docs/ClubReservationSettingsResponse.md +2 -2
  39. package/docs/ClubResponse.md +2 -12
  40. package/docs/ClubSummary.md +0 -6
  41. package/docs/CreateBookingRequest.md +2 -0
  42. package/docs/CreateOpenBookingRequest.md +4 -6
  43. package/docs/CreateSubscriptionPlanRequestDiscount.md +0 -4
  44. package/docs/EventBookingDetailSummary.md +0 -2
  45. package/docs/EventBookingResponse.md +0 -2
  46. package/docs/EventResponse.md +0 -2
  47. package/docs/EventsApi.md +0 -113
  48. package/docs/EventsStaffApi.md +25 -119
  49. package/docs/GetClubsWithVerificationDomains200ResponseInner.md +0 -2
  50. package/docs/GetOpenBookingPrice200Response.md +24 -0
  51. package/docs/GetOpenBookingPriceRequest.md +26 -0
  52. package/docs/IUserAttributes.md +0 -4
  53. package/docs/JoinPriceEstimateResponse.md +38 -0
  54. package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +25 -0
  55. package/docs/MyClubInfosResponse.md +2 -0
  56. package/docs/OpenBookingInfo.md +5 -7
  57. package/docs/OpenBookingSlotInfo.md +24 -0
  58. package/docs/PaymentIntentResult.md +28 -0
  59. package/docs/{SupportedLanguage.md → PaymentProviderType.md} +3 -3
  60. package/docs/{NotificationActorType.md → PaymentStatus.md} +6 -4
  61. package/docs/PaymentsStaffApi.md +124 -0
  62. package/docs/PlayerPrice.md +1 -3
  63. package/docs/PublicEmailApi.md +4 -4
  64. package/docs/QuickReservationClubSummary.md +0 -12
  65. package/docs/SportResponse.md +0 -2
  66. package/docs/StaffEventBookingResponse.md +0 -2
  67. package/docs/StaffEventsPaginatedResponse.md +26 -0
  68. package/docs/StaffUserProfileResponse.md +0 -4
  69. package/docs/SubscriptionPlanDiscountResponse.md +0 -2
  70. package/docs/SubscriptionPlanDiscountUpdateRequest.md +0 -2
  71. package/docs/SumUpApi.md +63 -0
  72. package/docs/SumUpManagerApi.md +617 -0
  73. package/docs/SumupAccountStatusResponse.md +32 -0
  74. package/docs/{VerifyVerificationCodeResponse.md → SumupCancelPaymentRequest.md} +5 -5
  75. package/docs/{RequestVerificationCodeResponse.md → SumupConnectUrlResponse.md} +5 -5
  76. package/docs/SumupCreatePaymentRequest.md +32 -0
  77. package/docs/SumupOAuthCallbackResponse.md +24 -0
  78. package/docs/SumupPairReaderRequest.md +24 -0
  79. package/docs/{Health200Response.md → SumupPairReaderResponse.md} +5 -7
  80. package/docs/SumupReaderInfo.md +42 -0
  81. package/docs/{NotificationTargetPreview.md → SumupReaderInfoDevice.md} +7 -7
  82. package/docs/{MarkNotificationsReadResponse.md → SumupReaderResponse.md} +5 -5
  83. package/docs/SumupReaderStatusInfo.md +32 -0
  84. package/docs/SumupReaderStatusResponse.md +20 -0
  85. package/docs/SumupReadersResponse.md +20 -0
  86. package/docs/{NotificationResponseClub.md → SumupUpdateReaderRequest.md} +5 -7
  87. package/docs/UpdateClubHoursSettingsRequest.md +1 -1
  88. package/docs/UpdateClubReservationSettingsRequest.md +2 -2
  89. package/docs/UserClubMembership.md +0 -2
  90. package/docs/UserProfileResponse.md +0 -12
  91. package/docs/UsersApi.md +0 -273
  92. package/docs/WaitListStaffApi.md +0 -55
  93. package/index.ts +1 -1
  94. package/package.json +4 -2
  95. package/tsconfig.esm.json +7 -0
  96. package/tsconfig.json +2 -5
  97. package/docs/AuthApi.md +0 -113
  98. package/docs/ClubPageResponseClubCustomerStatus.md +0 -27
  99. package/docs/ClubPageResponseSportsIdsLookup.md +0 -23
  100. package/docs/ClubPricingPeriodPayload.md +0 -32
  101. package/docs/ComingEventsPageResponse.md +0 -22
  102. package/docs/CourtEnvironment.md +0 -10
  103. package/docs/EstimateOpenBookingJoinRequest.md +0 -24
  104. package/docs/GetOpenEventBookingsBySport200Response.md +0 -20
  105. package/docs/GetOpenEventBookingsBySport200ResponseEventBookingsInner.md +0 -46
  106. package/docs/JobResult.md +0 -24
  107. package/docs/JobsApi.md +0 -367
  108. package/docs/JoinOpenBookingRequest.md +0 -28
  109. package/docs/MarkNotificationsReadRequest.md +0 -22
  110. package/docs/NotificationData.md +0 -22
  111. package/docs/NotificationInitiator.md +0 -28
  112. package/docs/NotificationParticipantPreview.md +0 -24
  113. package/docs/NotificationPreview.md +0 -78
  114. package/docs/NotificationResponse.md +0 -46
  115. package/docs/NotificationSlotPreview.md +0 -24
  116. package/docs/NotificationSportPreview.md +0 -24
  117. package/docs/NotificationType.md +0 -26
  118. package/docs/OpenBookingBasePriceResponse.md +0 -24
  119. package/docs/OpenBookingJoinEstimateResponse.md +0 -26
  120. package/docs/OpenBookingPriceBody.md +0 -26
  121. package/docs/PartnerSearchItem.md +0 -28
  122. package/docs/PartnerSearchResponse.md +0 -22
  123. package/docs/PartnerSearchResponseMeta.md +0 -26
  124. package/docs/PricingPeriodDiscount.md +0 -24
  125. package/docs/QuickReservationCourtType.md +0 -10
  126. package/docs/RequestOrganizationEmailCodeBody.md +0 -22
  127. package/docs/RequestOrganizationEmailCodeResponse.md +0 -22
  128. package/docs/RequestVerificationCodeBody.md +0 -26
  129. package/docs/StaffEventsPageResponse.md +0 -22
  130. package/docs/UserNextBookingSummary.md +0 -26
  131. package/docs/UserNotificationsResponse.md +0 -22
  132. package/docs/UserNotificationsResponseMeta.md +0 -28
  133. package/docs/VerifyOrganizationEmailCodeBody.md +0 -24
  134. package/docs/VerifyOrganizationEmailCodeResponse.md +0 -22
  135. package/docs/VerifyVerificationCodeBody.md +0 -24
  136. package/docs/WaitListEntryWithPlayer.md +0 -44
  137. package/docs/WaitListPlayer.md +0 -28
  138. 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&lt;string&gt;** | | (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
-
@@ -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\&#39;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
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.223
7
+ * The version of the OpenAPI document: 1.0.177
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.225",
3
+ "version": "1.0.227",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -17,8 +17,10 @@
17
17
  "license": "Unlicense",
18
18
  "main": "./dist/index.js",
19
19
  "typings": "./dist/index.d.ts",
20
+ "module": "./dist/esm/index.js",
21
+ "sideEffects": false,
20
22
  "scripts": {
21
- "build": "tsc",
23
+ "build": "tsc && tsc -p tsconfig.esm.json",
22
24
  "prepare": "npm run build"
23
25
  },
24
26
  "dependencies": {
@@ -0,0 +1,7 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "module": "esnext",
5
+ "outDir": "dist/esm"
6
+ }
7
+ }
package/tsconfig.json CHANGED
@@ -1,15 +1,12 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "declaration": true,
4
- "target": "ES5",
4
+ "target": "ES6",
5
5
  "module": "commonjs",
6
6
  "noImplicitAny": true,
7
7
  "outDir": "dist",
8
8
  "rootDir": ".",
9
- "lib": [
10
- "es6",
11
- "dom"
12
- ],
9
+ "moduleResolution": "node",
13
10
  "typeRoots": [
14
11
  "node_modules/@types"
15
12
  ]
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,23 +0,0 @@
1
- # ClubPageResponseSportsIdsLookup
2
-
3
- Mapping des identifiants des sports disponibles (clé ou nom vers id)
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **byName** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [default to undefined]
10
- **byKey** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { ClubPageResponseSportsIdsLookup } from '@tennac-booking/sdk';
16
-
17
- const instance: ClubPageResponseSportsIdsLookup = {
18
- byName,
19
- byKey,
20
- };
21
- ```
22
-
23
- [[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&lt;WeekdayKey&gt;**](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&lt;EventResponse&gt;**](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)
@@ -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)