@tennac-booking/sdk 1.0.82 → 1.0.83
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 +25 -1
- package/README.md +32 -1
- package/api.ts +1565 -73
- package/dist/api.d.ts +1224 -81
- package/dist/api.js +562 -8
- package/dist/esm/api.d.ts +1224 -81
- package/dist/esm/api.js +555 -5
- package/docs/BookingPopulated.md +2 -0
- package/docs/ClubAnalyticsStaffApi.md +7 -1
- package/docs/{EventResponseCourtsInner.md → ClubDaySchedule.md} +7 -3
- package/docs/ClubGeneralSettingsResponse.md +34 -0
- package/docs/ClubHoursSettingsResponse.md +22 -0
- package/docs/ClubLocationSettings.md +26 -0
- package/docs/ClubPlayerBookingsPagination.md +28 -0
- package/docs/ClubPlayerBookingsResponse.md +2 -0
- package/docs/ClubPresentationSettingsResponse.md +26 -0
- package/docs/ClubPricingPeriodResponse.md +30 -0
- package/docs/ClubReservationAccessSettingsResponse.md +26 -0
- package/docs/ClubReservationSettingsResponse.md +36 -0
- package/docs/ClubSettingsManagerApi.md +104 -0
- package/docs/ClubSettingsStaffApi.md +95 -0
- package/docs/ClubWeeklySchedule.md +32 -0
- package/docs/ClubsManagerApi.md +104 -0
- package/docs/ClubsStaffApi.md +88 -0
- package/docs/CreateEventRequest.md +1 -1
- package/docs/EventResponse.md +1 -1
- package/docs/HotelAccessSettings.md +26 -0
- package/docs/PartialClubWeeklySchedule.md +33 -0
- package/docs/PartialHotelAccessSettings.md +27 -0
- package/docs/PartialPaymentRequirementsSettings.md +23 -0
- package/docs/PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings.md +27 -0
- package/docs/PartialPublicAccessSettings.md +25 -0
- package/docs/PartialSchoolAccessSettings.md +25 -0
- package/docs/PaymentRequirementsSettings.md +22 -0
- package/docs/PublicAccessSettings.md +24 -0
- package/docs/SchoolAccessSettings.md +24 -0
- package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
- package/docs/UpdateClubHoursSettingsRequest.md +22 -0
- package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
- package/docs/UpdateClubReservationSettingsRequest.md +34 -0
- package/docs/UpdateEventRequest.md +1 -1
- package/package.json +1 -1
package/docs/ClubsStaffApi.md
CHANGED
|
@@ -5,8 +5,10 @@ All URIs are relative to *http://localhost*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**getActualities**](#getactualities) | **GET** /api/clubs/staff/actualities | |
|
|
8
|
+
|[**getClubGeneralSettings**](#getclubgeneralsettings) | **GET** /api/clubs/settings/general | |
|
|
8
9
|
|[**getClubInfos**](#getclubinfos) | **GET** /api/clubs/infos | |
|
|
9
10
|
|[**getClubMembers**](#getclubmembers) | **GET** /api/clubs/members | |
|
|
11
|
+
|[**getClubPresentationSettings**](#getclubpresentationsettings) | **GET** /api/clubs/settings/presentation | |
|
|
10
12
|
|[**getClubRoles**](#getclubroles) | **GET** /api/clubs/roles | |
|
|
11
13
|
|[**getCourtsByClub**](#getcourtsbyclub) | **GET** /api/clubs/courts | |
|
|
12
14
|
|[**getInvoices**](#getinvoices) | **GET** /api/clubs/invoices | |
|
|
@@ -55,6 +57,49 @@ This endpoint does not have any parameters.
|
|
|
55
57
|
|
|
56
58
|
[[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)
|
|
57
59
|
|
|
60
|
+
# **getClubGeneralSettings**
|
|
61
|
+
> ClubGeneralSettingsResponse getClubGeneralSettings()
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Example
|
|
65
|
+
|
|
66
|
+
```typescript
|
|
67
|
+
import {
|
|
68
|
+
ClubsStaffApi,
|
|
69
|
+
Configuration
|
|
70
|
+
} from '@tennac-booking/sdk';
|
|
71
|
+
|
|
72
|
+
const configuration = new Configuration();
|
|
73
|
+
const apiInstance = new ClubsStaffApi(configuration);
|
|
74
|
+
|
|
75
|
+
const { status, data } = await apiInstance.getClubGeneralSettings();
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Parameters
|
|
79
|
+
This endpoint does not have any parameters.
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Return type
|
|
83
|
+
|
|
84
|
+
**ClubGeneralSettingsResponse**
|
|
85
|
+
|
|
86
|
+
### Authorization
|
|
87
|
+
|
|
88
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
89
|
+
|
|
90
|
+
### HTTP request headers
|
|
91
|
+
|
|
92
|
+
- **Content-Type**: Not defined
|
|
93
|
+
- **Accept**: application/json
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### HTTP response details
|
|
97
|
+
| Status code | Description | Response headers |
|
|
98
|
+
|-------------|-------------|------------------|
|
|
99
|
+
|**200** | Paramètres généraux du club | - |
|
|
100
|
+
|
|
101
|
+
[[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)
|
|
102
|
+
|
|
58
103
|
# **getClubInfos**
|
|
59
104
|
> any getClubInfos()
|
|
60
105
|
|
|
@@ -143,6 +188,49 @@ This endpoint does not have any parameters.
|
|
|
143
188
|
|
|
144
189
|
[[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
190
|
|
|
191
|
+
# **getClubPresentationSettings**
|
|
192
|
+
> ClubPresentationSettingsResponse getClubPresentationSettings()
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
### Example
|
|
196
|
+
|
|
197
|
+
```typescript
|
|
198
|
+
import {
|
|
199
|
+
ClubsStaffApi,
|
|
200
|
+
Configuration
|
|
201
|
+
} from '@tennac-booking/sdk';
|
|
202
|
+
|
|
203
|
+
const configuration = new Configuration();
|
|
204
|
+
const apiInstance = new ClubsStaffApi(configuration);
|
|
205
|
+
|
|
206
|
+
const { status, data } = await apiInstance.getClubPresentationSettings();
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Parameters
|
|
210
|
+
This endpoint does not have any parameters.
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
### Return type
|
|
214
|
+
|
|
215
|
+
**ClubPresentationSettingsResponse**
|
|
216
|
+
|
|
217
|
+
### Authorization
|
|
218
|
+
|
|
219
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
220
|
+
|
|
221
|
+
### HTTP request headers
|
|
222
|
+
|
|
223
|
+
- **Content-Type**: Not defined
|
|
224
|
+
- **Accept**: application/json
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
### HTTP response details
|
|
228
|
+
| Status code | Description | Response headers |
|
|
229
|
+
|-------------|-------------|------------------|
|
|
230
|
+
|**200** | Présentation du club | - |
|
|
231
|
+
|
|
232
|
+
[[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)
|
|
233
|
+
|
|
146
234
|
# **getClubRoles**
|
|
147
235
|
> GetClubRoles200Response getClubRoles()
|
|
148
236
|
|
|
@@ -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]
|
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]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# HotelAccessSettings
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**enabled** | **boolean** | | [default to undefined]
|
|
9
|
+
**accessCode** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**validFrom** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**validUntil** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { HotelAccessSettings } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: HotelAccessSettings = {
|
|
19
|
+
enabled,
|
|
20
|
+
accessCode,
|
|
21
|
+
validFrom,
|
|
22
|
+
validUntil,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# PartialClubWeeklySchedule
|
|
2
|
+
|
|
3
|
+
Make all properties in T optional
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**lundi** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
10
|
+
**mardi** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
11
|
+
**mercredi** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
12
|
+
**jeudi** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
13
|
+
**vendredi** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
14
|
+
**samedi** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
15
|
+
**dimanche** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { PartialClubWeeklySchedule } from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const instance: PartialClubWeeklySchedule = {
|
|
23
|
+
lundi,
|
|
24
|
+
mardi,
|
|
25
|
+
mercredi,
|
|
26
|
+
jeudi,
|
|
27
|
+
vendredi,
|
|
28
|
+
samedi,
|
|
29
|
+
dimanche,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# PartialHotelAccessSettings
|
|
2
|
+
|
|
3
|
+
Make all properties in T optional
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**accessCode** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**validFrom** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**validUntil** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**enabled** | **boolean** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PartialHotelAccessSettings } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: PartialHotelAccessSettings = {
|
|
20
|
+
accessCode,
|
|
21
|
+
validFrom,
|
|
22
|
+
validUntil,
|
|
23
|
+
enabled,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PartialPaymentRequirementsSettings
|
|
2
|
+
|
|
3
|
+
Make all properties in T optional
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**requireCardImprint** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
**requireOnlinePayment** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PartialPaymentRequirementsSettings } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: PartialPaymentRequirementsSettings = {
|
|
18
|
+
requireCardImprint,
|
|
19
|
+
requireOnlinePayment,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings
|
|
2
|
+
|
|
3
|
+
Make all properties in T optional
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**publicAccess** | [**PartialPublicAccessSettings**](PartialPublicAccessSettings.md) | | [optional] [default to undefined]
|
|
10
|
+
**schoolAccess** | [**PartialSchoolAccessSettings**](PartialSchoolAccessSettings.md) | | [optional] [default to undefined]
|
|
11
|
+
**hotelAccess** | [**PartialHotelAccessSettings**](PartialHotelAccessSettings.md) | | [optional] [default to undefined]
|
|
12
|
+
**paymentRequirements** | [**PartialPaymentRequirementsSettings**](PartialPaymentRequirementsSettings.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings = {
|
|
20
|
+
publicAccess,
|
|
21
|
+
schoolAccess,
|
|
22
|
+
hotelAccess,
|
|
23
|
+
paymentRequirements,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# PartialPublicAccessSettings
|
|
2
|
+
|
|
3
|
+
Make all properties in T optional
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**paymentMode** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**pricePerAccess** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**enabled** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { PartialPublicAccessSettings } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: PartialPublicAccessSettings = {
|
|
19
|
+
paymentMode,
|
|
20
|
+
pricePerAccess,
|
|
21
|
+
enabled,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# PartialSchoolAccessSettings
|
|
2
|
+
|
|
3
|
+
Make all properties in T optional
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**emailSuffixes** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
+
**requireCertification** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**enabled** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { PartialSchoolAccessSettings } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: PartialSchoolAccessSettings = {
|
|
19
|
+
emailSuffixes,
|
|
20
|
+
requireCertification,
|
|
21
|
+
enabled,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PaymentRequirementsSettings
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**requireCardImprint** | **boolean** | | [default to undefined]
|
|
9
|
+
**requireOnlinePayment** | **boolean** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PaymentRequirementsSettings } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: PaymentRequirementsSettings = {
|
|
17
|
+
requireCardImprint,
|
|
18
|
+
requireOnlinePayment,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PublicAccessSettings
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**enabled** | **boolean** | | [default to undefined]
|
|
9
|
+
**paymentMode** | **string** | | [default to undefined]
|
|
10
|
+
**pricePerAccess** | **number** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PublicAccessSettings } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: PublicAccessSettings = {
|
|
18
|
+
enabled,
|
|
19
|
+
paymentMode,
|
|
20
|
+
pricePerAccess,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# SchoolAccessSettings
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**enabled** | **boolean** | | [default to undefined]
|
|
9
|
+
**emailSuffixes** | **Array<string>** | | [default to undefined]
|
|
10
|
+
**requireCertification** | **boolean** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SchoolAccessSettings } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: SchoolAccessSettings = {
|
|
18
|
+
enabled,
|
|
19
|
+
emailSuffixes,
|
|
20
|
+
requireCertification,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# UpdateClubGeneralSettingsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [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
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**rib** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**logo** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**location** | [**ClubLocationSettings**](ClubLocationSettings.md) | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { UpdateClubGeneralSettingsRequest } from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const instance: UpdateClubGeneralSettingsRequest = {
|
|
23
|
+
name,
|
|
24
|
+
email,
|
|
25
|
+
phone,
|
|
26
|
+
websiteUrl,
|
|
27
|
+
description,
|
|
28
|
+
rib,
|
|
29
|
+
logo,
|
|
30
|
+
location,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UpdateClubHoursSettingsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**schedule** | [**PartialClubWeeklySchedule**](PartialClubWeeklySchedule.md) | | [optional] [default to undefined]
|
|
9
|
+
**pricingPeriods** | [**Array<ClubPricingPeriodResponse>**](ClubPricingPeriodResponse.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateClubHoursSettingsRequest } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateClubHoursSettingsRequest = {
|
|
17
|
+
schedule,
|
|
18
|
+
pricingPeriods,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# UpdateClubPresentationSettingsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
+
**bannerImages** | **Array<string | null>** | | [optional] [default to undefined]
|
|
11
|
+
**galleryImages** | **Array<string | null>** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { UpdateClubPresentationSettingsRequest } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: UpdateClubPresentationSettingsRequest = {
|
|
19
|
+
description,
|
|
20
|
+
tags,
|
|
21
|
+
bannerImages,
|
|
22
|
+
galleryImages,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# UpdateClubReservationSettingsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**slotDuration** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**slotPrice** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**maxReservations** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**unlimitedReservations** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
**cancellationDelay** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**bookingPeriod** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**limitMultipleReservations** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**accessSettings** | [**PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings**](PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings.md) | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { UpdateClubReservationSettingsRequest } from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const instance: UpdateClubReservationSettingsRequest = {
|
|
23
|
+
slotDuration,
|
|
24
|
+
slotPrice,
|
|
25
|
+
maxReservations,
|
|
26
|
+
unlimitedReservations,
|
|
27
|
+
cancellationDelay,
|
|
28
|
+
bookingPeriod,
|
|
29
|
+
limitMultipleReservations,
|
|
30
|
+
accessSettings,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[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
|
**photoUrl** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**startDate** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**endDate** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**courts** |
|
|
14
|
+
**courts** | **Array<string>** | | [optional] [default to undefined]
|
|
15
15
|
**sports** | **Array<string>** | | [optional] [default to undefined]
|
|
16
16
|
**recurringType** | **string** | | [optional] [default to undefined]
|
|
17
17
|
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|