@tennac-booking/sdk 1.0.115 → 1.0.116

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 (177) hide show
  1. package/.openapi-generator/FILES +305 -300
  2. package/README.md +10 -2
  3. package/api.ts +352 -21
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +273 -21
  8. package/dist/api.js +155 -25
  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 +273 -21
  16. package/dist/esm/api.js +151 -21
  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/ActiveClub.md +24 -0
  28. package/docs/ActiveClubListResponse.md +20 -0
  29. package/docs/AddClubMemberResponse.md +22 -0
  30. package/docs/AddFavoriteClubRequestBody.md +20 -0
  31. package/docs/AddFavoritePlayerRequestBody.md +20 -0
  32. package/docs/AddPaymentMethodSetupRequestBody.md +20 -0
  33. package/docs/AddPaymentMethodSetupResponse.md +24 -0
  34. package/docs/AdminClubAnalyticsApi.md +249 -0
  35. package/docs/AdminClubSlotsApi.md +182 -0
  36. package/docs/AdminClubSubscriptionsApi.md +394 -0
  37. package/docs/AdminClubsApi.md +170 -0
  38. package/docs/ApiErrorResponse.md +22 -0
  39. package/docs/BlockSlotResponse.md +22 -0
  40. package/docs/Booking.md +32 -0
  41. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +36 -0
  42. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +22 -0
  43. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +24 -0
  44. package/docs/BookingPopulatedSlotId.md +26 -0
  45. package/docs/BookingPopulatedSlotIdCourtId.md +22 -0
  46. package/docs/BookingPopulatedUserId.md +24 -0
  47. package/docs/BookingsUserApi.md +1 -1
  48. package/docs/CancelBookingResponseBooking.md +30 -0
  49. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +34 -0
  50. package/docs/ClientApi.md +49 -2
  51. package/docs/ClientFullOnboardingResponseClub.md +2 -0
  52. package/docs/ClientOnboardingRequestBody.md +2 -0
  53. package/docs/ClientSubscription.md +31 -0
  54. package/docs/ClientSubscriptionItem.md +25 -0
  55. package/docs/ClientSubscriptionsResponse.md +21 -0
  56. package/docs/Club.md +46 -0
  57. package/docs/ClubInfoResponse.md +48 -0
  58. package/docs/ClubListResponse.md +22 -0
  59. package/docs/ClubMember.md +34 -0
  60. package/docs/ClubMembersResponse.md +22 -0
  61. package/docs/ClubRole.md +30 -0
  62. package/docs/ClubRolesResponse.md +22 -0
  63. package/docs/ClubSettings.md +40 -0
  64. package/docs/ClubsApi.md +2 -2
  65. package/docs/ClubsResponse.md +22 -0
  66. package/docs/ConfirmPaymentMethodSetupRequestBody.md +20 -0
  67. package/docs/ConfirmPaymentMethodSetupResponse.md +22 -0
  68. package/docs/Court.md +32 -0
  69. package/docs/CourtsResponse.md +22 -0
  70. package/docs/CreateClubRoleRequestBody.md +24 -0
  71. package/docs/CreateClubSettingsRequest.md +28 -0
  72. package/docs/CreatePriceRequest.md +26 -0
  73. package/docs/DeleteClub200Response.md +20 -0
  74. package/docs/DeleteClubRole200Response.md +20 -0
  75. package/docs/DeleteClubSettingsRequest.md +20 -0
  76. package/docs/DeleteEvent200Response.md +20 -0
  77. package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
  78. package/docs/DeleteSlotsResponse.md +20 -0
  79. package/docs/DeleteSport200Response.md +20 -0
  80. package/docs/EstimateEventPrice200Response.md +26 -0
  81. package/docs/EstimateEventPriceRequest.md +22 -0
  82. package/docs/EstimateEventPriceRequestSharesInner.md +22 -0
  83. package/docs/Event.md +40 -0
  84. package/docs/EventBooking.md +32 -0
  85. package/docs/EventRegistrationRequest.md +22 -0
  86. package/docs/EventsApi.md +58 -0
  87. package/docs/FavoriteClubItem.md +26 -0
  88. package/docs/FavoriteClubResponse.md +22 -0
  89. package/docs/FavoritePlayerPublic.md +28 -0
  90. package/docs/FavoritePlayersIdsResponse.md +22 -0
  91. package/docs/FrequentlyPlayedWithItem.md +28 -0
  92. package/docs/FrequentlyVisitedClubItem.md +24 -0
  93. package/docs/GenerateSlotsResponse.md +20 -0
  94. package/docs/GetActiveClubs200Response.md +20 -0
  95. package/docs/GetClubInfos200Response.md +30 -0
  96. package/docs/GetCourtsByClubAndSport200Response.md +26 -0
  97. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +22 -0
  98. package/docs/GetNumberOfClubUsers200Response.md +20 -0
  99. package/docs/GetPublishedEventsByClubId200Response.md +20 -0
  100. package/docs/GetUserRolesResponse.md +20 -0
  101. package/docs/GetUserRolesResponseRolesInner.md +26 -0
  102. package/docs/GetUserSubscriptionsResponse.md +22 -0
  103. package/docs/GoogleSignInRequestBody.md +20 -0
  104. package/docs/GoogleSignInResponse.md +24 -0
  105. package/docs/InitiateSubscriptionSessionRequestBody.md +26 -0
  106. package/docs/InitiateSubscriptionSessionResponse.md +22 -0
  107. package/docs/InvoicesResponse.md +22 -0
  108. package/docs/InvoicesResponseInvoicesInner.md +34 -0
  109. package/docs/InvoicesResponsePagination.md +26 -0
  110. package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +2 -0
  111. package/docs/LevelBySportsItem.md +22 -0
  112. package/docs/ManagerBookingsApi.md +125 -0
  113. package/docs/ManagerCancelBookingResponseBooking.md +30 -0
  114. package/docs/ManagerClubCourtsApi.md +108 -0
  115. package/docs/ManagerClubRolesApi.md +268 -0
  116. package/docs/ManagerClubSlotsApi.md +119 -0
  117. package/docs/ManagerClubSubscriptionsApi.md +387 -0
  118. package/docs/ManagerClubsApi.md +253 -0
  119. package/docs/ManagerEventResponse.md +22 -0
  120. package/docs/ManagerEventsApi.md +227 -0
  121. package/docs/ManagerSportsApi.md +174 -0
  122. package/docs/NoShowFeeResponseCaptureResultsInner.md +30 -0
  123. package/docs/NoShowFeeResponseCreatorChargeResult.md +26 -0
  124. package/docs/PriceResponse.md +32 -0
  125. package/docs/ProfileVisibilityResponse.md +20 -0
  126. package/docs/PublicClubUser.md +46 -0
  127. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +28 -0
  128. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +24 -0
  129. package/docs/PublicClubUserLevelBySportsInner.md +22 -0
  130. package/docs/RegisterForEvent201Response.md +20 -0
  131. package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
  132. package/docs/SetupPaymentMethodRequestBody.md +20 -0
  133. package/docs/SetupPaymentMethodResponse.md +24 -0
  134. package/docs/Slot.md +24 -0
  135. package/docs/SlotException.md +26 -0
  136. package/docs/SlotResponse.md +34 -0
  137. package/docs/SlotsResponse.md +22 -0
  138. package/docs/Sport.md +24 -0
  139. package/docs/SportsResponse.md +22 -0
  140. package/docs/StaffClubAnalyticsApi.md +104 -0
  141. package/docs/StaffClubBookingsApi.md +52 -0
  142. package/docs/StaffClubsApi.md +100 -0
  143. package/docs/StaffEventResponse.md +20 -0
  144. package/docs/StaffEventsApi.md +54 -0
  145. package/docs/StaffProfileApi.md +54 -0
  146. package/docs/StripeStatus.md +16 -0
  147. package/docs/SubscribeToClubRequestBody.md +22 -0
  148. package/docs/SubscriptionPlan.md +36 -0
  149. package/docs/SubscriptionResponse.md +36 -0
  150. package/docs/UpdateClubRoleRequestBody.md +24 -0
  151. package/docs/UpdateClubSettingsRequest.md +28 -0
  152. package/docs/UpdateCustomerRequestBodyAddress.md +30 -0
  153. package/docs/UpdateCustomerResponseCustomer.md +28 -0
  154. package/docs/UpdateProfilePictureRequestBody.md +20 -0
  155. package/docs/UpdateProfileVisibilityRequestBody.md +20 -0
  156. package/docs/UpdateSubscriptionPlanRequest.md +24 -0
  157. package/docs/UpdateSubscriptionPlanResponse.md +22 -0
  158. package/docs/UpdateUserCityRequestBody.md +20 -0
  159. package/docs/UpdateUserDescriptionRequestBody.md +20 -0
  160. package/docs/User.md +40 -0
  161. package/docs/UserAuthenticationApi.md +226 -0
  162. package/docs/UserBookingsApi.md +120 -0
  163. package/docs/UserCityResponse.md +20 -0
  164. package/docs/UserClubCourtsApi.md +64 -0
  165. package/docs/UserClubSlotsApi.md +181 -0
  166. package/docs/UserClubSportsApi.md +60 -0
  167. package/docs/UserClubsApi.md +53 -0
  168. package/docs/UserDescriptionResponse.md +20 -0
  169. package/docs/UserFavoriteClubsResponse.md +20 -0
  170. package/docs/UserPaymentApi.md +176 -0
  171. package/docs/UserProfileApi.md +1201 -0
  172. package/docs/UserResponse.md +38 -0
  173. package/docs/UserSubscriptionsApi.md +222 -0
  174. package/docs/UsersResponse.md +22 -0
  175. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +24 -0
  176. package/index.ts +1 -1
  177. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ # FavoritePlayersIdsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+ **favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { FavoritePlayersIdsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: FavoritePlayersIdsResponse = {
