@tennac-booking/sdk 1.0.81 → 1.0.82

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 (313) hide show
  1. package/.openapi-generator/FILES +246 -134
  2. package/README.md +325 -123
  3. package/api.ts +17109 -6137
  4. package/base.ts +4 -4
  5. package/common.ts +3 -3
  6. package/configuration.ts +3 -3
  7. package/dist/api.d.ts +11466 -3726
  8. package/dist/api.js +7819 -2859
  9. package/dist/base.d.ts +3 -3
  10. package/dist/base.js +4 -4
  11. package/dist/common.d.ts +3 -3
  12. package/dist/common.js +3 -3
  13. package/dist/configuration.d.ts +3 -3
  14. package/dist/configuration.js +3 -3
  15. package/dist/esm/api.d.ts +11466 -3726
  16. package/dist/esm/api.js +7724 -2760
  17. package/dist/esm/base.d.ts +3 -3
  18. package/dist/esm/base.js +4 -4
  19. package/dist/esm/common.d.ts +3 -3
  20. package/dist/esm/common.js +3 -3
  21. package/dist/esm/configuration.d.ts +3 -3
  22. package/dist/esm/configuration.js +3 -3
  23. package/dist/esm/index.d.ts +3 -3
  24. package/dist/esm/index.js +3 -3
  25. package/dist/index.d.ts +3 -3
  26. package/dist/index.js +3 -3
  27. package/docs/{DeleteSlotsByClubInRange200Response.md → AddClubMember201Response.md} +6 -4
  28. package/docs/AddClubMemberRequest.md +7 -3
  29. package/docs/AddOrganizationRequest.md +22 -0
  30. package/docs/AddPaymentMethodRequestBody.md +20 -0
  31. package/docs/BookingAnalyticsResponse.md +34 -0
  32. package/docs/BookingDetailResponse.md +46 -0
  33. package/docs/BookingHistoryPopulated.md +34 -0
  34. package/docs/BookingInfo.md +50 -0
  35. package/docs/BookingPaymentStatusResponse.md +24 -0
  36. package/docs/BookingPaymentStatusResponseBooking.md +27 -0
  37. package/docs/BookingPaymentStatusResponseSummary.md +29 -0
  38. package/docs/BookingPopulated.md +46 -0
  39. package/docs/BookingResponse.md +4 -4
  40. package/docs/BookingResponseOnsitePaymentsInner.md +22 -0
  41. package/docs/BookingStatus.md +11 -1
  42. package/docs/BookingSummary.md +44 -0
  43. package/docs/{GetAllSportsRequest.md → BookingSummaryClubAddress.md} +3 -5
  44. package/docs/BookingsApi.md +138 -0
  45. package/docs/{ManagerSportsApi.md → BookingsManagerApi.md} +30 -34
  46. package/docs/BookingsStaffApi.md +323 -0
  47. package/docs/{UserBookingsApi.md → BookingsUserApi.md} +18 -26
  48. package/docs/CancelBookingResponse.md +1 -1
  49. package/docs/CaptureResult.md +30 -0
  50. package/docs/ChangePasswordResponse.md +1 -1
  51. package/docs/CheckInPlayersRequest.md +20 -0
  52. package/docs/CheckInPlayersResponse.md +22 -0
  53. package/docs/CheckedInPlayer.md +34 -0
  54. package/docs/{AdminClubsApi.md → ClubAnalyticsApi.md} +27 -34
  55. package/docs/ClubAnalyticsStaffApi.md +690 -0
  56. package/docs/ClubMemberResponse.md +24 -0
  57. package/docs/ClubMemberResponseUser.md +27 -0
  58. package/docs/ClubPlayerBookingItem.md +36 -0
  59. package/docs/ClubPlayerBookingsResponse.md +22 -0
  60. package/docs/ClubPlayerDetailResponse.md +46 -0
  61. package/docs/{RestoreSubscriptionPlanForClub200Response.md → ClubPlayerDetailResponseSportsLevelsInner.md} +7 -5
  62. package/docs/ClubPlayerResponse.md +36 -0
  63. package/docs/ClubPlayerStatisticsResponse.md +42 -0
  64. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
  65. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
  66. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
  67. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
  68. package/docs/ClubPlayerSubscriptionSummary.md +28 -0
  69. package/docs/ClubResponse.md +26 -22
  70. package/docs/ClubResponseCreatedAt.md +19 -0
  71. package/docs/ClubResponseLocation.md +29 -0
  72. package/docs/ClubResponseLocationCoordinates.md +22 -0
  73. package/docs/ClubResponseUpdatedAt.md +19 -0
  74. package/docs/ClubRoleResponse.md +11 -9
  75. package/docs/ClubRolesManagerApi.md +177 -0
  76. package/docs/ClubRolesStaffApi.md +154 -0
  77. package/docs/ClubSettingsManagerApi.md +221 -0
  78. package/docs/ClubSettingsResponse.md +41 -0
  79. package/docs/ClubSubscriptions.md +26 -0
  80. package/docs/ClubSummary.md +28 -0
  81. package/docs/{GetNumberOfClubUsers200Response.md → ClubUserCountResponse.md} +4 -4
  82. package/docs/ClubsApi.md +614 -0
  83. package/docs/ClubsManagerApi.md +950 -0
  84. package/docs/ClubsStaffApi.md +329 -0
  85. package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
  86. package/docs/ConfirmPaymentMethodResponse.md +22 -0
  87. package/docs/CourtInfo.md +28 -0
  88. package/docs/CourtResponse.md +20 -16
  89. package/docs/CourtStatus.md +2 -5
  90. package/docs/CreateBookingRequest.md +3 -3
  91. package/docs/CreateClubRequest.md +0 -18
  92. package/docs/{ConfirmPaymentMethodSetupRequestBody.md → CreateClubRoleRequest.md} +7 -5
  93. package/docs/CreateClubSettingsRequest.md +15 -9
  94. package/docs/CreateCourtForClub201Response.md +20 -0
  95. package/docs/CreateCourtRequest.md +10 -12
  96. package/docs/CreateEventRequest.md +56 -0
  97. package/docs/CreatePlan201Response.md +22 -0
  98. package/docs/CreateSportForClub201Response.md +20 -0
  99. package/docs/CreateSportForClubRequest.md +26 -0
  100. package/docs/CreateSportRequest.md +6 -6
  101. package/docs/CreateSubscriptionPlanRequest.md +12 -4
  102. package/docs/CreateSubscriptionPlanRequestDiscount.md +32 -0
  103. package/docs/CreatorChargeResult.md +26 -0
  104. package/docs/DailyTurnoverResponse.md +24 -0
  105. package/docs/{StaffSportsApi.md → DefaultApi.md} +18 -18
  106. package/docs/{DeleteSlotsResponse.md → DeleteClubRoleResponse.md} +4 -4
  107. package/docs/DeleteClubSettingsResponse.md +20 -0
  108. package/docs/{DeleteSport200Response.md → DeleteCourtResponse.md} +4 -4
  109. package/docs/{GenerateSlotsResponse.md → DeleteEventResponse.md} +4 -4
  110. package/docs/{DeleteClubRole200Response.md → DeleteSportResponse.md} +4 -4
  111. package/docs/DeleteSubscriptionPlanResponse.md +20 -0
  112. package/docs/{StripeStatus.md → DiscountType.md} +5 -7
  113. package/docs/EventResponse.md +66 -0
  114. package/docs/EventResponseCourtsInner.md +18 -0
  115. package/docs/EventsApi.md +238 -0
  116. package/docs/EventsListResponse.md +20 -0
  117. package/docs/{ManagerClubsApi.md → EventsManagerApi.md} +79 -75
  118. package/docs/{StaffProfileApi.md → EventsStaffApi.md} +14 -13
  119. package/docs/{AddClubMemberResponse.md → FavoriteClubMutationResponse.md} +6 -6
  120. package/docs/{GetClubSettingsRequest.md → FavoriteClubRequestBody.md} +3 -3
  121. package/docs/{BlockSlotResponse.md → FavoriteClubsResponse.md} +5 -7
  122. package/docs/FavoritePlayerMutationResponse.md +22 -0
  123. package/docs/FavoritePlayerRequestBody.md +20 -0
  124. package/docs/FavoritePlayersResponse.md +20 -0
  125. package/docs/Gender.md +12 -0
  126. package/docs/GenderPercentageResponse.md +26 -0
  127. package/docs/GetActualities200Response.md +20 -0
  128. package/docs/GetAvailableSlotsBySports200Response.md +20 -0
  129. package/docs/{ClubMembersResponse.md → GetClubMembers200Response.md} +6 -6
  130. package/docs/GetClubRoles200Response.md +20 -0
  131. package/docs/GetClubUsersById200Response.md +20 -0
  132. package/docs/GetClubsWithVerificationDomains200ResponseInner.md +26 -0
  133. package/docs/GetCourtsByClubAndSportById200Response.md +26 -0
  134. package/docs/GetInfillPercentagePerPeriod200Response.md +24 -0
  135. package/docs/{SlotsResponse.md → GetSlotsByClubById200Response.md} +6 -6
  136. package/docs/GoogleAuthRequestBody.md +20 -0
  137. package/docs/GoogleAuthResponse.md +30 -0
  138. package/docs/GoogleAuthResponseUser.md +26 -0
  139. package/docs/{Court.md → ICourtData.md} +18 -6
  140. package/docs/ILevelBySports.md +22 -0
  141. package/docs/IUserAttributes.md +82 -0
  142. package/docs/IUserAttributesOrganizationsInner.md +28 -0
  143. package/docs/IUserLocation.md +44 -0
  144. package/docs/InvoiceInfo.md +24 -0
  145. package/docs/JoinEventRequest.md +22 -0
  146. package/docs/{ApiErrorResponse.md → JoinEventResponse.md} +6 -6
  147. package/docs/LastSixMonthsTurnoverItem.md +22 -0
  148. package/docs/{ActiveClub.md → LevelBySportEntry.md} +7 -7
  149. package/docs/LoginResponse.md +2 -0
  150. package/docs/ManagerCancelBookingRequest.md +20 -0
  151. package/docs/ManagerCancelBookingResponse.md +1 -1
  152. package/docs/MonthlyBreakdown.md +24 -0
  153. package/docs/MonthlyTurnoverResponse.md +29 -0
  154. package/docs/NoShowFeeResponse.md +30 -0
  155. package/docs/OffPeakRule.md +26 -0
  156. package/docs/PartialClubResponse.md +51 -0
  157. package/docs/PasswordResetRequestBody.md +20 -0
  158. package/docs/PaymentByPlayerInfo.md +22 -0
  159. package/docs/PaymentMethod.md +2 -1
  160. package/docs/PaymentMethodSetupResponse.md +24 -0
  161. package/docs/PickIUserLocationExcludeKeyofIUserLocationType.md +43 -0
  162. package/docs/PlanInterval.md +14 -0
  163. package/docs/PlayerCategoriesResponse.md +20 -0
  164. package/docs/PlayerCategory.md +26 -0
  165. package/docs/PlayerCategoryId.md +16 -0
  166. package/docs/PlayerListResponse.md +26 -0
  167. package/docs/PlayerPaymentInfo.md +36 -0
  168. package/docs/PlayerSummary.md +42 -0
  169. package/docs/ProfilePictureResponse.md +20 -0
  170. package/docs/{ActiveClubListResponse.md → ProfilePictureUpdateRequestBody.md} +5 -5
  171. package/docs/PublicSubscriptionPlanResponse.md +30 -0
  172. package/docs/PublicUserProfileResponse.md +44 -0
  173. package/docs/PublishEventResponse.md +20 -0
  174. package/docs/QuickReservationClubSummary.md +28 -0
  175. package/docs/QuickReservationClubSummaryLocation.md +31 -0
  176. package/docs/QuickReservationResponse.md +22 -0
  177. package/docs/QuickReservationSlotSummary.md +42 -0
  178. package/docs/RefreshTokenResponse.md +6 -2
  179. package/docs/RegisterRequestBody.md +6 -0
  180. package/docs/RegisterRequestBodyLocation.md +44 -0
  181. package/docs/RequestPasswordReset200Response.md +20 -0
  182. package/docs/{GoogleSignInResponse.md → ResetPasswordRequest.md} +5 -7
  183. package/docs/SetupPaymentMethodRequestBody.md +1 -3
  184. package/docs/SetupPaymentMethodResponse.md +3 -3
  185. package/docs/SlotInfo.md +26 -0
  186. package/docs/SportAnalyticsResponse.md +24 -0
  187. package/docs/SportInfo.md +22 -0
  188. package/docs/SportKey.md +14 -0
  189. package/docs/SportLevel.md +22 -0
  190. package/docs/SportResponse.md +14 -8
  191. package/docs/SportWithLevels.md +30 -0
  192. package/docs/SportsManagerApi.md +180 -0
  193. package/docs/SportsStaffApi.md +55 -0
  194. package/docs/StaffUserProfileResponse.md +86 -0
  195. package/docs/StripeStripeDeletedProduct.md +25 -0
  196. package/docs/StripeStripePrice.md +63 -0
  197. package/docs/StripeStripePriceBillingScheme.md +10 -0
  198. package/docs/StripeStripePriceCurrencyOptions.md +28 -0
  199. package/docs/StripeStripePriceCurrencyOptionsCustomUnitAmount.md +24 -0
  200. package/docs/StripeStripePriceCurrencyOptionsTaxBehavior.md +12 -0
  201. package/docs/StripeStripePriceCurrencyOptionsTier.md +28 -0
  202. package/docs/StripeStripePriceCustomUnitAmount.md +24 -0
  203. package/docs/StripeStripePriceProduct.md +59 -0
  204. package/docs/StripeStripePriceRecurring.md +28 -0
  205. package/docs/StripeStripePriceRecurringInterval.md +14 -0
  206. package/docs/StripeStripePriceRecurringUsageType.md +10 -0
  207. package/docs/StripeStripePriceTaxBehavior.md +12 -0
  208. package/docs/StripeStripePriceTier.md +28 -0
  209. package/docs/StripeStripePriceTiersMode.md +10 -0
  210. package/docs/StripeStripePriceTransformQuantity.md +22 -0
  211. package/docs/StripeStripePriceTransformQuantityRound.md +10 -0
  212. package/docs/StripeStripePriceType.md +10 -0
  213. package/docs/StripeStripeProduct.md +59 -0
  214. package/docs/StripeStripeProductDefaultPrice.md +63 -0
  215. package/docs/StripeStripeProductMarketingFeature.md +20 -0
  216. package/docs/StripeStripeProductPackageDimensions.md +26 -0
  217. package/docs/StripeStripeProductTaxCode.md +27 -0
  218. package/docs/StripeStripeProductType.md +10 -0
  219. package/docs/StripeStripeResponseStripeStripePrice.md +64 -0
  220. package/docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md +30 -0
  221. package/docs/StripeStripeTaxCode.md +27 -0
  222. package/docs/{DeleteClubSettingsRequest.md → SubscribeRequestBody.md} +5 -3
  223. package/docs/SubscriberPrice.md +22 -0
  224. package/docs/SubscriptionMutationResponse.md +20 -0
  225. package/docs/SubscriptionPlanResponse.md +16 -14
  226. package/docs/SubscriptionsManagerApi.md +171 -0
  227. package/docs/{StaffClubsApi.md → SubscriptionsPublicApi.md} +16 -15
  228. package/docs/{UserClubsApi.md → SubscriptionsStaffApi.md} +13 -12
  229. package/docs/SubscriptionsUserApi.md +222 -0
  230. package/docs/SurfaceType.md +12 -0
  231. package/docs/Team.md +22 -0
  232. package/docs/UpdateActuality200Response.md +20 -0
  233. package/docs/UpdateClubRequest.md +14 -20
  234. package/docs/UpdateClubRequestLocation.md +29 -0
  235. package/docs/UpdateClubRequestLocationCoordinates.md +22 -0
  236. package/docs/UpdateClubRoleRequest.md +22 -0
  237. package/docs/UpdateClubSettingsRequest.md +14 -10
  238. package/docs/UpdateCustomerRequestBody.md +3 -7
  239. package/docs/UpdateCustomerResponse.md +1 -3
  240. package/docs/UpdateEventRequest.md +54 -0
  241. package/docs/{ClubListResponse.md → UpdateLevelBySportsRequestBody.md} +5 -7
  242. package/docs/UpdatePlanRequest.md +22 -0
  243. package/docs/UpdateSportRequest.md +7 -3
  244. package/docs/UpdateSubscriptionPlanForClub200Response.md +20 -0
  245. package/docs/UpdateUserRequestBody.md +8 -2
  246. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +22 -0
  247. package/docs/UserClubSubscription.md +42 -0
  248. package/docs/UserInfo.md +28 -0
  249. package/docs/UserLocationSummary.md +44 -0
  250. package/docs/UserProfileResponse.md +94 -0
  251. package/docs/UserRolesResponse.md +20 -0
  252. package/docs/{GetActiveClubs200Response.md → UserSubscriptionsResponse.md} +5 -5
  253. package/docs/UsersApi.md +1963 -0
  254. package/docs/VerifyEmailRequest.md +20 -0
  255. package/docs/YearlyTurnoverResponse.md +26 -0
  256. package/index.ts +3 -3
  257. package/package.json +5 -4
  258. package/docs/AdminClubSlotsApi.md +0 -62
  259. package/docs/Booking.md +0 -32
  260. package/docs/CancelBookingResponseBooking.md +0 -30
  261. package/docs/Club.md +0 -46
  262. package/docs/ClubInfoResponse.md +0 -46
  263. package/docs/ClubMember.md +0 -34
  264. package/docs/ClubRole.md +0 -30
  265. package/docs/ClubRolesResponse.md +0 -22
  266. package/docs/ClubSettings.md +0 -34
  267. package/docs/ClubsResponse.md +0 -22
  268. package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
  269. package/docs/CourtsResponse.md +0 -22
  270. package/docs/CreateClubRoleRequestBody.md +0 -24
  271. package/docs/CreatePriceRequest.md +0 -26
  272. package/docs/GetClubInfos200Response.md +0 -30
  273. package/docs/GetCourtsByClubAndSport200Response.md +0 -26
  274. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -24
  275. package/docs/GetUserRolesResponse.md +0 -20
  276. package/docs/GetUserRolesResponseRolesInner.md +0 -26
  277. package/docs/GetUserSubscriptionsResponse.md +0 -22
  278. package/docs/GoogleSignInRequestBody.md +0 -20
  279. package/docs/InitiateSubscriptionSessionRequestBody.md +0 -26
  280. package/docs/InitiateSubscriptionSessionResponse.md +0 -22
  281. package/docs/ManagerCancelBookingResponseBooking.md +0 -30
  282. package/docs/ManagerClubCourtsApi.md +0 -118
  283. package/docs/ManagerClubRolesApi.md +0 -268
  284. package/docs/ManagerClubSlotsApi.md +0 -125
  285. package/docs/ManagerClubSubscriptionsApi.md +0 -408
  286. package/docs/PriceResponse.md +0 -32
  287. package/docs/Slot.md +0 -24
  288. package/docs/SlotException.md +0 -26
  289. package/docs/SlotResponse.md +0 -34
  290. package/docs/Sport.md +0 -24
  291. package/docs/SportsResponse.md +0 -22
  292. package/docs/StaffClubAnalyticsApi.md +0 -111
  293. package/docs/StaffClubBookingsApi.md +0 -59
  294. package/docs/StaffClubSettingsApi.md +0 -62
  295. package/docs/SubscribeToClubRequestBody.md +0 -22
  296. package/docs/SubscriptionPlan.md +0 -36
  297. package/docs/SubscriptionResponse.md +0 -36
  298. package/docs/UpdateClubRoleRequestBody.md +0 -24
  299. package/docs/UpdateCustomerRequestBodyAddress.md +0 -30
  300. package/docs/UpdateCustomerResponseCustomer.md +0 -28
  301. package/docs/UpdateSubscriptionPlanRequest.md +0 -24
  302. package/docs/UpdateSubscriptionPlanResponse.md +0 -22
  303. package/docs/User.md +0 -40
  304. package/docs/UserApi.md +0 -119
  305. package/docs/UserAuthenticationApi.md +0 -226
  306. package/docs/UserClubCourtsApi.md +0 -64
  307. package/docs/UserClubSlotsApi.md +0 -181
  308. package/docs/UserClubSportsApi.md +0 -60
  309. package/docs/UserPaymentApi.md +0 -121
  310. package/docs/UserProfileApi.md +0 -224
  311. package/docs/UserResponse.md +0 -38
  312. package/docs/UserSubscriptionsApi.md +0 -222
  313. package/docs/UsersResponse.md +0 -22
