@tennac-booking/sdk 1.0.86 → 1.0.87

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 (96) hide show
  1. package/.openapi-generator/FILES +256 -243
  2. package/README.md +47 -25
  3. package/api.ts +2445 -1308
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +2048 -1281
  8. package/dist/api.js +841 -270
  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 +2048 -1281
  16. package/dist/esm/api.js +834 -263
  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/{DeleteClubSettingsResponse.md → AddPaymentMethodRequestBody.md} +5 -5
  28. package/docs/BookingDetailResponse.md +46 -0
  29. package/docs/BookingInfo.md +2 -2
  30. package/docs/BookingPopulated.md +3 -3
  31. package/docs/BookingResponse.md +0 -2
  32. package/docs/BookingSummary.md +2 -54
  33. package/docs/BookingsApi.md +0 -55
  34. package/docs/ClubAnalyticsStaffApi.md +173 -0
  35. package/docs/{BookingSportInfo.md → ClubDaySchedule.md} +7 -7
  36. package/docs/ClubGeneralSettingsResponse.md +32 -0
  37. package/docs/ClubHoursSettingsResponse.md +22 -0
  38. package/docs/ClubLocationSettings.md +26 -0
  39. package/docs/ClubPlayerBookingItem.md +36 -0
  40. package/docs/ClubPlayerBookingsPagination.md +28 -0
  41. package/docs/ClubPlayerBookingsResponse.md +24 -0
  42. package/docs/ClubPlayerDetailResponse.md +46 -0
  43. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
  44. package/docs/ClubPlayerStatisticsResponse.md +42 -0
  45. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
  46. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
  47. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
  48. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
  49. package/docs/ClubPlayerSubscriptionSummary.md +28 -0
  50. package/docs/ClubPresentationSettingsResponse.md +26 -0
  51. package/docs/ClubPricingPeriodResponse.md +30 -0
  52. package/docs/ClubReservationSettingsResponse.md +28 -0
  53. package/docs/ClubResponse.md +0 -8
  54. package/docs/ClubSettingsManagerApi.md +54 -55
  55. package/docs/ClubSettingsStaffApi.md +139 -0
  56. package/docs/ClubWeeklySchedule.md +32 -0
  57. package/docs/ClubsManagerApi.md +52 -0
  58. package/docs/ClubsStaffApi.md +44 -0
  59. package/docs/{BookingCourtInfo.md → ConfirmPaymentMethodRequestBody.md} +5 -7
  60. package/docs/{BookingPriceBody.md → ConfirmPaymentMethodResponse.md} +7 -7
  61. package/docs/CreateBookingRequest.md +2 -2
  62. package/docs/CreateEventRequest.md +3 -1
  63. package/docs/EventResponse.md +1 -1
  64. package/docs/IUserAttributes.md +12 -2
  65. package/docs/PartialClubResponse.md +0 -8
  66. package/docs/PartialClubWeeklySchedule.md +33 -0
  67. package/docs/PaymentMethodSetupResponse.md +24 -0
  68. package/docs/QuickReservationClubSummary.md +0 -4
  69. package/docs/{EventResponseCourtsInner.md → SetupPaymentMethodRequestBody.md} +5 -3
  70. package/docs/SetupPaymentMethodResponse.md +24 -0
  71. package/docs/SlotInfo.md +2 -2
  72. package/docs/StaffUserProfileResponse.md +12 -2
  73. package/docs/SubscribeRequestBody.md +0 -2
  74. package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
  75. package/docs/UpdateClubHoursSettingsRequest.md +22 -0
  76. package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
  77. package/docs/UpdateClubReservationSettingsRequest.md +28 -0
  78. package/docs/UpdateEventRequest.md +1 -1
  79. package/docs/UserProfileResponse.md +12 -4
  80. package/docs/UsersApi.md +160 -4
  81. package/index.ts +1 -1
  82. package/package.json +1 -1
  83. package/docs/BookingClubInfo.md +0 -28
  84. package/docs/BookingPaymentStatus.md +0 -24
  85. package/docs/BookingPlayerPaymentSummary.md +0 -34
  86. package/docs/BookingPriceResponse.md +0 -22
  87. package/docs/BookingSlotInfo.md +0 -30
  88. package/docs/ClubSettingsResponse.md +0 -39
  89. package/docs/CreateClubSettingsRequest.md +0 -34
  90. package/docs/InvoiceStatus.md +0 -22
  91. package/docs/PlayerPrice.md +0 -30
  92. package/docs/QuickReservationClubSport.md +0 -22
  93. package/docs/SportsPublicApi.md +0 -53
  94. package/docs/SubscriptionInfo.md +0 -24
  95. package/docs/UpdateClubSettingsRequest.md +0 -32
  96. package/docs/UserBookingsResponse.md +0 -28
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.86
5
+ * The version of the OpenAPI document: 1.0.77
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.86
7
+ * The version of the OpenAPI document: 1.0.77
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.86
5
+ * The version of the OpenAPI document: 1.0.77
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.86
7
+ * The version of the OpenAPI document: 1.0.77
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.86
5
+ * The version of the OpenAPI document: 1.0.77
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.86
7
+ * The version of the OpenAPI document: 1.0.77
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.86
5
+ * The version of the OpenAPI document: 1.0.77
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.86
7
+ * The version of the OpenAPI document: 1.0.77
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.86
5
+ * The version of the OpenAPI document: 1.0.77
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.86
8
+ * The version of the OpenAPI document: 1.0.77
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,19 +1,19 @@
1
- # DeleteClubSettingsResponse
1
+ # AddPaymentMethodRequestBody
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | Message de confirmation | [default to undefined]
8
+ **paymentMethodId** | **string** | | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { DeleteClubSettingsResponse } from '@tennac-booking/sdk';
13
+ import { AddPaymentMethodRequestBody } from '@tennac-booking/sdk';
14
14
 
