@tennac-booking/sdk 1.0.37 → 1.0.38

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 (205) hide show
  1. package/.openapi-generator/FILES +167 -3
  2. package/README.md +243 -5
  3. package/api.ts +14777 -608
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +9884 -571
  8. package/dist/api.js +8453 -10
  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 +9884 -571
  16. package/dist/esm/api.js +8334 -9
  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 +2 -0
  28. package/docs/AddClubMemberRequest.md +22 -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/ApiErrorResponse.md +1 -1
  35. package/docs/BlockSlotResponse.md +22 -0
  36. package/docs/BookingHistoryResponse.md +22 -0
  37. package/docs/BookingHistoryResponseHistoryInner.md +32 -0
  38. package/docs/BookingPaymentStatusResponse.md +24 -0
  39. package/docs/BookingPaymentStatusResponseBooking.md +26 -0
  40. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +36 -0
  41. package/docs/BookingPaymentStatusResponseSummary.md +28 -0
  42. package/docs/BookingPopulated.md +28 -0
  43. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +22 -0
  44. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +24 -0
  45. package/docs/BookingPopulatedSlotId.md +26 -0
  46. package/docs/BookingPopulatedSlotIdCourtId.md +28 -0
  47. package/docs/BookingPopulatedSlotIdCourtIdSportId.md +22 -0
  48. package/docs/BookingPopulatedUserId.md +24 -0
  49. package/docs/BookingResponse.md +28 -0
  50. package/docs/BookingsApi.md +113 -0
  51. package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +20 -0
  52. package/docs/CancelBookingResponse.md +22 -0
  53. package/docs/CancelBookingResponseBooking.md +30 -0
  54. package/docs/ChangePasswordRequestBody.md +22 -0
  55. package/docs/ChangePasswordResponse.md +20 -0
  56. package/docs/CheckInPlayersResponse.md +30 -0
  57. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +34 -0
  58. package/docs/ClubAnalyticsApi.md +241 -0
  59. package/docs/ClubInfoResponse.md +48 -0
  60. package/docs/ClubMember.md +24 -0
  61. package/docs/ClubMembersResponse.md +22 -0
  62. package/docs/ClubRoleResponse.md +6 -6
  63. package/docs/ClubRolesResponse.md +22 -0
  64. package/docs/ClubSettings.md +21 -9
  65. package/docs/ClubStaffResponse.md +48 -0
  66. package/docs/ClubsApi.md +61 -0
  67. package/docs/ConfirmPaymentMethodSetupRequestBody.md +20 -0
  68. package/docs/ConfirmPaymentMethodSetupResponse.md +22 -0
  69. package/docs/CourtDeleteResponse.md +20 -0
  70. package/docs/CourtResponse.md +18 -16
  71. package/docs/CourtStatus.md +5 -2
  72. package/docs/CourtWithNameResponse.md +48 -0
  73. package/docs/CourtsResponse.md +22 -0
  74. package/docs/CourtsWithNameResponse.md +22 -0
  75. package/docs/CreateBookingRequest.md +28 -0
  76. package/docs/CreateClubRoleRequestBody.md +24 -0
  77. package/docs/CreateCourtRequest.md +36 -0
  78. package/docs/CreateEventRequest.md +30 -0
  79. package/docs/CreatePriceRequest.md +26 -0
  80. package/docs/CreateSportRequest.md +26 -0
  81. package/docs/CreateSubscriptionPlanRequest.md +24 -0
  82. package/docs/DailyTurnoverResponse.md +24 -0
  83. package/docs/DeleteClubRole200Response.md +20 -0
  84. package/docs/DeleteEvent200Response.md +20 -0
  85. package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
  86. package/docs/DeleteSport200Response.md +20 -0
  87. package/docs/Event.md +40 -0
  88. package/docs/EventBooking.md +32 -0
  89. package/docs/EventRegistrationRequest.md +22 -0
  90. package/docs/EventsApi.md +119 -0
  91. package/docs/FavoriteClubItem.md +26 -0
  92. package/docs/FavoriteClubResponse.md +22 -0
  93. package/docs/FavoritePlayerPublic.md +28 -0
  94. package/docs/FavoritePlayersIdsResponse.md +22 -0
  95. package/docs/FavoritePlayersResponse.md +20 -0
  96. package/docs/{UserResponseFrequentlyPlayedWithInner.md → FrequentlyPlayedWithItem.md} +3 -3
  97. package/docs/{UserResponseFrequentlyVisitedClubsInner.md → FrequentlyVisitedClubItem.md} +3 -3
  98. package/docs/GenderPercentage.md +26 -0
  99. package/docs/GetActiveClubs200Response.md +20 -0
  100. package/docs/GetClubInfos200Response.md +30 -0
  101. package/docs/GetClubUsersById200Response.md +20 -0
  102. package/docs/GetCourtsByClubAndSport200Response.md +26 -0
  103. package/docs/GetInfillPercentagePerPeriod200Response.md +24 -0
  104. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +22 -0
  105. package/docs/GetNumberOfClubUsers200Response.md +20 -0
  106. package/docs/GetPublishedEventsByClubId200Response.md +20 -0
  107. package/docs/GetUserRolesResponse.md +20 -0
  108. package/docs/GetUserRolesResponseRolesInner.md +26 -0
  109. package/docs/GetUserSubscriptionsResponse.md +22 -0
  110. package/docs/GoogleSignInRequestBody.md +20 -0
  111. package/docs/GoogleSignInResponse.md +24 -0
  112. package/docs/InitiateSubscriptionSessionRequestBody.md +26 -0
  113. package/docs/InitiateSubscriptionSessionResponse.md +22 -0
  114. package/docs/InvoicesResponse.md +22 -0
  115. package/docs/InvoicesResponseInvoicesInner.md +34 -0
  116. package/docs/InvoicesResponsePagination.md +26 -0
  117. package/docs/LevelBySportsItem.md +22 -0
  118. package/docs/LoginRequestBody.md +22 -0
  119. package/docs/LoginResponse.md +28 -0
  120. package/docs/ManagerBookingsApi.md +125 -0
  121. package/docs/ManagerCancelBookingRequest.md +20 -0
  122. package/docs/ManagerCancelBookingResponse.md +22 -0
  123. package/docs/ManagerCancelBookingResponseBooking.md +30 -0
  124. package/docs/ManagerClubCourtsApi.md +220 -0
  125. package/docs/ManagerClubRolesApi.md +268 -0
  126. package/docs/ManagerClubSlotsApi.md +119 -0
  127. package/docs/ManagerClubSubscriptionsApi.md +387 -0
  128. package/docs/ManagerClubsApi.md +253 -0
  129. package/docs/ManagerEventResponse.md +22 -0
  130. package/docs/ManagerEventsApi.md +227 -0
  131. package/docs/ManagerSportsApi.md +119 -0
  132. package/docs/MonthlyTurnoverResponse.md +28 -0
  133. package/docs/NoShowFeeResponse.md +30 -0
  134. package/docs/NoShowFeeResponseCaptureResultsInner.md +30 -0
  135. package/docs/NoShowFeeResponseCreatorChargeResult.md +26 -0
  136. package/docs/PaymentStatus.md +30 -0
  137. package/docs/PlayerWithPaymentMethod.md +22 -0
  138. package/docs/PriceResponse.md +2 -8
  139. package/docs/ProfilePictureResponse.md +20 -0
  140. package/docs/ProfileVisibilityResponse.md +20 -0
  141. package/docs/PublicClubUser.md +46 -0
  142. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +28 -0
  143. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +24 -0
  144. package/docs/{UserResponseLevelBySportsInner.md → PublicClubUserLevelBySportsInner.md} +3 -3
  145. package/docs/RefreshTokenRequestBody.md +20 -0
  146. package/docs/RefreshTokenResponse.md +22 -0
  147. package/docs/RegisterForEvent201Response.md +20 -0
  148. package/docs/{User.md → RegisterRequestBody.md} +5 -9
  149. package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
  150. package/docs/SetupPaymentMethodRequestBody.md +20 -0
  151. package/docs/SetupPaymentMethodResponse.md +24 -0
  152. package/docs/SlotResponse.md +2 -10
  153. package/docs/SlotsResponse.md +22 -0
  154. package/docs/Sport.md +0 -2
  155. package/docs/SportResponse.md +4 -2
  156. package/docs/StaffBookingsApi.md +61 -0
  157. package/docs/StaffClubAnalyticsApi.md +254 -0
  158. package/docs/StaffClubBookingsApi.md +52 -0
  159. package/docs/StaffClubsApi.md +147 -0
  160. package/docs/StaffEventResponse.md +20 -0
  161. package/docs/StaffEventsApi.md +54 -0
  162. package/docs/StaffProfileApi.md +110 -0
  163. package/docs/SubscribeToClubRequestBody.md +22 -0
  164. package/docs/SubscriptionPlanResponse.md +32 -0
  165. package/docs/UpdateClubRequest.md +34 -0
  166. package/docs/UpdateClubRoleRequestBody.md +24 -0
  167. package/docs/UpdateClubSettingsRequest.md +28 -0
  168. package/docs/UpdateCourtRequest.md +38 -0
  169. package/docs/UpdateCustomerRequestBody.md +26 -0
  170. package/docs/UpdateCustomerRequestBodyAddress.md +30 -0
  171. package/docs/UpdateCustomerResponse.md +22 -0
  172. package/docs/UpdateCustomerResponseCustomer.md +28 -0
  173. package/docs/UpdateLevelBySportsRequestBody.md +20 -0
  174. package/docs/UpdateProfilePictureRequestBody.md +20 -0
  175. package/docs/UpdateProfileVisibilityRequestBody.md +20 -0
  176. package/docs/UpdateSportRequest.md +24 -0
  177. package/docs/UpdateSubscriptionPlanRequest.md +24 -0
  178. package/docs/UpdateSubscriptionPlanResponse.md +22 -0
  179. package/docs/UpdateUserCityRequestBody.md +20 -0
  180. package/docs/UpdateUserDescriptionRequestBody.md +20 -0
  181. package/docs/UpdateUserRequestBody.md +38 -0
  182. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +22 -0
  183. package/docs/UserApi.md +63 -0
  184. package/docs/UserAuthenticationApi.md +226 -0
  185. package/docs/UserBookingItem.md +46 -0
  186. package/docs/UserBookingsApi.md +166 -0
  187. package/docs/UserBookingsResponse.md +26 -0
  188. package/docs/UserCityResponse.md +20 -0
  189. package/docs/UserClubCourtsApi.md +64 -0
  190. package/docs/UserClubSlotsApi.md +181 -0
  191. package/docs/UserClubSportsApi.md +60 -0
  192. package/docs/UserClubsApi.md +145 -0
  193. package/docs/UserDescriptionResponse.md +20 -0
  194. package/docs/UserFavoriteClubsResponse.md +20 -0
  195. package/docs/UserInfoStaff.md +38 -0
  196. package/docs/UserPaymentApi.md +176 -0
  197. package/docs/UserProfileApi.md +1254 -0
  198. package/docs/UserResponse.md +8 -48
  199. package/docs/UserStaffResponse.md +40 -0
  200. package/docs/UserSubscriptionsApi.md +222 -0
  201. package/docs/UsersApi.md +243 -0
  202. package/docs/YearlyTurnoverResponse.md +26 -0
  203. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +24 -0
  204. package/index.ts +1 -1
  205. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.37
