@tennac-booking/sdk 1.0.81 → 1.0.83

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 (336) hide show
  1. package/.openapi-generator/FILES +270 -134
  2. package/README.md +356 -123
  3. package/api.ts +18731 -6267
  4. package/base.ts +4 -4
  5. package/common.ts +3 -3
  6. package/configuration.ts +3 -3
  7. package/dist/api.d.ts +12587 -3704
  8. package/dist/api.js +8344 -2830
  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 +12587 -3704
  16. package/dist/esm/api.js +8245 -2731
  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 +48 -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 +696 -0
  56. package/docs/ClubDaySchedule.md +22 -0
  57. package/docs/ClubGeneralSettingsResponse.md +34 -0
  58. package/docs/ClubHoursSettingsResponse.md +22 -0
  59. package/docs/ClubLocationSettings.md +26 -0
  60. package/docs/ClubMemberResponse.md +24 -0
  61. package/docs/ClubMemberResponseUser.md +27 -0
  62. package/docs/ClubPlayerBookingItem.md +36 -0
  63. package/docs/ClubPlayerBookingsPagination.md +28 -0
  64. package/docs/ClubPlayerBookingsResponse.md +24 -0
  65. package/docs/ClubPlayerDetailResponse.md +46 -0
  66. package/docs/{RestoreSubscriptionPlanForClub200Response.md → ClubPlayerDetailResponseSportsLevelsInner.md} +7 -5
  67. package/docs/ClubPlayerResponse.md +36 -0
  68. package/docs/ClubPlayerStatisticsResponse.md +42 -0
  69. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
  70. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
  71. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
  72. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
  73. package/docs/ClubPlayerSubscriptionSummary.md +28 -0
  74. package/docs/ClubPresentationSettingsResponse.md +26 -0
  75. package/docs/ClubPricingPeriodResponse.md +30 -0
  76. package/docs/ClubReservationAccessSettingsResponse.md +26 -0
  77. package/docs/ClubReservationSettingsResponse.md +36 -0
  78. package/docs/ClubResponse.md +26 -22
  79. package/docs/ClubResponseCreatedAt.md +19 -0
  80. package/docs/ClubResponseLocation.md +29 -0
  81. package/docs/ClubResponseLocationCoordinates.md +22 -0
  82. package/docs/ClubResponseUpdatedAt.md +19 -0
  83. package/docs/ClubRoleResponse.md +11 -9
  84. package/docs/ClubRolesManagerApi.md +177 -0
  85. package/docs/ClubRolesStaffApi.md +154 -0
  86. package/docs/ClubSettingsManagerApi.md +325 -0
  87. package/docs/ClubSettingsResponse.md +41 -0
  88. package/docs/ClubSettingsStaffApi.md +95 -0
  89. package/docs/ClubSubscriptions.md +26 -0
  90. package/docs/ClubSummary.md +28 -0
  91. package/docs/{GetNumberOfClubUsers200Response.md → ClubUserCountResponse.md} +4 -4
  92. package/docs/ClubWeeklySchedule.md +32 -0
  93. package/docs/ClubsApi.md +614 -0
  94. package/docs/ClubsManagerApi.md +1054 -0
  95. package/docs/ClubsStaffApi.md +417 -0
  96. package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
  97. package/docs/ConfirmPaymentMethodResponse.md +22 -0
  98. package/docs/CourtInfo.md +28 -0
  99. package/docs/CourtResponse.md +20 -16
  100. package/docs/CourtStatus.md +2 -5
  101. package/docs/CreateBookingRequest.md +3 -3
  102. package/docs/CreateClubRequest.md +0 -18
  103. package/docs/{ConfirmPaymentMethodSetupRequestBody.md → CreateClubRoleRequest.md} +7 -5
  104. package/docs/CreateClubSettingsRequest.md +15 -9
  105. package/docs/CreateCourtForClub201Response.md +20 -0
  106. package/docs/CreateCourtRequest.md +10 -12
  107. package/docs/CreateEventRequest.md +56 -0
  108. package/docs/CreatePlan201Response.md +22 -0
  109. package/docs/CreateSportForClub201Response.md +20 -0
  110. package/docs/CreateSportForClubRequest.md +26 -0
  111. package/docs/CreateSportRequest.md +6 -6
  112. package/docs/CreateSubscriptionPlanRequest.md +12 -4
  113. package/docs/CreateSubscriptionPlanRequestDiscount.md +32 -0
  114. package/docs/CreatorChargeResult.md +26 -0
  115. package/docs/DailyTurnoverResponse.md +24 -0
  116. package/docs/{StaffSportsApi.md → DefaultApi.md} +18 -18
  117. package/docs/{DeleteSlotsResponse.md → DeleteClubRoleResponse.md} +4 -4
  118. package/docs/DeleteClubSettingsResponse.md +20 -0
  119. package/docs/{DeleteSport200Response.md → DeleteCourtResponse.md} +4 -4
  120. package/docs/{GenerateSlotsResponse.md → DeleteEventResponse.md} +4 -4
  121. package/docs/{DeleteClubRole200Response.md → DeleteSportResponse.md} +4 -4
  122. package/docs/DeleteSubscriptionPlanResponse.md +20 -0
  123. package/docs/{StripeStatus.md → DiscountType.md} +5 -7
  124. package/docs/EventResponse.md +66 -0
  125. package/docs/EventsApi.md +238 -0
  126. package/docs/EventsListResponse.md +20 -0
  127. package/docs/{ManagerClubsApi.md → EventsManagerApi.md} +79 -75
  128. package/docs/{StaffProfileApi.md → EventsStaffApi.md} +14 -13
  129. package/docs/{AddClubMemberResponse.md → FavoriteClubMutationResponse.md} +6 -6
  130. package/docs/{GetClubSettingsRequest.md → FavoriteClubRequestBody.md} +3 -3
  131. package/docs/{BlockSlotResponse.md → FavoriteClubsResponse.md} +5 -7
  132. package/docs/FavoritePlayerMutationResponse.md +22 -0
  133. package/docs/FavoritePlayerRequestBody.md +20 -0
  134. package/docs/FavoritePlayersResponse.md +20 -0
  135. package/docs/Gender.md +12 -0
  136. package/docs/GenderPercentageResponse.md +26 -0
  137. package/docs/GetActualities200Response.md +20 -0
  138. package/docs/GetAvailableSlotsBySports200Response.md +20 -0
  139. package/docs/{ClubMembersResponse.md → GetClubMembers200Response.md} +6 -6
  140. package/docs/GetClubRoles200Response.md +20 -0
  141. package/docs/GetClubUsersById200Response.md +20 -0
  142. package/docs/GetClubsWithVerificationDomains200ResponseInner.md +26 -0
  143. package/docs/GetCourtsByClubAndSportById200Response.md +26 -0
  144. package/docs/GetInfillPercentagePerPeriod200Response.md +24 -0
  145. package/docs/{SlotsResponse.md → GetSlotsByClubById200Response.md} +6 -6
  146. package/docs/GoogleAuthRequestBody.md +20 -0
  147. package/docs/GoogleAuthResponse.md +30 -0
  148. package/docs/GoogleAuthResponseUser.md +26 -0
  149. package/docs/HotelAccessSettings.md +26 -0
  150. package/docs/{Court.md → ICourtData.md} +18 -6
  151. package/docs/ILevelBySports.md +22 -0
  152. package/docs/IUserAttributes.md +82 -0
  153. package/docs/IUserAttributesOrganizationsInner.md +28 -0
  154. package/docs/IUserLocation.md +44 -0
  155. package/docs/InvoiceInfo.md +24 -0
  156. package/docs/JoinEventRequest.md +22 -0
  157. package/docs/{ApiErrorResponse.md → JoinEventResponse.md} +6 -6
  158. package/docs/LastSixMonthsTurnoverItem.md +22 -0
  159. package/docs/{ActiveClub.md → LevelBySportEntry.md} +7 -7
  160. package/docs/LoginResponse.md +2 -0
  161. package/docs/ManagerCancelBookingRequest.md +20 -0
  162. package/docs/ManagerCancelBookingResponse.md +1 -1
  163. package/docs/MonthlyBreakdown.md +24 -0
  164. package/docs/MonthlyTurnoverResponse.md +29 -0
  165. package/docs/NoShowFeeResponse.md +30 -0
  166. package/docs/OffPeakRule.md +26 -0
  167. package/docs/PartialClubResponse.md +51 -0
  168. package/docs/PartialClubWeeklySchedule.md +33 -0
  169. package/docs/PartialHotelAccessSettings.md +27 -0
  170. package/docs/PartialPaymentRequirementsSettings.md +23 -0
  171. package/docs/PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings.md +27 -0
  172. package/docs/PartialPublicAccessSettings.md +25 -0
  173. package/docs/PartialSchoolAccessSettings.md +25 -0
  174. package/docs/PasswordResetRequestBody.md +20 -0
  175. package/docs/PaymentByPlayerInfo.md +22 -0
  176. package/docs/PaymentMethod.md +2 -1
  177. package/docs/PaymentMethodSetupResponse.md +24 -0
  178. package/docs/PaymentRequirementsSettings.md +22 -0
  179. package/docs/PickIUserLocationExcludeKeyofIUserLocationType.md +43 -0
  180. package/docs/PlanInterval.md +14 -0
  181. package/docs/PlayerCategoriesResponse.md +20 -0
  182. package/docs/PlayerCategory.md +26 -0
  183. package/docs/PlayerCategoryId.md +16 -0
  184. package/docs/PlayerListResponse.md +26 -0
  185. package/docs/PlayerPaymentInfo.md +36 -0
  186. package/docs/PlayerSummary.md +42 -0
  187. package/docs/ProfilePictureResponse.md +20 -0
  188. package/docs/{ActiveClubListResponse.md → ProfilePictureUpdateRequestBody.md} +5 -5
  189. package/docs/PublicAccessSettings.md +24 -0
  190. package/docs/PublicSubscriptionPlanResponse.md +30 -0
  191. package/docs/PublicUserProfileResponse.md +44 -0
  192. package/docs/PublishEventResponse.md +20 -0
  193. package/docs/QuickReservationClubSummary.md +28 -0
  194. package/docs/QuickReservationClubSummaryLocation.md +31 -0
  195. package/docs/QuickReservationResponse.md +22 -0
  196. package/docs/QuickReservationSlotSummary.md +42 -0
  197. package/docs/RefreshTokenResponse.md +6 -2
  198. package/docs/RegisterRequestBody.md +6 -0
  199. package/docs/RegisterRequestBodyLocation.md +44 -0
  200. package/docs/RequestPasswordReset200Response.md +20 -0
  201. package/docs/{GoogleSignInResponse.md → ResetPasswordRequest.md} +5 -7
  202. package/docs/SchoolAccessSettings.md +24 -0
  203. package/docs/SetupPaymentMethodRequestBody.md +1 -3
  204. package/docs/SetupPaymentMethodResponse.md +3 -3
  205. package/docs/SlotInfo.md +26 -0
  206. package/docs/SportAnalyticsResponse.md +24 -0
  207. package/docs/SportInfo.md +22 -0
  208. package/docs/SportKey.md +14 -0
  209. package/docs/SportLevel.md +22 -0
  210. package/docs/SportResponse.md +14 -8
  211. package/docs/SportWithLevels.md +30 -0
  212. package/docs/SportsManagerApi.md +180 -0
  213. package/docs/SportsStaffApi.md +55 -0
  214. package/docs/StaffUserProfileResponse.md +86 -0
  215. package/docs/StripeStripeDeletedProduct.md +25 -0
  216. package/docs/StripeStripePrice.md +63 -0
  217. package/docs/StripeStripePriceBillingScheme.md +10 -0
  218. package/docs/StripeStripePriceCurrencyOptions.md +28 -0
  219. package/docs/StripeStripePriceCurrencyOptionsCustomUnitAmount.md +24 -0
  220. package/docs/StripeStripePriceCurrencyOptionsTaxBehavior.md +12 -0
  221. package/docs/StripeStripePriceCurrencyOptionsTier.md +28 -0
  222. package/docs/StripeStripePriceCustomUnitAmount.md +24 -0
  223. package/docs/StripeStripePriceProduct.md +59 -0
  224. package/docs/StripeStripePriceRecurring.md +28 -0
  225. package/docs/StripeStripePriceRecurringInterval.md +14 -0
  226. package/docs/StripeStripePriceRecurringUsageType.md +10 -0
  227. package/docs/StripeStripePriceTaxBehavior.md +12 -0
  228. package/docs/StripeStripePriceTier.md +28 -0
  229. package/docs/StripeStripePriceTiersMode.md +10 -0
  230. package/docs/StripeStripePriceTransformQuantity.md +22 -0
  231. package/docs/StripeStripePriceTransformQuantityRound.md +10 -0
  232. package/docs/StripeStripePriceType.md +10 -0
  233. package/docs/StripeStripeProduct.md +59 -0
  234. package/docs/StripeStripeProductDefaultPrice.md +63 -0
  235. package/docs/StripeStripeProductMarketingFeature.md +20 -0
  236. package/docs/StripeStripeProductPackageDimensions.md +26 -0
  237. package/docs/StripeStripeProductTaxCode.md +27 -0
  238. package/docs/StripeStripeProductType.md +10 -0
  239. package/docs/StripeStripeResponseStripeStripePrice.md +64 -0
  240. package/docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md +30 -0
  241. package/docs/StripeStripeTaxCode.md +27 -0
  242. package/docs/{DeleteClubSettingsRequest.md → SubscribeRequestBody.md} +5 -3
  243. package/docs/SubscriberPrice.md +22 -0
  244. package/docs/SubscriptionMutationResponse.md +20 -0
  245. package/docs/SubscriptionPlanResponse.md +16 -14
  246. package/docs/SubscriptionsManagerApi.md +171 -0
  247. package/docs/{StaffClubsApi.md → SubscriptionsPublicApi.md} +16 -15
  248. package/docs/{UserClubsApi.md → SubscriptionsStaffApi.md} +13 -12
  249. package/docs/SubscriptionsUserApi.md +222 -0
  250. package/docs/SurfaceType.md +12 -0
  251. package/docs/Team.md +22 -0
  252. package/docs/UpdateActuality200Response.md +20 -0
  253. package/docs/{GetClubInfos200Response.md → UpdateClubGeneralSettingsRequest.md} +11 -7
  254. package/docs/UpdateClubHoursSettingsRequest.md +22 -0
  255. package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
  256. package/docs/UpdateClubRequest.md +14 -20
  257. package/docs/UpdateClubRequestLocation.md +29 -0
  258. package/docs/UpdateClubRequestLocationCoordinates.md +22 -0
  259. package/docs/UpdateClubReservationSettingsRequest.md +34 -0
  260. package/docs/UpdateClubRoleRequest.md +22 -0
  261. package/docs/UpdateClubSettingsRequest.md +14 -10
  262. package/docs/UpdateCustomerRequestBody.md +3 -7
  263. package/docs/UpdateCustomerResponse.md +1 -3
  264. package/docs/UpdateEventRequest.md +54 -0
  265. package/docs/{ClubListResponse.md → UpdateLevelBySportsRequestBody.md} +5 -7
  266. package/docs/UpdatePlanRequest.md +22 -0
  267. package/docs/UpdateSportRequest.md +7 -3
  268. package/docs/UpdateSubscriptionPlanForClub200Response.md +20 -0
  269. package/docs/UpdateUserRequestBody.md +8 -2
  270. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +22 -0
  271. package/docs/UserClubSubscription.md +42 -0
  272. package/docs/UserInfo.md +28 -0
  273. package/docs/UserLocationSummary.md +44 -0
  274. package/docs/UserProfileResponse.md +94 -0
  275. package/docs/UserRolesResponse.md +20 -0
  276. package/docs/{GetActiveClubs200Response.md → UserSubscriptionsResponse.md} +5 -5
  277. package/docs/UsersApi.md +1963 -0
  278. package/docs/VerifyEmailRequest.md +20 -0
  279. package/docs/YearlyTurnoverResponse.md +26 -0
  280. package/index.ts +3 -3
  281. package/package.json +5 -4
  282. package/docs/AdminClubSlotsApi.md +0 -62
  283. package/docs/Booking.md +0 -32
  284. package/docs/CancelBookingResponseBooking.md +0 -30
  285. package/docs/Club.md +0 -46
  286. package/docs/ClubInfoResponse.md +0 -46
  287. package/docs/ClubMember.md +0 -34
  288. package/docs/ClubRole.md +0 -30
  289. package/docs/ClubRolesResponse.md +0 -22
  290. package/docs/ClubSettings.md +0 -34
  291. package/docs/ClubsResponse.md +0 -22
  292. package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
  293. package/docs/CourtsResponse.md +0 -22
  294. package/docs/CreateClubRoleRequestBody.md +0 -24
  295. package/docs/CreatePriceRequest.md +0 -26
  296. package/docs/GetCourtsByClubAndSport200Response.md +0 -26
  297. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -24
  298. package/docs/GetUserRolesResponse.md +0 -20
  299. package/docs/GetUserRolesResponseRolesInner.md +0 -26
  300. package/docs/GetUserSubscriptionsResponse.md +0 -22
  301. package/docs/GoogleSignInRequestBody.md +0 -20
  302. package/docs/InitiateSubscriptionSessionRequestBody.md +0 -26
  303. package/docs/InitiateSubscriptionSessionResponse.md +0 -22
  304. package/docs/ManagerCancelBookingResponseBooking.md +0 -30
  305. package/docs/ManagerClubCourtsApi.md +0 -118
  306. package/docs/ManagerClubRolesApi.md +0 -268
  307. package/docs/ManagerClubSlotsApi.md +0 -125
  308. package/docs/ManagerClubSubscriptionsApi.md +0 -408
  309. package/docs/PriceResponse.md +0 -32
  310. package/docs/Slot.md +0 -24
  311. package/docs/SlotException.md +0 -26
  312. package/docs/SlotResponse.md +0 -34
  313. package/docs/Sport.md +0 -24
  314. package/docs/SportsResponse.md +0 -22
  315. package/docs/StaffClubAnalyticsApi.md +0 -111
  316. package/docs/StaffClubBookingsApi.md +0 -59
  317. package/docs/StaffClubSettingsApi.md +0 -62
  318. package/docs/SubscribeToClubRequestBody.md +0 -22
  319. package/docs/SubscriptionPlan.md +0 -36
  320. package/docs/SubscriptionResponse.md +0 -36
  321. package/docs/UpdateClubRoleRequestBody.md +0 -24
  322. package/docs/UpdateCustomerRequestBodyAddress.md +0 -30
  323. package/docs/UpdateCustomerResponseCustomer.md +0 -28
  324. package/docs/UpdateSubscriptionPlanRequest.md +0 -24
  325. package/docs/UpdateSubscriptionPlanResponse.md +0 -22
  326. package/docs/User.md +0 -40
  327. package/docs/UserApi.md +0 -119
  328. package/docs/UserAuthenticationApi.md +0 -226
  329. package/docs/UserClubCourtsApi.md +0 -64
  330. package/docs/UserClubSlotsApi.md +0 -181
  331. package/docs/UserClubSportsApi.md +0 -60
  332. package/docs/UserPaymentApi.md +0 -121
  333. package/docs/UserProfileApi.md +0 -224
  334. package/docs/UserResponse.md +0 -38
  335. package/docs/UserSubscriptionsApi.md +0 -222
  336. package/docs/UsersResponse.md +0 -22
