@tennac-booking/sdk 1.0.102 → 1.0.104

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 (83) hide show
  1. package/.openapi-generator/FILES +31 -8
  2. package/README.md +50 -16
  3. package/api.ts +3941 -2237
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1785 -531
  8. package/dist/api.js +965 -272
  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 +1785 -531
  16. package/dist/esm/api.js +957 -264
  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/BookingsStaffApi.md +4 -4
  30. package/docs/BookingsWithTimeBoundsResponse.md +22 -0
  31. package/docs/ClientAccountOnboardingRequest.md +2 -2
  32. package/docs/ClientAccountsApi.md +1 -1
  33. package/docs/ClubAnalyticsStaffApi.md +314 -0
  34. package/docs/{AddCreditsToCustomer200Response.md → ClubDaySchedule.md} +7 -5
  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 +26 -0
  52. package/docs/ClubResponse.md +2 -0
  53. package/docs/ClubSettingsManagerApi.md +54 -60
  54. package/docs/ClubSettingsStaffApi.md +183 -0
  55. package/docs/ClubWeeklySchedule.md +32 -0
  56. package/docs/ClubsManagerApi.md +112 -58
  57. package/docs/ClubsStaffApi.md +44 -0
  58. package/docs/CourtBookingShareItem.md +26 -0
  59. package/docs/CourtResponse.md +1 -1
  60. package/docs/CreateCourtRequest.md +1 -1
  61. package/docs/CreateEventRequest.md +3 -1
  62. package/docs/EventResponse.md +1 -1
  63. package/docs/PartialClubResponse.md +2 -0
  64. package/docs/PartialClubWeeklySchedule.md +33 -0
  65. package/docs/RetentionRateResponse.md +24 -0
  66. package/docs/RevenueBySportItem.md +24 -0
  67. package/docs/SlotInfo.md +2 -2
  68. package/docs/{DeleteClubSettingsResponse.md → TimeBounds.md} +7 -5
  69. package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
  70. package/docs/UpdateClubHoursSettingsRequest.md +22 -0
  71. package/docs/UpdateClubMemberRequest.md +22 -0
  72. package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
  73. package/docs/UpdateClubReservationSettingsRequest.md +28 -0
  74. package/docs/UpdateEventRequest.md +1 -1
  75. package/docs/UserInfo.md +2 -0
  76. package/index.ts +1 -1
  77. package/package.json +1 -1
  78. package/docs/AddCreditsToCustomerRequest.md +0 -22
  79. package/docs/ClubSettingsResponse.md +0 -39
  80. package/docs/CreateClubSettingsRequest.md +0 -34
  81. package/docs/EventResponseCourtsInner.md +0 -18
  82. package/docs/SportsStaffApi.md +0 -55
  83. package/docs/UpdateClubSettingsRequest.md +0 -32
