@tennac-booking/sdk 1.0.85 → 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 (94) hide show
  1. package/.openapi-generator/FILES +256 -241
  2. package/README.md +47 -24
  3. package/api.ts +2443 -1287
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +2046 -1260
  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 +2046 -1260
  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/BookingInfo.md +2 -2
  29. package/docs/BookingPopulated.md +3 -3
  30. package/docs/BookingResponse.md +0 -2
  31. package/docs/BookingSummary.md +2 -54
  32. package/docs/BookingsApi.md +0 -55
  33. package/docs/ClubAnalyticsStaffApi.md +173 -0
  34. package/docs/{BookingSportInfo.md → ClubDaySchedule.md} +7 -7
  35. package/docs/ClubGeneralSettingsResponse.md +32 -0
  36. package/docs/ClubHoursSettingsResponse.md +22 -0
  37. package/docs/ClubLocationSettings.md +26 -0
  38. package/docs/ClubPlayerBookingItem.md +36 -0
  39. package/docs/ClubPlayerBookingsPagination.md +28 -0
  40. package/docs/ClubPlayerBookingsResponse.md +24 -0
  41. package/docs/ClubPlayerDetailResponse.md +46 -0
  42. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
  43. package/docs/ClubPlayerStatisticsResponse.md +42 -0
  44. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
  45. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
  46. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
  47. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
  48. package/docs/ClubPlayerSubscriptionSummary.md +28 -0
  49. package/docs/ClubPresentationSettingsResponse.md +26 -0
  50. package/docs/ClubPricingPeriodResponse.md +30 -0
  51. package/docs/ClubReservationSettingsResponse.md +28 -0
  52. package/docs/ClubResponse.md +0 -8
  53. package/docs/ClubSettingsManagerApi.md +54 -55
  54. package/docs/ClubSettingsStaffApi.md +139 -0
  55. package/docs/ClubWeeklySchedule.md +32 -0
  56. package/docs/ClubsManagerApi.md +52 -0
  57. package/docs/ClubsStaffApi.md +44 -0
  58. package/docs/{BookingCourtInfo.md → ConfirmPaymentMethodRequestBody.md} +5 -7
  59. package/docs/{BookingPriceBody.md → ConfirmPaymentMethodResponse.md} +7 -7
  60. package/docs/CreateBookingRequest.md +2 -2
  61. package/docs/CreateEventRequest.md +3 -1
  62. package/docs/EventResponse.md +1 -1
  63. package/docs/IUserAttributes.md +12 -2
  64. package/docs/PartialClubResponse.md +0 -8
  65. package/docs/PartialClubWeeklySchedule.md +33 -0
  66. package/docs/PaymentMethodSetupResponse.md +24 -0
  67. package/docs/QuickReservationClubSummary.md +0 -4
  68. package/docs/{EventResponseCourtsInner.md → SetupPaymentMethodRequestBody.md} +5 -3
  69. package/docs/SetupPaymentMethodResponse.md +24 -0
  70. package/docs/SlotInfo.md +2 -2
  71. package/docs/StaffUserProfileResponse.md +12 -2
  72. package/docs/SubscribeRequestBody.md +0 -2
  73. package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
  74. package/docs/UpdateClubHoursSettingsRequest.md +22 -0
  75. package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
  76. package/docs/UpdateClubReservationSettingsRequest.md +28 -0
  77. package/docs/UpdateEventRequest.md +1 -1
  78. package/docs/UserProfileResponse.md +12 -4
  79. package/docs/UsersApi.md +160 -4
  80. package/index.ts +1 -1
  81. package/package.json +1 -1
  82. package/docs/BookingClubInfo.md +0 -28
  83. package/docs/BookingPaymentStatus.md +0 -24
  84. package/docs/BookingPlayerPaymentSummary.md +0 -34
  85. package/docs/BookingSlotInfo.md +0 -30
  86. package/docs/ClubSettingsResponse.md +0 -39
  87. package/docs/CreateClubSettingsRequest.md +0 -34
  88. package/docs/InvoiceStatus.md +0 -22
  89. package/docs/PlayerPrice.md +0 -30
  90. package/docs/QuickReservationClubSport.md +0 -22
  91. package/docs/SportsPublicApi.md +0 -53
  92. package/docs/SubscriptionInfo.md +0 -24
  93. package/docs/UpdateClubSettingsRequest.md +0 -32
  94. package/docs/UserBookingsResponse.md +0 -28
