@tennac-booking/sdk 1.0.115 → 1.0.116

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 (177) hide show
  1. package/.openapi-generator/FILES +305 -300
  2. package/README.md +10 -2
  3. package/api.ts +352 -21
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +273 -21
  8. package/dist/api.js +155 -25
  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 +273 -21
  16. package/dist/esm/api.js +151 -21
  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 +24 -0
  28. package/docs/ActiveClubListResponse.md +20 -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/AdminClubAnalyticsApi.md +249 -0
  35. package/docs/AdminClubSlotsApi.md +182 -0
  36. package/docs/AdminClubSubscriptionsApi.md +394 -0
  37. package/docs/AdminClubsApi.md +170 -0
  38. package/docs/ApiErrorResponse.md +22 -0
  39. package/docs/BlockSlotResponse.md +22 -0
  40. package/docs/Booking.md +32 -0
  41. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +36 -0
  42. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +22 -0
  43. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +24 -0
  44. package/docs/BookingPopulatedSlotId.md +26 -0
  45. package/docs/BookingPopulatedSlotIdCourtId.md +22 -0
  46. package/docs/BookingPopulatedUserId.md +24 -0
  47. package/docs/BookingsUserApi.md +1 -1
  48. package/docs/CancelBookingResponseBooking.md +30 -0
  49. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +34 -0
  50. package/docs/ClientApi.md +49 -2
  51. package/docs/ClientFullOnboardingResponseClub.md +2 -0
  52. package/docs/ClientOnboardingRequestBody.md +2 -0
  53. package/docs/ClientSubscription.md +31 -0
  54. package/docs/ClientSubscriptionItem.md +25 -0
  55. package/docs/ClientSubscriptionsResponse.md +21 -0
  56. package/docs/Club.md +46 -0
  57. package/docs/ClubInfoResponse.md +48 -0
  58. package/docs/ClubListResponse.md +22 -0
  59. package/docs/ClubMember.md +34 -0
  60. package/docs/ClubMembersResponse.md +22 -0
  61. package/docs/ClubRole.md +30 -0
  62. package/docs/ClubRolesResponse.md +22 -0
  63. package/docs/ClubSettings.md +40 -0
  64. package/docs/ClubsApi.md +2 -2
  65. package/docs/ClubsResponse.md +22 -0
  66. package/docs/ConfirmPaymentMethodSetupRequestBody.md +20 -0
  67. package/docs/ConfirmPaymentMethodSetupResponse.md +22 -0
  68. package/docs/Court.md +32 -0
  69. package/docs/CourtsResponse.md +22 -0
  70. package/docs/CreateClubRoleRequestBody.md +24 -0
  71. package/docs/CreateClubSettingsRequest.md +28 -0
  72. package/docs/CreatePriceRequest.md +26 -0
  73. package/docs/DeleteClub200Response.md +20 -0
  74. package/docs/DeleteClubRole200Response.md +20 -0
  75. package/docs/DeleteClubSettingsRequest.md +20 -0
  76. package/docs/DeleteEvent200Response.md +20 -0
  77. package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
  78. package/docs/DeleteSlotsResponse.md +20 -0
  79. package/docs/DeleteSport200Response.md +20 -0
  80. package/docs/EstimateEventPrice200Response.md +26 -0
  81. package/docs/EstimateEventPriceRequest.md +22 -0
  82. package/docs/EstimateEventPriceRequestSharesInner.md +22 -0
  83. package/docs/Event.md +40 -0
  84. package/docs/EventBooking.md +32 -0
  85. package/docs/EventRegistrationRequest.md +22 -0
  86. package/docs/EventsApi.md +58 -0
  87. package/docs/FavoriteClubItem.md +26 -0
  88. package/docs/FavoriteClubResponse.md +22 -0
  89. package/docs/FavoritePlayerPublic.md +28 -0
  90. package/docs/FavoritePlayersIdsResponse.md +22 -0
  91. package/docs/FrequentlyPlayedWithItem.md +28 -0
  92. package/docs/FrequentlyVisitedClubItem.md +24 -0
  93. package/docs/GenerateSlotsResponse.md +20 -0
  94. package/docs/GetActiveClubs200Response.md +20 -0
  95. package/docs/GetClubInfos200Response.md +30 -0
  96. package/docs/GetCourtsByClubAndSport200Response.md +26 -0
  97. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +22 -0
  98. package/docs/GetNumberOfClubUsers200Response.md +20 -0
  99. package/docs/GetPublishedEventsByClubId200Response.md +20 -0
  100. package/docs/GetUserRolesResponse.md +20 -0
  101. package/docs/GetUserRolesResponseRolesInner.md +26 -0
  102. package/docs/GetUserSubscriptionsResponse.md +22 -0
  103. package/docs/GoogleSignInRequestBody.md +20 -0
  104. package/docs/GoogleSignInResponse.md +24 -0
  105. package/docs/InitiateSubscriptionSessionRequestBody.md +26 -0
  106. package/docs/InitiateSubscriptionSessionResponse.md +22 -0
  107. package/docs/InvoicesResponse.md +22 -0
  108. package/docs/InvoicesResponseInvoicesInner.md +34 -0
  109. package/docs/InvoicesResponsePagination.md +26 -0
  110. package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +2 -0
  111. package/docs/LevelBySportsItem.md +22 -0
  112. package/docs/ManagerBookingsApi.md +125 -0
  113. package/docs/ManagerCancelBookingResponseBooking.md +30 -0
  114. package/docs/ManagerClubCourtsApi.md +108 -0
  115. package/docs/ManagerClubRolesApi.md +268 -0
  116. package/docs/ManagerClubSlotsApi.md +119 -0
  117. package/docs/ManagerClubSubscriptionsApi.md +387 -0
  118. package/docs/ManagerClubsApi.md +253 -0
  119. package/docs/ManagerEventResponse.md +22 -0
  120. package/docs/ManagerEventsApi.md +227 -0
  121. package/docs/ManagerSportsApi.md +174 -0
  122. package/docs/NoShowFeeResponseCaptureResultsInner.md +30 -0
  123. package/docs/NoShowFeeResponseCreatorChargeResult.md +26 -0
  124. package/docs/PriceResponse.md +32 -0
  125. package/docs/ProfileVisibilityResponse.md +20 -0
  126. package/docs/PublicClubUser.md +46 -0
  127. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +28 -0
  128. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +24 -0
  129. package/docs/PublicClubUserLevelBySportsInner.md +22 -0
  130. package/docs/RegisterForEvent201Response.md +20 -0
  131. package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
  132. package/docs/SetupPaymentMethodRequestBody.md +20 -0
  133. package/docs/SetupPaymentMethodResponse.md +24 -0
  134. package/docs/Slot.md +24 -0
  135. package/docs/SlotException.md +26 -0
  136. package/docs/SlotResponse.md +34 -0
  137. package/docs/SlotsResponse.md +22 -0
  138. package/docs/Sport.md +24 -0
  139. package/docs/SportsResponse.md +22 -0
  140. package/docs/StaffClubAnalyticsApi.md +104 -0
  141. package/docs/StaffClubBookingsApi.md +52 -0
  142. package/docs/StaffClubsApi.md +100 -0
  143. package/docs/StaffEventResponse.md +20 -0
  144. package/docs/StaffEventsApi.md +54 -0
  145. package/docs/StaffProfileApi.md +54 -0
  146. package/docs/StripeStatus.md +16 -0
  147. package/docs/SubscribeToClubRequestBody.md +22 -0
  148. package/docs/SubscriptionPlan.md +36 -0
  149. package/docs/SubscriptionResponse.md +36 -0
  150. package/docs/UpdateClubRoleRequestBody.md +24 -0
  151. package/docs/UpdateClubSettingsRequest.md +28 -0
  152. package/docs/UpdateCustomerRequestBodyAddress.md +30 -0
  153. package/docs/UpdateCustomerResponseCustomer.md +28 -0
  154. package/docs/UpdateProfilePictureRequestBody.md +20 -0
  155. package/docs/UpdateProfileVisibilityRequestBody.md +20 -0
  156. package/docs/UpdateSubscriptionPlanRequest.md +24 -0
  157. package/docs/UpdateSubscriptionPlanResponse.md +22 -0
  158. package/docs/UpdateUserCityRequestBody.md +20 -0
  159. package/docs/UpdateUserDescriptionRequestBody.md +20 -0
  160. package/docs/User.md +40 -0
  161. package/docs/UserAuthenticationApi.md +226 -0
  162. package/docs/UserBookingsApi.md +120 -0
  163. package/docs/UserCityResponse.md +20 -0
  164. package/docs/UserClubCourtsApi.md +64 -0
  165. package/docs/UserClubSlotsApi.md +181 -0
  166. package/docs/UserClubSportsApi.md +60 -0
  167. package/docs/UserClubsApi.md +53 -0
  168. package/docs/UserDescriptionResponse.md +20 -0
  169. package/docs/UserFavoriteClubsResponse.md +20 -0
  170. package/docs/UserPaymentApi.md +176 -0
  171. package/docs/UserProfileApi.md +1201 -0
  172. package/docs/UserResponse.md +38 -0
  173. package/docs/UserSubscriptionsApi.md +222 -0
  174. package/docs/UsersResponse.md +22 -0
  175. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +24 -0
  176. package/index.ts +1 -1
  177. package/package.json +1 -1