17
+ message,
18
+ favoritePlayers,
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
+ # FrequentlyPlayedWithItem
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **userId** | **string** | | [optional] [default to undefined]
9
+ **firstName** | **string** | | [optional] [default to undefined]
10
+ **lastName** | **string** | | [optional] [default to undefined]
11
+ **profilePicture** | **string** | | [optional] [default to undefined]
12
+ **playCount** | **number** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { FrequentlyPlayedWithItem } from '@tennac-booking/sdk';
18
+
19
+ const instance: FrequentlyPlayedWithItem = {
20
+ userId,
21
+ firstName,
22
+ lastName,
23
+ profilePicture,
24
+ playCount,
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)
@@ -0,0 +1,24 @@
1
+ # FrequentlyVisitedClubItem
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **visitCount** | **number** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { FrequentlyVisitedClubItem } from '@tennac-booking/sdk';
16
+
17
+ const instance: FrequentlyVisitedClubItem = {
18
+ clubId,
19
+ name,
20
+ visitCount,
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,20 @@
1
+ # GenerateSlotsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GenerateSlotsResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: GenerateSlotsResponse = {
16
+ message,
17
+ };
18
+ ```
19
+
20
+ [[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,20 @@
1
+ # GetActiveClubs200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubs** | [**Array<ActiveClub>**](ActiveClub.md) | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetActiveClubs200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetActiveClubs200Response = {
16
+ clubs,
17
+ };
18
+ ```
19
+
20
+ [[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,30 @@
1
+ # GetClubInfos200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [optional] [default to undefined]
9
+ **address** | **string** | | [optional] [default to undefined]
10
+ **email** | **string** | | [optional] [default to undefined]
11
+ **phone** | **string** | | [optional] [default to undefined]
12
+ **rib** | **string** | | [optional] [default to undefined]
13
+ **websiteUrl** | **string** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { GetClubInfos200Response } from '@tennac-booking/sdk';
19
+
20
+ const instance: GetClubInfos200Response = {
21
+ name,
22
+ address,
23
+ email,
24
+ phone,
25
+ rib,
26
+ websiteUrl,
27
+ };
28
+ ```
29
+
30
+ [[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,26 @@
1
+ # GetCourtsByClubAndSport200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **courts** | [**Array<CourtResponse>**](CourtResponse.md) | | [optional] [default to undefined]
9
+ **total** | **number** | Nombre total de terrains | [optional] [default to undefined]
10
+ **clubId** | **string** | ID du club | [optional] [default to undefined]
11
+ **sportId** | **string** | ID du sport | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetCourtsByClubAndSport200Response } from '@tennac-booking/sdk';
17
+
18
+ const instance: GetCourtsByClubAndSport200Response = {
19
+ courts,
20
+ total,
21
+ clubId,
22
+ sportId,
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
+ # GetLastSixMonthsTurnover200ResponseInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **month** | **string** | Month name (3-letter format) | [optional] [default to undefined]
9
+ **value** | **number** | Turnover amount for the month | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { GetLastSixMonthsTurnover200ResponseInner } from '@tennac-booking/sdk';
15
+
16
+ const instance: GetLastSixMonthsTurnover200ResponseInner = {
17
+ month,
18
+ value,
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,20 @@
1
+ # GetNumberOfClubUsers200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **count** | **number** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetNumberOfClubUsers200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetNumberOfClubUsers200Response = {
16
+ count,
17
+ };
18
+ ```
19
+
20
+ [[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,20 @@
1
+ # GetPublishedEventsByClubId200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **events** | [**Array<Event>**](Event.md) | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetPublishedEventsByClubId200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetPublishedEventsByClubId200Response = {
16
+ events,
17
+ };
18
+ ```
19
+
20
+ [[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,20 @@
1
+ # GetUserRolesResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **roles** | [**Array<GetUserRolesResponseRolesInner>**](GetUserRolesResponseRolesInner.md) | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetUserRolesResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetUserRolesResponse = {
16
+ roles,
17
+ };
18
+ ```
19
+
20
+ [[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,26 @@
1
+ # GetUserRolesResponseRolesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | | [optional] [default to undefined]
9
+ **clubName** | **string** | | [optional] [default to undefined]
10
+ **roleId** | **string** | | [optional] [default to undefined]
11
+ **roleName** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetUserRolesResponseRolesInner } from '@tennac-booking/sdk';
17
+
18
+ const instance: GetUserRolesResponseRolesInner = {
19
+ clubId,
20
+ clubName,
21
+ roleId,
22
+ roleName,
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
+ # GetUserSubscriptionsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **subscriptions** | [**Array<SubscriptionResponse>**](SubscriptionResponse.md) | | [optional] [default to undefined]
9
+ **total** | **number** | Nombre total d\'abonnements | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { GetUserSubscriptionsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: GetUserSubscriptionsResponse = {
17
+ subscriptions,
18
+ total,
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,20 @@
1
+ # GoogleSignInRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **googleToken** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GoogleSignInRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: GoogleSignInRequestBody = {
16
+ googleToken,
17
+ };
18
+ ```
19
+
20
+ [[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
+ # GoogleSignInResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **token** | **string** | | [optional] [default to undefined]
9
+ **refreshToken** | **string** | | [optional] [default to undefined]
10
+ **user** | [**UserResponse**](UserResponse.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GoogleSignInResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: GoogleSignInResponse = {
18
+ token,
19
+ refreshToken,
20
+ user,
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,26 @@
1
+ # InitiateSubscriptionSessionRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | ID du club | [default to undefined]
9
+ **priceId** | **string** | ID du prix d\'abonnement | [default to undefined]
10
+ **successUrl** | **string** | URL de redirection en cas de succès | [optional] [default to undefined]
11
+ **cancelUrl** | **string** | URL de redirection en cas d\'annulation | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { InitiateSubscriptionSessionRequestBody } from '@tennac-booking/sdk';
17
+
18
+ const instance: InitiateSubscriptionSessionRequestBody = {
19
+ clubId,
20
+ priceId,
21
+ successUrl,
22
+ cancelUrl,
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
+ # InitiateSubscriptionSessionResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sessionId** | **string** | ID de la session Stripe | [optional] [default to undefined]
9
+ **url** | **string** | URL de la session de paiement | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { InitiateSubscriptionSessionResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: InitiateSubscriptionSessionResponse = {
17
+ sessionId,
18
+ url,
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,22 @@
1
+ # InvoicesResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **invoices** | [**Array<InvoicesResponseInvoicesInner>**](InvoicesResponseInvoicesInner.md) | | [optional] [default to undefined]
9
+ **pagination** | [**InvoicesResponsePagination**](InvoicesResponsePagination.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { InvoicesResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: InvoicesResponse = {
17
+ invoices,
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)
@@ -0,0 +1,34 @@
1
+ # InvoicesResponseInvoicesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **billNumber** | **string** | | [optional] [default to undefined]
9
+ **date** | **string** | | [optional] [default to undefined]
10
+ **clientFirstName** | **string** | | [optional] [default to undefined]
11
+ **clientLastName** | **string** | | [optional] [default to undefined]
12
+ **clientEmail** | **string** | | [optional] [default to undefined]
13
+ **totalCost** | **number** | | [optional] [default to undefined]
14
+ **status** | **string** | | [optional] [default to undefined]
15
+ **linkToInvoicePDF** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { InvoicesResponseInvoicesInner } from '@tennac-booking/sdk';
21
+
22
+ const instance: InvoicesResponseInvoicesInner = {
23
+ billNumber,
24
+ date,
25
+ clientFirstName,
26
+ clientLastName,
27
+ clientEmail,
28
+ totalCost,
29
+ status,
30
+ linkToInvoicePDF,
31
+ };
32
+ ```
33
+
34
+ [[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,26 @@
1
+ # InvoicesResponsePagination
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total** | **number** | | [optional] [default to undefined]
9
+ **page** | **number** | | [optional] [default to undefined]
10
+ **limit** | **number** | | [optional] [default to undefined]
11
+ **totalPages** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { InvoicesResponsePagination } from '@tennac-booking/sdk';
17
+
18
+ const instance: InvoicesResponsePagination = {
19
+ total,
20
+ page,
21
+ limit,
22
+ totalPages,
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)
@@ -5,6 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **paysAlsoFor** | **Array<string>** | | [optional] [default to undefined]
8
9
  **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
9
10
  **id** | **string** | | [default to undefined]
10
11
 
@@ -14,6 +15,7 @@ Name | Type | Description | Notes
14
15
  import { JoinEventRequestPlayersPaymentMethodsInner } from '@tennac-booking/sdk';
15
16
 
16
17
  const instance: JoinEventRequestPlayersPaymentMethodsInner = {
18
+ paysAlsoFor,
17
19
  paymentMethod,
18
20
  id,
19
21
  };
@@ -0,0 +1,22 @@
1
+ # LevelBySportsItem
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sport** | **string** | | [default to undefined]
9
+ **level** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { LevelBySportsItem } from '@tennac-booking/sdk';
15
+
16
+ const instance: LevelBySportsItem = {
17
+ sport,
18
+ level,
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,125 @@
1
+ # ManagerBookingsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**applyNoShowFee**](#applynoshowfee) | **POST** /api/bookings/{bookingId}/apply-noshow-fee | Appliquer les frais de no-show|
8
+ |[**managerCancelBooking**](#managercancelbooking) | **DELETE** /api/bookings/{bookingId}/manager-cancel | Annuler une réservation (gestionnaire)|
9
+
10
+ # **applyNoShowFee**
11
+ > NoShowFeeResponse applyNoShowFee()
12
+
13
+ Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ ManagerBookingsApi,
20
+ Configuration
21
+ } from '@tennac-booking/sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new ManagerBookingsApi(configuration);
25
+
26
+ let bookingId: string; //ID MongoDB de la réservation (default to undefined)
27
+
28
+ const { status, data } = await apiInstance.applyNoShowFee(
29
+ bookingId
30
+ );
31
+ ```
32
+
33
+ ### Parameters
34
+
35
+ |Name | Type | Description | Notes|
36
+ |------------- | ------------- | ------------- | -------------|
37
+ | **bookingId** | [**string**] | ID MongoDB de la réservation | defaults to undefined|
38
+
39
+
40
+ ### Return type
41
+
42
+ **NoShowFeeResponse**
43
+
44
+ ### Authorization
45
+
46
+ [bearerAuth](../README.md#bearerAuth)
47
+
48
+ ### HTTP request headers
49
+
50
+ - **Content-Type**: Not defined
51
+ - **Accept**: application/json
52
+
53
+
54
+ ### HTTP response details
55
+ | Status code | Description | Response headers |
56
+ |-------------|-------------|------------------|
57
+ |**200** | Frais de no-show appliqués avec succès | - |
58
+ |**400** | Requête invalide | - |
59
+ |**401** | Non autorisé | - |
60
+ |**403** | Accès interdit | - |
61
+ |**404** | Ressource non trouvée | - |
62
+ |**500** | Erreur serveur interne | - |
63
+
64
+ [[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)
65
+
66
+ # **managerCancelBooking**
67
+ > ManagerCancelBookingResponse managerCancelBooking(managerCancelBookingRequest)
68
+
69
+ Permet à un gestionnaire d\'annuler n\'importe quelle réservation avec une raison obligatoire. Effectue un remboursement automatique si le paiement a été fait en ligne.
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ ManagerBookingsApi,
76
+ Configuration,
77
+ ManagerCancelBookingRequest
78
+ } from '@tennac-booking/sdk';
79
+
80
+ const configuration = new Configuration();
81
+ const apiInstance = new ManagerBookingsApi(configuration);
82
+
83
+ let bookingId: string; //ID MongoDB de la réservation à annuler (default to undefined)
84
+ let managerCancelBookingRequest: ManagerCancelBookingRequest; //
85
+
86
+ const { status, data } = await apiInstance.managerCancelBooking(
87
+ bookingId,
88
+ managerCancelBookingRequest
89
+ );
90
+ ```
91
+
92
+ ### Parameters
93
+
94
+ |Name | Type | Description | Notes|
95
+ |------------- | ------------- | ------------- | -------------|
96
+ | **managerCancelBookingRequest** | **ManagerCancelBookingRequest**| | |
97
+ | **bookingId** | [**string**] | ID MongoDB de la réservation à annuler | defaults to undefined|
98
+
99
+
100
+ ### Return type
101
+
102
+ **ManagerCancelBookingResponse**
103
+
104
+ ### Authorization
105
+
106
+ [bearerAuth](../README.md#bearerAuth)
107
+
108
+ ### HTTP request headers
109
+
110
+ - **Content-Type**: application/json
111
+ - **Accept**: application/json
112
+
113
+
114
+ ### HTTP response details
115
+ | Status code | Description | Response headers |
116
+ |-------------|-------------|------------------|
117
+ |**200** | Réservation annulée par le gestionnaire avec succès | - |
118
+ |**400** | Requête invalide | - |
119
+ |**401** | Non autorisé | - |
120
+ |**403** | Accès interdit | - |
121
+ |**404** | Réservation non trouvée | - |
122
+ |**500** | Erreur serveur interne | - |
123
+
124
+ [[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)
125
+