@tennac-booking/sdk 1.0.34 → 1.0.36

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 (202) hide show
  1. package/.openapi-generator/FILES +5 -161
  2. package/README.md +7 -230
  3. package/api.ts +672 -13535
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +652 -9153
  8. package/dist/api.js +12 -7641
  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 +652 -9153
  16. package/dist/esm/api.js +11 -7530
  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 +4 -2
  28. package/docs/ApiErrorResponse.md +1 -1
  29. package/docs/Club.md +6 -12
  30. package/docs/ClubResponse.md +8 -14
  31. package/docs/ClubRoleResponse.md +6 -6
  32. package/docs/ClubSettings.md +9 -21
  33. package/docs/Court.md +2 -2
  34. package/docs/CourtResponse.md +16 -18
  35. package/docs/CourtStatus.md +2 -5
  36. package/docs/{UpdateCustomerRequestBodyAddress.md → Location.md} +13 -11
  37. package/docs/PriceResponse.md +8 -2
  38. package/docs/SlotResponse.md +10 -2
  39. package/docs/SportResponse.md +2 -4
  40. package/docs/{GetUserRolesResponseRolesInner.md → StripeLink.md} +7 -7
  41. package/docs/UserResponse.md +48 -8
  42. package/docs/{FrequentlyPlayedWithItem.md → UserResponseFrequentlyPlayedWithInner.md} +3 -3
  43. package/docs/{FrequentlyVisitedClubItem.md → UserResponseFrequentlyVisitedClubsInner.md} +3 -3
  44. package/docs/{PublicClubUserLevelBySportsInner.md → UserResponseLevelBySportsInner.md} +3 -3
  45. package/index.ts +1 -1
  46. package/package.json +1 -1
  47. package/docs/AddClubMemberRequest.md +0 -22
  48. package/docs/AddClubMemberResponse.md +0 -22
  49. package/docs/AddFavoriteClubRequestBody.md +0 -20
  50. package/docs/AddFavoritePlayerRequestBody.md +0 -20
  51. package/docs/AddPaymentMethodSetupRequestBody.md +0 -20
  52. package/docs/AddPaymentMethodSetupResponse.md +0 -24
  53. package/docs/BlockSlotResponse.md +0 -22
  54. package/docs/BookingHistoryResponse.md +0 -22
  55. package/docs/BookingHistoryResponseHistoryInner.md +0 -32
  56. package/docs/BookingPaymentStatusResponse.md +0 -24
  57. package/docs/BookingPaymentStatusResponseBooking.md +0 -26
  58. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +0 -36
  59. package/docs/BookingPaymentStatusResponseSummary.md +0 -28
  60. package/docs/BookingPopulated.md +0 -28
  61. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +0 -22
  62. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +0 -24
  63. package/docs/BookingPopulatedSlotId.md +0 -26
  64. package/docs/BookingPopulatedSlotIdCourtId.md +0 -22
  65. package/docs/BookingPopulatedUserId.md +0 -24
  66. package/docs/BookingResponse.md +0 -28
  67. package/docs/BookingsApi.md +0 -113
  68. package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +0 -20
  69. package/docs/CancelBookingResponse.md +0 -22
  70. package/docs/CancelBookingResponseBooking.md +0 -30
  71. package/docs/ChangePasswordRequestBody.md +0 -22
  72. package/docs/ChangePasswordResponse.md +0 -20
  73. package/docs/CheckInPlayersResponse.md +0 -30
  74. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
  75. package/docs/ClubAnalyticsApi.md +0 -241
  76. package/docs/ClubInfoResponse.md +0 -48
  77. package/docs/ClubMember.md +0 -24
  78. package/docs/ClubMembersResponse.md +0 -22
  79. package/docs/ClubRolesResponse.md +0 -22
  80. package/docs/ClubsApi.md +0 -61
  81. package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
  82. package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
  83. package/docs/CourtDeleteResponse.md +0 -20
  84. package/docs/CourtWithNameResponse.md +0 -46
  85. package/docs/CourtsResponse.md +0 -22
  86. package/docs/CourtsWithNameResponse.md +0 -22
  87. package/docs/CreateBookingRequest.md +0 -28
  88. package/docs/CreateClubRoleRequestBody.md +0 -24
  89. package/docs/CreateCourtRequest.md +0 -36
  90. package/docs/CreateEventRequest.md +0 -30
  91. package/docs/CreatePriceRequest.md +0 -26
  92. package/docs/CreateSportRequest.md +0 -26
  93. package/docs/CreateSubscriptionPlanRequest.md +0 -24
  94. package/docs/DailyTurnoverResponse.md +0 -24
  95. package/docs/DeleteClubRole200Response.md +0 -20
  96. package/docs/DeleteEvent200Response.md +0 -20
  97. package/docs/DeleteSlotsByClubInRange200Response.md +0 -20
  98. package/docs/DeleteSport200Response.md +0 -20
  99. package/docs/Event.md +0 -40
  100. package/docs/EventBooking.md +0 -32
  101. package/docs/EventRegistrationRequest.md +0 -22
  102. package/docs/EventsApi.md +0 -119
  103. package/docs/FavoriteClubItem.md +0 -26
  104. package/docs/FavoriteClubResponse.md +0 -22
  105. package/docs/FavoritePlayerPublic.md +0 -28
  106. package/docs/FavoritePlayersIdsResponse.md +0 -22
  107. package/docs/FavoritePlayersResponse.md +0 -20
  108. package/docs/GetActiveClubs200Response.md +0 -20
  109. package/docs/GetClubInfos200Response.md +0 -30
  110. package/docs/GetClubPlayers200Response.md +0 -22
  111. package/docs/GetClubUsersById200Response.md +0 -20
  112. package/docs/GetCourtsByClubAndSport200Response.md +0 -26
  113. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -22
  114. package/docs/GetNumberOfClubUsers200Response.md +0 -20
  115. package/docs/GetPublishedEventsByClubId200Response.md +0 -20
  116. package/docs/GetUserRolesResponse.md +0 -20
  117. package/docs/GetUserSubscriptionsResponse.md +0 -22
  118. package/docs/GoogleSignInRequestBody.md +0 -20
  119. package/docs/GoogleSignInResponse.md +0 -24
  120. package/docs/InitiateSubscriptionSessionRequestBody.md +0 -26
  121. package/docs/InitiateSubscriptionSessionResponse.md +0 -22
  122. package/docs/InvoicesResponse.md +0 -22
  123. package/docs/InvoicesResponseInvoicesInner.md +0 -34
  124. package/docs/InvoicesResponsePagination.md +0 -26
  125. package/docs/LevelBySportsItem.md +0 -22
  126. package/docs/LoginRequestBody.md +0 -22
  127. package/docs/LoginResponse.md +0 -28
  128. package/docs/ManagerBookingsApi.md +0 -125
  129. package/docs/ManagerCancelBookingRequest.md +0 -20
  130. package/docs/ManagerCancelBookingResponse.md +0 -22
  131. package/docs/ManagerCancelBookingResponseBooking.md +0 -30
  132. package/docs/ManagerClubCourtsApi.md +0 -220
  133. package/docs/ManagerClubRolesApi.md +0 -268
  134. package/docs/ManagerClubSlotsApi.md +0 -119
  135. package/docs/ManagerClubSubscriptionsApi.md +0 -387
  136. package/docs/ManagerClubsApi.md +0 -253
  137. package/docs/ManagerEventResponse.md +0 -22
  138. package/docs/ManagerEventsApi.md +0 -227
  139. package/docs/ManagerSportsApi.md +0 -119
  140. package/docs/MonthlyTurnoverResponse.md +0 -28
  141. package/docs/NoShowFeeResponse.md +0 -30
  142. package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
  143. package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
  144. package/docs/PaymentStatus.md +0 -30
  145. package/docs/PlayerWithPaymentMethod.md +0 -22
  146. package/docs/ProfilePictureResponse.md +0 -20
  147. package/docs/ProfileVisibilityResponse.md +0 -20
  148. package/docs/PublicClubUser.md +0 -46
  149. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +0 -28
  150. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +0 -24
  151. package/docs/RefreshTokenRequestBody.md +0 -20
  152. package/docs/RefreshTokenResponse.md +0 -22
  153. package/docs/RegisterForEvent201Response.md +0 -20
  154. package/docs/RegisterRequestBody.md +0 -36
  155. package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
  156. package/docs/SetupPaymentMethodRequestBody.md +0 -20
  157. package/docs/SetupPaymentMethodResponse.md +0 -24
  158. package/docs/SlotsResponse.md +0 -22
  159. package/docs/SportsResponse.md +0 -22
  160. package/docs/StaffClubAnalyticsApi.md +0 -149
  161. package/docs/StaffClubBookingsApi.md +0 -52
  162. package/docs/StaffClubsApi.md +0 -147
  163. package/docs/StaffEventResponse.md +0 -20
  164. package/docs/StaffEventsApi.md +0 -54
  165. package/docs/StaffProfileApi.md +0 -54
  166. package/docs/SubscribeToClubRequestBody.md +0 -22
  167. package/docs/SubscriptionPlanResponse.md +0 -32
  168. package/docs/UpdateClubRequest.md +0 -40
  169. package/docs/UpdateClubRoleRequestBody.md +0 -24
  170. package/docs/UpdateClubSettingsRequest.md +0 -28
  171. package/docs/UpdateCourtRequest.md +0 -38
  172. package/docs/UpdateCustomerRequestBody.md +0 -26
  173. package/docs/UpdateCustomerResponse.md +0 -22
  174. package/docs/UpdateCustomerResponseCustomer.md +0 -28
  175. package/docs/UpdateLevelBySportsRequestBody.md +0 -20
  176. package/docs/UpdateProfilePictureRequestBody.md +0 -20
  177. package/docs/UpdateProfileVisibilityRequestBody.md +0 -20
  178. package/docs/UpdateSportRequest.md +0 -24
  179. package/docs/UpdateSubscriptionPlanRequest.md +0 -24
  180. package/docs/UpdateSubscriptionPlanResponse.md +0 -22
  181. package/docs/UpdateUserCityRequestBody.md +0 -20
  182. package/docs/UpdateUserDescriptionRequestBody.md +0 -20
  183. package/docs/UpdateUserRequestBody.md +0 -38
  184. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +0 -22
  185. package/docs/UserApi.md +0 -63
  186. package/docs/UserAuthenticationApi.md +0 -226
  187. package/docs/UserBookingItem.md +0 -46
  188. package/docs/UserBookingsApi.md +0 -166
  189. package/docs/UserBookingsResponse.md +0 -26
  190. package/docs/UserCityResponse.md +0 -20
  191. package/docs/UserClubCourtsApi.md +0 -64
  192. package/docs/UserClubSlotsApi.md +0 -181
  193. package/docs/UserClubSportsApi.md +0 -60
  194. package/docs/UserClubsApi.md +0 -53
  195. package/docs/UserDescriptionResponse.md +0 -20
  196. package/docs/UserFavoriteClubsResponse.md +0 -20
  197. package/docs/UserPaymentApi.md +0 -176
  198. package/docs/UserProfileApi.md +0 -1254
  199. package/docs/UserStaffResponse.md +0 -36
  200. package/docs/UserSubscriptionsApi.md +0 -222
  201. package/docs/YearlyTurnoverResponse.md +0 -26
  202. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