@@ -0,0 +1,24 @@
1
+ # SchoolAccessSettings
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **enabled** | **boolean** | | [default to undefined]
9
+ **emailSuffixes** | **Array<string>** | | [default to undefined]
10
+ **requireCertification** | **boolean** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SchoolAccessSettings } from '@tennac-booking/sdk';
16
+
17
+ const instance: SchoolAccessSettings = {
18
+ enabled,
19
+ emailSuffixes,
20
+ requireCertification,
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)
@@ -5,8 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **userId** | **string** | ID de l\'utilisateur | [default to undefined]
9
- **clubId** | **string** | ID du club | [default to undefined]
8
+ **clubId** | **string** | | [default to undefined]
10
9
 
11
10
  ## Example
12
11
 
@@ -14,7 +13,6 @@ Name | Type | Description | Notes
14
13
  import { SetupPaymentMethodRequestBody } from '@tennac-booking/sdk';
15
14
 
16
15
  const instance: SetupPaymentMethodRequestBody = {
17
- userId,
18
16
  clubId,
19
17
  };
20
18
  ```
@@ -5,9 +5,9 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **setupIntentId** | **string** | ID du Setup Intent Stripe | [optional] [default to undefined]
9
- **clientSecret** | **string** | Client secret pour la configuration côté client | [optional] [default to undefined]
10
- **message** | **string** | Message de confirmation | [optional] [default to undefined]
8
+ **setupIntentId** | **string** | | [default to undefined]
9
+ **clientSecret** | **string** | | [default to undefined]
10
+ **message** | **string** | | [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -0,0 +1,26 @@
1
+ # SlotInfo
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | ID du slot | [default to undefined]
9
+ **startDate** | **string** | Date de début | [default to undefined]
10
+ **endDate** | **string** | Date de fin | [default to undefined]
11
+ **court** | [**CourtInfo**](CourtInfo.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { SlotInfo } from '@tennac-booking/sdk';
17
+
18
+ const instance: SlotInfo = {
19
+ id,
20
+ startDate,
21
+ endDate,
22
+ court,
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,24 @@
1
+ # SportAnalyticsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sportId** | **string** | ID du sport | [default to undefined]
9
+ **courtsCount** | **number** | Nombre de terrains | [default to undefined]
10
+ **bookingsCount** | **number** | Nombre de réservations | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SportAnalyticsResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: SportAnalyticsResponse = {
18
+ sportId,
19
+ courtsCount,
20
+ bookingsCount,
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
+ # SportInfo
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | ID du sport | [default to undefined]
9
+ **key** | **string** | Clé du sport | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SportInfo } from '@tennac-booking/sdk';
15
+
16
+ const instance: SportInfo = {
17
+ id,
18
+ key,
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,14 @@
1
+ # SportKey
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Padel` (value: `'Padel'`)
7
+
8
+ * `Tennis` (value: `'Tennis'`)
9
+
10
+ * `Pickleball` (value: `'Pickleball'`)
11
+
12
+ * `Autres` (value: `'Autres'`)
13
+
14
+ [[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
+ # SportLevel
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Nom du niveau (ex: Débutant, Intermédiaire, Avancé) | [default to undefined]
9
+ **order** | **number** | Ordre du niveau, du plus faible (petit) au plus fort (grand) | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SportLevel } from '@tennac-booking/sdk';
15
+
16
+ const instance: SportLevel = {
17
+ name,
18
+ order,
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)
@@ -5,13 +5,16 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [optional] [default to undefined]
9
- **key** | **string** | | [optional] [default to undefined]
10
- **name** | **string** | | [optional] [default to undefined]
11
- **description** | **string** | | [optional] [default to undefined]
12
- **clubId** | **string** | | [optional] [default to undefined]
13
- **createdAt** | **string** | | [optional] [default to undefined]
14
- **updatedAt** | **string** | | [optional] [default to undefined]
8
+ **id** | **string** | ID unique du sport | [default to undefined]
9
+ **key** | [**SportKey**](SportKey.md) | | [default to undefined]
10
+ **name** | **string** | Nom affiché du sport | [default to undefined]
11
+ **description** | **string** | Description du sport | [optional] [default to undefined]
12
+ **levels** | [**Array<SportLevel>**](SportLevel.md) | Niveaux associés au sport | [optional] [default to undefined]
13
+ **logos** | **Array<string>** | URLs de logos/images pour le sport | [optional] [default to undefined]
14
+ **createdBy** | **string** | ID du club créateur | [optional] [default to undefined]
15
+ **verified** | **boolean** | Sport vérifié/officiel (non modifiable) | [default to undefined]
16
+ **createdAt** | **string** | Date de création | [default to undefined]
17
+ **updatedAt** | **string** | Date de dernière mise à jour | [default to undefined]
15
18
 
16
19
  ## Example
17
20
 
@@ -23,7 +26,10 @@ const instance: SportResponse = {
23
26
  key,
24
27
  name,
25
28
  description,
26
- clubId,
29
+ levels,
30
+ logos,
31
+ createdBy,
32
+ verified,
27
33
  createdAt,
28
34
  updatedAt,
29
35
  };
@@ -0,0 +1,30 @@
1
+ # SportWithLevels
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **key** | **string** | | [default to undefined]
10
+ **name** | **string** | | [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **levels** | [**Array<SportLevel>**](SportLevel.md) | | [optional] [default to undefined]
13
+ **logos** | **Array<string>** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { SportWithLevels } from '@tennac-booking/sdk';
19
+
20
+ const instance: SportWithLevels = {
21
+ id,
22
+ key,
23
+ name,
24
+ description,
25
+ levels,
26
+ logos,
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,180 @@
1
+ # SportsManagerApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createSport**](#createsport) | **POST** /api/sports | |
8
+ |[**deleteSport**](#deletesport) | **DELETE** /api/sports/{id} | |
9
+ |[**updateSport**](#updatesport) | **PUT** /api/sports/{id} | |
10
+
11
+ # **createSport**
12
+ > SportResponse createSport(createSportRequest)
13
+
14
+ Crée un sport (global) avec createdBy = clubId de l\'utilisateur
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ SportsManagerApi,
21
+ Configuration,
22
+ CreateSportRequest
23
+ } from '@tennac-booking/sdk';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new SportsManagerApi(configuration);
27
+
28
+ let createSportRequest: CreateSportRequest; //
29
+
30
+ const { status, data } = await apiInstance.createSport(
31
+ createSportRequest
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **createSportRequest** | **CreateSportRequest**| | |
40
+
41
+
42
+ ### Return type
43
+
44
+ **SportResponse**
45
+
46
+ ### Authorization
47
+
48
+ [bearerAuth](../README.md#bearerAuth)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: application/json
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**201** | Sport créé | - |
60
+ |**400** | Bad Request | - |
61
+ |**401** | Unauthorized | - |
62
+ |**409** | Conflict | - |
63
+ |**500** | Server Error | - |
64
+
65
+ [[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)
66
+
67
+ # **deleteSport**
68
+ > DeleteSportResponse deleteSport()
69
+
70
+ Supprime un sport (interdit si vérifié)
71
+
72
+ ### Example
73
+
74
+ ```typescript
75
+ import {
76
+ SportsManagerApi,
77
+ Configuration
78
+ } from '@tennac-booking/sdk';
79
+
80
+ const configuration = new Configuration();
81
+ const apiInstance = new SportsManagerApi(configuration);
82
+
83
+ let id: string; // (default to undefined)
84
+
85
+ const { status, data } = await apiInstance.deleteSport(
86
+ id
87
+ );
88
+ ```
89
+
90
+ ### Parameters
91
+
92
+ |Name | Type | Description | Notes|
93
+ |------------- | ------------- | ------------- | -------------|
94
+ | **id** | [**string**] | | defaults to undefined|
95
+
96
+
97
+ ### Return type
98
+
99
+ **DeleteSportResponse**
100
+
101
+ ### Authorization
102
+
103
+ [bearerAuth](../README.md#bearerAuth)
104
+
105
+ ### HTTP request headers
106
+
107
+ - **Content-Type**: Not defined
108
+ - **Accept**: application/json
109
+
110
+
111
+ ### HTTP response details
112
+ | Status code | Description | Response headers |
113
+ |-------------|-------------|------------------|
114
+ |**200** | Sport supprimé | - |
115
+ |**401** | Unauthorized | - |
116
+ |**403** | Forbidden - Sport vérifié non supprimable | - |
117
+ |**404** | Sport non trouvé | - |
118
+ |**500** | Server Error | - |
119
+
120
+ [[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)
121
+
122
+ # **updateSport**
123
+ > SportResponse updateSport(updateSportRequest)
124
+
125
+ Met à jour un sport (interdit si vérifié)
126
+
127
+ ### Example
128
+
129
+ ```typescript
130
+ import {
131
+ SportsManagerApi,
132
+ Configuration,
133
+ UpdateSportRequest
134
+ } from '@tennac-booking/sdk';
135
+
136
+ const configuration = new Configuration();
137
+ const apiInstance = new SportsManagerApi(configuration);
138
+
139
+ let id: string; // (default to undefined)
140
+ let updateSportRequest: UpdateSportRequest; //
141
+
142
+ const { status, data } = await apiInstance.updateSport(
143
+ id,
144
+ updateSportRequest
145
+ );
146
+ ```
147
+
148
+ ### Parameters
149
+
150
+ |Name | Type | Description | Notes|
151
+ |------------- | ------------- | ------------- | -------------|
152
+ | **updateSportRequest** | **UpdateSportRequest**| | |
153
+ | **id** | [**string**] | | defaults to undefined|
154
+
155
+
156
+ ### Return type
157
+
158
+ **SportResponse**
159
+
160
+ ### Authorization
161
+
162
+ [bearerAuth](../README.md#bearerAuth)
163
+
164
+ ### HTTP request headers
165
+
166
+ - **Content-Type**: application/json
167
+ - **Accept**: application/json
168
+
169
+
170
+ ### HTTP response details
171
+ | Status code | Description | Response headers |
172
+ |-------------|-------------|------------------|
173
+ |**200** | Sport mis à jour | - |
174
+ |**401** | Unauthorized | - |
175
+ |**403** | Forbidden - Sport vérifié non modifiable | - |
176
+ |**404** | Sport non trouvé | - |
177
+ |**500** | Server Error | - |
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
+
@@ -0,0 +1,55 @@
1
+ # SportsStaffApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getAllSports**](#getallsports) | **GET** /api/sports | |
8
+
9
+ # **getAllSports**
10
+ > Array<SportResponse> getAllSports()
11
+
12
+ Récupère la liste des sports (vérifiés + créés par le club de l\'utilisateur)
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ SportsStaffApi,
19
+ Configuration
20
+ } from '@tennac-booking/sdk';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new SportsStaffApi(configuration);
24
+
25
+ const { status, data } = await apiInstance.getAllSports();
26
+ ```
27
+
28
+ ### Parameters
29
+ This endpoint does not have any parameters.
30
+
31
+
32
+ ### Return type
33
+
34
+ **Array<SportResponse>**
35
+
36
+ ### Authorization
37
+
38
+ [bearerAuth](../README.md#bearerAuth)
39
+
40
+ ### HTTP request headers
41
+
42
+ - **Content-Type**: Not defined
43
+ - **Accept**: staff
44
+
45
+
46
+ ### HTTP response details
47
+ | Status code | Description | Response headers |
48
+ |-------------|-------------|------------------|
49
+ |**200** | Liste des sports | - |
50
+ |**400** | Bad Request | - |
51
+ |**401** | Unauthorized | - |
52
+ |**500** | Server Error | - |
53
+
54
+ [[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)
55
+
@@ -0,0 +1,86 @@
1
+ # StaffUserProfileResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **username** | **string** | | [optional] [default to undefined]
9
+ **googleId** | **string** | | [optional] [default to undefined]
10
+ **firstName** | **string** | | [default to undefined]
11
+ **lastName** | **string** | | [default to undefined]
12
+ **email** | **string** | | [default to undefined]
13
+ **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
14
+ **location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
15
+ **isAccountVerified** | **boolean** | | [default to undefined]
16
+ **isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
17
+ **levelBySports** | [**Array&lt;ILevelBySports&gt;**](ILevelBySports.md) | | [optional] [default to undefined]
18
+ **stripeCustomerId** | **string** | | [optional] [default to undefined]
19
+ **phone** | **string** | | [optional] [default to undefined]
20
+ **password** | **string** | | [optional] [default to undefined]
21
+ **profilePicture** | **string** | | [optional] [default to undefined]
22
+ **resetPasswordToken** | **string** | | [optional] [default to undefined]
23
+ **resetPasswordExpires** | **string** | | [optional] [default to undefined]
24
+ **emailVerificationToken** | **string** | | [optional] [default to undefined]
25
+ **emailVerificationExpires** | **string** | | [optional] [default to undefined]
26
+ **organizations** | [**Array&lt;IUserAttributesOrganizationsInner&gt;**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined]
27
+ **isAdmin** | **boolean** | | [default to undefined]
28
+ **createdAt** | **string** | | [default to undefined]
29
+ **updatedAt** | **string** | | [default to undefined]
30
+ **isLevelCertified** | **boolean** | | [optional] [default to undefined]
31
+ **paymentMethods** | **Array&lt;string&gt;** | | [optional] [default to undefined]
32
+ **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
33
+ **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
34
+ **setupIntentId** | **string** | | [optional] [default to undefined]
35
+ **favoriteClubs** | **Array&lt;string&gt;** | | [optional] [default to undefined]
36
+ **description** | **string** | | [optional] [default to undefined]
37
+ **isProfileVisible** | **boolean** | | [default to undefined]
38
+ **favoritePlayers** | **Array&lt;string&gt;** | | [optional] [default to undefined]
39
+ **sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
40
+ **isSubscribedToMyClub** | **boolean** | | [optional] [default to undefined]
41
+ **creditOnMyClub** | **number** | | [optional] [default to undefined]
42
+
43
+ ## Example
44
+
45
+ ```typescript
46
+ import { StaffUserProfileResponse } from '@tennac-booking/sdk';
47
+
48
+ const instance: StaffUserProfileResponse = {
49
+ username,
50
+ googleId,
51
+ firstName,
52
+ lastName,
53
+ email,
54
+ gender,
55
+ location,
56
+ isAccountVerified,
57
+ isCreditCardRegistered,
58
+ levelBySports,
59
+ stripeCustomerId,
60
+ phone,
61
+ password,
62
+ profilePicture,
63
+ resetPasswordToken,
64
+ resetPasswordExpires,
65
+ emailVerificationToken,
66
+ emailVerificationExpires,
67
+ organizations,
68
+ isAdmin,
69
+ createdAt,
70
+ updatedAt,
71
+ isLevelCertified,
72
+ paymentMethods,
73
+ defaultPaymentMethodId,
74
+ paymentMethodSetupCompleted,
75
+ setupIntentId,
76
+ favoriteClubs,
77
+ description,
78
+ isProfileVisible,
79
+ favoritePlayers,
80
+ sports,
81
+ isSubscribedToMyClub,
82
+ creditOnMyClub,
83
+ };
84
+ ```
85
+
86
+ [[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,25 @@
1
+ # StripeStripeDeletedProduct
2
+
3
+ The DeletedProduct object.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | Unique identifier for the object. | [default to undefined]
10
+ **object** | **string** | String representing the object\&#39;s type. Objects of the same type share the same value. | [default to undefined]
11
+ **deleted** | **boolean** | Always true for a deleted object | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { StripeStripeDeletedProduct } from '@tennac-booking/sdk';
17
+
18
+ const instance: StripeStripeDeletedProduct = {
19
+ id,
20
+ object,
21
+ deleted,
22
+ };
23
+ ```
24
+
25
+ [[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,63 @@
1
+ # StripeStripePrice
2
+
3
+ Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products. [Products](https://stripe.com/docs/api#products) help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme. For example, you might have a single \"gold\" product that has prices for $10/month, $100/year, and €9 once. Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), [create an invoice](https://stripe.com/docs/billing/invoices/create), and more about [products and prices](https://stripe.com/docs/products-prices/overview).
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | Unique identifier for the object. | [default to undefined]
10
+ **object** | **string** | String representing the object\&#39;s type. Objects of the same type share the same value. | [default to undefined]
11
+ **active** | **boolean** | Whether the price can be used for new purchases. | [default to undefined]
12
+ **billing_scheme** | [**StripeStripePriceBillingScheme**](StripeStripePriceBillingScheme.md) | | [default to undefined]
13
+ **created** | **number** | Time at which the object was created. Measured in seconds since the Unix epoch. | [default to undefined]
14
+ **currency** | **string** | Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). | [default to undefined]
15
+ **currency_options** | [**{ [key: string]: StripeStripePriceCurrencyOptions; }**](StripeStripePriceCurrencyOptions.md) | Prices defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies). | [optional] [default to undefined]
16
+ **custom_unit_amount** | [**StripeStripePriceCustomUnitAmount**](StripeStripePriceCustomUnitAmount.md) | When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links. | [default to undefined]
17
+ **deleted** | **any** | Always true for a deleted object | [optional] [default to undefined]
18
+ **livemode** | **boolean** | Has the value &#x60;true&#x60; if the object exists in live mode or the value &#x60;false&#x60; if the object exists in test mode. | [default to undefined]
19
+ **lookup_key** | **string** | A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters. | [default to undefined]
20
+ **metadata** | **{ [key: string]: string; }** | Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. | [default to undefined]
21
+ **nickname** | **string** | A brief description of the price, hidden from customers. | [default to undefined]
22
+ **product** | [**StripeStripePriceProduct**](StripeStripePriceProduct.md) | | [default to undefined]
23
+ **recurring** | [**StripeStripePriceRecurring**](StripeStripePriceRecurring.md) | The recurring components of a price such as &#x60;interval&#x60; and &#x60;usage_type&#x60;. | [default to undefined]
24
+ **tax_behavior** | [**StripeStripePriceTaxBehavior**](StripeStripePriceTaxBehavior.md) | Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of &#x60;inclusive&#x60;, &#x60;exclusive&#x60;, or &#x60;unspecified&#x60;. Once specified as either &#x60;inclusive&#x60; or &#x60;exclusive&#x60;, it cannot be changed. | [default to undefined]
25
+ **tiers** | [**Array&lt;StripeStripePriceTier&gt;**](StripeStripePriceTier.md) | Each element represents a pricing tier. This parameter requires &#x60;billing_scheme&#x60; to be set to &#x60;tiered&#x60;. See also the documentation for &#x60;billing_scheme&#x60;. | [optional] [default to undefined]
26
+ **tiers_mode** | [**StripeStripePriceTiersMode**](StripeStripePriceTiersMode.md) | Defines if the tiering price should be &#x60;graduated&#x60; or &#x60;volume&#x60; based. In &#x60;volume&#x60;-based tiering, the maximum quantity within a period determines the per unit price. In &#x60;graduated&#x60; tiering, pricing can change as the quantity grows. | [default to undefined]
27
+ **transform_quantity** | [**StripeStripePriceTransformQuantity**](StripeStripePriceTransformQuantity.md) | Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with &#x60;tiers&#x60;. | [default to undefined]
28
+ **type** | [**StripeStripePriceType**](StripeStripePriceType.md) | | [default to undefined]
29
+ **unit_amount** | **number** | The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if &#x60;billing_scheme&#x3D;per_unit&#x60;. | [default to undefined]
30
+ **unit_amount_decimal** | **string** | The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if &#x60;billing_scheme&#x3D;per_unit&#x60;. | [default to undefined]
31
+
32
+ ## Example
33
+
34
+ ```typescript
35
+ import { StripeStripePrice } from '@tennac-booking/sdk';
36
+
37
+ const instance: StripeStripePrice = {
38
+ id,
39
+ object,
40
+ active,
41
+ billing_scheme,
42
+ created,
43
+ currency,
44
+ currency_options,
45
+ custom_unit_amount,
46
+ deleted,
47
+ livemode,
48
+ lookup_key,
49
+ metadata,
50
+ nickname,
51
+ product,
52
+ recurring,
53
+ tax_behavior,
54
+ tiers,
55
+ tiers_mode,
56
+ transform_quantity,
57
+ type,
58
+ unit_amount,
59
+ unit_amount_decimal,
60
+ };
61
+ ```
62
+
63
+ [[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,10 @@
1
+ # StripeStripePriceBillingScheme
2
+
3
+
4
+ ## Enum
5
+
6
+ * `PerUnit` (value: `'per_unit'`)
7
+
8
+ * `Tiered` (value: `'tiered'`)
9
+
10
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)