@tennac-booking/sdk 1.0.228 → 1.0.229

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 (136) hide show
  1. package/.openapi-generator/FILES +51 -29
  2. package/README.md +76 -48
  3. package/api.ts +4783 -3563
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +4841 -3732
  8. package/dist/api.js +2058 -1812
  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 +4841 -3732
  16. package/dist/esm/api.js +1788 -1538
  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/AgendaBooking.md +2 -0
  28. package/docs/AuthApi.md +113 -0
  29. package/docs/BookingClubInfo.md +2 -0
  30. package/docs/BookingPopulated.md +9 -1
  31. package/docs/BookingSummary.md +6 -4
  32. package/docs/BookingsApi.md +29 -80
  33. package/docs/BookingsStaffApi.md +1 -57
  34. package/docs/BookingsUserApi.md +58 -6
  35. package/docs/{CheckInPlayerSumupResponse.md → CloseOpenBookingResponse.md} +5 -7
  36. package/docs/ClubPageResponse.md +16 -0
  37. package/docs/ClubPageResponseClubCustomerStatus.md +27 -0
  38. package/docs/ClubPageResponseSportsIdsLookup.md +23 -0
  39. package/docs/ClubPricingPeriodPayload.md +32 -0
  40. package/docs/ClubPricingPeriodResponse.md +6 -6
  41. package/docs/ClubReservationSettingsResponse.md +2 -2
  42. package/docs/ClubResponse.md +12 -2
  43. package/docs/ClubSummary.md +6 -0
  44. package/docs/ComingEventsPageResponse.md +22 -0
  45. package/docs/CourtEnvironment.md +10 -0
  46. package/docs/CreateBookingRequest.md +0 -2
  47. package/docs/CreateOpenBookingRequest.md +6 -4
  48. package/docs/CreateSubscriptionPlanRequestDiscount.md +4 -0
  49. package/docs/EstimateOpenBookingJoinRequest.md +24 -0
  50. package/docs/EventBookingDetailSummary.md +2 -0
  51. package/docs/EventBookingResponse.md +2 -0
  52. package/docs/EventResponse.md +2 -0
  53. package/docs/EventsApi.md +113 -0
  54. package/docs/EventsStaffApi.md +119 -25
  55. package/docs/GetClubsWithVerificationDomains200ResponseInner.md +2 -0
  56. package/docs/GetOpenEventBookingsBySport200Response.md +20 -0
  57. package/docs/GetOpenEventBookingsBySport200ResponseEventBookingsInner.md +46 -0
  58. package/docs/{SumupPairReaderResponse.md → Health200Response.md} +7 -5
  59. package/docs/IUserAttributes.md +4 -0
  60. package/docs/{SumupReaderInfoDevice.md → JobResult.md} +9 -7
  61. package/docs/JobsApi.md +367 -0
  62. package/docs/JoinOpenBookingRequest.md +28 -0
  63. package/docs/MarkNotificationsReadRequest.md +22 -0
  64. package/docs/{SumupConnectUrlResponse.md → MarkNotificationsReadResponse.md} +5 -5
  65. package/docs/MyClubInfosResponse.md +0 -2
  66. package/docs/{PaymentStatus.md → NotificationActorType.md} +4 -6
  67. package/docs/NotificationData.md +22 -0
  68. package/docs/NotificationInitiator.md +28 -0
  69. package/docs/NotificationParticipantPreview.md +24 -0
  70. package/docs/NotificationPreview.md +78 -0
  71. package/docs/NotificationResponse.md +46 -0
  72. package/docs/{SumupUpdateReaderRequest.md → NotificationResponseClub.md} +7 -5
  73. package/docs/NotificationSlotPreview.md +24 -0
  74. package/docs/NotificationSportPreview.md +24 -0
  75. package/docs/{SumupReaderStatusResponse.md → NotificationTargetPreview.md} +7 -5
  76. package/docs/NotificationType.md +26 -0
  77. package/docs/OpenBookingBasePriceResponse.md +24 -0
  78. package/docs/OpenBookingInfo.md +7 -5
  79. package/docs/OpenBookingJoinEstimateResponse.md +26 -0
  80. package/docs/OpenBookingPriceBody.md +26 -0
  81. package/docs/PartnerSearchItem.md +28 -0
  82. package/docs/PartnerSearchResponse.md +22 -0
  83. package/docs/PartnerSearchResponseMeta.md +26 -0
  84. package/docs/PlayerPrice.md +3 -1
  85. package/docs/PricingPeriodDiscount.md +24 -0
  86. package/docs/PublicEmailApi.md +4 -4
  87. package/docs/QuickReservationClubSummary.md +12 -0
  88. package/docs/QuickReservationCourtType.md +10 -0
  89. package/docs/RequestOrganizationEmailCodeBody.md +22 -0
  90. package/docs/RequestOrganizationEmailCodeResponse.md +22 -0
  91. package/docs/RequestVerificationCodeBody.md +26 -0
  92. package/docs/{SumupReaderResponse.md → RequestVerificationCodeResponse.md} +5 -5
  93. package/docs/SportResponse.md +2 -0
  94. package/docs/StaffEventBookingResponse.md +2 -0
  95. package/docs/StaffEventsPageResponse.md +22 -0
  96. package/docs/StaffUserProfileResponse.md +4 -0
  97. package/docs/SubscriptionPlanDiscountResponse.md +2 -0
  98. package/docs/SubscriptionPlanDiscountUpdateRequest.md +2 -0
  99. package/docs/{PaymentProviderType.md → SupportedLanguage.md} +3 -3
  100. package/docs/UpdateClubHoursSettingsRequest.md +1 -1
  101. package/docs/UpdateClubReservationSettingsRequest.md +2 -2
  102. package/docs/UserClubMembership.md +2 -0
  103. package/docs/UserNextBookingSummary.md +26 -0
  104. package/docs/UserNotificationsResponse.md +22 -0
  105. package/docs/UserNotificationsResponseMeta.md +28 -0
  106. package/docs/UserProfileResponse.md +12 -0
  107. package/docs/UsersApi.md +273 -0
  108. package/docs/VerifyOrganizationEmailCodeBody.md +24 -0
  109. package/docs/VerifyOrganizationEmailCodeResponse.md +22 -0
  110. package/docs/VerifyVerificationCodeBody.md +24 -0
  111. package/docs/{SumupCancelPaymentRequest.md → VerifyVerificationCodeResponse.md} +5 -5
  112. package/docs/WaitListEntryWithPlayer.md +44 -0
  113. package/docs/WaitListPlayer.md +28 -0
  114. package/docs/WaitListPlayersListResponse.md +22 -0
  115. package/docs/WaitListStaffApi.md +55 -0
  116. package/index.ts +1 -1
  117. package/package.json +1 -1
  118. package/docs/CheckInPlayerSumupRequest.md +0 -22
  119. package/docs/CheckInSumupPaymentInfo.md +0 -26
  120. package/docs/GetOpenBookingPrice200Response.md +0 -24
  121. package/docs/GetOpenBookingPriceRequest.md +0 -26
  122. package/docs/JoinPriceEstimateResponse.md +0 -38
  123. package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +0 -25
  124. package/docs/OpenBookingSlotInfo.md +0 -24
  125. package/docs/PaymentIntentResult.md +0 -28
  126. package/docs/PaymentsStaffApi.md +0 -124
  127. package/docs/StaffEventsPaginatedResponse.md +0 -26
  128. package/docs/SumUpApi.md +0 -63
  129. package/docs/SumUpManagerApi.md +0 -617
  130. package/docs/SumupAccountStatusResponse.md +0 -32
  131. package/docs/SumupCreatePaymentRequest.md +0 -32
  132. package/docs/SumupOAuthCallbackResponse.md +0 -24
  133. package/docs/SumupPairReaderRequest.md +0 -24
  134. package/docs/SumupReaderInfo.md +0 -42
  135. package/docs/SumupReaderStatusInfo.md +0 -32
  136. package/docs/SumupReadersResponse.md +0 -20
