@tennac-booking/sdk 1.0.102 → 1.0.103

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 (80) hide show
  1. package/.openapi-generator/FILES +28 -8
  2. package/README.md +46 -16
  3. package/api.ts +7999 -6458
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1689 -548
  8. package/dist/api.js +883 -266
  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 +1689 -548
  16. package/dist/esm/api.js +871 -254
  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/AddClubMemberRequest.md +7 -1
  28. package/docs/BookingPopulated.md +3 -3
  29. package/docs/ClientAccountOnboardingRequest.md +2 -2
  30. package/docs/ClientAccountsApi.md +1 -1
  31. package/docs/ClubAnalyticsStaffApi.md +314 -0
  32. package/docs/{AddCreditsToCustomer200Response.md → ClubDaySchedule.md} +7 -5
  33. package/docs/ClubGeneralSettingsResponse.md +32 -0
  34. package/docs/ClubHoursSettingsResponse.md +22 -0
  35. package/docs/ClubLocationSettings.md +26 -0
  36. package/docs/ClubPlayerBookingItem.md +36 -0
  37. package/docs/ClubPlayerBookingsPagination.md +28 -0
  38. package/docs/ClubPlayerBookingsResponse.md +24 -0
  39. package/docs/ClubPlayerDetailResponse.md +46 -0
  40. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
  41. package/docs/ClubPlayerStatisticsResponse.md +42 -0
  42. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
  43. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
  44. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
  45. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
  46. package/docs/ClubPlayerSubscriptionSummary.md +28 -0
  47. package/docs/ClubPresentationSettingsResponse.md +26 -0
  48. package/docs/ClubPricingPeriodResponse.md +30 -0
  49. package/docs/ClubReservationSettingsResponse.md +26 -0
  50. package/docs/ClubResponse.md +2 -0
  51. package/docs/ClubSettingsManagerApi.md +54 -60
  52. package/docs/ClubSettingsStaffApi.md +183 -0
  53. package/docs/ClubWeeklySchedule.md +32 -0
  54. package/docs/ClubsManagerApi.md +52 -58
  55. package/docs/ClubsStaffApi.md +44 -0
  56. package/docs/CourtBookingShareItem.md +26 -0
  57. package/docs/CourtResponse.md +1 -1
  58. package/docs/CreateCourtRequest.md +1 -1
  59. package/docs/CreateEventRequest.md +3 -1
  60. package/docs/EventResponse.md +1 -1
  61. package/docs/PartialClubResponse.md +2 -0
  62. package/docs/PartialClubWeeklySchedule.md +33 -0
  63. package/docs/RetentionRateResponse.md +24 -0
  64. package/docs/RevenueBySportItem.md +24 -0
  65. package/docs/SlotInfo.md +2 -2
  66. package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
  67. package/docs/UpdateClubHoursSettingsRequest.md +22 -0
  68. package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
  69. package/docs/UpdateClubReservationSettingsRequest.md +28 -0
  70. package/docs/UpdateEventRequest.md +1 -1
  71. package/docs/UserInfo.md +2 -0
  72. package/index.ts +1 -1
  73. package/package.json +1 -1
  74. package/docs/AddCreditsToCustomerRequest.md +0 -22
  75. package/docs/ClubSettingsResponse.md +0 -39
  76. package/docs/CreateClubSettingsRequest.md +0 -34
  77. package/docs/DeleteClubSettingsResponse.md +0 -20
  78. package/docs/EventResponseCourtsInner.md +0 -18
  79. package/docs/SportsStaffApi.md +0 -55
  80. package/docs/UpdateClubSettingsRequest.md +0 -32
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.99
5
+ * The version of the OpenAPI document: 1.0.100
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
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.99
7
+ * The version of the OpenAPI document: 1.0.100
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
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.99
5
+ * The version of the OpenAPI document: 1.0.100
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
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.99
7
+ * The version of the OpenAPI document: 1.0.100
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
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.99
5
+ * The version of the OpenAPI document: 1.0.100
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
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.99
7
+ * The version of the OpenAPI document: 1.0.100
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
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.99
5
+ * The version of the OpenAPI document: 1.0.100
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
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.99
7
+ * The version of the OpenAPI document: 1.0.100
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
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.99
5
+ * The version of the OpenAPI document: 1.0.100
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
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.99
8
+ * The version of the OpenAPI document: 1.0.100
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,10 +5,13 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **userId** | **string** | ID de l\'utilisateur à ajouter | [default to undefined]
8
+ **userId** | **string** | ID de l\'utilisateur à ajouter (optionnel si création d\'un compte) | [optional] [default to undefined]
9
9
  **clubId** | **string** | ID du club (optionnel si fourni via le middleware d\'authentification) | [optional] [default to undefined]
10
10
  **role** | **string** | Rôle de l\'utilisateur dans le club | [default to undefined]
11
11
  **rights** | **Array<string>** | Droits de l\'utilisateur dans le club | [optional] [default to undefined]
12
+ **firstName** | **string** | Prénom du membre (requis si création d\'un compte) | [optional] [default to undefined]
13
+ **lastName** | **string** | Nom du membre (requis si création d\'un compte) | [optional] [default to undefined]
14
+ **email** | **string** | Email du membre (requis si création d\'un compte) | [optional] [default to undefined]
12
15
 
13
16
  ## Example
14
17
 
@@ -20,6 +23,9 @@ const instance: AddClubMemberRequest = {
20
23
  clubId,
21
24
  role,
22
25
  rights,
26
+ firstName,
27
+ lastName,
28
+ email,
23
29
  };
24
30
  ```
25
31
 
@@ -8,13 +8,13 @@ Name | Type | Description | Notes
8
8
  **id** | **string** | ID de la réservation | [default to undefined]
9
9
  **clubId** | **string** | | [default to undefined]
10
10
  **creator** | [**UserInfo**](UserInfo.md) | | [default to undefined]
11
- **slotInfos** | [**Array<SlotInfo>**](SlotInfo.md) | Information(s) des créneaux | [default to undefined]
11
+ **slotInfos** | [**SlotInfo**](SlotInfo.md) | | [default to undefined]
12
+ **players** | [**Array<UserInfo>**](UserInfo.md) | | [default to undefined]
12
13
  **paymentByPlayers** | [**Array<PaymentByPlayerInfo>**](PaymentByPlayerInfo.md) | Statut des paiements par joueur | [default to undefined]
13
14
  **noShowChargeApplied** | **boolean** | | [optional] [default to undefined]
14
15
  **noShowChargeAmount** | **number** | | [optional] [default to undefined]
15
16
  **totalPrice** | **number** | | [default to undefined]
16
17
  **isCreatorPayingAll** | **boolean** | | [default to undefined]
17
- **playersIds** | **Array<string>** | | [default to undefined]
18
18
  **history** | [**Array<BookingHistoryPopulated>**](BookingHistoryPopulated.md) | | [default to undefined]
19
19
  **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
20
20
  **cancelledByManager** | **boolean** | | [optional] [default to undefined]
@@ -31,12 +31,12 @@ const instance: BookingPopulated = {
31
31
  clubId,
32
32
  creator,
33
33
  slotInfos,
34
+ players,
34
35
  paymentByPlayers,
35
36
  noShowChargeApplied,
36
37
  noShowChargeAmount,
37
38
  totalPrice,
38
39
  isCreatorPayingAll,
39
- playersIds,
40
40
  history,
41
41
  status,
42
42
  cancelledByManager,
@@ -7,8 +7,8 @@ Types pour les requêtes/réponses
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **businessName** | **string** | | [default to undefined]
10
- **businessType** | **string** | | [default to undefined]
11
- **subscriptionType** | **string** | | [default to undefined]
10
+ **businessType** | **string** | | [optional] [default to undefined]
11
+ **subscriptionType** | **string** | | [optional] [default to undefined]
12
12
  **isPublicOrganization** | **boolean** | | [optional] [default to undefined]
13
13
  **priceId** | **string** | | [default to undefined]
14
14
 
@@ -9,7 +9,7 @@ All URIs are relative to *http://localhost*
9
9
  |[**getMyActiveSubscription**](#getmyactivesubscription) | **GET** /client-accounts/me/subscription | |
10
10
  |[**getMyClientAccount**](#getmyclientaccount) | **GET** /client-accounts/me | |
11
11
  |[**getSubscriptionsHistory**](#getsubscriptionshistory) | **GET** /client-accounts/me/subscriptions-history | |
12
- |[**listAvailablePrices**](#listavailableprices) | **GET** /client-accounts/available-prices | |
12
+ |[**listAvailablePrices**](#listavailableprices) | **GET** /client-accounts/plans/available-prices | |
13
13
  |[**onboardClientAccount**](#onboardclientaccount) | **POST** /client-accounts/onboarding | |
14
14
  |[**registerClientUser**](#registerclientuser) | **POST** /client-accounts/register-client-user | |
15
15
 
@@ -5,6 +5,9 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getAnalyticsBySport**](#getanalyticsbysport) | **GET** /api/club-analytics/sport/{sportId}/analytics | |
8
+ |[**getClubPlayerBookingsById**](#getclubplayerbookingsbyid) | **GET** /api/club-analytics/players/{playerId}/bookings | |
9
+ |[**getClubPlayerById**](#getclubplayerbyid) | **GET** /api/club-analytics/players/{playerId} | |
10
+ |[**getClubPlayerStatisticsById**](#getclubplayerstatisticsbyid) | **GET** /api/club-analytics/players/{playerId}/statistics | |
8
11
  |[**getClubPlayers**](#getclubplayers) | **GET** /api/club-analytics/players | |
9
12
  |[**getDailyTurnOver**](#getdailyturnover) | **GET** /api/club-analytics/daily-turnover | |
10
13
  |[**getGenderPercentage**](#getgenderpercentage) | **GET** /api/club-analytics/gender-percentage | |
@@ -12,7 +15,10 @@ All URIs are relative to *http://localhost*
12
15
  |[**getLastSixMonthsTurnover**](#getlastsixmonthsturnover) | **GET** /api/club-analytics/last-six-months-turnover | |
13
16
  |[**getMonthlyTurnOver**](#getmonthlyturnover) | **GET** /api/club-analytics/monthly-turnover | |
14
17
  |[**getNumberOfClubUsers**](#getnumberofclubusers) | **GET** /api/club-analytics/users-count | |
18
+ |[**getRetentionRate**](#getretentionrate) | **GET** /api/club-analytics/retention-rate | |
19
+ |[**getRevenueBySport**](#getrevenuebysport) | **GET** /api/club-analytics/revenue-by-sport | |
15
20
  |[**getTenNextBookings**](#gettennextbookings) | **GET** /api/club-analytics/next-bookings | |
21
+ |[**getTopCourtsByBookings**](#gettopcourtsbybookings) | **GET** /api/club-analytics/top-courts | |
16
22
  |[**getYearlyTurnOver**](#getyearlyturnover) | **GET** /api/club-analytics/yearly-turnover | |
17
23
 
18
24
  # **getAnalyticsBySport**
@@ -69,6 +75,176 @@ const { status, data } = await apiInstance.getAnalyticsBySport(
69
75
 
70
76
  [[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)
71
77
 
78
+ # **getClubPlayerBookingsById**
79
+ > ClubPlayerBookingsResponse getClubPlayerBookingsById()
80
+
81
+ Récupère les réservations d\'un joueur par son ID (à venir et passées)
82
+
83
+ ### Example
84
+
85
+ ```typescript
86
+ import {
87
+ ClubAnalyticsStaffApi,
88
+ Configuration
89
+ } from '@tennac-booking/sdk';
90
+
91
+ const configuration = new Configuration();
92
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
93
+
94
+ let playerId: string; // (default to undefined)
95
+ let page: number; // (optional) (default to undefined)
96
+ let pageSize: number; // (optional) (default to undefined)
97
+
98
+ const { status, data } = await apiInstance.getClubPlayerBookingsById(
99
+ playerId,
100
+ page,
101
+ pageSize
102
+ );
103
+ ```
104
+
105
+ ### Parameters
106
+
107
+ |Name | Type | Description | Notes|
108
+ |------------- | ------------- | ------------- | -------------|
109
+ | **playerId** | [**string**] | | defaults to undefined|
110
+ | **page** | [**number**] | | (optional) defaults to undefined|
111
+ | **pageSize** | [**number**] | | (optional) defaults to undefined|
112
+
113
+
114
+ ### Return type
115
+
116
+ **ClubPlayerBookingsResponse**
117
+
118
+ ### Authorization
119
+
120
+ [bearerAuth](../README.md#bearerAuth)
121
+
122
+ ### HTTP request headers
123
+
124
+ - **Content-Type**: Not defined
125
+ - **Accept**: application/json
126
+
127
+
128
+ ### HTTP response details
129
+ | Status code | Description | Response headers |
130
+ |-------------|-------------|------------------|
131
+ |**200** | Réservations du joueur | - |
132
+ |**400** | Bad Request | - |
133
+ |**401** | Unauthorized | - |
134
+ |**500** | Server Error | - |
135
+
136
+ [[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)
137
+
138
+ # **getClubPlayerById**
139
+ > ClubPlayerDetailResponse getClubPlayerById()
140
+
141
+ Récupère les informations détaillées d\'un joueur par son ID
142
+
143
+ ### Example
144
+
145
+ ```typescript
146
+ import {
147
+ ClubAnalyticsStaffApi,
148
+ Configuration
149
+ } from '@tennac-booking/sdk';
150
+
151
+ const configuration = new Configuration();
152
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
153
+
154
+ let playerId: string; // (default to undefined)
155
+
156
+ const { status, data } = await apiInstance.getClubPlayerById(
157
+ playerId
158
+ );
159
+ ```
160
+
161
+ ### Parameters
162
+
163
+ |Name | Type | Description | Notes|
164
+ |------------- | ------------- | ------------- | -------------|
165
+ | **playerId** | [**string**] | | defaults to undefined|
166
+
167
+
168
+ ### Return type
169
+
170
+ **ClubPlayerDetailResponse**
171
+
172
+ ### Authorization
173
+
174
+ [bearerAuth](../README.md#bearerAuth)
175
+
176
+ ### HTTP request headers
177
+
178
+ - **Content-Type**: Not defined
179
+ - **Accept**: application/json
180
+
181
+
182
+ ### HTTP response details
183
+ | Status code | Description | Response headers |
184
+ |-------------|-------------|------------------|
185
+ |**200** | Informations du joueur | - |
186
+ |**400** | Bad Request | - |
187
+ |**401** | Unauthorized | - |
188
+ |**404** | Not Found | - |
189
+ |**500** | Server Error | - |
190
+
191
+ [[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)
192
+
193
+ # **getClubPlayerStatisticsById**
194
+ > ClubPlayerStatisticsResponse getClubPlayerStatisticsById()
195
+
196
+ Récupère les statistiques d\'un joueur pour le staff
197
+
198
+ ### Example
199
+
200
+ ```typescript
201
+ import {
202
+ ClubAnalyticsStaffApi,
203
+ Configuration
204
+ } from '@tennac-booking/sdk';
205
+
206
+ const configuration = new Configuration();
207
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
208
+
209
+ let playerId: string; // (default to undefined)
210
+
211
+ const { status, data } = await apiInstance.getClubPlayerStatisticsById(
212
+ playerId
213
+ );
214
+ ```
215
+
216
+ ### Parameters
217
+
218
+ |Name | Type | Description | Notes|
219
+ |------------- | ------------- | ------------- | -------------|
220
+ | **playerId** | [**string**] | | defaults to undefined|
221
+
222
+
223
+ ### Return type
224
+
225
+ **ClubPlayerStatisticsResponse**
226
+
227
+ ### Authorization
228
+
229
+ [bearerAuth](../README.md#bearerAuth)
230
+
231
+ ### HTTP request headers
232
+
233
+ - **Content-Type**: Not defined
234
+ - **Accept**: application/json
235
+
236
+
237
+ ### HTTP response details
238
+ | Status code | Description | Response headers |
239
+ |-------------|-------------|------------------|
240
+ |**200** | Statistiques du joueur | - |
241
+ |**400** | Bad Request | - |
242
+ |**401** | Unauthorized | - |
243
+ |**404** | Not Found | - |
244
+ |**500** | Server Error | - |
245
+
246
+ [[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)
247
+
72
248
  # **getClubPlayers**
73
249
  > Array<ClubPlayerResponse> getClubPlayers()
74
250
 
@@ -421,6 +597,98 @@ This endpoint does not have any parameters.
421
597
 
422
598
  [[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)
423
599
 
600
+ # **getRetentionRate**
601
+ > RetentionRateResponse getRetentionRate()
602
+
603
+ Calcule le taux de fidélisation des joueurs
604
+
605
+ ### Example
606
+
607
+ ```typescript
608
+ import {
609
+ ClubAnalyticsStaffApi,
610
+ Configuration
611
+ } from '@tennac-booking/sdk';
612
+
613
+ const configuration = new Configuration();
614
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
615
+
616
+ const { status, data } = await apiInstance.getRetentionRate();
617
+ ```
618
+
619
+ ### Parameters
620
+ This endpoint does not have any parameters.
621
+
622
+
623
+ ### Return type
624
+
625
+ **RetentionRateResponse**
626
+
627
+ ### Authorization
628
+
629
+ [bearerAuth](../README.md#bearerAuth)
630
+
631
+ ### HTTP request headers
632
+
633
+ - **Content-Type**: Not defined
634
+ - **Accept**: application/json
635
+
636
+
637
+ ### HTTP response details
638
+ | Status code | Description | Response headers |
639
+ |-------------|-------------|------------------|
640
+ |**200** | Taux de fidélisation | - |
641
+ |**401** | Unauthorized | - |
642
+ |**500** | Server Error | - |
643
+
644
+ [[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)
645
+
646
+ # **getRevenueBySport**
647
+ > Array<RevenueBySportItem> getRevenueBySport()
648
+
649
+ Récupère le chiffre d\'affaires par sport
650
+
651
+ ### Example
652
+
653
+ ```typescript
654
+ import {
655
+ ClubAnalyticsStaffApi,
656
+ Configuration
657
+ } from '@tennac-booking/sdk';
658
+
659
+ const configuration = new Configuration();
660
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
661
+
662
+ const { status, data } = await apiInstance.getRevenueBySport();
663
+ ```
664
+
665
+ ### Parameters
666
+ This endpoint does not have any parameters.
667
+
668
+
669
+ ### Return type
670
+
671
+ **Array<RevenueBySportItem>**
672
+
673
+ ### Authorization
674
+
675
+ [bearerAuth](../README.md#bearerAuth)
676
+
677
+ ### HTTP request headers
678
+
679
+ - **Content-Type**: Not defined
680
+ - **Accept**: application/json
681
+
682
+
683
+ ### HTTP response details
684
+ | Status code | Description | Response headers |
685
+ |-------------|-------------|------------------|
686
+ |**200** | Répartition du CA par sport | - |
687
+ |**401** | Unauthorized | - |
688
+ |**500** | Server Error | - |
689
+
690
+ [[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)
691
+
424
692
  # **getTenNextBookings**
425
693
  > Array<BookingAnalyticsResponse> getTenNextBookings()
426
694
 
@@ -467,6 +735,52 @@ This endpoint does not have any parameters.
467
735
 
468
736
  [[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)
469
737
 
738
+ # **getTopCourtsByBookings**
739
+ > Array<CourtBookingShareItem> getTopCourtsByBookings()
740
+
741
+ Classement des terrains les plus réservés
742
+
743
+ ### Example
744
+
745
+ ```typescript
746
+ import {
747
+ ClubAnalyticsStaffApi,
748
+ Configuration
749
+ } from '@tennac-booking/sdk';
750
+
751
+ const configuration = new Configuration();
752
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
753
+
754
+ const { status, data } = await apiInstance.getTopCourtsByBookings();
755
+ ```
756
+
757
+ ### Parameters
758
+ This endpoint does not have any parameters.
759
+
760
+
761
+ ### Return type
762
+
763
+ **Array<CourtBookingShareItem>**
764
+
765
+ ### Authorization
766
+
767
+ [bearerAuth](../README.md#bearerAuth)
768
+
769
+ ### HTTP request headers
770
+
771
+ - **Content-Type**: Not defined
772
+ - **Accept**: application/json
773
+
774
+
775
+ ### HTTP response details
776
+ | Status code | Description | Response headers |
777
+ |-------------|-------------|------------------|
778
+ |**200** | Terrains les plus réservés | - |
779
+ |**401** | Unauthorized | - |
780
+ |**500** | Server Error | - |
781
+
782
+ [[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)
783
+
470
784
  # **getYearlyTurnOver**
471
785
  > YearlyTurnoverResponse getYearlyTurnOver()
472
786
 
@@ -1,19 +1,21 @@
1
- # AddCreditsToCustomer200Response
1
+ # ClubDaySchedule
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **credits** | **number** | | [default to undefined]
8
+ **open** | **string** | | [default to undefined]
9
+ **close** | **string** | | [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
12
13
  ```typescript
13
- import { AddCreditsToCustomer200Response } from '@tennac-booking/sdk';
14
+ import { ClubDaySchedule } from '@tennac-booking/sdk';
14
15
 
15
- const instance: AddCreditsToCustomer200Response = {
16
- credits,
16
+ const instance: ClubDaySchedule = {
17
+ open,
18
+ close,
17
19
  };
18
20
  ```
19
21
 
@@ -0,0 +1,32 @@
1
+ # ClubGeneralSettingsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [default to undefined]
9
+ **email** | **string** | | [optional] [default to undefined]
10
+ **phone** | **string** | | [optional] [default to undefined]
11
+ **websiteUrl** | **string** | | [optional] [default to undefined]
12
+ **logo** | **string** | | [optional] [default to undefined]
13
+ **location** | [**ClubLocationSettings**](ClubLocationSettings.md) | | [default to undefined]
14
+ **stripeUrl** | **string** | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { ClubGeneralSettingsResponse } from '@tennac-booking/sdk';
20
+
21
+ const instance: ClubGeneralSettingsResponse = {
22
+ name,
23
+ email,
24
+ phone,
25
+ websiteUrl,
26
+ logo,
27
+ location,
28
+ stripeUrl,
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,22 @@
1
+ # ClubHoursSettingsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **schedule** | [**ClubWeeklySchedule**](ClubWeeklySchedule.md) | | [default to undefined]
9
+ **pricingPeriods** | [**Array&lt;ClubPricingPeriodResponse&gt;**](ClubPricingPeriodResponse.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ClubHoursSettingsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: ClubHoursSettingsResponse = {
17
+ schedule,
18
+ pricingPeriods,
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,26 @@
1
+ # ClubLocationSettings
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **address** | **string** | | [optional] [default to undefined]
9
+ **zipCode** | **string** | | [optional] [default to undefined]
10
+ **city** | **string** | | [optional] [default to undefined]
11
+ **country** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { ClubLocationSettings } from '@tennac-booking/sdk';
17
+
18
+ const instance: ClubLocationSettings = {
19
+ address,
20
+ zipCode,
21
+ city,
22
+ country,
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
+ # ClubPlayerBookingItem
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | ID de la réservation | [default to undefined]
9
+ **startDate** | **string** | Date de début de la réservation | [default to undefined]
10
+ **endDate** | **string** | Date de fin de la réservation | [default to undefined]
11
+ **location** | **string** | Nom du terrain ou emplacement | [default to undefined]
12
+ **sport** | **string** | Nom du sport associé | [default to undefined]
13
+ **status** | **string** | Statut de la réservation | [default to undefined]
14
+ **totalPrice** | **number** | Prix total de la réservation en centimes | [default to undefined]
15
+ **isCreator** | **boolean** | Indique si le joueur est le créateur de la réservation | [default to undefined]
16
+ **participantsCount** | **number** | Nombre total de participants | [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { ClubPlayerBookingItem } from '@tennac-booking/sdk';
22
+
23
+ const instance: ClubPlayerBookingItem = {
24
+ id,
25
+ startDate,
26
+ endDate,
27
+ location,
28
+ sport,
29
+ status,
30
+ totalPrice,
31
+ isCreator,
32
+ participantsCount,
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)