@tennac-booking/sdk 1.0.55 → 1.0.60

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 (228) hide show
  1. package/.openapi-generator/FILES +182 -222
  2. package/README.md +158 -165
  3. package/api.ts +6921 -7583
  4. package/base.ts +2 -2
  5. package/common.ts +2 -2
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +4106 -5418
  8. package/dist/api.js +3585 -2957
  9. package/dist/base.d.ts +2 -2
  10. package/dist/base.js +2 -2
  11. package/dist/common.d.ts +2 -2
  12. package/dist/common.js +2 -2
  13. package/dist/configuration.d.ts +2 -2
  14. package/dist/configuration.js +2 -2
  15. package/dist/esm/api.d.ts +4106 -5418
  16. package/dist/esm/api.js +3511 -2862
  17. package/dist/esm/base.d.ts +2 -2
  18. package/dist/esm/base.js +2 -2
  19. package/dist/esm/common.d.ts +2 -2
  20. package/dist/esm/common.js +2 -2
  21. package/dist/esm/configuration.d.ts +2 -2
  22. package/dist/esm/configuration.js +2 -2
  23. package/dist/esm/index.d.ts +2 -2
  24. package/dist/esm/index.js +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.js +2 -2
  27. package/docs/{ApiErrorResponse.md → AddClubMember201Response.md} +6 -6
  28. package/docs/AddClubMemberRequest.md +7 -3
  29. package/docs/BookingAnalyticsResponse.md +34 -0
  30. package/docs/BookingHistory.md +34 -0
  31. package/docs/BookingInfo.md +50 -0
  32. package/docs/BookingPaymentStatusResponse.md +3 -3
  33. package/docs/BookingPaymentStatusResponseBooking.md +8 -7
  34. package/docs/BookingPaymentStatusResponseSummary.md +10 -9
  35. package/docs/BookingPopulated.md +5 -5
  36. package/docs/BookingResponse.md +4 -4
  37. package/docs/{UpdateProfileVisibilityRequestBody.md → BookingResponseOnsitePaymentsInner.md} +7 -5
  38. package/docs/BookingStatus.md +9 -1
  39. package/docs/BookingsApi.md +10 -64
  40. package/docs/{ManagerBookingsApi.md → BookingsManagerApi.md} +14 -24
  41. package/docs/BookingsStaffApi.md +323 -0
  42. package/docs/{UserBookingsApi.md → BookingsUserApi.md} +17 -25
  43. package/docs/CancelBookingResponse.md +2 -2
  44. package/docs/CaptureResult.md +30 -0
  45. package/docs/CheckInPlayersRequest.md +20 -0
  46. package/docs/CheckInPlayersResponse.md +6 -6
  47. package/docs/CheckedInPlayer.md +34 -0
  48. package/docs/ClubAnalyticsApi.md +20 -160
  49. package/docs/ClubAnalyticsStaffApi.md +523 -0
  50. package/docs/ClubMemberResponse.md +24 -0
  51. package/docs/ClubMemberResponseUser.md +27 -0
  52. package/docs/ClubPlayerResponse.md +36 -0
  53. package/docs/ClubResponse.md +23 -14
  54. package/docs/ClubResponseCreatedAt.md +19 -0
  55. package/docs/{Location.md → ClubResponseLocation.md} +9 -12
  56. package/docs/{GetNumberOfClubUsers200Response.md → ClubResponseLocationCoordinates.md} +7 -5
  57. package/docs/ClubResponseUpdatedAt.md +19 -0
  58. package/docs/ClubRoleResponse.md +11 -9
  59. package/docs/ClubRolesManagerApi.md +177 -0
  60. package/docs/{StaffClubsApi.md → ClubRolesStaffApi.md} +41 -34
  61. package/docs/{ManagerClubCourtsApi.md → ClubSettingsManagerApi.md} +64 -63
  62. package/docs/ClubSettingsResponse.md +41 -0
  63. package/docs/{AddFavoriteClubRequestBody.md → ClubUserCountResponse.md} +5 -5
  64. package/docs/ClubsApi.md +515 -8
  65. package/docs/ClubsManagerApi.md +1005 -0
  66. package/docs/{ManagerClubsApi.md → ClubsStaffApi.md} +138 -62
  67. package/docs/CourtInfo.md +28 -0
  68. package/docs/CourtResponse.md +16 -16
  69. package/docs/CourtStatus.md +2 -5
  70. package/docs/CreateBookingRequest.md +1 -3
  71. package/docs/CreateClubRequest.md +22 -0
  72. package/docs/CreateClubRoleRequest.md +24 -0
  73. package/docs/CreateClubSettingsRequest.md +34 -0
  74. package/docs/{ActiveClubListResponse.md → CreateCourtForClub201Response.md} +5 -5
  75. package/docs/CreateCourtRequest.md +10 -12
  76. package/docs/CreateEventRequest.md +1 -3
  77. package/docs/CreateSportForClub201Response.md +20 -0
  78. package/docs/{Sport.md → CreateSportForClubRequest.md} +4 -6
  79. package/docs/CreateSportRequest.md +1 -7
  80. package/docs/CreateSubscriptionPlanRequest.md +6 -4
  81. package/docs/CreatorChargeResult.md +26 -0
  82. package/docs/DailyTurnoverResponse.md +3 -3
  83. package/docs/{ManagerSportsApi.md → DefaultApi.md} +35 -38
  84. package/docs/{DeleteEvent200Response.md → DeleteClubResponse.md} +4 -4
  85. package/docs/{CourtDeleteResponse.md → DeleteClubRoleResponse.md} +4 -4
  86. package/docs/DeleteClubSettingsResponse.md +20 -0
  87. package/docs/{DeleteClubRole200Response.md → DeleteCourtResponse.md} +4 -4
  88. package/docs/{DeleteSport200Response.md → DeleteEventResponse.md} +4 -4
  89. package/docs/DeleteSlotsByClubInRange200Response.md +1 -1
  90. package/docs/DeleteSportResponse.md +20 -0
  91. package/docs/EventResponse.md +40 -0
  92. package/docs/EventResponseCourtsInner.md +18 -0
  93. package/docs/EventsApi.md +21 -21
  94. package/docs/{StaffEventResponse.md → EventsListResponse.md} +4 -4
  95. package/docs/{ManagerEventsApi.md → EventsManagerApi.md} +38 -40
  96. package/docs/{StaffEventsApi.md → EventsStaffApi.md} +11 -10
  97. package/docs/{GenderPercentage.md → GenderPercentageResponse.md} +7 -7
  98. package/docs/GetActualities200Response.md +20 -0
  99. package/docs/GetAvailableSlotsBySports200Response.md +20 -0
  100. package/docs/{ClubMembersResponse.md → GetClubMembers200Response.md} +6 -6
  101. package/docs/GetClubRoles200Response.md +20 -0
  102. package/docs/GetClubUsersById200Response.md +1 -1
  103. package/docs/{CourtsResponse.md → GetCourtsByClub200Response.md} +4 -6
  104. package/docs/GetCourtsByClubAndSportById200Response.md +26 -0
  105. package/docs/GetInfillPercentagePerPeriod200Response.md +5 -5
  106. package/docs/{SlotsResponse.md → GetSlotsByClubById200Response.md} +6 -6
  107. package/docs/GetSportsByClubById200Response.md +20 -0
  108. package/docs/{Court.md → ICourtData.md} +18 -6
  109. package/docs/{DiagnosticsResponse.md → InvoiceInfo.md} +8 -8
  110. package/docs/{ClubListResponse.md → LastSixMonthsTurnoverItem.md} +7 -7
  111. package/docs/ManagerCancelBookingRequest.md +1 -1
  112. package/docs/ManagerCancelBookingResponse.md +2 -2
  113. package/docs/MonthlyBreakdown.md +24 -0
  114. package/docs/MonthlyTurnoverResponse.md +6 -5
  115. package/docs/NoShowFeeResponse.md +6 -6
  116. package/docs/PartialClubResponse.md +49 -0
  117. package/docs/PaymentByPlayerInfo.md +22 -0
  118. package/docs/PaymentMethod.md +2 -1
  119. package/docs/PlayerPaymentInfo.md +36 -0
  120. package/docs/PublishEventResponse.md +20 -0
  121. package/docs/SlotInfo.md +26 -0
  122. package/docs/SportAnalyticsResponse.md +24 -0
  123. package/docs/SportInfo.md +22 -0
  124. package/docs/SportResponse.md +8 -11
  125. package/docs/SportWithAnalytics.md +36 -0
  126. package/docs/SportsManagerApi.md +177 -0
  127. package/docs/{StaffClubBookingsApi.md → SportsStaffApi.md} +14 -11
  128. package/docs/SubscriptionPlanResponse.md +4 -14
  129. package/docs/SurfaceType.md +12 -0
  130. package/docs/UpdateActuality200Response.md +20 -0
  131. package/docs/UpdateClubRequest.md +11 -11
  132. package/docs/UpdateClubRequestLocation.md +29 -0
  133. package/docs/{BookingPopulatedSlotIdCourtIdSportId.md → UpdateClubRequestLocationCoordinates.md} +7 -7
  134. package/docs/UpdateClubRoleRequest.md +22 -0
  135. package/docs/UpdateClubSettingsRequest.md +14 -10
  136. package/docs/UpdateSportRequest.md +1 -5
  137. package/docs/UpdateSubscriptionPlanForClub200Response.md +20 -0
  138. package/docs/{BookingPopulatedUserId.md → UserInfo.md} +6 -6
  139. package/docs/UsersApi.md +32 -127
  140. package/docs/YearlyTurnoverResponse.md +4 -4
  141. package/index.ts +2 -2
  142. package/package.json +1 -1
  143. package/docs/ActiveClub.md +0 -30
  144. package/docs/AddClubMemberResponse.md +0 -22
  145. package/docs/AddPaymentMethodSetupRequestBody.md +0 -20
  146. package/docs/AddPaymentMethodSetupResponse.md +0 -24
  147. package/docs/BlockSlotResponse.md +0 -22
  148. package/docs/Booking.md +0 -32
  149. package/docs/BookingHistoryResponse.md +0 -22
  150. package/docs/BookingHistoryResponseHistoryInner.md +0 -32
  151. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +0 -36
  152. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +0 -22
  153. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +0 -24
  154. package/docs/BookingPopulatedSlotId.md +0 -26
  155. package/docs/BookingPopulatedSlotIdCourtId.md +0 -28
  156. package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +0 -20
  157. package/docs/CancelBookingResponseBooking.md +0 -30
  158. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
  159. package/docs/Club.md +0 -40
  160. package/docs/ClubInfoResponse.md +0 -48
  161. package/docs/ClubMember.md +0 -24
  162. package/docs/ClubRole.md +0 -30
  163. package/docs/ClubRolesResponse.md +0 -22
  164. package/docs/ClubSettings.md +0 -40
  165. package/docs/ClubStaffResponse.md +0 -48
  166. package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
  167. package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
  168. package/docs/CourtWithNameResponse.md +0 -48
  169. package/docs/CourtsWithNameResponse.md +0 -22
  170. package/docs/CreateClubRoleRequestBody.md +0 -24
  171. package/docs/CreatePriceRequest.md +0 -26
  172. package/docs/DiagnosticsApi.md +0 -97
  173. package/docs/Event.md +0 -40
  174. package/docs/EventBooking.md +0 -32
  175. package/docs/EventRegistrationRequest.md +0 -22
  176. package/docs/FrequentlyPlayedWithItem.md +0 -28
  177. package/docs/FrequentlyVisitedClubItem.md +0 -24
  178. package/docs/GetActiveClubs200Response.md +0 -20
  179. package/docs/GetClubInfos200Response.md +0 -30
  180. package/docs/GetCourtsByClubAndSport200Response.md +0 -26
  181. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -22
  182. package/docs/GetPublishedEventsByClubId200Response.md +0 -20
  183. package/docs/InvoicesResponse.md +0 -22
  184. package/docs/InvoicesResponseInvoicesInner.md +0 -34
  185. package/docs/InvoicesResponsePagination.md +0 -26
  186. package/docs/LevelBySportsItem.md +0 -22
  187. package/docs/ManagerCancelBookingResponseBooking.md +0 -30
  188. package/docs/ManagerClubRolesApi.md +0 -268
  189. package/docs/ManagerClubSlotsApi.md +0 -119
  190. package/docs/ManagerClubSubscriptionsApi.md +0 -387
  191. package/docs/ManagerEventResponse.md +0 -22
  192. package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
  193. package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
  194. package/docs/PaymentStatus.md +0 -30
  195. package/docs/PriceResponse.md +0 -32
  196. package/docs/PublicClubUser.md +0 -46
  197. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +0 -28
  198. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +0 -24
  199. package/docs/PublicClubUserLevelBySportsInner.md +0 -22
  200. package/docs/RegisterForEvent201Response.md +0 -20
  201. package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
  202. package/docs/SdkDiagnosticsResponse.md +0 -28
  203. package/docs/SdkDiagnosticsResponseOpenapi.md +0 -24
  204. package/docs/SdkDiagnosticsResponseSdk.md +0 -24
  205. package/docs/Slot.md +0 -24
  206. package/docs/SlotException.md +0 -26
  207. package/docs/SlotResponse.md +0 -34
  208. package/docs/StaffBookingsApi.md +0 -61
  209. package/docs/StaffClubAnalyticsApi.md +0 -254
  210. package/docs/StripeLink.md +0 -26
  211. package/docs/StripeStatus.md +0 -16
  212. package/docs/SubscriptionPlan.md +0 -36
  213. package/docs/SubscriptionResponse.md +0 -36
  214. package/docs/UpdateClubRoleRequestBody.md +0 -24
  215. package/docs/UpdateCourtRequest.md +0 -38
  216. package/docs/UpdateProfilePictureRequestBody.md +0 -20
  217. package/docs/UpdateSubscriptionPlanRequest.md +0 -24
  218. package/docs/UpdateSubscriptionPlanResponse.md +0 -22
  219. package/docs/UpdateUserCityRequestBody.md +0 -20
  220. package/docs/UpdateUserDescriptionRequestBody.md +0 -20
  221. package/docs/UserBookingItem.md +0 -46
  222. package/docs/UserClubCourtsApi.md +0 -64
  223. package/docs/UserClubSlotsApi.md +0 -181
  224. package/docs/UserClubSportsApi.md +0 -60
  225. package/docs/UserClubsApi.md +0 -145
  226. package/docs/UserInfoStaff.md +0 -38
  227. package/docs/UserStaffResponse.md +0 -40
  228. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
