@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.
- package/.openapi-generator/FILES +256 -241
- package/README.md +47 -24
- package/api.ts +2443 -1287
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +2046 -1260
- package/dist/api.js +841 -270
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +2046 -1260
- package/dist/esm/api.js +834 -263
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/{DeleteClubSettingsResponse.md → AddPaymentMethodRequestBody.md} +5 -5
- package/docs/BookingInfo.md +2 -2
- package/docs/BookingPopulated.md +3 -3
- package/docs/BookingResponse.md +0 -2
- package/docs/BookingSummary.md +2 -54
- package/docs/BookingsApi.md +0 -55
- package/docs/ClubAnalyticsStaffApi.md +173 -0
- package/docs/{BookingSportInfo.md → ClubDaySchedule.md} +7 -7
- package/docs/ClubGeneralSettingsResponse.md +32 -0
- package/docs/ClubHoursSettingsResponse.md +22 -0
- package/docs/ClubLocationSettings.md +26 -0
- package/docs/ClubPlayerBookingItem.md +36 -0
- package/docs/ClubPlayerBookingsPagination.md +28 -0
- package/docs/ClubPlayerBookingsResponse.md +24 -0
- package/docs/ClubPlayerDetailResponse.md +46 -0
- package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponse.md +42 -0
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
- package/docs/ClubPlayerSubscriptionSummary.md +28 -0
- package/docs/ClubPresentationSettingsResponse.md +26 -0
- package/docs/ClubPricingPeriodResponse.md +30 -0
- package/docs/ClubReservationSettingsResponse.md +28 -0
- package/docs/ClubResponse.md +0 -8
- package/docs/ClubSettingsManagerApi.md +54 -55
- package/docs/ClubSettingsStaffApi.md +139 -0
- package/docs/ClubWeeklySchedule.md +32 -0
- package/docs/ClubsManagerApi.md +52 -0
- package/docs/ClubsStaffApi.md +44 -0
- package/docs/{BookingCourtInfo.md → ConfirmPaymentMethodRequestBody.md} +5 -7
- package/docs/{BookingPriceBody.md → ConfirmPaymentMethodResponse.md} +7 -7
- package/docs/CreateBookingRequest.md +2 -2
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventResponse.md +1 -1
- package/docs/IUserAttributes.md +12 -2
- package/docs/PartialClubResponse.md +0 -8
- package/docs/PartialClubWeeklySchedule.md +33 -0
- package/docs/PaymentMethodSetupResponse.md +24 -0
- package/docs/QuickReservationClubSummary.md +0 -4
- package/docs/{EventResponseCourtsInner.md → SetupPaymentMethodRequestBody.md} +5 -3
- package/docs/SetupPaymentMethodResponse.md +24 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/StaffUserProfileResponse.md +12 -2
- package/docs/SubscribeRequestBody.md +0 -2
- package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
- package/docs/UpdateClubHoursSettingsRequest.md +22 -0
- package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
- package/docs/UpdateClubReservationSettingsRequest.md +28 -0
- package/docs/UpdateEventRequest.md +1 -1
- package/docs/UserProfileResponse.md +12 -4
- package/docs/UsersApi.md +160 -4
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/BookingClubInfo.md +0 -28
- package/docs/BookingPaymentStatus.md +0 -24
- package/docs/BookingPlayerPaymentSummary.md +0 -34
- package/docs/BookingSlotInfo.md +0 -30
- package/docs/ClubSettingsResponse.md +0 -39
- package/docs/CreateClubSettingsRequest.md +0 -34
- package/docs/InvoiceStatus.md +0 -22
- package/docs/PlayerPrice.md +0 -30
- package/docs/QuickReservationClubSport.md +0 -22
- package/docs/SportsPublicApi.md +0 -53
- package/docs/SubscriptionInfo.md +0 -24
- package/docs/UpdateClubSettingsRequest.md +0 -32
- 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
|
-
|[**
|
|
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
|
-
# **
|
|
13
|
-
>
|
|
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
|
-
|
|
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
|
|
30
|
-
let createClubSettingsRequest: CreateClubSettingsRequest; //
|
|
28
|
+
let updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest; //
|
|
31
29
|
|
|
32
|
-
const { status, data } = await apiInstance.
|
|
33
|
-
|
|
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
|
-
| **
|
|
43
|
-
| **clubId** | [**string**] | | defaults to undefined|
|
|
39
|
+
| **updateClubGeneralSettingsRequest** | **UpdateClubGeneralSettingsRequest**| | |
|
|
44
40
|
|
|
45
41
|
|
|
46
42
|
### Return type
|
|
47
43
|
|
|
48
|
-
**
|
|
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
|
-
|**
|
|
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
|
-
# **
|
|
71
|
-
>
|
|
63
|
+
# **updateClubSettings**
|
|
64
|
+
> ClubReservationSettingsResponse updateClubSettings(updateClubReservationSettingsRequest)
|
|
72
65
|
|
|
73
|
-
|
|
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
|
-
|
|
80
|
+
let updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest; //
|
|
81
|
+
|
|
82
|
+
const { status, data } = await apiInstance.updateClubSettings(
|
|
83
|
+
updateClubReservationSettingsRequest
|
|
84
|
+
);
|
|
87
85
|
```
|
|
88
86
|
|
|
89
87
|
### Parameters
|
|
90
|
-
|
|
88
|
+
|
|
89
|
+
|Name | Type | Description | Notes|
|
|
90
|
+
|------------- | ------------- | ------------- | -------------|
|
|
91
|
+
| **updateClubReservationSettingsRequest** | **UpdateClubReservationSettingsRequest**| | |
|
|
91
92
|
|
|
92
93
|
|
|
93
94
|
### Return type
|
|
94
95
|
|
|
95
|
-
**
|
|
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**:
|
|
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
|
|
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
|
-
# **
|
|
119
|
-
>
|
|
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
|
-
|
|
135
|
+
let updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest; //
|
|
136
|
+
|
|
137
|
+
const { status, data } = await apiInstance.updateHoursSettings(
|
|
138
|
+
updateClubHoursSettingsRequest
|
|
139
|
+
);
|
|
135
140
|
```
|
|
136
141
|
|
|
137
142
|
### Parameters
|
|
138
|
-
|
|
143
|
+
|
|
144
|
+
|Name | Type | Description | Notes|
|
|
145
|
+
|------------- | ------------- | ------------- | -------------|
|
|
146
|
+
| **updateClubHoursSettingsRequest** | **UpdateClubHoursSettingsRequest**| | |
|
|
139
147
|
|
|
140
148
|
|
|
141
149
|
### Return type
|
|
142
150
|
|
|
143
|
-
**
|
|
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**:
|
|
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** |
|
|
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
|
-
# **
|
|
167
|
-
>
|
|
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
|
-
|
|
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
|
|
186
|
+
let updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest; //
|
|
184
187
|
|
|
185
|
-
const { status, data } = await apiInstance.
|
|
186
|
-
|
|
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
|
-
| **
|
|
197
|
+
| **updateClubReservationSettingsRequest** | **UpdateClubReservationSettingsRequest**| | |
|
|
195
198
|
|
|
196
199
|
|
|
197
200
|
### Return type
|
|
198
201
|
|
|
199
|
-
**
|
|
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)
|
package/docs/ClubsManagerApi.md
CHANGED
|
@@ -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
|
|
package/docs/ClubsStaffApi.md
CHANGED
|
@@ -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
|
-
#
|
|
1
|
+
# ConfirmPaymentMethodRequestBody
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
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 {
|
|
13
|
+
import { ConfirmPaymentMethodRequestBody } from '@tennac-booking/sdk';
|
|
15
14
|
|
|
16
|
-
const instance:
|
|
17
|
-
|
|
18
|
-
name,
|
|
15
|
+
const instance: ConfirmPaymentMethodRequestBody = {
|
|
16
|
+
setupIntentId,
|
|
19
17
|
};
|
|
20
18
|
```
|
|
21
19
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ConfirmPaymentMethodResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**
|
|
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 {
|
|
14
|
+
import { ConfirmPaymentMethodResponse } from '@tennac-booking/sdk';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
**
|
|
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
|
-
|
|
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** |
|
|
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
|
```
|
package/docs/EventResponse.md
CHANGED
|
@@ -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** |
|
|
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]
|