@@ -0,0 +1,249 @@
1
+ # AdminClubAnalyticsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getDailyTurnOverAdmin**](#getdailyturnoveradmin) | **GET** /api/clubs/{id}/turnover/daily | Chiffre d\'affaires quotidien (Admin)|
8
+ |[**getInvoicesAdmin**](#getinvoicesadmin) | **GET** /api/clubs/{id}/invoices | Récupérer les factures d\'un club (Admin)|
9
+ |[**getMonthlyTurnOverAdmin**](#getmonthlyturnoveradmin) | **GET** /api/clubs/{id}/turnover/monthly | Chiffre d\'affaires mensuel (Admin)|
10
+ |[**getYearlyTurnOverAdmin**](#getyearlyturnoveradmin) | **GET** /api/clubs/{id}/turnover/yearly | Chiffre d\'affaires annuel (Admin)|
11
+
12
+ # **getDailyTurnOverAdmin**
13
+ > DailyTurnoverResponse getDailyTurnOverAdmin()
14
+
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ AdminClubAnalyticsApi,
21
+ Configuration
22
+ } from '@tennac-booking/sdk';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new AdminClubAnalyticsApi(configuration);
26
+
27
+ let id: string; //ID du club (default to undefined)
28
+ let date: string; //Date (YYYY-MM-DD) (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.getDailyTurnOverAdmin(
31
+ id,
32
+ date
33
+ );
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ |Name | Type | Description | Notes|
39
+ |------------- | ------------- | ------------- | -------------|
40
+ | **id** | [**string**] | ID du club | defaults to undefined|
41
+ | **date** | [**string**] | Date (YYYY-MM-DD) | defaults to undefined|
42
+
43
+
44
+ ### Return type
45
+
46
+ **DailyTurnoverResponse**
47
+
48
+ ### Authorization
49
+
50
+ [bearerAuth](../README.md#bearerAuth)
51
+
52
+ ### HTTP request headers
53
+
54
+ - **Content-Type**: Not defined
55
+ - **Accept**: application/json
56
+
57
+
58
+ ### HTTP response details
59
+ | Status code | Description | Response headers |
60
+ |-------------|-------------|------------------|
61
+ |**200** | Chiffre d\'affaires quotidien | - |
62
+ |**400** | Requête invalide | - |
63
+ |**401** | Non autorisé | - |
64
+ |**500** | Erreur serveur interne | - |
65
+
66
+ [[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)
67
+
68
+ # **getInvoicesAdmin**
69
+ > InvoicesResponse getInvoicesAdmin()
70
+
71
+
72
+ ### Example
73
+
74
+ ```typescript
75
+ import {
76
+ AdminClubAnalyticsApi,
77
+ Configuration
78
+ } from '@tennac-booking/sdk';
79
+
80
+ const configuration = new Configuration();
81
+ const apiInstance = new AdminClubAnalyticsApi(configuration);
82
+
83
+ let id: string; //ID du club (default to undefined)
84
+ let page: number; // (optional) (default to 1)
85
+ let limit: number; // (optional) (default to 10)
86
+ let status: 'pending' | 'paid' | 'failed' | 'authorized' | 'canceled' | 'expired'; // (optional) (default to undefined)
87
+ let startDate: string; // (optional) (default to undefined)
88
+ let endDate: string; // (optional) (default to undefined)
89
+
90
+ const { status, data } = await apiInstance.getInvoicesAdmin(
91
+ id,
92
+ page,
93
+ limit,
94
+ status,
95
+ startDate,
96
+ endDate
97
+ );
98
+ ```
99
+
100
+ ### Parameters
101
+
102
+ |Name | Type | Description | Notes|
103
+ |------------- | ------------- | ------------- | -------------|
104
+ | **id** | [**string**] | ID du club | defaults to undefined|
105
+ | **page** | [**number**] | | (optional) defaults to 1|
106
+ | **limit** | [**number**] | | (optional) defaults to 10|
107
+ | **status** | [**&#39;pending&#39; | &#39;paid&#39; | &#39;failed&#39; | &#39;authorized&#39; | &#39;canceled&#39; | &#39;expired&#39;**]**Array<&#39;pending&#39; &#124; &#39;paid&#39; &#124; &#39;failed&#39; &#124; &#39;authorized&#39; &#124; &#39;canceled&#39; &#124; &#39;expired&#39;>** | | (optional) defaults to undefined|
108
+ | **startDate** | [**string**] | | (optional) defaults to undefined|
109
+ | **endDate** | [**string**] | | (optional) defaults to undefined|
110
+
111
+
112
+ ### Return type
113
+
114
+ **InvoicesResponse**
115
+
116
+ ### Authorization
117
+
118
+ [bearerAuth](../README.md#bearerAuth)
119
+
120
+ ### HTTP request headers
121
+
122
+ - **Content-Type**: Not defined
123
+ - **Accept**: application/json
124
+
125
+
126
+ ### HTTP response details
127
+ | Status code | Description | Response headers |
128
+ |-------------|-------------|------------------|
129
+ |**200** | Liste des factures | - |
130
+ |**401** | Non autorisé | - |
131
+ |**500** | Erreur serveur interne | - |
132
+
133
+ [[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)
134
+
135
+ # **getMonthlyTurnOverAdmin**
136
+ > MonthlyTurnoverResponse getMonthlyTurnOverAdmin()
137
+
138
+
139
+ ### Example
140
+
141
+ ```typescript
142
+ import {
143
+ AdminClubAnalyticsApi,
144
+ Configuration
145
+ } from '@tennac-booking/sdk';
146
+
147
+ const configuration = new Configuration();
148
+ const apiInstance = new AdminClubAnalyticsApi(configuration);
149
+
150
+ let id: string; //ID du club (default to undefined)
151
+ let year: number; //Année (default to undefined)
152
+ let month: number; //Mois (1-12) (default to undefined)
153
+
154
+ const { status, data } = await apiInstance.getMonthlyTurnOverAdmin(
155
+ id,
156
+ year,
157
+ month
158
+ );
159
+ ```
160
+
161
+ ### Parameters
162
+
163
+ |Name | Type | Description | Notes|
164
+ |------------- | ------------- | ------------- | -------------|
165
+ | **id** | [**string**] | ID du club | defaults to undefined|
166
+ | **year** | [**number**] | Année | defaults to undefined|
167
+ | **month** | [**number**] | Mois (1-12) | defaults to undefined|
168
+
169
+
170
+ ### Return type
171
+
172
+ **MonthlyTurnoverResponse**
173
+
174
+ ### Authorization
175
+
176
+ [bearerAuth](../README.md#bearerAuth)
177
+
178
+ ### HTTP request headers
179
+
180
+ - **Content-Type**: Not defined
181
+ - **Accept**: application/json
182
+
183
+
184
+ ### HTTP response details
185
+ | Status code | Description | Response headers |
186
+ |-------------|-------------|------------------|
187
+ |**200** | Chiffre d\&#39;affaires mensuel | - |
188
+ |**400** | Requête invalide | - |
189
+ |**401** | Non autorisé | - |
190
+ |**500** | Erreur serveur interne | - |
191
+
192
+ [[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)
193
+
194
+ # **getYearlyTurnOverAdmin**
195
+ > YearlyTurnoverResponse getYearlyTurnOverAdmin()
196
+
197
+
198
+ ### Example
199
+
200
+ ```typescript
201
+ import {
202
+ AdminClubAnalyticsApi,
203
+ Configuration
204
+ } from '@tennac-booking/sdk';
205
+
206
+ const configuration = new Configuration();
207
+ const apiInstance = new AdminClubAnalyticsApi(configuration);
208
+
209
+ let id: string; //ID du club (default to undefined)
210
+ let year: number; //Année (default to undefined)
211
+
212
+ const { status, data } = await apiInstance.getYearlyTurnOverAdmin(
213
+ id,
214
+ year
215
+ );
216
+ ```
217
+
218
+ ### Parameters
219
+
220
+ |Name | Type | Description | Notes|
221
+ |------------- | ------------- | ------------- | -------------|
222
+ | **id** | [**string**] | ID du club | defaults to undefined|
223
+ | **year** | [**number**] | Année | defaults to undefined|
224
+
225
+
226
+ ### Return type
227
+
228
+ **YearlyTurnoverResponse**
229
+
230
+ ### Authorization
231
+
232
+ [bearerAuth](../README.md#bearerAuth)
233
+
234
+ ### HTTP request headers
235
+
236
+ - **Content-Type**: Not defined
237
+ - **Accept**: application/json
238
+
239
+
240
+ ### HTTP response details
241
+ | Status code | Description | Response headers |
242
+ |-------------|-------------|------------------|
243
+ |**200** | Chiffre d\&#39;affaires annuel | - |
244
+ |**400** | Requête invalide | - |
245
+ |**401** | Non autorisé | - |
246
+ |**500** | Erreur serveur interne | - |
247
+
248
+ [[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)
249
+
@@ -0,0 +1,182 @@
1
+ # AdminClubSlotsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**deleteSlotsByClubInRangeByID**](#deleteslotsbyclubinrangebyid) | **DELETE** /api/clubs/{id}/slots | Supprimer des créneaux pour un club sur une plage de dates (Admin uniquement)|
8
+ |[**generateSlotsForNextThreeWeeks**](#generateslotsfornextthreeweeks) | **POST** /api/clubs/{id}/generate-slots | Générer les créneaux pour les 3 semaines à venir (Admin uniquement)|
9
+ |[**getSlotsByClubAdmin**](#getslotsbyclubadmin) | **GET** /api/clubs/{id}/slots | Récupérer tous les créneaux d\&#39;un club (Admin)|
10
+
11
+ # **deleteSlotsByClubInRangeByID**
12
+ > DeleteSlotsResponse deleteSlotsByClubInRangeByID()
13
+
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ AdminClubSlotsApi,
20
+ Configuration
21
+ } from '@tennac-booking/sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new AdminClubSlotsApi(configuration);
25
+
26
+ let id: string; //ID du club (default to undefined)
27
+ let start: string; //Date de début (format ISO) (default to undefined)
28
+ let end: string; //Date de fin (format ISO) (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.deleteSlotsByClubInRangeByID(
31
+ id,
32
+ start,
33
+ end
34
+ );
35
+ ```
36
+
37
+ ### Parameters
38
+
39
+ |Name | Type | Description | Notes|
40
+ |------------- | ------------- | ------------- | -------------|
41
+ | **id** | [**string**] | ID du club | defaults to undefined|
42
+ | **start** | [**string**] | Date de début (format ISO) | defaults to undefined|
43
+ | **end** | [**string**] | Date de fin (format ISO) | defaults to undefined|
44
+
45
+
46
+ ### Return type
47
+
48
+ **DeleteSlotsResponse**
49
+
50
+ ### Authorization
51
+
52
+ [bearerAuth](../README.md#bearerAuth)
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: Not defined
57
+ - **Accept**: application/json
58
+
59
+
60
+ ### HTTP response details
61
+ | Status code | Description | Response headers |
62
+ |-------------|-------------|------------------|
63
+ |**200** | Créneaux supprimés avec succès | - |
64
+ |**400** | Requête invalide | - |
65
+ |**401** | Non autorisé | - |
66
+ |**500** | Erreur serveur interne | - |
67
+
68
+ [[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)
69
+
70
+ # **generateSlotsForNextThreeWeeks**
71
+ > GenerateSlotsResponse generateSlotsForNextThreeWeeks()
72
+
73
+
74
+ ### Example
75
+
76
+ ```typescript
77
+ import {
78
+ AdminClubSlotsApi,
79
+ Configuration
80
+ } from '@tennac-booking/sdk';
81
+
82
+ const configuration = new Configuration();
83
+ const apiInstance = new AdminClubSlotsApi(configuration);
84
+
85
+ let id: string; //ID du club (default to undefined)
86
+
87
+ const { status, data } = await apiInstance.generateSlotsForNextThreeWeeks(
88
+ id
89
+ );
90
+ ```
91
+
92
+ ### Parameters
93
+
94
+ |Name | Type | Description | Notes|
95
+ |------------- | ------------- | ------------- | -------------|
96
+ | **id** | [**string**] | ID du club | defaults to undefined|
97
+
98
+
99
+ ### Return type
100
+
101
+ **GenerateSlotsResponse**
102
+
103
+ ### Authorization
104
+
105
+ [bearerAuth](../README.md#bearerAuth)
106
+
107
+ ### HTTP request headers
108
+
109
+ - **Content-Type**: Not defined
110
+ - **Accept**: application/json
111
+
112
+
113
+ ### HTTP response details
114
+ | Status code | Description | Response headers |
115
+ |-------------|-------------|------------------|
116
+ |**201** | Créneaux générés avec succès | - |
117
+ |**400** | Requête invalide | - |
118
+ |**401** | Non autorisé | - |
119
+ |**404** | Ressource non trouvée | - |
120
+ |**500** | Erreur serveur interne | - |
121
+
122
+ [[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)
123
+
124
+ # **getSlotsByClubAdmin**
125
+ > SlotsResponse getSlotsByClubAdmin()
126
+
127
+
128
+ ### Example
129
+
130
+ ```typescript
131
+ import {
132
+ AdminClubSlotsApi,
133
+ Configuration
134
+ } from '@tennac-booking/sdk';
135
+
136
+ const configuration = new Configuration();
137
+ const apiInstance = new AdminClubSlotsApi(configuration);
138
+
139
+ let id: string; //ID du club (default to undefined)
140
+ let start: string; //Date de début (format ISO) (optional) (default to undefined)
141
+ let end: string; //Date de fin (format ISO) (optional) (default to undefined)
142
+
143
+ const { status, data } = await apiInstance.getSlotsByClubAdmin(
144
+ id,
145
+ start,
146
+ end
147
+ );
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ |Name | Type | Description | Notes|
153
+ |------------- | ------------- | ------------- | -------------|
154
+ | **id** | [**string**] | ID du club | defaults to undefined|
155
+ | **start** | [**string**] | Date de début (format ISO) | (optional) defaults to undefined|
156
+ | **end** | [**string**] | Date de fin (format ISO) | (optional) defaults to undefined|
157
+
158
+
159
+ ### Return type
160
+
161
+ **SlotsResponse**
162
+
163
+ ### Authorization
164
+
165
+ [bearerAuth](../README.md#bearerAuth)
166
+
167
+ ### HTTP request headers
168
+
169
+ - **Content-Type**: Not defined
170
+ - **Accept**: application/json
171
+
172
+
173
+ ### HTTP response details
174
+ | Status code | Description | Response headers |
175
+ |-------------|-------------|------------------|
176
+ |**200** | Liste des créneaux du club | - |
177
+ |**400** | Requête invalide | - |
178
+ |**401** | Non autorisé | - |
179
+ |**500** | Erreur serveur interne | - |
180
+
181
+ [[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)
182
+