5
+ * The version of the OpenAPI document: 1.0.38
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pandook API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.37
7
+ * The version of the OpenAPI document: 1.0.38
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.37
5
+ * The version of the OpenAPI document: 1.0.38
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Pandook API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.37
7
+ * The version of the OpenAPI document: 1.0.38
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.37
5
+ * The version of the OpenAPI document: 1.0.38
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Pandook API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.37
7
+ * The version of the OpenAPI document: 1.0.38
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.37
5
+ * The version of the OpenAPI document: 1.0.38
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pandook API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.37
7
+ * The version of the OpenAPI document: 1.0.38
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.37
5
+ * The version of the OpenAPI document: 1.0.38
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pandook API
6
6
  * API for managing pickle ball games and players
7
7
  *
8
- * The version of the OpenAPI document: 1.0.37
8
+ * The version of the OpenAPI document: 1.0.38
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
10
10
  **name** | **string** | | [optional] [default to undefined]
11
11
  **location** | [**Location**](Location.md) | | [optional] [default to undefined]
12
12
  **paymentFeature** | **boolean** | | [optional] [default to undefined]
13
+ **isNoShowEnabled** | **boolean** | | [optional] [default to undefined]
13
14
 
14
15
  ## Example
15
16
 
@@ -22,6 +23,7 @@ const instance: ActiveClub = {
22
23
  name,
23
24
  location,
24
25
  paymentFeature,
26
+ isNoShowEnabled,
25
27
  };