15
- const instance: DeleteClubSettingsResponse = {
16
- message,
15
+ const instance: AddPaymentMethodRequestBody = {
16
+ paymentMethodId,
17
17
  };
18
18
  ```
19
19
 
@@ -0,0 +1,46 @@
1
+ # BookingDetailResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **clubPicture** | **string** | | [optional] [default to undefined]
10
+ **courtName** | **string** | | [optional] [default to undefined]
11
+ **sportName** | **string** | | [optional] [default to undefined]
12
+ **startDate** | **string** | | [optional] [default to undefined]
13
+ **myPaymentStatus** | **string** | | [optional] [default to undefined]
14
+ **bookingStatus** | **string** | | [optional] [default to undefined]
15
+ **playersName** | **Array<string>** | | [default to undefined]
16
+ **myAmountToPay** | **number** | | [default to undefined]
17
+ **totalAmount** | **number** | | [default to undefined]
18
+ **timeBeforeCancel** | **string** | | [optional] [default to undefined]
19
+ **clubAddress** | [**BookingSummaryClubAddress**](BookingSummaryClubAddress.md) | | [optional] [default to undefined]
20
+ **bookingHistory** | [**BookingHistoryPopulated**](BookingHistoryPopulated.md) | | [optional] [default to undefined]
21
+ **paymentStatus** | **Array<{ [key: string]: any; }>** | | [default to undefined]
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import { BookingDetailResponse } from '@tennac-booking/sdk';
27
+
28
+ const instance: BookingDetailResponse = {
29
+ id,
30
+ clubPicture,
31
+ courtName,
32
+ sportName,
33
+ startDate,
34
+ myPaymentStatus,
35
+ bookingStatus,
36
+ playersName,
37
+ myAmountToPay,
38
+ totalAmount,
39
+ timeBeforeCancel,
40
+ clubAddress,
41
+ bookingHistory,
42
+ paymentStatus,
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)
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  **playersIds** | **Array<string>** | Liste des IDs des joueurs | [default to undefined]
12
12
  **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
13
13
  **totalPrice** | **number** | Prix total en euros | [default to undefined]
14
- **slotIds** | **Array<string>** | ID du créneau | [default to undefined]
14
+ **slotId** | **string** | ID du créneau | [default to undefined]
15
15
  **isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined]
16
16
  **createdAt** | **string** | Date de création | [default to undefined]
17
17
  **updatedAt** | **string** | Date de mise à jour | [default to undefined]
@@ -34,7 +34,7 @@ const instance: BookingInfo = {
34
34
  playersIds,
35
35
  status,
36
36
  totalPrice,
37
- slotIds,
37
+ slotId,
38
38
  isCreatorPayingAll,
39
39
  createdAt,
40
40
  updatedAt,
@@ -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,
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
9
9
  **invoiceUrl** | **string** | URL de la facture (pour paiement en ligne) | [optional] [default to undefined]
10
10
  **paymentLinks** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
11
11
  **onsitePayments** | [**Array<BookingResponseOnsitePaymentsInner>**](BookingResponseOnsitePaymentsInner.md) | Paiements sur place requis | [optional] [default to undefined]
12
- **setupNoShowPaymentUrl** | **string** | | [optional] [default to undefined]
13
12
  **message** | **string** | Message de confirmation | [default to undefined]
14
13
 
15
14
  ## Example
@@ -22,7 +21,6 @@ const instance: BookingResponse = {
22
21
  invoiceUrl,
23
22
  paymentLinks,
24
23
  onsitePayments,
25
- setupNoShowPaymentUrl,
26
24
  message,
27
25
  };
28
26
  ```
@@ -6,44 +6,18 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [default to undefined]
9
- **clubId** | **string** | | [default to undefined]
10
- **userId** | **string** | | [default to undefined]
11
- **playersIds** | **Array<string>** | | [default to undefined]
12
- **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
13
- **paymentByPlayersStatus** | [**Array<BookingPaymentStatus>**](BookingPaymentStatus.md) | | [default to undefined]
14
- **isCreatorPayingAll** | **boolean** | | [default to undefined]
15
- **totalPrice** | **number** | | [default to undefined]
16
- **slotIds** | **Array<string>** | | [default to undefined]
17
- **isPublic** | **boolean** | | [default to undefined]
18
- **creatorPaymentMethodId** | **string** | | [optional] [default to undefined]
19
- **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
20
- **noShowChargeAmount** | **number** | | [optional] [default to undefined]
21
- **noShowChargeApplied** | **boolean** | | [optional] [default to undefined]
22
- **noShowChargeIntentId** | **string** | | [optional] [default to undefined]
23
- **cancellationReason** | **string** | | [optional] [default to undefined]
24
- **cancelledBy** | **string** | | [optional] [default to undefined]
25
- **cancelledAt** | **string** | | [optional] [default to undefined]
26
- **cancelledByManager** | **boolean** | | [optional] [default to undefined]
27
- **createdAt** | **string** | | [default to undefined]
28
- **updatedAt** | **string** | | [default to undefined]
29
- **playersCount** | **number** | | [optional] [default to undefined]
30
9
  **clubPicture** | **string** | | [optional] [default to undefined]
31
10
  **courtName** | **string** | | [optional] [default to undefined]
32
11
  **sportName** | **string** | | [optional] [default to undefined]
33
12
  **startDate** | **string** | | [optional] [default to undefined]
34
- **myPaymentStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
13
+ **myPaymentStatus** | **string** | | [optional] [default to undefined]
35
14
  **bookingStatus** | **string** | | [optional] [default to undefined]
36
15
  **playersName** | **Array<string>** | | [default to undefined]
37
16
  **myAmountToPay** | **number** | | [default to undefined]
38
17
  **totalAmount** | **number** | | [default to undefined]
39
18
  **timeBeforeCancel** | **string** | | [optional] [default to undefined]
40
19
  **clubAddress** | [**BookingSummaryClubAddress**](BookingSummaryClubAddress.md) | | [optional] [default to undefined]
41
- **bookingHistory** | [**Array<BookingHistoryPopulated>**](BookingHistoryPopulated.md) | | [optional] [default to undefined]
42
- **club** | [**BookingClubInfo**](BookingClubInfo.md) | | [optional] [default to undefined]
43
- **slots** | [**Array<BookingSlotInfo>**](BookingSlotInfo.md) | | [default to undefined]
44
- **court** | [**BookingCourtInfo**](BookingCourtInfo.md) | | [optional] [default to undefined]
45
- **sport** | [**BookingSportInfo**](BookingSportInfo.md) | | [optional] [default to undefined]
46
- **players** | [**Array<BookingPlayerPaymentSummary>**](BookingPlayerPaymentSummary.md) | | [default to undefined]
20
+ **bookingHistory** | [**BookingHistoryPopulated**](BookingHistoryPopulated.md) | | [optional] [default to undefined]
47
21
 
48
22
  ## Example
49
23
 
@@ -52,27 +26,6 @@ import { BookingSummary } from '@tennac-booking/sdk';
52
26
 
53
27
  const instance: BookingSummary = {
54
28
  id,
55
- clubId,
56
- userId,
57
- playersIds,
58
- status,
59
- paymentByPlayersStatus,
60
- isCreatorPayingAll,
61
- totalPrice,
62
- slotIds,
63
- isPublic,
64
- creatorPaymentMethodId,
65
- paymentMethodSetupCompleted,
66
- noShowChargeAmount,
67
- noShowChargeApplied,
68
- noShowChargeIntentId,
69
- cancellationReason,
70
- cancelledBy,
71
- cancelledAt,
72
- cancelledByManager,
73
- createdAt,
74
- updatedAt,
75
- playersCount,
76
29
  clubPicture,
77
30
  courtName,
78
31
  sportName,
@@ -85,11 +38,6 @@ const instance: BookingSummary = {
85
38
  timeBeforeCancel,
86
39
  clubAddress,
87
40
  bookingHistory,
88
- club,
89
- slots,
90
- court,
91
- sport,
92
- players,
93
41
  };
94
42
  ```
95
43
 
@@ -5,7 +5,6 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getBookingHistory**](#getbookinghistory) | **GET** /api/bookings/history/{bookingId} | |
8
- |[**getBookingPrice**](#getbookingprice) | **POST** /api/bookings/booking-price | |
9
8
  |[**getQuickReservationSlots**](#getquickreservationslots) | **GET** /api/bookings/quick-reservations | |
10
9
 
11
10
  # **getBookingHistory**
@@ -59,57 +58,6 @@ const { status, data } = await apiInstance.getBookingHistory(
59
58
 
60
59
  [[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
60
 
62
- # **getBookingPrice**
63
- > BookingPriceResponse getBookingPrice(bookingPriceBody)
64
-
65
-
66
- ### Example
67
-
68
- ```typescript
69
- import {
70
- BookingsApi,
71
- Configuration,
72
- BookingPriceBody
73
- } from '@tennac-booking/sdk';
74
-
75
- const configuration = new Configuration();
76
- const apiInstance = new BookingsApi(configuration);
77
-
78
- let bookingPriceBody: BookingPriceBody; //
79
-
80
- const { status, data } = await apiInstance.getBookingPrice(
81
- bookingPriceBody
82
- );
83
- ```
84
-
85
- ### Parameters
86
-
87
- |Name | Type | Description | Notes|
88
- |------------- | ------------- | ------------- | -------------|
89
- | **bookingPriceBody** | **BookingPriceBody**| | |
90
-
91
-
92
- ### Return type
93
-
94
- **BookingPriceResponse**
95
-
96
- ### Authorization
97
-
98
- [bearerAuth](../README.md#bearerAuth)
99
-
100
- ### HTTP request headers
101
-
102
- - **Content-Type**: application/json
103
- - **Accept**: application/json
104
-
105
-
106
- ### HTTP response details
107
- | Status code | Description | Response headers |
108
- |-------------|-------------|------------------|
109
- |**200** | Réservations journalières récupérées | - |
110
-
111
- [[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)
112
-
113
61
  # **getQuickReservationSlots**
114
62
  > QuickReservationResponse getQuickReservationSlots()
115
63
 
@@ -134,7 +82,6 @@ let sportId: string; // (optional) (default to undefined)
134
82
  let startTime: string; // (optional) (default to undefined)
135
83
  let priceMax: number; // (optional) (default to undefined)
136
84
  let courtTypes: string; // (optional) (default to undefined)
137
- let surfaceTypes: string; // (optional) (default to undefined)
138
85
  let limitPerClub: number; // (optional) (default to undefined)
139
86
  let maxClubs: number; // (optional) (default to undefined)
140
87
 
@@ -147,7 +94,6 @@ const { status, data } = await apiInstance.getQuickReservationSlots(
147
94
  startTime,
148
95
  priceMax,
149
96
  courtTypes,
150
- surfaceTypes,
151
97
  limitPerClub,
152
98
  maxClubs
153
99
  );
@@ -165,7 +111,6 @@ const { status, data } = await apiInstance.getQuickReservationSlots(
165
111
  | **startTime** | [**string**] | | (optional) defaults to undefined|
166
112
  | **priceMax** | [**number**] | | (optional) defaults to undefined|
167
113
  | **courtTypes** | [**string**] | | (optional) defaults to undefined|
168
- | **surfaceTypes** | [**string**] | | (optional) defaults to undefined|
169
114
  | **limitPerClub** | [**number**] | | (optional) defaults to undefined|
170
115
  | **maxClubs** | [**number**] | | (optional) defaults to undefined|
171
116
 
@@ -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 | |
@@ -69,6 +72,176 @@ const { status, data } = await apiInstance.getAnalyticsBySport(
69
72
 
70
73
  [[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
74
 
75
+ # **getClubPlayerBookingsById**
76
+ > ClubPlayerBookingsResponse getClubPlayerBookingsById()
77
+
78
+ Récupère les réservations d\'un joueur par son ID (à venir et passées)
79
+
80
+ ### Example
81
+
82
+ ```typescript
83
+ import {
84
+ ClubAnalyticsStaffApi,
85
+ Configuration
86
+ } from '@tennac-booking/sdk';
87
+
88
+ const configuration = new Configuration();
89
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
90
+
91
+ let playerId: string; // (default to undefined)
92
+ let page: number; // (optional) (default to undefined)
93
+ let pageSize: number; // (optional) (default to undefined)
94
+
95
+ const { status, data } = await apiInstance.getClubPlayerBookingsById(
96
+ playerId,
97
+ page,
98
+ pageSize
99
+ );
100
+ ```
101
+
102
+ ### Parameters
103
+
104
+ |Name | Type | Description | Notes|
105
+ |------------- | ------------- | ------------- | -------------|
106
+ | **playerId** | [**string**] | | defaults to undefined|
107
+ | **page** | [**number**] | | (optional) defaults to undefined|
108
+ | **pageSize** | [**number**] | | (optional) defaults to undefined|
109
+
110
+
111
+ ### Return type
112
+
113
+ **ClubPlayerBookingsResponse**
114
+
115
+ ### Authorization
116
+
117
+ [bearerAuth](../README.md#bearerAuth)
118
+
119
+ ### HTTP request headers
120
+
121
+ - **Content-Type**: Not defined
122
+ - **Accept**: application/json
123
+
124
+
125
+ ### HTTP response details
126
+ | Status code | Description | Response headers |
127
+ |-------------|-------------|------------------|
128
+ |**200** | Réservations du joueur | - |
129
+ |**400** | Bad Request | - |
130
+ |**401** | Unauthorized | - |
131
+ |**500** | Server Error | - |
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
+ # **getClubPlayerById**
136
+ > ClubPlayerDetailResponse getClubPlayerById()
137
+
138
+ Récupère les informations détaillées d\'un joueur par son ID
139
+
140
+ ### Example
141
+
142
+ ```typescript
143
+ import {
144
+ ClubAnalyticsStaffApi,
145
+ Configuration
146
+ } from '@tennac-booking/sdk';
147
+
148
+ const configuration = new Configuration();
149
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
150
+
151
+ let playerId: string; // (default to undefined)
152
+
153
+ const { status, data } = await apiInstance.getClubPlayerById(
154
+ playerId
155
+ );
156
+ ```
157
+
158
+ ### Parameters
159
+
160
+ |Name | Type | Description | Notes|
161
+ |------------- | ------------- | ------------- | -------------|
162
+ | **playerId** | [**string**] | | defaults to undefined|
163
+
164
+
165
+ ### Return type
166
+
167
+ **ClubPlayerDetailResponse**
168
+
169
+ ### Authorization
170
+
171
+ [bearerAuth](../README.md#bearerAuth)
172
+
173
+ ### HTTP request headers
174
+
175
+ - **Content-Type**: Not defined
176
+ - **Accept**: application/json
177
+
178
+
179
+ ### HTTP response details
180
+ | Status code | Description | Response headers |
181
+ |-------------|-------------|------------------|
182
+ |**200** | Informations du joueur | - |
183
+ |**400** | Bad Request | - |
184
+ |**401** | Unauthorized | - |
185
+ |**404** | Not Found | - |
186
+ |**500** | Server Error | - |
187
+
188
+ [[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)
189
+
190
+ # **getClubPlayerStatisticsById**
191
+ > ClubPlayerStatisticsResponse getClubPlayerStatisticsById()
192
+
193
+ Récupère les statistiques d\'un joueur pour le staff
194
+
195
+ ### Example
196
+
197
+ ```typescript
198
+ import {
199
+ ClubAnalyticsStaffApi,
200
+ Configuration
201
+ } from '@tennac-booking/sdk';
202
+
203
+ const configuration = new Configuration();
204
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
205
+
206
+ let playerId: string; // (default to undefined)
207
+
208
+ const { status, data } = await apiInstance.getClubPlayerStatisticsById(
209
+ playerId
210
+ );
211
+ ```
212
+
213
+ ### Parameters
214
+
215
+ |Name | Type | Description | Notes|
216
+ |------------- | ------------- | ------------- | -------------|
217
+ | **playerId** | [**string**] | | defaults to undefined|
218
+
219
+
220
+ ### Return type
221
+
222
+ **ClubPlayerStatisticsResponse**
223
+
224
+ ### Authorization
225
+
226
+ [bearerAuth](../README.md#bearerAuth)
227
+
228
+ ### HTTP request headers
229
+
230
+ - **Content-Type**: Not defined
231
+ - **Accept**: application/json
232
+
233
+
234
+ ### HTTP response details
235
+ | Status code | Description | Response headers |
236
+ |-------------|-------------|------------------|
237
+ |**200** | Statistiques du joueur | - |
238
+ |**400** | Bad Request | - |
239
+ |**401** | Unauthorized | - |
240
+ |**404** | Not Found | - |
241
+ |**500** | Server Error | - |
242
+
243
+ [[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)
244
+
72
245
  # **getClubPlayers**
73
246
  > Array<ClubPlayerResponse> getClubPlayers()
74
247
 
@@ -1,21 +1,21 @@
1
- # BookingSportInfo
1
+ # ClubDaySchedule
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [optional] [default to undefined]
9
- **key** | **string** | | [optional] [default to undefined]
8
+ **open** | **string** | | [default to undefined]
9
+ **close** | **string** | | [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { BookingSportInfo } from '@tennac-booking/sdk';
14
+ import { ClubDaySchedule } from '@tennac-booking/sdk';
15
15
 
16
- const instance: BookingSportInfo = {
17
- id,
18
- key,
16
+ const instance: ClubDaySchedule = {
17
+ open,
18
+ close,
19
19
  };
20
20
  ```
21
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)