@@ -1,10 +1,10 @@
1
- # PaymentProviderType
1
+ # SupportedLanguage
2
2
 
3
3
 
4
4
  ## Enum
5
5
 
6
- * `Stripe` (value: `'stripe'`)
6
+ * `Fr` (value: `'fr'`)
7
7
 
8
- * `Sumup` (value: `'sumup'`)
8
+ * `En` (value: `'en'`)
9
9
 
10
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)
@@ -6,7 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **schedule** | [**PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined**](PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined.md) | | [optional] [default to undefined]
9
- **pricingPeriods** | [**Array<ClubPricingPeriodResponse>**](ClubPricingPeriodResponse.md) | | [optional] [default to undefined]
9
+ **pricingPeriods** | [**Array<ClubPricingPeriodPayload>**](ClubPricingPeriodPayload.md) | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **maxWeeklyBookings** | **number** | | [default to undefined]
9
9
  **unlimitedWeeklyBookings** | **boolean** | | [default to undefined]
10
- **sameTimeBookingsLimit** | **number** | | [default to undefined]
10
+ **maxSlotsPerBooking** | **number** | | [default to undefined]
11
11
  **cancellationDelayInHours** | **number** | | [default to undefined]
12
12
  **bookingPeriodInDays** | **number** | | [default to undefined]