@@ -1,46 +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
- **pricePerSlot** | **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
- **isIndoor** | **boolean** | Indique si le terrain est en intérieur ou extérieur | [optional] [default to undefined]
20
- **createdAt** | **string** | | [optional] [default to undefined]
21
- **updatedAt** | **string** | | [optional] [default to undefined]
22
-
23
- ## Example
24
-
25
- ```typescript
26
- import { CourtWithNameResponse } from '@tennac-booking/sdk';
27
-
28
- const instance: CourtWithNameResponse = {
29
- id,
30
- name,
31
- status,
32
- comments,
33
- pricePerSlot,
34
- slotDefaultDuration,
35
- startTimeInTheDayInMinutes,
36
- endTimeInTheDayInMinutes,
37
- sportId,
38
- sportName,
39
- clubId,
40
- isIndoor,
41
- createdAt,
42
- updatedAt,
43
- };
44
- ```
45
-
46
- [[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
- # CourtsResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **courts** | [**Array<CourtResponse>**](CourtResponse.md) | | [optional] [default to undefined]
9
- **total** | **number** | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { CourtsResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: CourtsResponse = {
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,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,28 +0,0 @@
1
- # CreateBookingRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **userId** | **string** | ID de l\'utilisateur créateur de la réservation | [default to undefined]
9
- **slotId** | **string** | ID du créneau à réserver | [default to undefined]
10
- **players** | [**Array<PlayerWithPaymentMethod>**](PlayerWithPaymentMethod.md) | Liste des joueurs avec leurs méthodes de paiement | [default to undefined]
11
- **isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous les joueurs | [optional] [default to false]
12
- **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { CreateBookingRequest } from '@tennac-booking/sdk';
18
-
19
- const instance: CreateBookingRequest = {
20
- userId,
21
- slotId,
22
- players,
23
- isCreatorPayingAll,
24
- paymentMethod,
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
- # 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,36 +0,0 @@
1
- # CreateCourtRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | | [default to undefined]
9
- **status** | [**CourtStatus**](CourtStatus.md) | | [default to undefined]
10
- **comments** | **string** | | [optional] [default to undefined]
11
- **pricePerSlot** | **number** | | [default to undefined]
12
- **slotDefaultDuration** | **number** | | [default to undefined]
13
- **startTimeInTheDayInMinutes** | **number** | | [default to undefined]
14
- **endTimeInTheDayInMinutes** | **number** | | [default to undefined]
15
- **sportId** | **string** | | [default to undefined]
16
- **isIndoor** | **boolean** | Indique si le terrain est en intérieur ou extérieur | [default to undefined]
17
-
18
- ## Example
19
-
20
- ```typescript
21
- import { CreateCourtRequest } from '@tennac-booking/sdk';
22
-
23
- const instance: CreateCourtRequest = {
24
- name,
25
- status,
26
- comments,
27
- pricePerSlot,
28
- slotDefaultDuration,
29
- startTimeInTheDayInMinutes,
30
- endTimeInTheDayInMinutes,
31
- sportId,
32
- isIndoor,
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)
@@ -1,30 +0,0 @@
1
- # CreateEventRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **title** | **string** | | [default to undefined]
9
- **description** | **string** | | [optional] [default to undefined]
10
- **startDate** | **string** | | [default to undefined]
11
- **endDate** | **string** | | [default to undefined]
12
- **courts** | **Array<number>** | | [default to undefined]
13
- **isActive** | **boolean** | | [optional] [default to false]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { CreateEventRequest } from '@tennac-booking/sdk';
19
-
20
- const instance: CreateEventRequest = {
21
- title,
22
- description,
23
- startDate,
24
- endDate,
25
- courts,
26
- isActive,
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
- # 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,26 +0,0 @@
1
- # CreateSportRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | | [default to undefined]
9
- **key** | **string** | | [default to undefined]
10
- **name** | **string** | | [optional] [default to undefined]
11
- **description** | **string** | | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { CreateSportRequest } from '@tennac-booking/sdk';
17
-
18
- const instance: CreateSportRequest = {
19
- clubId,
20
- key,
21
- name,
22
- description,
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,24 +0,0 @@
1
- # CreateSubscriptionPlanRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | Nom du plan d\'abonnement | [default to undefined]
9
- **description** | **string** | Description du plan d\'abonnement | [default to undefined]
10
- **metadata** | **object** | Métadonnées additionnelles pour le plan | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { CreateSubscriptionPlanRequest } from '@tennac-booking/sdk';
16
-
17
- const instance: CreateSubscriptionPlanRequest = {
18
- name,
19
- description,
20
- metadata,
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,24 +0,0 @@
1
- # DailyTurnoverResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **date** | **string** | | [optional] [default to undefined]
9
- **totalTurnover** | **number** | | [optional] [default to undefined]
10
- **invoiceCount** | **number** | | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { DailyTurnoverResponse } from '@tennac-booking/sdk';
16
-
17
- const instance: DailyTurnoverResponse = {
18
- date,
19
- totalTurnover,
20
- invoiceCount,
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
- # DeleteClubRole200Response
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { DeleteClubRole200Response } from '@tennac-booking/sdk';
14
-
15
- const instance: DeleteClubRole200Response = {
16
- message,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # DeleteEvent200Response
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { DeleteEvent200Response } from '@tennac-booking/sdk';
14
-
15
- const instance: DeleteEvent200Response = {
16
- message,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # DeleteSlotsByClubInRange200Response
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { DeleteSlotsByClubInRange200Response } from '@tennac-booking/sdk';
14
-
15
- const instance: DeleteSlotsByClubInRange200Response = {
16
- message,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # DeleteSport200Response
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { DeleteSport200Response } from '@tennac-booking/sdk';
14
-
15
- const instance: DeleteSport200Response = {
16
- message,
17
- };
18
- ```
19
-
20
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
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)
package/docs/EventsApi.md DELETED
@@ -1,119 +0,0 @@
1
- # EventsApi
2
-
3
- All URIs are relative to *https://api.mon-domaine.com*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**getPublishedEventsByClubId**](#getpublishedeventsbyclubid) | **GET** /api/events | Get all published events for a club|
8
- |[**registerForEvent**](#registerforevent) | **POST** /api/events/{eventId}/register | Register for an event|
9
-
10
- # **getPublishedEventsByClubId**
11
- > GetPublishedEventsByClubId200Response getPublishedEventsByClubId()
12
-
13
-
14
- ### Example
15
-
16
- ```typescript
17
- import {
18
- EventsApi,
19
- Configuration
20
- } from '@tennac-booking/sdk';
21
-
22
- const configuration = new Configuration();
23
- const apiInstance = new EventsApi(configuration);
24
-
25
- let clubId: string; // (default to undefined)
26
-
27
- const { status, data } = await apiInstance.getPublishedEventsByClubId(
28
- clubId
29
- );
30
- ```
31
-
32
- ### Parameters
33
-
34
- |Name | Type | Description | Notes|
35
- |------------- | ------------- | ------------- | -------------|
36
- | **clubId** | [**string**] | | defaults to undefined|
37
-
38
-
39
- ### Return type
40
-
41
- **GetPublishedEventsByClubId200Response**
42
-
43
- ### Authorization
44
-
45
- [bearerAuth](../README.md#bearerAuth)
46
-
47
- ### HTTP request headers
48
-
49
- - **Content-Type**: Not defined
50
- - **Accept**: application/json
51
-
52
-
53
- ### HTTP response details
54
- | Status code | Description | Response headers |
55
- |-------------|-------------|------------------|
56
- |**200** | List of published events | - |
57
- |**400** | Requête invalide | - |
58
- |**500** | Erreur serveur interne | - |
59
-
60
- [[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)
61
-
62
- # **registerForEvent**
63
- > RegisterForEvent201Response registerForEvent(eventRegistrationRequest)
64
-
65
-
66
- ### Example
67
-
68
- ```typescript
69
- import {
70
- EventsApi,
71
- Configuration,
72
- EventRegistrationRequest
73
- } from '@tennac-booking/sdk';
74
-
75
- const configuration = new Configuration();
76
- const apiInstance = new EventsApi(configuration);
77
-
78
- let eventId: string; // (default to undefined)
79
- let eventRegistrationRequest: EventRegistrationRequest; //
80
-
81
- const { status, data } = await apiInstance.registerForEvent(
82
- eventId,
83
- eventRegistrationRequest
84
- );
85
- ```
86
-
87
- ### Parameters
88
-
89
- |Name | Type | Description | Notes|
90
- |------------- | ------------- | ------------- | -------------|
91
- | **eventRegistrationRequest** | **EventRegistrationRequest**| | |
92
- | **eventId** | [**string**] | | defaults to undefined|
93
-
94
-
95
- ### Return type
96
-
97
- **RegisterForEvent201Response**
98
-
99
- ### Authorization
100
-
101
- [bearerAuth](../README.md#bearerAuth)
102
-
103
- ### HTTP request headers
104
-
105
- - **Content-Type**: application/json
106
- - **Accept**: application/json
107
-
108
-
109
- ### HTTP response details
110
- | Status code | Description | Response headers |
111
- |-------------|-------------|------------------|
112
- |**201** | Registration successful | - |
113
- |**400** | Requête invalide | - |
114
- |**401** | Non autorisé | - |
115
- |**404** | Ressource non trouvée | - |
116
- |**500** | Erreur serveur interne | - |
117
-
118
- [[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)
119
-
@@ -1,26 +0,0 @@
1
- # FavoriteClubItem
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **_id** | **string** | ID du club | [optional] [default to undefined]
9
- **name** | **string** | | [optional] [default to undefined]
10
- **address** | **string** | | [optional] [default to undefined]
11
- **isActive** | **boolean** | | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { FavoriteClubItem } from '@tennac-booking/sdk';
17
-
18
- const instance: FavoriteClubItem = {
19
- _id,
20
- name,
21
- address,
22
- isActive,
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
- # FavoriteClubResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
9
- **favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { FavoriteClubResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: FavoriteClubResponse = {
17
- message,
18
- favoriteClubs,
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)