@@ -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 | |
10
- |[**updateClubSettings**](#updateclubsettings) | **PUT** /api/club-settings | |
7
+ |[**updateClubGeneralSettings**](#updateclubgeneralsettings) | **PUT** /api/club-settings/settings/general | |
8
+ |[**updateHoursSettings**](#updatehourssettings) | **PUT** /api/club-settings/hours | |
9
+ |[**updatePresentationSettings**](#updatepresentationsettings) | **PUT** /api/club-settings/presentation | |
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,43 @@ 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
+ # **updateHoursSettings**
64
+ > ClubHoursSettingsResponse updateHoursSettings(updateClubHoursSettingsRequest)
72
65
 
73
- Supprime les paramètres d\'un club
74
66
 
75
67
  ### Example
76
68
 
77
69
  ```typescript
78
70
  import {
79
71
  ClubSettingsManagerApi,
80
- Configuration
72
+ Configuration,
73
+ UpdateClubHoursSettingsRequest
81
74
  } from '@tennac-booking/sdk';
82
75
 
83
76
  const configuration = new Configuration();
84
77
  const apiInstance = new ClubSettingsManagerApi(configuration);
85
78
 
86
- const { status, data } = await apiInstance.deleteClubSettings();
79
+ let updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest; //
80
+
81
+ const { status, data } = await apiInstance.updateHoursSettings(
82
+ updateClubHoursSettingsRequest
83
+ );
87
84
  ```
88
85
 
89
86
  ### Parameters
90
- This endpoint does not have any parameters.
87
+
88
+ |Name | Type | Description | Notes|
89
+ |------------- | ------------- | ------------- | -------------|
90
+ | **updateClubHoursSettingsRequest** | **UpdateClubHoursSettingsRequest**| | |
91
91
 
92
92
 
93
93
  ### Return type
94
94
 
95
- **DeleteClubSettingsResponse**
95
+ **ClubHoursSettingsResponse**
96
96
 
97
97
  ### Authorization
98
98
 
@@ -100,47 +100,50 @@ This endpoint does not have any parameters.
100
100
 
101
101
  ### HTTP request headers
102
102
 
103
- - **Content-Type**: Not defined
103
+ - **Content-Type**: application/json
104
104
  - **Accept**: application/json
105
105
 
106
106
 
107
107
  ### HTTP response details
108
108
  | Status code | Description | Response headers |
109
109
  |-------------|-------------|------------------|
110
- |**200** | Paramètres supprimés | - |
111
- |**400** | Bad Request | - |
112
- |**401** | Unauthorized | - |
113
- |**404** | Paramètres non trouvés | - |
114
- |**500** | Server Error | - |
110
+ |**200** | Horaires du club mis à jour | - |
115
111
 
116
112
  [[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
113
 
118
- # **getClubSettings**
119
- > ClubSettingsResponse getClubSettings()
114
+ # **updatePresentationSettings**
115
+ > ClubPresentationSettingsResponse updatePresentationSettings(clubPresentationSettingsResponse)
120
116
 
121
- Récupère les paramètres d\'un club
122
117
 
123
118
  ### Example
124
119
 
125
120
  ```typescript
126
121
  import {
127
122
  ClubSettingsManagerApi,
128
- Configuration
123
+ Configuration,
124
+ ClubPresentationSettingsResponse
129
125
  } from '@tennac-booking/sdk';
130
126
 
131
127
  const configuration = new Configuration();
132
128
  const apiInstance = new ClubSettingsManagerApi(configuration);
133
129
 
134
- const { status, data } = await apiInstance.getClubSettings();
130
+ let clubPresentationSettingsResponse: ClubPresentationSettingsResponse; //
131
+
132
+ const { status, data } = await apiInstance.updatePresentationSettings(
133
+ clubPresentationSettingsResponse
134
+ );
135
135
  ```
136
136
 
137
137
  ### Parameters
138
- This endpoint does not have any parameters.
138
+
139
+ |Name | Type | Description | Notes|
140
+ |------------- | ------------- | ------------- | -------------|
141
+ | **clubPresentationSettingsResponse** | **ClubPresentationSettingsResponse**| | |
139
142
 
140
143
 
141
144
  ### Return type
142
145
 
143
- **ClubSettingsResponse**
146
+ **ClubPresentationSettingsResponse**
144
147
 
145
148
  ### Authorization
146
149
 
@@ -148,25 +151,20 @@ This endpoint does not have any parameters.
148
151
 
149
152
  ### HTTP request headers
150
153
 
151
- - **Content-Type**: Not defined
154
+ - **Content-Type**: application/json
152
155
  - **Accept**: application/json
153
156
 
154
157
 
155
158
  ### HTTP response details
156
159
  | Status code | Description | Response headers |
157
160
  |-------------|-------------|------------------|
158
- |**200** | Paramètres du club | - |
159
- |**400** | Bad Request | - |
160
- |**401** | Unauthorized | - |
161
- |**404** | Paramètres non trouvés | - |
162
- |**500** | Server Error | - |
161
+ |**200** | Paramètres de présentation mis à jour | - |
163
162
 
164
163
  [[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
164
 
166
- # **updateClubSettings**
167
- > ClubSettingsResponse updateClubSettings(updateClubSettingsRequest)
165
+ # **updateReservationSettings**
166
+ > ClubReservationSettingsResponse updateReservationSettings(updateClubReservationSettingsRequest)
168
167
 
169
- Met à jour les paramètres d\'un club
170
168
 
171
169
  ### Example
172
170
 
@@ -174,16 +172,16 @@ Met à jour les paramètres d\'un club
174
172
  import {
175
173
  ClubSettingsManagerApi,
176
174
  Configuration,
177
- UpdateClubSettingsRequest
175
+ UpdateClubReservationSettingsRequest
178
176
  } from '@tennac-booking/sdk';
179
177
 
180
178
  const configuration = new Configuration();
181
179
  const apiInstance = new ClubSettingsManagerApi(configuration);
182
180
 
183
- let updateClubSettingsRequest: UpdateClubSettingsRequest; //
181
+ let updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest; //
184
182
 
185
- const { status, data } = await apiInstance.updateClubSettings(
186
- updateClubSettingsRequest
183
+ const { status, data } = await apiInstance.updateReservationSettings(
184
+ updateClubReservationSettingsRequest
187
185
  );
188
186
  ```
189
187
 
@@ -191,12 +189,12 @@ const { status, data } = await apiInstance.updateClubSettings(
191
189
 
192
190
  |Name | Type | Description | Notes|
193
191
  |------------- | ------------- | ------------- | -------------|
194
- | **updateClubSettingsRequest** | **UpdateClubSettingsRequest**| | |
192
+ | **updateClubReservationSettingsRequest** | **UpdateClubReservationSettingsRequest**| | |
195
193
 
196
194
 
197
195
  ### Return type
198
196
 
199
- **ClubSettingsResponse**
197
+ **ClubReservationSettingsResponse**
200
198
 
201
199
  ### Authorization
202
200
 
@@ -211,11 +209,7 @@ const { status, data } = await apiInstance.updateClubSettings(
211
209
  ### HTTP response details
212
210
  | Status code | Description | Response headers |
213
211
  |-------------|-------------|------------------|
214
- |**200** | Paramètres mis à jour | - |
215
- |**400** | Bad Request | - |
216
- |**401** | Unauthorized | - |
217
- |**404** | Paramètres non trouvés | - |
218
- |**500** | Server Error | - |
212
+ |**200** | Paramètres de réservation mis à jour | - |
219
213
 
220
214
  [[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
215
 
@@ -0,0 +1,183 @@
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
+ |[**getPresentationSettings**](#getpresentationsettings) | **GET** /api/club-settings/presentation | |
10
+ |[**getReservationSettings**](#getreservationsettings) | **GET** /api/club-settings/reservation | |
11
+
12
+ # **getClubGeneralSettings**
13
+ > ClubGeneralSettingsResponse getClubGeneralSettings()
14
+
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ ClubSettingsStaffApi,
21
+ Configuration
22
+ } from '@tennac-booking/sdk';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new ClubSettingsStaffApi(configuration);
26
+
27
+ const { status, data } = await apiInstance.getClubGeneralSettings();
28
+ ```
29
+
30
+ ### Parameters
31
+ This endpoint does not have any parameters.
32
+
33
+
34
+ ### Return type
35
+
36
+ **ClubGeneralSettingsResponse**
37
+
38
+ ### Authorization
39
+
40
+ [bearerAuth](../README.md#bearerAuth)
41
+
42
+ ### HTTP request headers
43
+
44
+ - **Content-Type**: Not defined
45
+ - **Accept**: application/json
46
+
47
+
48
+ ### HTTP response details
49
+ | Status code | Description | Response headers |
50
+ |-------------|-------------|------------------|
51
+ |**200** | Paramètres généraux du club | - |
52
+
53
+ [[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)
54
+
55
+ # **getHoursSettings**
56
+ > ClubHoursSettingsResponse getHoursSettings()
57
+
58
+
59
+ ### Example
60
+
61
+ ```typescript
62
+ import {
63
+ ClubSettingsStaffApi,
64
+ Configuration
65
+ } from '@tennac-booking/sdk';
66
+
67
+ const configuration = new Configuration();
68
+ const apiInstance = new ClubSettingsStaffApi(configuration);
69
+
70
+ const { status, data } = await apiInstance.getHoursSettings();
71
+ ```
72
+
73
+ ### Parameters
74
+ This endpoint does not have any parameters.
75
+
76
+
77
+ ### Return type
78
+
79
+ **ClubHoursSettingsResponse**
80
+
81
+ ### Authorization
82
+
83
+ [bearerAuth](../README.md#bearerAuth)
84
+
85
+ ### HTTP request headers
86
+
87
+ - **Content-Type**: Not defined
88
+ - **Accept**: application/json
89
+
90
+
91
+ ### HTTP response details
92
+ | Status code | Description | Response headers |
93
+ |-------------|-------------|------------------|
94
+ |**200** | Horaires du club | - |
95
+
96
+ [[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)
97
+
98
+ # **getPresentationSettings**
99
+ > ClubPresentationSettingsResponse getPresentationSettings()
100
+
101
+
102
+ ### Example
103
+
104
+ ```typescript
105
+ import {
106
+ ClubSettingsStaffApi,
107
+ Configuration
108
+ } from '@tennac-booking/sdk';
109
+
110
+ const configuration = new Configuration();
111
+ const apiInstance = new ClubSettingsStaffApi(configuration);
112
+
113
+ const { status, data } = await apiInstance.getPresentationSettings();
114
+ ```
115
+
116
+ ### Parameters
117
+ This endpoint does not have any parameters.
118
+
119
+
120
+ ### Return type
121
+
122
+ **ClubPresentationSettingsResponse**
123
+
124
+ ### Authorization
125
+
126
+ [bearerAuth](../README.md#bearerAuth)
127
+
128
+ ### HTTP request headers
129
+
130
+ - **Content-Type**: Not defined
131
+ - **Accept**: application/json
132
+
133
+
134
+ ### HTTP response details
135
+ | Status code | Description | Response headers |
136
+ |-------------|-------------|------------------|
137
+ |**200** | Paramètres de présentation du club | - |
138
+
139
+ [[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)
140
+
141
+ # **getReservationSettings**
142
+ > ClubReservationSettingsResponse getReservationSettings()
143
+
144
+
145
+ ### Example
146
+
147
+ ```typescript
148
+ import {
149
+ ClubSettingsStaffApi,
150
+ Configuration
151
+ } from '@tennac-booking/sdk';
152
+
153
+ const configuration = new Configuration();
154
+ const apiInstance = new ClubSettingsStaffApi(configuration);
155
+
156
+ const { status, data } = await apiInstance.getReservationSettings();
157
+ ```
158
+
159
+ ### Parameters
160
+ This endpoint does not have any parameters.
161
+
162
+
163
+ ### Return type
164
+
165
+ **ClubReservationSettingsResponse**
166
+
167
+ ### Authorization
168
+
169
+ [bearerAuth](../README.md#bearerAuth)
170
+
171
+ ### HTTP request headers
172
+
173
+ - **Content-Type**: Not defined
174
+ - **Accept**: application/json
175
+
176
+
177
+ ### HTTP response details
178
+ | Status code | Description | Response headers |
179
+ |-------------|-------------|------------------|
180
+ |**200** | Paramètres de réservation du club | - |
181
+
182
+ [[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)
183
+
@@ -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)
@@ -5,7 +5,6 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**addClubMember**](#addclubmember) | **POST** /api/clubs/members | |
8
- |[**addCreditsToCustomer**](#addcreditstocustomer) | **POST** /api/clubs/customers/{userId}/credits | |
9
8
  |[**archivePriceForSubscriptionPlan**](#archivepriceforsubscriptionplan) | **DELETE** /api/clubs/subscription-plans/{priceId}/archive-price | |
10
9
  |[**createActuality**](#createactuality) | **POST** /api/clubs/actualities | |
11
10
  |[**createCourtForClub**](#createcourtforclub) | **POST** /api/clubs/courts | |
@@ -21,6 +20,8 @@ All URIs are relative to *http://localhost*
21
20
  |[**updateActuality**](#updateactuality) | **PUT** /api/clubs/actualities/{actualityId} | |
22
21
  |[**updateClub**](#updateclub) | **PUT** /api/clubs | |
23
22
  |[**updateClubInfos**](#updateclubinfos) | **PUT** /api/clubs/infos | |
23
+ |[**updateClubMember**](#updateclubmember) | **PATCH** /api/clubs/members/{userId} | |
24
+ |[**updateClubPresentationSettings**](#updateclubpresentationsettings) | **PUT** /api/clubs/settings/presentation | |
24
25
  |[**updateCourt**](#updatecourt) | **PUT** /api/clubs/courts/{courtId} | |
25
26
  |[**updateSubscriptionPlanForClub**](#updatesubscriptionplanforclub) | **PUT** /api/clubs/subscription-plans/{priceId} | |
26
27
 
@@ -79,63 +80,6 @@ const { status, data } = await apiInstance.addClubMember(
79
80
 
80
81
  [[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)
81
82
 
82
- # **addCreditsToCustomer**
83
- > AddCreditsToCustomer200Response addCreditsToCustomer(addCreditsToCustomerRequest)
84
-
85
-
86
- ### Example
87
-
88
- ```typescript
89
- import {
90
- ClubsManagerApi,
91
- Configuration,
92
- AddCreditsToCustomerRequest
93
- } from '@tennac-booking/sdk';
94
-
95
- const configuration = new Configuration();
96
- const apiInstance = new ClubsManagerApi(configuration);
97
-
98
- let userId: string; // (default to undefined)
99
- let addCreditsToCustomerRequest: AddCreditsToCustomerRequest; //
100
-
101
- const { status, data } = await apiInstance.addCreditsToCustomer(
102
- userId,
103
- addCreditsToCustomerRequest
104
- );
105
- ```
106
-
107
- ### Parameters
108
-
109
- |Name | Type | Description | Notes|
110
- |------------- | ------------- | ------------- | -------------|
111
- | **addCreditsToCustomerRequest** | **AddCreditsToCustomerRequest**| | |
112
- | **userId** | [**string**] | | defaults to undefined|
113
-
114
-
115
- ### Return type
116
-
117
- **AddCreditsToCustomer200Response**
118
-
119
- ### Authorization
120
-
121
- [bearerAuth](../README.md#bearerAuth)
122
-
123
- ### HTTP request headers
124
-
125
- - **Content-Type**: application/json
126
- - **Accept**: application/json
127
-
128
-
129
- ### HTTP response details
130
- | Status code | Description | Response headers |
131
- |-------------|-------------|------------------|
132
- |**200** | Crédits mis à jour | - |
133
- |**400** | Bad Request | - |
134
- |**404** | ClubCustomer non trouvé | - |
135
- |**500** | Server Error | - |
136
-
137
- [[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)
138
-
139
83
  # **archivePriceForSubscriptionPlan**
140
84
  > UpdateSubscriptionPlanForClub200Response archivePriceForSubscriptionPlan()
141
85
 
@@ -900,6 +844,116 @@ const { status, data } = await apiInstance.updateClubInfos(
900
844
 
901
845
  [[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)
902
846
 
847
+ # **updateClubMember**
848
+ > AddClubMember201Response updateClubMember(updateClubMemberRequest)
849
+
850
+ Met à jour un membre d\'un club
851
+
852
+ ### Example
853
+
854
+ ```typescript
855
+ import {
856
+ ClubsManagerApi,
857
+ Configuration,
858
+ UpdateClubMemberRequest
859
+ } from '@tennac-booking/sdk';
860
+
861
+ const configuration = new Configuration();
862
+ const apiInstance = new ClubsManagerApi(configuration);
863
+
864
+ let userId: string; // (default to undefined)
865
+ let updateClubMemberRequest: UpdateClubMemberRequest; //
866
+
867
+ const { status, data } = await apiInstance.updateClubMember(
868
+ userId,
869
+ updateClubMemberRequest
870
+ );
871
+ ```
872
+
873
+ ### Parameters
874
+
875
+ |Name | Type | Description | Notes|
876
+ |------------- | ------------- | ------------- | -------------|
877
+ | **updateClubMemberRequest** | **UpdateClubMemberRequest**| | |
878
+ | **userId** | [**string**] | | defaults to undefined|
879
+
880
+
881
+ ### Return type
882
+
883
+ **AddClubMember201Response**
884
+
885
+ ### Authorization
886
+
887
+ [bearerAuth](../README.md#bearerAuth)
888
+
889
+ ### HTTP request headers
890
+
891
+ - **Content-Type**: application/json
892
+ - **Accept**: application/json
893
+
894
+
895
+ ### HTTP response details
896
+ | Status code | Description | Response headers |
897
+ |-------------|-------------|------------------|
898
+ |**200** | Membre mis à jour | - |
899
+ |**400** | Bad Request | - |
900
+ |**403** | Forbidden | - |
901
+ |**404** | Membre introuvable | - |
902
+ |**500** | Server Error | - |
903
+
904
+ [[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)
905
+
906
+ # **updateClubPresentationSettings**
907
+ > ClubPresentationSettingsResponse updateClubPresentationSettings(updateClubPresentationSettingsRequest)
908
+
909
+
910
+ ### Example
911
+
912
+ ```typescript
913
+ import {
914
+ ClubsManagerApi,
915
+ Configuration,
916
+ UpdateClubPresentationSettingsRequest
917
+ } from '@tennac-booking/sdk';
918
+
919
+ const configuration = new Configuration();
920
+ const apiInstance = new ClubsManagerApi(configuration);
921
+
922
+ let updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest; //
923
+
924
+ const { status, data } = await apiInstance.updateClubPresentationSettings(
925
+ updateClubPresentationSettingsRequest
926
+ );
927
+ ```
928
+
929
+ ### Parameters
930
+
931
+ |Name | Type | Description | Notes|
932
+ |------------- | ------------- | ------------- | -------------|
933
+ | **updateClubPresentationSettingsRequest** | **UpdateClubPresentationSettingsRequest**| | |
934
+
935
+
936
+ ### Return type
937
+
938
+ **ClubPresentationSettingsResponse**
939
+
940
+ ### Authorization
941
+
942
+ [bearerAuth](../README.md#bearerAuth)
943
+
944
+ ### HTTP request headers
945
+
946
+ - **Content-Type**: application/json
947
+ - **Accept**: application/json
948
+
949
+
950
+ ### HTTP response details
951
+ | Status code | Description | Response headers |
952
+ |-------------|-------------|------------------|
953
+ |**200** | Présentation mise à jour | - |
954
+
955
+ [[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)
956
+
903
957
  # **updateCourt**
904
958
  > any updateCourt(body)
905
959