@@ -4,15 +4,14 @@ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**createClubSettings**](#createclubsettings) | **POST** /api/club-settings/{clubId} | |
8
- |[**deleteClubSettings**](#deleteclubsettings) | **DELETE** /api/club-settings | |
9
- |[**getClubSettings**](#getclubsettings) | **GET** /api/club-settings | |
7
+ |[**updateClubGeneralSettings**](#updateclubgeneralsettings) | **PUT** /api/club-settings/settings/general | |
10
8
  |[**updateClubSettings**](#updateclubsettings) | **PUT** /api/club-settings | |
9
+ |[**updateHoursSettings**](#updatehourssettings) | **PUT** /api/club-settings/hours | |
10
+ |[**updateReservationSettings**](#updatereservationsettings) | **PUT** /api/club-settings/reservation | |
11
11
 
12
- # **createClubSettings**
13
- > ClubSettingsResponse createClubSettings(createClubSettingsRequest)
12
+ # **updateClubGeneralSettings**
13
+ > ClubGeneralSettingsResponse updateClubGeneralSettings(updateClubGeneralSettingsRequest)
14
14
 
15
- Crée les paramètres d\'un club
16
15
 
17
16
  ### Example
18
17
 
@@ -20,18 +19,16 @@ Crée les paramètres d\'un club
20
19
  import {
21
20
  ClubSettingsManagerApi,
22
21
  Configuration,
23
- CreateClubSettingsRequest
22
+ UpdateClubGeneralSettingsRequest
24
23
  } from '@tennac-booking/sdk';
25
24
 
26
25
  const configuration = new Configuration();
27
26
  const apiInstance = new ClubSettingsManagerApi(configuration);
28
27
 
29
- let clubId: string; // (default to undefined)
30
- let createClubSettingsRequest: CreateClubSettingsRequest; //
28
+ let updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest; //
31
29
 
32
- const { status, data } = await apiInstance.createClubSettings(
33
- clubId,
34
- createClubSettingsRequest
30
+ const { status, data } = await apiInstance.updateClubGeneralSettings(
31
+ updateClubGeneralSettingsRequest
35
32
  );
36
33
  ```
37
34
 
@@ -39,13 +36,12 @@ const { status, data } = await apiInstance.createClubSettings(
39
36
 
40
37
  |Name | Type | Description | Notes|
41
38
  |------------- | ------------- | ------------- | -------------|
42
- | **createClubSettingsRequest** | **CreateClubSettingsRequest**| | |
43
- | **clubId** | [**string**] | | defaults to undefined|
39
+ | **updateClubGeneralSettingsRequest** | **UpdateClubGeneralSettingsRequest**| | |
44
40
 
45
41
 
46
42
  ### Return type
47
43
 
48
- **ClubSettingsResponse**
44
+ **ClubGeneralSettingsResponse**
49
45
 
50
46
  ### Authorization
51
47
 
@@ -60,39 +56,44 @@ const { status, data } = await apiInstance.createClubSettings(
60
56
  ### HTTP response details
61
57
  | Status code | Description | Response headers |
62
58
  |-------------|-------------|------------------|
63
- |**201** | Paramètres créés | - |
64
- |**400** | Bad Request | - |
65
- |**401** | Unauthorized | - |
66
- |**500** | Server Error | - |
59
+ |**200** | Paramètres généraux mis à jour | - |
67
60
 
68
61
  [[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
62
 
70
- # **deleteClubSettings**
71
- > DeleteClubSettingsResponse deleteClubSettings()
63
+ # **updateClubSettings**
64
+ > ClubReservationSettingsResponse updateClubSettings(updateClubReservationSettingsRequest)
72
65
 
73
- Supprime les paramètres d\'un club
66
+ Met à jour les paramètres d\'un club
74
67
 
75
68
  ### Example
76
69
 
77
70
  ```typescript
78
71
  import {
79
72
  ClubSettingsManagerApi,
80
- Configuration
73
+ Configuration,
74
+ UpdateClubReservationSettingsRequest
81
75
  } from '@tennac-booking/sdk';
82
76
 
83
77
  const configuration = new Configuration();
84
78
  const apiInstance = new ClubSettingsManagerApi(configuration);
85
79
 
86
- const { status, data } = await apiInstance.deleteClubSettings();
80
+ let updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest; //
81
+
82
+ const { status, data } = await apiInstance.updateClubSettings(
83
+ updateClubReservationSettingsRequest
84
+ );
87
85
  ```
88
86
 
89
87
  ### Parameters
90
- This endpoint does not have any parameters.
88
+
89
+ |Name | Type | Description | Notes|
90
+ |------------- | ------------- | ------------- | -------------|
91
+ | **updateClubReservationSettingsRequest** | **UpdateClubReservationSettingsRequest**| | |
91
92
 
92
93
 
93
94
  ### Return type
94
95
 
95
- **DeleteClubSettingsResponse**
96
+ **ClubReservationSettingsResponse**
96
97
 
97
98
  ### Authorization
98
99
 
@@ -100,14 +101,14 @@ This endpoint does not have any parameters.
100
101
 
101
102
  ### HTTP request headers
102
103
 
103
- - **Content-Type**: Not defined
104
+ - **Content-Type**: application/json
104
105
  - **Accept**: application/json
105
106
 
106
107
 
107
108
  ### HTTP response details
108
109
  | Status code | Description | Response headers |
109
110
  |-------------|-------------|------------------|
110
- |**200** | Paramètres supprimés | - |
111
+ |**200** | Paramètres mis à jour | - |
111
112
  |**400** | Bad Request | - |
112
113
  |**401** | Unauthorized | - |
113
114
  |**404** | Paramètres non trouvés | - |
@@ -115,32 +116,39 @@ This endpoint does not have any parameters.
115
116
 
116
117
  [[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)
117
118
 
118
- # **getClubSettings**
119
- > ClubSettingsResponse getClubSettings()
119
+ # **updateHoursSettings**
120
+ > ClubHoursSettingsResponse updateHoursSettings(updateClubHoursSettingsRequest)
120
121
 
121
- Récupère les paramètres d\'un club
122
122
 
123
123
  ### Example
124
124
 
125
125
  ```typescript
126
126
  import {
127
127
  ClubSettingsManagerApi,
128
- Configuration
128
+ Configuration,
129
+ UpdateClubHoursSettingsRequest
129
130
  } from '@tennac-booking/sdk';
130
131
 
131
132
  const configuration = new Configuration();
132
133
  const apiInstance = new ClubSettingsManagerApi(configuration);
133
134
 
134
- const { status, data } = await apiInstance.getClubSettings();
135
+ let updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest; //
136
+
137
+ const { status, data } = await apiInstance.updateHoursSettings(
138
+ updateClubHoursSettingsRequest
139
+ );
135
140
  ```
136
141
 
137
142
  ### Parameters
138
- This endpoint does not have any parameters.
143
+
144
+ |Name | Type | Description | Notes|
145
+ |------------- | ------------- | ------------- | -------------|
146
+ | **updateClubHoursSettingsRequest** | **UpdateClubHoursSettingsRequest**| | |
139
147
 
140
148
 
141
149
  ### Return type
142
150
 
143
- **ClubSettingsResponse**
151
+ **ClubHoursSettingsResponse**
144
152
 
145
153
  ### Authorization
146
154
 
@@ -148,25 +156,20 @@ This endpoint does not have any parameters.
148
156
 
149
157
  ### HTTP request headers
150
158
 
151
- - **Content-Type**: Not defined
159
+ - **Content-Type**: application/json
152
160
  - **Accept**: application/json
153
161
 
154
162
 
155
163
  ### HTTP response details
156
164
  | Status code | Description | Response headers |
157
165
  |-------------|-------------|------------------|
158
- |**200** | Paramètres du club | - |
159
- |**400** | Bad Request | - |
160
- |**401** | Unauthorized | - |
161
- |**404** | Paramètres non trouvés | - |
162
- |**500** | Server Error | - |
166
+ |**200** | Horaires du club mis à jour | - |
163
167
 
164
168
  [[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)
165
169
 
166
- # **updateClubSettings**
167
- > ClubSettingsResponse updateClubSettings(updateClubSettingsRequest)
170
+ # **updateReservationSettings**
171
+ > ClubReservationSettingsResponse updateReservationSettings(updateClubReservationSettingsRequest)
168
172
 
169
- Met à jour les paramètres d\'un club
170
173
 
171
174
  ### Example
172
175
 
@@ -174,16 +177,16 @@ Met à jour les paramètres d\'un club
174
177
  import {
175
178
  ClubSettingsManagerApi,
176
179
  Configuration,
177
- UpdateClubSettingsRequest
180
+ UpdateClubReservationSettingsRequest
178
181
  } from '@tennac-booking/sdk';
179
182
 
180
183
  const configuration = new Configuration();
181
184
  const apiInstance = new ClubSettingsManagerApi(configuration);
182
185
 
183
- let updateClubSettingsRequest: UpdateClubSettingsRequest; //
186
+ let updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest; //
184
187
 
185
- const { status, data } = await apiInstance.updateClubSettings(
186
- updateClubSettingsRequest
188
+ const { status, data } = await apiInstance.updateReservationSettings(
189
+ updateClubReservationSettingsRequest
187
190
  );
188
191
  ```
189
192
 
@@ -191,12 +194,12 @@ const { status, data } = await apiInstance.updateClubSettings(
191
194
 
192
195
  |Name | Type | Description | Notes|
193
196
  |------------- | ------------- | ------------- | -------------|
194
- | **updateClubSettingsRequest** | **UpdateClubSettingsRequest**| | |
197
+ | **updateClubReservationSettingsRequest** | **UpdateClubReservationSettingsRequest**| | |
195
198
 
196
199
 
197
200
  ### Return type
198
201
 
199
- **ClubSettingsResponse**
202
+ **ClubReservationSettingsResponse**
200
203
 
201
204
  ### Authorization
202
205
 
@@ -211,11 +214,7 @@ const { status, data } = await apiInstance.updateClubSettings(
211
214
  ### HTTP response details
212
215
  | Status code | Description | Response headers |
213
216
  |-------------|-------------|------------------|
214
- |**200** | Paramètres mis à jour | - |
215
- |**400** | Bad Request | - |
216
- |**401** | Unauthorized | - |
217
- |**404** | Paramètres non trouvés | - |
218
- |**500** | Server Error | - |
217
+ |**200** | Paramètres de réservation mis à jour | - |
219
218
 
220
219
  [[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)
221
220
 
@@ -0,0 +1,139 @@
1
+ # ClubSettingsStaffApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getClubGeneralSettings**](#getclubgeneralsettings) | **GET** /api/club-settings/settings/general | |
8
+ |[**getHoursSettings**](#gethourssettings) | **GET** /api/club-settings/hours | |
9
+ |[**getReservationSettings**](#getreservationsettings) | **GET** /api/club-settings/reservation | |
10
+
11
+ # **getClubGeneralSettings**
12
+ > ClubGeneralSettingsResponse getClubGeneralSettings()
13
+
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ ClubSettingsStaffApi,
20
+ Configuration
21
+ } from '@tennac-booking/sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new ClubSettingsStaffApi(configuration);
25
+
26
+ const { status, data } = await apiInstance.getClubGeneralSettings();
27
+ ```
28
+
29
+ ### Parameters
30
+ This endpoint does not have any parameters.
31
+
32
+
33
+ ### Return type
34
+
35
+ **ClubGeneralSettingsResponse**
36
+
37
+ ### Authorization
38
+
39
+ [bearerAuth](../README.md#bearerAuth)
40
+
41
+ ### HTTP request headers
42
+
43
+ - **Content-Type**: Not defined
44
+ - **Accept**: application/json
45
+
46
+
47
+ ### HTTP response details
48
+ | Status code | Description | Response headers |
49
+ |-------------|-------------|------------------|
50
+ |**200** | Paramètres généraux du club | - |
51
+
52
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
53
+
54
+ # **getHoursSettings**
55
+ > ClubHoursSettingsResponse getHoursSettings()
56
+
57
+
58
+ ### Example
59
+
60
+ ```typescript
61
+ import {
62
+ ClubSettingsStaffApi,
63
+ Configuration
64
+ } from '@tennac-booking/sdk';
65
+
66
+ const configuration = new Configuration();
67
+ const apiInstance = new ClubSettingsStaffApi(configuration);
68
+
69
+ const { status, data } = await apiInstance.getHoursSettings();
70
+ ```
71
+
72
+ ### Parameters
73
+ This endpoint does not have any parameters.
74
+
75
+
76
+ ### Return type
77
+
78
+ **ClubHoursSettingsResponse**
79
+
80
+ ### Authorization
81
+
82
+ [bearerAuth](../README.md#bearerAuth)
83
+
84
+ ### HTTP request headers
85
+
86
+ - **Content-Type**: Not defined
87
+ - **Accept**: application/json
88
+
89
+
90
+ ### HTTP response details
91
+ | Status code | Description | Response headers |
92
+ |-------------|-------------|------------------|
93
+ |**200** | Horaires du club | - |
94
+
95
+ [[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)
96
+
97
+ # **getReservationSettings**
98
+ > ClubReservationSettingsResponse getReservationSettings()
99
+
100
+
101
+ ### Example
102
+
103
+ ```typescript
104
+ import {
105
+ ClubSettingsStaffApi,
106
+ Configuration
107
+ } from '@tennac-booking/sdk';
108
+
109
+ const configuration = new Configuration();
110
+ const apiInstance = new ClubSettingsStaffApi(configuration);
111
+
112
+ const { status, data } = await apiInstance.getReservationSettings();
113
+ ```
114
+
115
+ ### Parameters
116
+ This endpoint does not have any parameters.
117
+
118
+
119
+ ### Return type
120
+
121
+ **ClubReservationSettingsResponse**
122
+
123
+ ### Authorization
124
+
125
+ [bearerAuth](../README.md#bearerAuth)
126
+
127
+ ### HTTP request headers
128
+
129
+ - **Content-Type**: Not defined
130
+ - **Accept**: application/json
131
+
132
+
133
+ ### HTTP response details
134
+ | Status code | Description | Response headers |
135
+ |-------------|-------------|------------------|
136
+ |**200** | Paramètres de réservation du club | - |
137
+
138
+ [[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)
139
+
@@ -0,0 +1,32 @@
1
+ # ClubWeeklySchedule
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sunday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
9
+ **saturday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
10
+ **friday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
11
+ **thursday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
12
+ **wednesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
13
+ **tuesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
14
+ **monday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { ClubWeeklySchedule } from '@tennac-booking/sdk';
20
+
21
+ const instance: ClubWeeklySchedule = {
22
+ sunday,
23
+ saturday,
24
+ friday,
25
+ thursday,
26
+ wednesday,
27
+ tuesday,
28
+ monday,
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)
@@ -20,6 +20,7 @@ All URIs are relative to *http://localhost*
20
20
  |[**updateActuality**](#updateactuality) | **PUT** /api/clubs/actualities/{actualityId} | |
21
21
  |[**updateClub**](#updateclub) | **PUT** /api/clubs | |
22
22
  |[**updateClubInfos**](#updateclubinfos) | **PUT** /api/clubs/infos | |
23
+ |[**updateClubPresentationSettings**](#updateclubpresentationsettings) | **PUT** /api/clubs/settings/presentation | |
23
24
  |[**updateCourt**](#updatecourt) | **PUT** /api/clubs/courts/{courtId} | |
24
25
  |[**updateSubscriptionPlanForClub**](#updatesubscriptionplanforclub) | **PUT** /api/clubs/subscription-plans/{priceId} | |
25
26
 
@@ -842,6 +843,57 @@ const { status, data } = await apiInstance.updateClubInfos(
842
843
 
843
844
  [[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)
844
845
 
846
+ # **updateClubPresentationSettings**
847
+ > ClubPresentationSettingsResponse updateClubPresentationSettings(updateClubPresentationSettingsRequest)
848
+
849
+
850
+ ### Example
851
+
852
+ ```typescript
853
+ import {
854
+ ClubsManagerApi,
855
+ Configuration,
856
+ UpdateClubPresentationSettingsRequest
857
+ } from '@tennac-booking/sdk';
858
+
859
+ const configuration = new Configuration();
860
+ const apiInstance = new ClubsManagerApi(configuration);
861
+
862
+ let updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest; //
863
+
864
+ const { status, data } = await apiInstance.updateClubPresentationSettings(
865
+ updateClubPresentationSettingsRequest
866
+ );
867
+ ```
868
+
869
+ ### Parameters
870
+
871
+ |Name | Type | Description | Notes|
872
+ |------------- | ------------- | ------------- | -------------|
873
+ | **updateClubPresentationSettingsRequest** | **UpdateClubPresentationSettingsRequest**| | |
874
+
875
+
876
+ ### Return type
877
+
878
+ **ClubPresentationSettingsResponse**
879
+
880
+ ### Authorization
881
+
882
+ [bearerAuth](../README.md#bearerAuth)
883
+
884
+ ### HTTP request headers
885
+
886
+ - **Content-Type**: application/json
887
+ - **Accept**: application/json
888
+
889
+
890
+ ### HTTP response details
891
+ | Status code | Description | Response headers |
892
+ |-------------|-------------|------------------|
893
+ |**200** | Présentation mise à jour | - |
894
+
895
+ [[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)
896
+
845
897
  # **updateCourt**
846
898
  > any updateCourt(body)
847
899
 
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost*
7
7
  |[**getActualities**](#getactualities) | **GET** /api/clubs/staff/actualities | |
8
8
  |[**getClubInfos**](#getclubinfos) | **GET** /api/clubs/infos | |
9
9
  |[**getClubMembers**](#getclubmembers) | **GET** /api/clubs/members | |
10
+ |[**getClubPresentationSettings**](#getclubpresentationsettings) | **GET** /api/clubs/settings/presentation | |
10
11
  |[**getClubRoles**](#getclubroles) | **GET** /api/clubs/roles | |
11
12
  |[**getCourtsByClub**](#getcourtsbyclub) | **GET** /api/clubs/courts | |
12
13
  |[**getInvoices**](#getinvoices) | **GET** /api/clubs/invoices | |
@@ -143,6 +144,49 @@ This endpoint does not have any parameters.
143
144
 
144
145
  [[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)
145
146
 
147
+ # **getClubPresentationSettings**
148
+ > ClubPresentationSettingsResponse getClubPresentationSettings()
149
+
150
+
151
+ ### Example
152
+
153
+ ```typescript
154
+ import {
155
+ ClubsStaffApi,
156
+ Configuration
157
+ } from '@tennac-booking/sdk';
158
+
159
+ const configuration = new Configuration();
160
+ const apiInstance = new ClubsStaffApi(configuration);
161
+
162
+ const { status, data } = await apiInstance.getClubPresentationSettings();
163
+ ```
164
+
165
+ ### Parameters
166
+ This endpoint does not have any parameters.
167
+
168
+
169
+ ### Return type
170
+
171
+ **ClubPresentationSettingsResponse**
172
+
173
+ ### Authorization
174
+
175
+ [bearerAuth](../README.md#bearerAuth)
176
+
177
+ ### HTTP request headers
178
+
179
+ - **Content-Type**: Not defined
180
+ - **Accept**: application/json
181
+
182
+
183
+ ### HTTP response details
184
+ | Status code | Description | Response headers |
185
+ |-------------|-------------|------------------|
186
+ |**200** | Présentation du club | - |
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
+
146
190
  # **getClubRoles**
147
191
  > GetClubRoles200Response getClubRoles()
148
192
 
@@ -1,21 +1,19 @@
1
- # BookingCourtInfo
1
+ # ConfirmPaymentMethodRequestBody
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
- **name** | **string** | | [optional] [default to undefined]
8
+ **setupIntentId** | **string** | | [default to undefined]
10
9
 
11
10
  ## Example
12
11
 
13
12
  ```typescript
14
- import { BookingCourtInfo } from '@tennac-booking/sdk';
13
+ import { ConfirmPaymentMethodRequestBody } from '@tennac-booking/sdk';
15
14
 
16
- const instance: BookingCourtInfo = {
17
- id,
18
- name,
15
+ const instance: ConfirmPaymentMethodRequestBody = {
16
+ setupIntentId,
19
17
  };
20
18
  ```
21
19
 
@@ -1,21 +1,21 @@
1
- # BookingPriceBody
1
+ # ConfirmPaymentMethodResponse
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **slotIds** | **Array<string>** | | [default to undefined]
9
- **players** | **Array<string>** | | [default to undefined]
8
+ **message** | **string** | | [default to undefined]
9
+ **paymentMethodId** | **string** | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { BookingPriceBody } from '@tennac-booking/sdk';
14
+ import { ConfirmPaymentMethodResponse } from '@tennac-booking/sdk';
15
15
 
16
- const instance: BookingPriceBody = {
17
- slotIds,
18
- players,
16
+ const instance: ConfirmPaymentMethodResponse = {
17
+ message,
18
+ paymentMethodId,
19
19
  };
20
20
  ```
21
21
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **slotIds** | **Array<string>** | ID du créneau à réserver | [default to undefined]
8
+ **slotId** | **string** | ID du créneau à réserver | [default to undefined]
9
9
  **players** | [**Array<PlayerWithPaymentMethod>**](PlayerWithPaymentMethod.md) | Liste des joueurs avec leurs méthodes de paiement | [default to undefined]
10
10
  **isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous les joueurs | [optional] [default to undefined]
11
11
  **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
17
17
  import { CreateBookingRequest } from '@tennac-booking/sdk';
18
18
 
19
19
  const instance: CreateBookingRequest = {
20
- slotIds,
20
+ slotId,
21
21
  players,
22
22
  isCreatorPayingAll,
23
23
  paymentMethod,
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  **photoUrl** | **string** | | [optional] [default to undefined]
12
12
  **startDate** | **string** | | [default to undefined]
13
13
  **endDate** | **string** | | [default to undefined]
14
- **courts** | [**Array<EventResponseCourtsInner>**](EventResponseCourtsInner.md) | | [default to undefined]
14
+ **courts** | **Array<string>** | | [default to undefined]
15
15
  **sports** | **Array<string>** | | [default to undefined]
16
16
  **recurringType** | **string** | | [default to undefined]
17
17
  **recurrenceEndDate** | **string** | | [optional] [default to undefined]
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
22
22
  **teamLimit** | **number** | | [optional] [default to undefined]
23
23
  **price** | **number** | | [optional] [default to undefined]
24
24
  **subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
25
+ **levels** | **Array<number>** | | [optional] [default to undefined]
25
26
  **visibilityType** | **string** | | [default to undefined]
26
27
 
27
28
  ## Example
@@ -47,6 +48,7 @@ const instance: CreateEventRequest = {
47
48
  teamLimit,
48
49
  price,
49
50
  subscriberPrices,
51
+ levels,
50
52
  visibilityType,
51
53
  };
52
54
  ```
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  **photoUrl** | **string** | | [optional] [default to undefined]
14
14
  **startDate** | **string** | | [default to undefined]
15
15
  **endDate** | **string** | | [default to undefined]
16
- **courts** | [**Array<EventResponseCourtsInner>**](EventResponseCourtsInner.md) | | [default to undefined]
16
+ **courts** | **Array<string>** | | [default to undefined]
17
17
  **sports** | [**Array<SportWithLevels>**](SportWithLevels.md) | | [default to undefined]
18
18
  **recurringType** | **string** | | [default to undefined]
19
19
  **recurrenceEndDate** | **string** | | [optional] [default to undefined]