13
13
 
@@ -19,7 +19,7 @@ import { UpdateClubReservationSettingsRequest } from '@tennac-booking/sdk';
19
19
  const instance: UpdateClubReservationSettingsRequest = {
20
20
  maxWeeklyBookings,
21
21
  unlimitedWeeklyBookings,
22
- sameTimeBookingsLimit,
22
+ maxSlotsPerBooking,
23
23
  cancellationDelayInHours,
24
24
  bookingPeriodInDays,
25
25
  };
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **clubId** | **string** | | [default to undefined]
9
9
  **clubName** | **string** | | [default to undefined]
10
10
  **clubPicture** | **string** | | [default to undefined]
11
+ **bannerPictures** | **Array<string>** | | [optional] [default to undefined]
11
12
  **address** | **string** | | [optional] [default to undefined]
12
13
  **description** | **string** | | [optional] [default to undefined]
13
14
  **tags** | **Array<string>** | | [optional] [default to undefined]
@@ -29,6 +30,7 @@ const instance: UserClubMembership = {
29
30
  clubId,
30
31
  clubName,
31
32
  clubPicture,
33
+ bannerPictures,
32
34
  address,
33
35
  description,
34
36
  tags,
@@ -0,0 +1,26 @@
1
+ # UserNextBookingSummary
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **date** | **string** | | [default to undefined]
10
+ **slots** | [**Array<BookingSlotInfo>**](BookingSlotInfo.md) | | [default to undefined]
11
+ **club** | [**BookingClubInfo**](BookingClubInfo.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { UserNextBookingSummary } from '@tennac-booking/sdk';
17
+
18
+ const instance: UserNextBookingSummary = {
19
+ id,
20
+ date,
21
+ slots,
22
+ club,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # UserNotificationsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **notifications** | [**Array<NotificationResponse>**](NotificationResponse.md) | | [default to undefined]
9
+ **meta** | [**UserNotificationsResponseMeta**](UserNotificationsResponseMeta.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { UserNotificationsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: UserNotificationsResponse = {
17
+ notifications,
18
+ meta,
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)
@@ -0,0 +1,28 @@
1
+ # UserNotificationsResponseMeta
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **unreadCount** | **number** | | [default to undefined]
9
+ **hasMore** | **boolean** | | [default to undefined]
10
+ **total** | **number** | | [default to undefined]
11
+ **skip** | **number** | | [default to undefined]
12
+ **limit** | **number** | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { UserNotificationsResponseMeta } from '@tennac-booking/sdk';
18
+
19
+ const instance: UserNotificationsResponseMeta = {
20
+ unreadCount,
21
+ hasMore,
22
+ total,
23
+ skip,
24
+ limit,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
9
9
  **googleId** | **string** | | [optional] [default to undefined]
10
10
  **firstName** | **string** | | [default to undefined]
11
11
  **lastName** | **string** | | [default to undefined]
12
+ **firstNameNormalized** | **string** | | [optional] [default to undefined]
13
+ **lastNameNormalized** | **string** | | [optional] [default to undefined]
12
14
  **email** | **string** | | [default to undefined]
13
15
  **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
14
16
  **location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
@@ -39,10 +41,14 @@ Name | Type | Description | Notes
39
41
  **sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
40
42
  **stripeCustomerId** | **string** | | [optional] [default to undefined]
41
43
  **upcomingBookingsCount** | **number** | | [optional] [default to undefined]
44
+ **nextBooking** | [**UserNextBookingSummary**](UserNextBookingSummary.md) | | [optional] [default to undefined]
42
45
  **subscriptionsCount** | **number** | | [optional] [default to undefined]
43
46
  **subscriptions** | [**Array<ClubSubscriptions>**](ClubSubscriptions.md) | | [optional] [default to undefined]
44
47
  **clubs** | [**Array<UserClubMembership>**](UserClubMembership.md) | | [optional] [default to undefined]
48
+ **favoriteClubsDetails** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
45
49
  **frequentlyVisitedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
50
+ **recentlyPlayedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
51
+ **nearbyCityClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
46
52
  **frequentlyPlayedWith** | [**Array<PlayerSummary>**](PlayerSummary.md) | | [optional] [default to undefined]
47
53
  **stripeLinks** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
48
54
  **verifiedSports** | [**Array<SportResponse>**](SportResponse.md) | | [optional] [default to undefined]
@@ -58,6 +64,8 @@ const instance: UserProfileResponse = {
58
64
  googleId,
59
65
  firstName,
60
66
  lastName,
67
+ firstNameNormalized,
68
+ lastNameNormalized,
61
69
  email,
62
70
  gender,
63
71
  location,
@@ -88,10 +96,14 @@ const instance: UserProfileResponse = {
88
96
  sports,
89
97
  stripeCustomerId,
90
98
  upcomingBookingsCount,
99
+ nextBooking,
91
100
  subscriptionsCount,
92
101
  subscriptions,
93
102
  clubs,
103
+ favoriteClubsDetails,
94
104
  frequentlyVisitedClubs,
105
+ recentlyPlayedClubs,
106
+ nearbyCityClubs,
95
107
  frequentlyPlayedWith,
96
108
  stripeLinks,
97
109
  verifiedSports,
package/docs/UsersApi.md CHANGED
@@ -24,11 +24,13 @@ 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 | |
27
28
  |[**getUserProfileById**](#getuserprofilebyid) | **GET** /api/users/profile/{id} | |
28
29
  |[**leaveBooking**](#leavebooking) | **DELETE** /api/users/me/bookings/{bookingId}/leave | |
29
30
  |[**listPlayers**](#listplayers) | **GET** /api/users/players | |
30
31
  |[**login**](#login) | **POST** /api/users/login | |
31
32
  |[**loginClubMember**](#loginclubmember) | **POST** /api/users/club-members/login | |
33
+ |[**markNotificationsRead**](#marknotificationsread) | **POST** /api/users/me/notifications/read | |
32
34
  |[**refreshToken**](#refreshtoken) | **POST** /api/users/refresh-token | |
33
35
  |[**register**](#register) | **POST** /api/users | |
34
36
  |[**registerFromApp**](#registerfromapp) | **POST** /api/users/register-app | |
@@ -36,8 +38,10 @@ All URIs are relative to *http://localhost*
36
38
  |[**removeFavoritePlayer**](#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | |
37
39
  |[**removeOrganization**](#removeorganization) | **POST** /api/users/me/remove-organization | |
38
40
  |[**requestEmailVerification**](#requestemailverification) | **POST** /api/users/me/request-email-verification | |
41
+ |[**requestOrganizationCode**](#requestorganizationcode) | **POST** /api/users/me/request-organization-code | |
39
42
  |[**requestPasswordReset**](#requestpasswordreset) | **POST** /api/users/request-password-reset | |
40
43
  |[**resetPassword**](#resetpassword) | **POST** /api/users/reset-password | |
44
+ |[**searchPartner**](#searchpartner) | **GET** /api/users/searchPartner | |
41
45
  |[**signInOrSignUpWithGoogle**](#signinorsignupwithgoogle) | **POST** /api/users/googleSignin | |
42
46
  |[**updateCustomer**](#updatecustomer) | **PUT** /api/users/me/customer | |
43
47
  |[**updateLevelBySports**](#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | |
@@ -45,6 +49,7 @@ All URIs are relative to *http://localhost*
45
49
  |[**updateProfilePicture**](#updateprofilepicture) | **PUT** /api/users/me/profile-picture | |
46
50
  |[**verifyEmail**](#verifyemail) | **POST** /api/users/verify-email | |
47
51
  |[**verifyOrganization**](#verifyorganization) | **POST** /api/users/verify-organization | |
52
+ |[**verifyOrganizationCode**](#verifyorganizationcode) | **POST** /api/users/me/verify-organization-code | |
48
53
 
49
54
  # **addFavoriteClub**
50
55
  > FavoriteClubMutationResponse addFavoriteClub(favoriteClubRequestBody)
@@ -1020,6 +1025,62 @@ const { status, data } = await apiInstance.getUserEvents(
1020
1025
  - **Accept**: application/json
1021
1026
 
1022
1027
 
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
+
1023
1084
  ### HTTP response details
1024
1085
  | Status code | Description | Response headers |
1025
1086
  |-------------|-------------|------------------|
@@ -1303,6 +1364,57 @@ No authorization required
1303
1364
  - **Accept**: application/json
1304
1365
 
1305
1366
 
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
+
1306
1418
  ### HTTP response details
1307
1419
  | Status code | Description | Response headers |
1308
1420
  |-------------|-------------|------------------|
@@ -1650,6 +1762,57 @@ This endpoint does not have any parameters.
1650
1762
  - **Accept**: application/json
1651
1763
 
1652
1764
 
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
+
1653
1816
  ### HTTP response details
1654
1817
  | Status code | Description | Response headers |
1655
1818
  |-------------|-------------|------------------|
@@ -1752,6 +1915,65 @@ No authorization required
1752
1915
  - **Accept**: application/json
1753
1916
 
1754
1917
 
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
+
1755
1977
  ### HTTP response details
1756
1978
  | Status code | Description | Response headers |
1757
1979
  |-------------|-------------|------------------|
@@ -2116,3 +2338,54 @@ No authorization required
2116
2338
 
2117
2339
  [[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)
2118
2340
 
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
+
@@ -0,0 +1,24 @@
1
+ # VerifyOrganizationEmailCodeBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **organizationId** | **string** | | [default to undefined]
9
+ **organizationEmail** | **string** | | [default to undefined]
10
+ **code** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { VerifyOrganizationEmailCodeBody } from '@tennac-booking/sdk';
16
+
17
+ const instance: VerifyOrganizationEmailCodeBody = {
18
+ organizationId,
19
+ organizationEmail,
20
+ code,
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)
@@ -0,0 +1,22 @@
1
+ # VerifyOrganizationEmailCodeResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **verified** | **boolean** | | [default to undefined]
9
+ **alreadyVerified** | **boolean** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { VerifyOrganizationEmailCodeResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: VerifyOrganizationEmailCodeResponse = {
17
+ verified,
18
+ alreadyVerified,
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)
@@ -0,0 +1,24 @@
1
+ # VerifyVerificationCodeBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [default to undefined]
9
+ **code** | **string** | | [default to undefined]
10
+ **context** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { VerifyVerificationCodeBody } from '@tennac-booking/sdk';
16
+
17
+ const instance: VerifyVerificationCodeBody = {
18
+ email,
19
+ code,
20
+ context,
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)
@@ -1,19 +1,19 @@
1
- # SumupCancelPaymentRequest
1
+ # VerifyVerificationCodeResponse
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **checkoutId** | **string** | | [optional] [default to undefined]
8
+ **verified** | **boolean** | | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { SumupCancelPaymentRequest } from '@tennac-booking/sdk';
13
+ import { VerifyVerificationCodeResponse } from '@tennac-booking/sdk';
14
14
 
15
- const instance: SumupCancelPaymentRequest = {
16
- checkoutId,
15
+ const instance: VerifyVerificationCodeResponse = {
16
+ verified,
17
17
  };
18
18
  ```
19
19
 
@@ -0,0 +1,44 @@
1
+ # WaitListEntryWithPlayer
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **userId** | **string** | | [default to undefined]
10
+ **clubId** | **string** | | [default to undefined]
11
+ **targetType** | **string** | | [default to undefined]
12
+ **targetId** | **string** | | [default to undefined]
13
+ **status** | **string** | | [default to undefined]
14
+ **position** | **number** | | [default to undefined]
15
+ **priceInCents** | **number** | | [default to undefined]
16
+ **joinedAt** | **string** | | [default to undefined]
17
+ **notifiedAt** | **string** | | [optional] [default to undefined]
18
+ **paymentExpiresAt** | **string** | | [optional] [default to undefined]
19
+ **confirmedAt** | **string** | | [optional] [default to undefined]
20
+ **player** | [**WaitListPlayer**](WaitListPlayer.md) | | [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { WaitListEntryWithPlayer } from '@tennac-booking/sdk';
26
+
27
+ const instance: WaitListEntryWithPlayer = {
28
+ id,
29
+ userId,
30
+ clubId,
31
+ targetType,
32
+ targetId,
33
+ status,
34
+ position,
35
+ priceInCents,
36
+ joinedAt,
37
+ notifiedAt,
38
+ paymentExpiresAt,
39
+ confirmedAt,
40
+ player,
41
+ };
42
+ ```
43
+
44
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # WaitListPlayer
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **firstName** | **string** | | [default to undefined]
10
+ **lastName** | **string** | | [default to undefined]
11
+ **username** | **string** | | [optional] [default to undefined]
12
+ **profilePicture** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { WaitListPlayer } from '@tennac-booking/sdk';
18
+
19
+ const instance: WaitListPlayer = {
20
+ id,
21
+ firstName,
22
+ lastName,
23
+ username,
24
+ profilePicture,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)