26
28
  ```
27
29
 
@@ -0,0 +1,22 @@
1
+ # AddClubMemberRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **userId** | **string** | | [default to undefined]
9
+ **roleId** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AddClubMemberRequest } from '@tennac-booking/sdk';
15
+
16
+ const instance: AddClubMemberRequest = {
17
+ userId,
18
+ roleId,
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
+ # AddClubMemberResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+ **member** | [**ClubMember**](ClubMember.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AddClubMemberResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: AddClubMemberResponse = {
17
+ message,
18
+ member,
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
+ # AddFavoriteClubRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | ID du club à ajouter aux favoris | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AddFavoriteClubRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: AddFavoriteClubRequestBody = {
16
+ clubId,
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
+ # AddFavoritePlayerRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **favoritePlayerId** | **string** | ID de l\'utilisateur à ajouter en favori | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AddFavoritePlayerRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: AddFavoritePlayerRequestBody = {
16
+ favoritePlayerId,
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
+ # AddPaymentMethodSetupRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **paymentMethodId** | **string** | ID Stripe du moyen de paiement à ajouter | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AddPaymentMethodSetupRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: AddPaymentMethodSetupRequestBody = {
16
+ paymentMethodId,
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
+ # AddPaymentMethodSetupResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+ **paymentMethods** | **Array<string>** | | [optional] [default to undefined]
10
+ **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AddPaymentMethodSetupResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: AddPaymentMethodSetupResponse = {
18
+ message,
19
+ paymentMethods,
20
+ defaultPaymentMethodId,
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,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [default to undefined]
8
+ **message** | **string** | | [optional] [default to undefined]
9
9
  **error** | **string** | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
@@ -0,0 +1,22 @@
1
+ # BlockSlotResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+ **slot** | [**Slot**](Slot.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BlockSlotResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: BlockSlotResponse = {
17
+ message,
18
+ slot,
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
+ # BookingHistoryResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **bookingId** | **string** | ID de la réservation | [optional] [default to undefined]
9
+ **history** | [**Array<BookingHistoryResponseHistoryInner>**](BookingHistoryResponseHistoryInner.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BookingHistoryResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: BookingHistoryResponse = {
17
+ bookingId,
18
+ history,
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,32 @@
1
+ # BookingHistoryResponseHistoryInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **slotId** | **string** | ID du créneau réservé | [optional] [default to undefined]
9
+ **userId** | **string** | ID de l\'utilisateur qui a effectué la réservation | [optional] [default to undefined]
10
+ **status** | **string** | Statut de la réservation (active, cancelled, completed) | [optional] [default to undefined]
11
+ **totalPrice** | **number** | Prix total de la réservation | [optional] [default to undefined]
12
+ **paymentStatus** | **string** | Statut du paiement (paid, pending, cancelled) | [optional] [default to undefined]
13
+ **createdAt** | **string** | Date et heure de la création de la réservation | [optional] [default to undefined]
14
+ **updatedAt** | **string** | Date et heure de la dernière mise à jour de la réservation | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { BookingHistoryResponseHistoryInner } from '@tennac-booking/sdk';
20
+
21
+ const instance: BookingHistoryResponseHistoryInner = {
22
+ slotId,
23
+ userId,
24
+ status,
25
+ totalPrice,
26
+ paymentStatus,
27
+ createdAt,
28
+ updatedAt,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # BookingPaymentStatusResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **booking** | [**BookingPaymentStatusResponseBooking**](BookingPaymentStatusResponseBooking.md) | | [optional] [default to undefined]
9
+ **paymentStatus** | [**Array<BookingPaymentStatusResponsePaymentStatusInner>**](BookingPaymentStatusResponsePaymentStatusInner.md) | | [optional] [default to undefined]
10
+ **summary** | [**BookingPaymentStatusResponseSummary**](BookingPaymentStatusResponseSummary.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BookingPaymentStatusResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: BookingPaymentStatusResponse = {
18
+ booking,
19
+ paymentStatus,
20
+ summary,
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
+ # BookingPaymentStatusResponseBooking
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **status** | **string** | | [optional] [default to undefined]
10
+ **isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
11
+ **totalPrice** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { BookingPaymentStatusResponseBooking } from '@tennac-booking/sdk';
17
+
18
+ const instance: BookingPaymentStatusResponseBooking = {
19
+ id,
20
+ status,
21
+ isCreatorPayingAll,
22
+ totalPrice,
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,36 @@
1
+ # BookingPaymentStatusResponsePaymentStatusInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **playerId** | **string** | | [optional] [default to undefined]
9
+ **playerName** | **string** | | [optional] [default to undefined]
10
+ **playerEmail** | **string** | | [optional] [default to undefined]
11
+ **amount** | **number** | | [optional] [default to undefined]
12
+ **paymentMethod** | **string** | | [optional] [default to undefined]
13
+ **status** | **string** | | [optional] [default to undefined]
14
+ **accepted** | **boolean** | | [optional] [default to undefined]
15
+ **hasPaid** | **boolean** | | [optional] [default to undefined]
16
+ **needsCheckIn** | **boolean** | Indique si le joueur a besoin d\'être enregistré (paiement sur place en attente) | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { BookingPaymentStatusResponsePaymentStatusInner } from '@tennac-booking/sdk';
22
+
23
+ const instance: BookingPaymentStatusResponsePaymentStatusInner = {
24
+ playerId,
25
+ playerName,
26
+ playerEmail,
27
+ amount,
28
+ paymentMethod,
29
+ status,
30
+ accepted,
31
+ hasPaid,
32
+ needsCheckIn,
33
+ };
34
+ ```
35
+
36
+ [[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
+ # BookingPaymentStatusResponseSummary
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **totalPlayers** | **number** | | [optional] [default to undefined]
9
+ **playersWhoHavePaid** | **number** | | [optional] [default to undefined]
10
+ **playersNeedingCheckIn** | **number** | | [optional] [default to undefined]
11
+ **totalAmount** | **number** | | [optional] [default to undefined]
12
+ **paidAmount** | **number** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { BookingPaymentStatusResponseSummary } from '@tennac-booking/sdk';
18
+
19
+ const instance: BookingPaymentStatusResponseSummary = {
20
+ totalPlayers,
21
+ playersWhoHavePaid,
22
+ playersNeedingCheckIn,
23
+ totalAmount,
24
+ paidAmount,
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,28 @@
1
+ # BookingPopulated
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **status** | **string** | | [optional] [default to undefined]
10
+ **userId** | [**BookingPopulatedUserId**](BookingPopulatedUserId.md) | | [optional] [default to undefined]
11
+ **slotId** | [**BookingPopulatedSlotId**](BookingPopulatedSlotId.md) | | [optional] [default to undefined]
12
+ **paymentByPlayersStatus** | [**Array<BookingPopulatedPaymentByPlayersStatusInner>**](BookingPopulatedPaymentByPlayersStatusInner.md) | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { BookingPopulated } from '@tennac-booking/sdk';
18
+
19
+ const instance: BookingPopulated = {
20
+ id,
21
+ status,
22
+ userId,
23
+ slotId,
24
+ paymentByPlayersStatus,
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,22 @@
1
+ # BookingPopulatedPaymentByPlayersStatusInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **user** | [**BookingPopulatedUserId**](BookingPopulatedUserId.md) | | [optional] [default to undefined]
9
+ **invoices** | [**Array<BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner>**](BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BookingPopulatedPaymentByPlayersStatusInner } from '@tennac-booking/sdk';
15
+
16
+ const instance: BookingPopulatedPaymentByPlayersStatusInner = {
17
+ user,
18
+ invoices,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **amount** | **number** | | [optional] [default to undefined]
10
+ **status** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner } from '@tennac-booking/sdk';
16
+
17
+ const instance: BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner = {
18
+ id,
19
+ amount,
20
+ status,
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
+ # BookingPopulatedSlotId
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **startDate** | **string** | | [optional] [default to undefined]
10
+ **endDate** | **string** | | [optional] [default to undefined]
11
+ **courtId** | [**BookingPopulatedSlotIdCourtId**](BookingPopulatedSlotIdCourtId.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { BookingPopulatedSlotId } from '@tennac-booking/sdk';
17
+
18
+ const instance: BookingPopulatedSlotId = {
19
+ id,
20
+ startDate,
21
+ endDate,
22
+ courtId,
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,28 @@
1
+ # BookingPopulatedSlotIdCourtId
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **surface** | **string** | | [optional] [default to undefined]
11
+ **isIndoor** | **boolean** | | [optional] [default to undefined]
12
+ **sportId** | [**BookingPopulatedSlotIdCourtIdSportId**](BookingPopulatedSlotIdCourtIdSportId.md) | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { BookingPopulatedSlotIdCourtId } from '@tennac-booking/sdk';
18
+
19
+ const instance: BookingPopulatedSlotIdCourtId = {
20
+ id,
21
+ name,
22
+ surface,
23
+ isIndoor,
24
+ sportId,
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,22 @@
1
+ # BookingPopulatedSlotIdCourtIdSportId
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **key** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BookingPopulatedSlotIdCourtIdSportId } from '@tennac-booking/sdk';
15
+
16
+ const instance: BookingPopulatedSlotIdCourtIdSportId = {
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,24 @@
1
+ # BookingPopulatedUserId
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **firstName** | **string** | | [optional] [default to undefined]
10
+ **lastName** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BookingPopulatedUserId } from '@tennac-booking/sdk';
16
+
17
+ const instance: BookingPopulatedUserId = {
18
+ id,
19
+ firstName,
20
+ lastName,
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)