@@ -0,0 +1,950 @@
1
+ # ClubsManagerApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**addClubMember**](#addclubmember) | **POST** /api/clubs/members | |
8
+ |[**archivePriceForSubscriptionPlan**](#archivepriceforsubscriptionplan) | **DELETE** /api/clubs/subscription-plans/{priceId}/archive-price | |
9
+ |[**createActuality**](#createactuality) | **POST** /api/clubs/actualities | |
10
+ |[**createCourtForClub**](#createcourtforclub) | **POST** /api/clubs/courts | |
11
+ |[**createPriceForSubscriptionPlan**](#createpriceforsubscriptionplan) | **POST** /api/clubs/subscription-plans/{productId}/prices | |
12
+ |[**createSportForClub**](#createsportforclub) | **POST** /api/clubs/sports | |
13
+ |[**deleteActuality**](#deleteactuality) | **DELETE** /api/clubs/actualities/{actualityId} | |
14
+ |[**deleteCourt**](#deletecourt) | **DELETE** /api/clubs/courts/{courtId} | |
15
+ |[**deleteSlotsByClubInRange**](#deleteslotsbyclubinrange) | **DELETE** /api/clubs/slots | |
16
+ |[**deleteSubscriptionPlanForClub**](#deletesubscriptionplanforclub) | **DELETE** /api/clubs/subscription-plans/{productId} | |
17
+ |[**publishActuality**](#publishactuality) | **PATCH** /api/clubs/actualities/{actualityId}/publish | |
18
+ |[**restoreSubscriptionPlanForClub**](#restoresubscriptionplanforclub) | **POST** /api/clubs/subscription-plans/{productId}/restore | |
19
+ |[**restoreSubscriptionPriceForClub**](#restoresubscriptionpriceforclub) | **POST** /api/clubs/subscription-plans/{priceId}/restore-price | |
20
+ |[**updateActuality**](#updateactuality) | **PUT** /api/clubs/actualities/{actualityId} | |
21
+ |[**updateClub**](#updateclub) | **PUT** /api/clubs | |
22
+ |[**updateClubInfos**](#updateclubinfos) | **PUT** /api/clubs/infos | |
23
+ |[**updateCourt**](#updatecourt) | **PUT** /api/clubs/courts/{courtId} | |
24
+ |[**updateSubscriptionPlanForClub**](#updatesubscriptionplanforclub) | **PUT** /api/clubs/subscription-plans/{priceId} | |
25
+
26
+ # **addClubMember**
27
+ > AddClubMember201Response addClubMember(addClubMemberRequest)
28
+
29
+ Ajoute un membre à un club
30
+
31
+ ### Example
32
+
33
+ ```typescript
34
+ import {
35
+ ClubsManagerApi,
36
+ Configuration,
37
+ AddClubMemberRequest
38
+ } from '@tennac-booking/sdk';
39
+
40
+ const configuration = new Configuration();
41
+ const apiInstance = new ClubsManagerApi(configuration);
42
+
43
+ let addClubMemberRequest: AddClubMemberRequest; //
44
+
45
+ const { status, data } = await apiInstance.addClubMember(
46
+ addClubMemberRequest
47
+ );
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+ |Name | Type | Description | Notes|
53
+ |------------- | ------------- | ------------- | -------------|
54
+ | **addClubMemberRequest** | **AddClubMemberRequest**| | |
55
+
56
+
57
+ ### Return type
58
+
59
+ **AddClubMember201Response**
60
+
61
+ ### Authorization
62
+
63
+ [bearerAuth](../README.md#bearerAuth)
64
+
65
+ ### HTTP request headers
66
+
67
+ - **Content-Type**: application/json
68
+ - **Accept**: application/json
69
+
70
+
71
+ ### HTTP response details
72
+ | Status code | Description | Response headers |
73
+ |-------------|-------------|------------------|
74
+ |**201** | Membre ajouté au club | - |
75
+ |**400** | Bad Request | - |
76
+ |**404** | Utilisateur ou club introuvable | - |
77
+ |**500** | Server Error | - |
78
+
79
+ [[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)
80
+
81
+ # **archivePriceForSubscriptionPlan**
82
+ > UpdateSubscriptionPlanForClub200Response archivePriceForSubscriptionPlan()
83
+
84
+
85
+ ### Example
86
+
87
+ ```typescript
88
+ import {
89
+ ClubsManagerApi,
90
+ Configuration
91
+ } from '@tennac-booking/sdk';
92
+
93
+ const configuration = new Configuration();
94
+ const apiInstance = new ClubsManagerApi(configuration);
95
+
96
+ let priceId: string; // (default to undefined)
97
+
98
+ const { status, data } = await apiInstance.archivePriceForSubscriptionPlan(
99
+ priceId
100
+ );
101
+ ```
102
+
103
+ ### Parameters
104
+
105
+ |Name | Type | Description | Notes|
106
+ |------------- | ------------- | ------------- | -------------|
107
+ | **priceId** | [**string**] | | defaults to undefined|
108
+
109
+
110
+ ### Return type
111
+
112
+ **UpdateSubscriptionPlanForClub200Response**
113
+
114
+ ### Authorization
115
+
116
+ [bearerAuth](../README.md#bearerAuth)
117
+
118
+ ### HTTP request headers
119
+
120
+ - **Content-Type**: Not defined
121
+ - **Accept**: application/json
122
+
123
+
124
+ ### HTTP response details
125
+ | Status code | Description | Response headers |
126
+ |-------------|-------------|------------------|
127
+ |**200** | Price archivé | - |
128
+
129
+ [[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)
130
+
131
+ # **createActuality**
132
+ > UpdateActuality200Response createActuality(body)
133
+
134
+
135
+ ### Example
136
+
137
+ ```typescript
138
+ import {
139
+ ClubsManagerApi,
140
+ Configuration
141
+ } from '@tennac-booking/sdk';
142
+
143
+ const configuration = new Configuration();
144
+ const apiInstance = new ClubsManagerApi(configuration);
145
+
146
+ let body: any; //
147
+
148
+ const { status, data } = await apiInstance.createActuality(
149
+ body
150
+ );
151
+ ```
152
+
153
+ ### Parameters
154
+
155
+ |Name | Type | Description | Notes|
156
+ |------------- | ------------- | ------------- | -------------|
157
+ | **body** | **any**| | |
158
+
159
+
160
+ ### Return type
161
+
162
+ **UpdateActuality200Response**
163
+
164
+ ### Authorization
165
+
166
+ [bearerAuth](../README.md#bearerAuth)
167
+
168
+ ### HTTP request headers
169
+
170
+ - **Content-Type**: application/json
171
+ - **Accept**: application/json
172
+
173
+
174
+ ### HTTP response details
175
+ | Status code | Description | Response headers |
176
+ |-------------|-------------|------------------|
177
+ |**201** | Actualité créée | - |
178
+
179
+ [[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)
180
+
181
+ # **createCourtForClub**
182
+ > CreateCourtForClub201Response createCourtForClub(createCourtRequest)
183
+
184
+ Crée un nouveau terrain pour un club
185
+
186
+ ### Example
187
+
188
+ ```typescript
189
+ import {
190
+ ClubsManagerApi,
191
+ Configuration,
192
+ CreateCourtRequest
193
+ } from '@tennac-booking/sdk';
194
+
195
+ const configuration = new Configuration();
196
+ const apiInstance = new ClubsManagerApi(configuration);
197
+
198
+ let createCourtRequest: CreateCourtRequest; //
199
+
200
+ const { status, data } = await apiInstance.createCourtForClub(
201
+ createCourtRequest
202
+ );
203
+ ```
204
+
205
+ ### Parameters
206
+
207
+ |Name | Type | Description | Notes|
208
+ |------------- | ------------- | ------------- | -------------|
209
+ | **createCourtRequest** | **CreateCourtRequest**| | |
210
+
211
+
212
+ ### Return type
213
+
214
+ **CreateCourtForClub201Response**
215
+
216
+ ### Authorization
217
+
218
+ [bearerAuth](../README.md#bearerAuth)
219
+
220
+ ### HTTP request headers
221
+
222
+ - **Content-Type**: application/json
223
+ - **Accept**: application/json
224
+
225
+
226
+ ### HTTP response details
227
+ | Status code | Description | Response headers |
228
+ |-------------|-------------|------------------|
229
+ |**201** | Terrain créé | - |
230
+ |**400** | Bad Request | - |
231
+ |**404** | Club non trouvé | - |
232
+ |**500** | Server Error | - |
233
+
234
+ [[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)
235
+
236
+ # **createPriceForSubscriptionPlan**
237
+ > UpdateSubscriptionPlanForClub200Response createPriceForSubscriptionPlan(body)
238
+
239
+
240
+ ### Example
241
+
242
+ ```typescript
243
+ import {
244
+ ClubsManagerApi,
245
+ Configuration
246
+ } from '@tennac-booking/sdk';
247
+
248
+ const configuration = new Configuration();
249
+ const apiInstance = new ClubsManagerApi(configuration);
250
+
251
+ let productId: string; // (default to undefined)
252
+ let body: any; //
253
+
254
+ const { status, data } = await apiInstance.createPriceForSubscriptionPlan(
255
+ productId,
256
+ body
257
+ );
258
+ ```
259
+
260
+ ### Parameters
261
+
262
+ |Name | Type | Description | Notes|
263
+ |------------- | ------------- | ------------- | -------------|
264
+ | **body** | **any**| | |
265
+ | **productId** | [**string**] | | defaults to undefined|
266
+
267
+
268
+ ### Return type
269
+
270
+ **UpdateSubscriptionPlanForClub200Response**
271
+
272
+ ### Authorization
273
+
274
+ [bearerAuth](../README.md#bearerAuth)
275
+
276
+ ### HTTP request headers
277
+
278
+ - **Content-Type**: application/json
279
+ - **Accept**: application/json
280
+
281
+
282
+ ### HTTP response details
283
+ | Status code | Description | Response headers |
284
+ |-------------|-------------|------------------|
285
+ |**201** | Price créé | - |
286
+
287
+ [[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)
288
+
289
+ # **createSportForClub**
290
+ > CreateSportForClub201Response createSportForClub(createSportForClubRequest)
291
+
292
+
293
+ ### Example
294
+
295
+ ```typescript
296
+ import {
297
+ ClubsManagerApi,
298
+ Configuration,
299
+ CreateSportForClubRequest
300
+ } from '@tennac-booking/sdk';
301
+
302
+ const configuration = new Configuration();
303
+ const apiInstance = new ClubsManagerApi(configuration);
304
+
305
+ let createSportForClubRequest: CreateSportForClubRequest; //
306
+
307
+ const { status, data } = await apiInstance.createSportForClub(
308
+ createSportForClubRequest
309
+ );
310
+ ```
311
+
312
+ ### Parameters
313
+
314
+ |Name | Type | Description | Notes|
315
+ |------------- | ------------- | ------------- | -------------|
316
+ | **createSportForClubRequest** | **CreateSportForClubRequest**| | |
317
+
318
+
319
+ ### Return type
320
+
321
+ **CreateSportForClub201Response**
322
+
323
+ ### Authorization
324
+
325
+ [bearerAuth](../README.md#bearerAuth)
326
+
327
+ ### HTTP request headers
328
+
329
+ - **Content-Type**: application/json
330
+ - **Accept**: application/json
331
+
332
+
333
+ ### HTTP response details
334
+ | Status code | Description | Response headers |
335
+ |-------------|-------------|------------------|
336
+ |**201** | Sport créé | - |
337
+
338
+ [[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)
339
+
340
+ # **deleteActuality**
341
+ > RequestPasswordReset200Response deleteActuality()
342
+
343
+
344
+ ### Example
345
+
346
+ ```typescript
347
+ import {
348
+ ClubsManagerApi,
349
+ Configuration
350
+ } from '@tennac-booking/sdk';
351
+
352
+ const configuration = new Configuration();
353
+ const apiInstance = new ClubsManagerApi(configuration);
354
+
355
+ let actualityId: string; // (default to undefined)
356
+
357
+ const { status, data } = await apiInstance.deleteActuality(
358
+ actualityId
359
+ );
360
+ ```
361
+
362
+ ### Parameters
363
+
364
+ |Name | Type | Description | Notes|
365
+ |------------- | ------------- | ------------- | -------------|
366
+ | **actualityId** | [**string**] | | defaults to undefined|
367
+
368
+
369
+ ### Return type
370
+
371
+ **RequestPasswordReset200Response**
372
+
373
+ ### Authorization
374
+
375
+ [bearerAuth](../README.md#bearerAuth)
376
+
377
+ ### HTTP request headers
378
+
379
+ - **Content-Type**: Not defined
380
+ - **Accept**: application/json
381
+
382
+
383
+ ### HTTP response details
384
+ | Status code | Description | Response headers |
385
+ |-------------|-------------|------------------|
386
+ |**200** | Actualité supprimée | - |
387
+
388
+ [[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)
389
+
390
+ # **deleteCourt**
391
+ > DeleteCourtResponse deleteCourt()
392
+
393
+ Supprime un terrain et ses créneaux futurs
394
+
395
+ ### Example
396
+
397
+ ```typescript
398
+ import {
399
+ ClubsManagerApi,
400
+ Configuration
401
+ } from '@tennac-booking/sdk';
402
+
403
+ const configuration = new Configuration();
404
+ const apiInstance = new ClubsManagerApi(configuration);
405
+
406
+ let courtId: string; // (default to undefined)
407
+
408
+ const { status, data } = await apiInstance.deleteCourt(
409
+ courtId
410
+ );
411
+ ```
412
+
413
+ ### Parameters
414
+
415
+ |Name | Type | Description | Notes|
416
+ |------------- | ------------- | ------------- | -------------|
417
+ | **courtId** | [**string**] | | defaults to undefined|
418
+
419
+
420
+ ### Return type
421
+
422
+ **DeleteCourtResponse**
423
+
424
+ ### Authorization
425
+
426
+ [bearerAuth](../README.md#bearerAuth)
427
+
428
+ ### HTTP request headers
429
+
430
+ - **Content-Type**: Not defined
431
+ - **Accept**: application/json
432
+
433
+
434
+ ### HTTP response details
435
+ | Status code | Description | Response headers |
436
+ |-------------|-------------|------------------|
437
+ |**200** | Terrain supprimé | - |
438
+ |**400** | Bad Request | - |
439
+ |**404** | Terrain non trouvé | - |
440
+ |**500** | Server Error | - |
441
+
442
+ [[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)
443
+
444
+ # **deleteSlotsByClubInRange**
445
+ > RequestPasswordReset200Response deleteSlotsByClubInRange()
446
+
447
+
448
+ ### Example
449
+
450
+ ```typescript
451
+ import {
452
+ ClubsManagerApi,
453
+ Configuration
454
+ } from '@tennac-booking/sdk';
455
+
456
+ const configuration = new Configuration();
457
+ const apiInstance = new ClubsManagerApi(configuration);
458
+
459
+ const { status, data } = await apiInstance.deleteSlotsByClubInRange();
460
+ ```
461
+
462
+ ### Parameters
463
+ This endpoint does not have any parameters.
464
+
465
+
466
+ ### Return type
467
+
468
+ **RequestPasswordReset200Response**
469
+
470
+ ### Authorization
471
+
472
+ [bearerAuth](../README.md#bearerAuth)
473
+
474
+ ### HTTP request headers
475
+
476
+ - **Content-Type**: Not defined
477
+ - **Accept**: application/json
478
+
479
+
480
+ ### HTTP response details
481
+ | Status code | Description | Response headers |
482
+ |-------------|-------------|------------------|
483
+ |**200** | Slots supprimés | - |
484
+
485
+ [[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)
486
+
487
+ # **deleteSubscriptionPlanForClub**
488
+ > deleteSubscriptionPlanForClub()
489
+
490
+
491
+ ### Example
492
+
493
+ ```typescript
494
+ import {
495
+ ClubsManagerApi,
496
+ Configuration
497
+ } from '@tennac-booking/sdk';
498
+
499
+ const configuration = new Configuration();
500
+ const apiInstance = new ClubsManagerApi(configuration);
501
+
502
+ let productId: string; // (default to undefined)
503
+
504
+ const { status, data } = await apiInstance.deleteSubscriptionPlanForClub(
505
+ productId
506
+ );
507
+ ```
508
+
509
+ ### Parameters
510
+
511
+ |Name | Type | Description | Notes|
512
+ |------------- | ------------- | ------------- | -------------|
513
+ | **productId** | [**string**] | | defaults to undefined|
514
+
515
+
516
+ ### Return type
517
+
518
+ void (empty response body)
519
+
520
+ ### Authorization
521
+
522
+ [bearerAuth](../README.md#bearerAuth)
523
+
524
+ ### HTTP request headers
525
+
526
+ - **Content-Type**: Not defined
527
+ - **Accept**: Not defined
528
+
529
+
530
+ ### HTTP response details
531
+ | Status code | Description | Response headers |
532
+ |-------------|-------------|------------------|
533
+ |**204** | Plan supprimé | - |
534
+
535
+ [[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)
536
+
537
+ # **publishActuality**
538
+ > UpdateActuality200Response publishActuality()
539
+
540
+
541
+ ### Example
542
+
543
+ ```typescript
544
+ import {
545
+ ClubsManagerApi,
546
+ Configuration
547
+ } from '@tennac-booking/sdk';
548
+
549
+ const configuration = new Configuration();
550
+ const apiInstance = new ClubsManagerApi(configuration);
551
+
552
+ let actualityId: string; // (default to undefined)
553
+
554
+ const { status, data } = await apiInstance.publishActuality(
555
+ actualityId
556
+ );
557
+ ```
558
+
559
+ ### Parameters
560
+
561
+ |Name | Type | Description | Notes|
562
+ |------------- | ------------- | ------------- | -------------|
563
+ | **actualityId** | [**string**] | | defaults to undefined|
564
+
565
+
566
+ ### Return type
567
+
568
+ **UpdateActuality200Response**
569
+
570
+ ### Authorization
571
+
572
+ [bearerAuth](../README.md#bearerAuth)
573
+
574
+ ### HTTP request headers
575
+
576
+ - **Content-Type**: Not defined
577
+ - **Accept**: application/json
578
+
579
+
580
+ ### HTTP response details
581
+ | Status code | Description | Response headers |
582
+ |-------------|-------------|------------------|
583
+ |**200** | Actualité publiée | - |
584
+
585
+ [[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)
586
+
587
+ # **restoreSubscriptionPlanForClub**
588
+ > RequestPasswordReset200Response restoreSubscriptionPlanForClub()
589
+
590
+
591
+ ### Example
592
+
593
+ ```typescript
594
+ import {
595
+ ClubsManagerApi,
596
+ Configuration
597
+ } from '@tennac-booking/sdk';
598
+
599
+ const configuration = new Configuration();
600
+ const apiInstance = new ClubsManagerApi(configuration);
601
+
602
+ let productId: string; // (default to undefined)
603
+
604
+ const { status, data } = await apiInstance.restoreSubscriptionPlanForClub(
605
+ productId
606
+ );
607
+ ```
608
+
609
+ ### Parameters
610
+
611
+ |Name | Type | Description | Notes|
612
+ |------------- | ------------- | ------------- | -------------|
613
+ | **productId** | [**string**] | | defaults to undefined|
614
+
615
+
616
+ ### Return type
617
+
618
+ **RequestPasswordReset200Response**
619
+
620
+ ### Authorization
621
+
622
+ [bearerAuth](../README.md#bearerAuth)
623
+
624
+ ### HTTP request headers
625
+
626
+ - **Content-Type**: Not defined
627
+ - **Accept**: application/json
628
+
629
+
630
+ ### HTTP response details
631
+ | Status code | Description | Response headers |
632
+ |-------------|-------------|------------------|
633
+ |**200** | Plan restauré | - |
634
+
635
+ [[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)
636
+
637
+ # **restoreSubscriptionPriceForClub**
638
+ > UpdateSubscriptionPlanForClub200Response restoreSubscriptionPriceForClub()
639
+
640
+
641
+ ### Example
642
+
643
+ ```typescript
644
+ import {
645
+ ClubsManagerApi,
646
+ Configuration
647
+ } from '@tennac-booking/sdk';
648
+
649
+ const configuration = new Configuration();
650
+ const apiInstance = new ClubsManagerApi(configuration);
651
+
652
+ let priceId: string; // (default to undefined)
653
+
654
+ const { status, data } = await apiInstance.restoreSubscriptionPriceForClub(
655
+ priceId
656
+ );
657
+ ```
658
+
659
+ ### Parameters
660
+
661
+ |Name | Type | Description | Notes|
662
+ |------------- | ------------- | ------------- | -------------|
663
+ | **priceId** | [**string**] | | defaults to undefined|
664
+
665
+
666
+ ### Return type
667
+
668
+ **UpdateSubscriptionPlanForClub200Response**
669
+
670
+ ### Authorization
671
+
672
+ [bearerAuth](../README.md#bearerAuth)
673
+
674
+ ### HTTP request headers
675
+
676
+ - **Content-Type**: Not defined
677
+ - **Accept**: application/json
678
+
679
+
680
+ ### HTTP response details
681
+ | Status code | Description | Response headers |
682
+ |-------------|-------------|------------------|
683
+ |**200** | Price restauré | - |
684
+
685
+ [[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)
686
+
687
+ # **updateActuality**
688
+ > UpdateActuality200Response updateActuality(body)
689
+
690
+
691
+ ### Example
692
+
693
+ ```typescript
694
+ import {
695
+ ClubsManagerApi,
696
+ Configuration
697
+ } from '@tennac-booking/sdk';
698
+
699
+ const configuration = new Configuration();
700
+ const apiInstance = new ClubsManagerApi(configuration);
701
+
702
+ let actualityId: string; // (default to undefined)
703
+ let body: any; //
704
+
705
+ const { status, data } = await apiInstance.updateActuality(
706
+ actualityId,
707
+ body
708
+ );
709
+ ```
710
+
711
+ ### Parameters
712
+
713
+ |Name | Type | Description | Notes|
714
+ |------------- | ------------- | ------------- | -------------|
715
+ | **body** | **any**| | |
716
+ | **actualityId** | [**string**] | | defaults to undefined|
717
+
718
+
719
+ ### Return type
720
+
721
+ **UpdateActuality200Response**
722
+
723
+ ### Authorization
724
+
725
+ [bearerAuth](../README.md#bearerAuth)
726
+
727
+ ### HTTP request headers
728
+
729
+ - **Content-Type**: application/json
730
+ - **Accept**: application/json
731
+
732
+
733
+ ### HTTP response details
734
+ | Status code | Description | Response headers |
735
+ |-------------|-------------|------------------|
736
+ |**200** | Actualité mise à jour | - |
737
+
738
+ [[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)
739
+
740
+ # **updateClub**
741
+ > ClubResponse updateClub(updateClubRequest)
742
+
743
+ Met à jour les informations d\'un club
744
+
745
+ ### Example
746
+
747
+ ```typescript
748
+ import {
749
+ ClubsManagerApi,
750
+ Configuration,
751
+ UpdateClubRequest
752
+ } from '@tennac-booking/sdk';
753
+
754
+ const configuration = new Configuration();
755
+ const apiInstance = new ClubsManagerApi(configuration);
756
+
757
+ let updateClubRequest: UpdateClubRequest; //
758
+
759
+ const { status, data } = await apiInstance.updateClub(
760
+ updateClubRequest
761
+ );
762
+ ```
763
+
764
+ ### Parameters
765
+
766
+ |Name | Type | Description | Notes|
767
+ |------------- | ------------- | ------------- | -------------|
768
+ | **updateClubRequest** | **UpdateClubRequest**| | |
769
+
770
+
771
+ ### Return type
772
+
773
+ **ClubResponse**
774
+
775
+ ### Authorization
776
+
777
+ [bearerAuth](../README.md#bearerAuth)
778
+
779
+ ### HTTP request headers
780
+
781
+ - **Content-Type**: application/json
782
+ - **Accept**: application/json
783
+
784
+
785
+ ### HTTP response details
786
+ | Status code | Description | Response headers |
787
+ |-------------|-------------|------------------|
788
+ |**200** | Club mis à jour | - |
789
+ |**400** | Bad Request | - |
790
+ |**404** | Club non trouvé | - |
791
+ |**500** | Server Error | - |
792
+
793
+ [[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)
794
+
795
+ # **updateClubInfos**
796
+ > any updateClubInfos(body)
797
+
798
+
799
+ ### Example
800
+
801
+ ```typescript
802
+ import {
803
+ ClubsManagerApi,
804
+ Configuration
805
+ } from '@tennac-booking/sdk';
806
+
807
+ const configuration = new Configuration();
808
+ const apiInstance = new ClubsManagerApi(configuration);
809
+
810
+ let body: any; //
811
+
812
+ const { status, data } = await apiInstance.updateClubInfos(
813
+ body
814
+ );
815
+ ```
816
+
817
+ ### Parameters
818
+
819
+ |Name | Type | Description | Notes|
820
+ |------------- | ------------- | ------------- | -------------|
821
+ | **body** | **any**| | |
822
+
823
+
824
+ ### Return type
825
+
826
+ **any**
827
+
828
+ ### Authorization
829
+
830
+ [bearerAuth](../README.md#bearerAuth)
831
+
832
+ ### HTTP request headers
833
+
834
+ - **Content-Type**: application/json
835
+ - **Accept**: application/json
836
+
837
+
838
+ ### HTTP response details
839
+ | Status code | Description | Response headers |
840
+ |-------------|-------------|------------------|
841
+ |**200** | Infos mises à jour | - |
842
+
843
+ [[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)
844
+
845
+ # **updateCourt**
846
+ > any updateCourt(body)
847
+
848
+
849
+ ### Example
850
+
851
+ ```typescript
852
+ import {
853
+ ClubsManagerApi,
854
+ Configuration
855
+ } from '@tennac-booking/sdk';
856
+
857
+ const configuration = new Configuration();
858
+ const apiInstance = new ClubsManagerApi(configuration);
859
+
860
+ let courtId: string; // (default to undefined)
861
+ let body: any; //
862
+
863
+ const { status, data } = await apiInstance.updateCourt(
864
+ courtId,
865
+ body
866
+ );
867
+ ```
868
+
869
+ ### Parameters
870
+
871
+ |Name | Type | Description | Notes|
872
+ |------------- | ------------- | ------------- | -------------|
873
+ | **body** | **any**| | |
874
+ | **courtId** | [**string**] | | defaults to undefined|
875
+
876
+
877
+ ### Return type
878
+
879
+ **any**
880
+
881
+ ### Authorization
882
+
883
+ [bearerAuth](../README.md#bearerAuth)
884
+
885
+ ### HTTP request headers
886
+
887
+ - **Content-Type**: application/json
888
+ - **Accept**: application/json
889
+
890
+
891
+ ### HTTP response details
892
+ | Status code | Description | Response headers |
893
+ |-------------|-------------|------------------|
894
+ |**200** | Terrain mis à jour | - |
895
+
896
+ [[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)
897
+
898
+ # **updateSubscriptionPlanForClub**
899
+ > UpdateSubscriptionPlanForClub200Response updateSubscriptionPlanForClub(body)
900
+
901
+
902
+ ### Example
903
+
904
+ ```typescript
905
+ import {
906
+ ClubsManagerApi,
907
+ Configuration
908
+ } from '@tennac-booking/sdk';
909
+
910
+ const configuration = new Configuration();
911
+ const apiInstance = new ClubsManagerApi(configuration);
912
+
913
+ let priceId: string; // (default to undefined)
914
+ let body: any; //
915
+
916
+ const { status, data } = await apiInstance.updateSubscriptionPlanForClub(
917
+ priceId,
918
+ body
919
+ );
920
+ ```
921
+
922
+ ### Parameters
923
+
924
+ |Name | Type | Description | Notes|
925
+ |------------- | ------------- | ------------- | -------------|
926
+ | **body** | **any**| | |
927
+ | **priceId** | [**string**] | | defaults to undefined|
928
+
929
+
930
+ ### Return type
931
+
932
+ **UpdateSubscriptionPlanForClub200Response**
933
+
934
+ ### Authorization
935
+
936
+ [bearerAuth](../README.md#bearerAuth)
937
+
938
+ ### HTTP request headers
939
+
940
+ - **Content-Type**: application/json
941
+ - **Accept**: application/json
942
+
943
+
944
+ ### HTTP response details
945
+ | Status code | Description | Response headers |
946
+ |-------------|-------------|------------------|
947
+ |**200** | Plan mis à jour | - |
948
+
949
+ [[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)
950
+