@@ -1,20 +0,0 @@
1
- # ConfirmPaymentMethodSetupRequestBody
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **setupIntentId** | **string** | ID du Setup Intent à confirmer | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { ConfirmPaymentMethodSetupRequestBody } from '@tennac-booking/sdk';
14
-
15
- const instance: ConfirmPaymentMethodSetupRequestBody = {
16
- setupIntentId,
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)
@@ -1,22 +0,0 @@
1
- # ConfirmPaymentMethodSetupResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | Message de confirmation | [optional] [default to undefined]
9
- **paymentMethodId** | **string** | ID de la méthode de paiement configurée | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { ConfirmPaymentMethodSetupResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: ConfirmPaymentMethodSetupResponse = {
17
- message,
18
- paymentMethodId,
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)
@@ -1,48 +0,0 @@
1
- # CourtWithNameResponse
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
- **status** | [**CourtStatus**](CourtStatus.md) | | [optional] [default to undefined]
11
- **comments** | **string** | | [optional] [default to undefined]
12
- **pricePerHour** | **number** | | [optional] [default to undefined]
13
- **slotDefaultDuration** | **number** | | [optional] [default to undefined]
14
- **startTimeInTheDayInMinutes** | **number** | | [optional] [default to undefined]
15
- **endTimeInTheDayInMinutes** | **number** | | [optional] [default to undefined]
16
- **sportId** | **string** | | [optional] [default to undefined]
17
- **sportName** | **string** | | [optional] [default to undefined]
18
- **clubId** | **string** | | [optional] [default to undefined]
19
- **surface** | **string** | Type de surface | [optional] [default to undefined]
20
- **isIndoor** | **boolean** | Indique si le terrain est en intérieur ou extérieur | [optional] [default to undefined]
21
- **createdAt** | **string** | | [optional] [default to undefined]
22
- **updatedAt** | **string** | | [optional] [default to undefined]
23
-
24
- ## Example
25
-
26
- ```typescript
27
- import { CourtWithNameResponse } from '@tennac-booking/sdk';
28
-
29
- const instance: CourtWithNameResponse = {
30
- id,
31
- name,
32
- status,
33
- comments,
34
- pricePerHour,
35
- slotDefaultDuration,
36
- startTimeInTheDayInMinutes,
37
- endTimeInTheDayInMinutes,
38
- sportId,
39
- sportName,
40
- clubId,
41
- surface,
42
- isIndoor,
43
- createdAt,
44
- updatedAt,
45
- };
46
- ```
47
-
48
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # CourtsWithNameResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **courts** | [**Array<CourtWithNameResponse>**](CourtWithNameResponse.md) | | [optional] [default to undefined]
9
- **total** | **number** | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { CourtsWithNameResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: CourtsWithNameResponse = {
17
- courts,
18
- total,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,24 +0,0 @@
1
- # CreateClubRoleRequestBody
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | Nom du rôle à créer (ex: joueur, coach, admin) | [default to undefined]
9
- **description** | **string** | Description du rôle | [default to undefined]
10
- **permissions** | **Array<string>** | Permissions associées à ce rôle | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { CreateClubRoleRequestBody } from '@tennac-booking/sdk';
16
-
17
- const instance: CreateClubRoleRequestBody = {
18
- name,
19
- description,
20
- permissions,
21
- };
22
- ```
23
-
24
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,26 +0,0 @@
1
- # CreatePriceRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **amount** | **number** | Montant en centimes (ex: 2000 pour 20€) | [default to undefined]
9
- **currency** | **string** | Devise | [default to 'eur']
10
- **interval** | **string** | Intervalle de facturation | [default to undefined]
11
- **intervalCount** | **number** | Nombre d\'intervalles entre chaque facturation | [optional] [default to 1]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { CreatePriceRequest } from '@tennac-booking/sdk';
17
-
18
- const instance: CreatePriceRequest = {
19
- amount,
20
- currency,
21
- interval,
22
- intervalCount,
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)
@@ -1,97 +0,0 @@
1
- # DiagnosticsApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**getSdkDiagnostics**](#getsdkdiagnostics) | **GET** /api/test/sdk-check | Vérifie que la documentation OpenAPI et le SDK sont synchronisés avec la version de l’API|
8
- |[**ping**](#ping) | **GET** /tsoa-test/ping | |
9
-
10
- # **getSdkDiagnostics**
11
- > SdkDiagnosticsResponse getSdkDiagnostics()
12
-
13
-
14
- ### Example
15
-
16
- ```typescript
17
- import {
18
- DiagnosticsApi,
19
- Configuration
20
- } from '@tennac-booking/sdk';
21
-
22
- const configuration = new Configuration();
23
- const apiInstance = new DiagnosticsApi(configuration);
24
-
25
- const { status, data } = await apiInstance.getSdkDiagnostics();
26
- ```
27
-
28
- ### Parameters
29
- This endpoint does not have any parameters.
30
-
31
-
32
- ### Return type
33
-
34
- **SdkDiagnosticsResponse**
35
-
36
- ### Authorization
37
-
38
- [bearerAuth](../README.md#bearerAuth)
39
-
40
- ### HTTP request headers
41
-
42
- - **Content-Type**: Not defined
43
- - **Accept**: application/json
44
-
45
-
46
- ### HTTP response details
47
- | Status code | Description | Response headers |
48
- |-------------|-------------|------------------|
49
- |**200** | Résultat de la vérification | - |
50
- |**500** | Erreur lors de la vérification | - |
51
-
52
- [[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)
53
-
54
- # **ping**
55
- > DiagnosticsResponse ping()
56
-
57
- Endpoint de démonstration généré via TSOA. Permet de valider la configuration du pipeline types -> OpenAPI sans écrire la doc à la main.
58
-
59
- ### Example
60
-
61
- ```typescript
62
- import {
63
- DiagnosticsApi,
64
- Configuration
65
- } from '@tennac-booking/sdk';
66
-
67
- const configuration = new Configuration();
68
- const apiInstance = new DiagnosticsApi(configuration);
69
-
70
- const { status, data } = await apiInstance.ping();
71
- ```
72
-
73
- ### Parameters
74
- This endpoint does not have any parameters.
75
-
76
-
77
- ### Return type
78
-
79
- **DiagnosticsResponse**
80
-
81
- ### Authorization
82
-
83
- No authorization required
84
-
85
- ### HTTP request headers
86
-
87
- - **Content-Type**: Not defined
88
- - **Accept**: application/json
89
-
90
-
91
- ### HTTP response details
92
- | Status code | Description | Response headers |
93
- |-------------|-------------|------------------|
94
- |**200** | Ok | - |
95
-
96
- [[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)
97
-
package/docs/Event.md DELETED
@@ -1,40 +0,0 @@
1
- # Event
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **_id** | **string** | | [optional] [default to undefined]
9
- **clubId** | **string** | | [optional] [default to undefined]
10
- **title** | **string** | | [optional] [default to undefined]
11
- **description** | **string** | | [optional] [default to undefined]
12
- **startDate** | **string** | | [optional] [default to undefined]
13
- **endDate** | **string** | | [optional] [default to undefined]
14
- **courts** | **Array<string>** | | [optional] [default to undefined]
15
- **isActive** | **boolean** | | [optional] [default to undefined]
16
- **createdBy** | **string** | | [optional] [default to undefined]
17
- **createdAt** | **string** | | [optional] [default to undefined]
18
- **updatedAt** | **string** | | [optional] [default to undefined]
19
-
20
- ## Example
21
-
22
- ```typescript
23
- import { Event } from '@tennac-booking/sdk';
24
-
25
- const instance: Event = {
26
- _id,
27
- clubId,
28
- title,
29
- description,
30
- startDate,
31
- endDate,
32
- courts,
33
- isActive,
34
- createdBy,
35
- createdAt,
36
- updatedAt,
37
- };
38
- ```
39
-
40
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,32 +0,0 @@
1
- # EventBooking
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **_id** | **string** | | [optional] [default to undefined]
9
- **eventId** | **string** | | [optional] [default to undefined]
10
- **teamName** | **string** | | [optional] [default to undefined]
11
- **players** | **Array<string>** | | [optional] [default to undefined]
12
- **status** | **string** | | [optional] [default to undefined]
13
- **createdAt** | **string** | | [optional] [default to undefined]
14
- **updatedAt** | **string** | | [optional] [default to undefined]
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import { EventBooking } from '@tennac-booking/sdk';
20
-
21
- const instance: EventBooking = {
22
- _id,
23
- eventId,
24
- teamName,
25
- players,
26
- status,
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)
@@ -1,22 +0,0 @@
1
- # EventRegistrationRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **teamName** | **string** | | [default to undefined]
9
- **players** | **Array<string>** | | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { EventRegistrationRequest } from '@tennac-booking/sdk';
15
-
16
- const instance: EventRegistrationRequest = {
17
- teamName,
18
- players,
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)
@@ -1,28 +0,0 @@
1
- # FrequentlyPlayedWithItem
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **userId** | **string** | | [optional] [default to undefined]
9
- **firstName** | **string** | | [optional] [default to undefined]
10
- **lastName** | **string** | | [optional] [default to undefined]
11
- **profilePicture** | **string** | | [optional] [default to undefined]
12
- **playCount** | **number** | | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { FrequentlyPlayedWithItem } from '@tennac-booking/sdk';
18
-
19
- const instance: FrequentlyPlayedWithItem = {
20
- userId,
21
- firstName,
22
- lastName,
23
- profilePicture,
24
- playCount,
25
- };
26
- ```
27
-
28
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,24 +0,0 @@
1
- # FrequentlyVisitedClubItem
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | | [optional] [default to undefined]
9
- **name** | **string** | | [optional] [default to undefined]
10
- **visitCount** | **number** | | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { FrequentlyVisitedClubItem } from '@tennac-booking/sdk';
16
-
17
- const instance: FrequentlyVisitedClubItem = {
18
- clubId,
19
- name,
20
- visitCount,
21
- };
22
- ```
23
-
24
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # GetActiveClubs200Response
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **clubs** | [**Array<ActiveClub>**](ActiveClub.md) | | [optional] [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { GetActiveClubs200Response } from '@tennac-booking/sdk';
14
-
15
- const instance: GetActiveClubs200Response = {
16
- clubs,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,30 +0,0 @@
1
- # GetClubInfos200Response
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | | [optional] [default to undefined]
9
- **address** | **string** | | [optional] [default to undefined]
10
- **email** | **string** | | [optional] [default to undefined]
11
- **phone** | **string** | | [optional] [default to undefined]
12
- **rib** | **string** | | [optional] [default to undefined]
13
- **websiteUrl** | **string** | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { GetClubInfos200Response } from '@tennac-booking/sdk';
19
-
20
- const instance: GetClubInfos200Response = {
21
- name,
22
- address,
23
- email,
24
- phone,
25
- rib,
26
- websiteUrl,
27
- };
28
- ```
29
-
30
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,26 +0,0 @@
1
- # GetCourtsByClubAndSport200Response
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **courts** | [**Array<CourtResponse>**](CourtResponse.md) | | [optional] [default to undefined]
9
- **total** | **number** | Nombre total de terrains | [optional] [default to undefined]
10
- **clubId** | **string** | ID du club | [optional] [default to undefined]
11
- **sportId** | **string** | ID du sport | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { GetCourtsByClubAndSport200Response } from '@tennac-booking/sdk';
17
-
18
- const instance: GetCourtsByClubAndSport200Response = {
19
- courts,
20
- total,
21
- clubId,
22
- sportId,
23
- };
24
- ```
25
-
26
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # GetLastSixMonthsTurnover200ResponseInner
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **month** | **string** | Month name (3-letter format) | [optional] [default to undefined]
9
- **value** | **number** | Turnover amount for the month | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { GetLastSixMonthsTurnover200ResponseInner } from '@tennac-booking/sdk';
15
-
16
- const instance: GetLastSixMonthsTurnover200ResponseInner = {
17
- month,
18
- value,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # GetPublishedEventsByClubId200Response
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **events** | [**Array<Event>**](Event.md) | | [optional] [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { GetPublishedEventsByClubId200Response } from '@tennac-booking/sdk';
14
-
15
- const instance: GetPublishedEventsByClubId200Response = {
16
- events,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # InvoicesResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **invoices** | [**Array<InvoicesResponseInvoicesInner>**](InvoicesResponseInvoicesInner.md) | | [optional] [default to undefined]
9
- **pagination** | [**InvoicesResponsePagination**](InvoicesResponsePagination.md) | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { InvoicesResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: InvoicesResponse = {
17
- invoices,
18
- pagination,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,34 +0,0 @@
1
- # InvoicesResponseInvoicesInner
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **billNumber** | **string** | | [optional] [default to undefined]
9
- **date** | **string** | | [optional] [default to undefined]
10
- **clientFirstName** | **string** | | [optional] [default to undefined]
11
- **clientLastName** | **string** | | [optional] [default to undefined]
12
- **clientEmail** | **string** | | [optional] [default to undefined]
13
- **totalCost** | **number** | | [optional] [default to undefined]
14
- **status** | **string** | | [optional] [default to undefined]
15
- **linkToInvoicePDF** | **string** | | [optional] [default to undefined]
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import { InvoicesResponseInvoicesInner } from '@tennac-booking/sdk';
21
-
22
- const instance: InvoicesResponseInvoicesInner = {
23
- billNumber,
24
- date,
25
- clientFirstName,
26
- clientLastName,
27
- clientEmail,
28
- totalCost,
29
- status,
30
- linkToInvoicePDF,
31
- };
32
- ```
33
-
34
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,26 +0,0 @@
1
- # InvoicesResponsePagination
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **total** | **number** | | [optional] [default to undefined]
9
- **page** | **number** | | [optional] [default to undefined]
10
- **limit** | **number** | | [optional] [default to undefined]
11
- **totalPages** | **number** | | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { InvoicesResponsePagination } from '@tennac-booking/sdk';
17
-
18
- const instance: InvoicesResponsePagination = {
19
- total,
20
- page,
21
- limit,
22
- totalPages,
23
- };
24
- ```
25
-
26
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # LevelBySportsItem
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **sport** | **string** | | [default to undefined]
9
- **level** | **string** | | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { LevelBySportsItem } from '@tennac-booking/sdk';
15
-
16
- const instance: LevelBySportsItem = {
17
- sport,
18
- level,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,30 +0,0 @@
1
- # ManagerCancelBookingResponseBooking
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
- **cancellationReason** | **string** | | [optional] [default to undefined]
11
- **cancelledAt** | **string** | | [optional] [default to undefined]
12
- **cancelledBy** | **string** | | [optional] [default to undefined]
13
- **cancelledByManager** | **boolean** | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { ManagerCancelBookingResponseBooking } from '@tennac-booking/sdk';
19
-
20
- const instance: ManagerCancelBookingResponseBooking = {
21
- id,
22
- status,
23
- cancellationReason,
24
- cancelledAt,
25
- cancelledBy,
26
- cancelledByManager,
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)