@tennac-booking/sdk 1.0.89 → 1.0.90
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 +265 -247
- package/README.md +37 -12
- package/api.ts +2709 -1368
- package/dist/api.d.ts +1563 -557
- package/dist/api.js +739 -199
- package/dist/esm/api.d.ts +1563 -557
- package/dist/esm/api.js +734 -199
- package/docs/BookingPopulated.md +3 -3
- package/docs/ClubAnalyticsStaffApi.md +173 -0
- package/docs/{AddCreditsToCustomer200Response.md → ClubDaySchedule.md} +7 -5
- 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/ClubSettingsManagerApi.md +54 -60
- package/docs/ClubSettingsStaffApi.md +183 -0
- package/docs/ClubWeeklySchedule.md +32 -0
- package/docs/ClubsManagerApi.md +52 -58
- package/docs/ClubsStaffApi.md +44 -0
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventResponse.md +1 -1
- package/docs/PartialClubWeeklySchedule.md +33 -0
- package/docs/SlotInfo.md +2 -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/package.json +1 -1
- package/docs/AddCreditsToCustomerRequest.md +0 -22
- package/docs/ClubSettingsResponse.md +0 -39
- package/docs/CreateClubSettingsRequest.md +0 -34
- package/docs/DeleteClubSettingsResponse.md +0 -20
- package/docs/EventResponseCourtsInner.md +0 -18
- package/docs/UpdateClubSettingsRequest.md +0 -32
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
|
|
|
@@ -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]
|
|
@@ -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
|
+
**monday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
10
|
+
**tuesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
11
|
+
**wednesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
12
|
+
**thursday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
13
|
+
**friday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
14
|
+
**saturday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
15
|
+
**sunday** | [**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
|
+
monday,
|
|
24
|
+
tuesday,
|
|
25
|
+
wednesday,
|
|
26
|
+
thursday,
|
|
27
|
+
friday,
|
|
28
|
+
saturday,
|
|
29
|
+
sunday,
|
|
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)
|
package/docs/SlotInfo.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | ID du slot | [default to undefined]
|
|
9
9
|
**startDate** | **string** | Date de début | [default to undefined]
|
|
10
10
|
**endDate** | **string** | Date de fin | [default to undefined]
|
|
11
|
-
**
|
|
11
|
+
**court** | [**CourtInfo**](CourtInfo.md) | | [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -19,7 +19,7 @@ const instance: SlotInfo = {
|
|
|
19
19
|
id,
|
|
20
20
|
startDate,
|
|
21
21
|
endDate,
|
|
22
|
-
|
|
22
|
+
court,
|
|
23
23
|
};
|
|
24
24
|
```
|
|
25
25
|
|
|
@@ -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,28 @@
|
|
|
1
|
+
# UpdateClubReservationSettingsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**maxWeeklyBookings** | **number** | | [default to undefined]
|
|
9
|
+
**unlimitedWeeklyBookings** | **boolean** | | [default to undefined]
|
|
10
|
+
**sameTimeBookingsLimit** | **number** | | [default to undefined]
|
|
11
|
+
**cancellationDelayInHours** | **number** | | [default to undefined]
|
|
12
|
+
**bookingPeriodInDays** | **number** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { UpdateClubReservationSettingsRequest } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: UpdateClubReservationSettingsRequest = {
|
|
20
|
+
maxWeeklyBookings,
|
|
21
|
+
unlimitedWeeklyBookings,
|
|
22
|
+
sameTimeBookingsLimit,
|
|
23
|
+
cancellationDelayInHours,
|
|
24
|
+
bookingPeriodInDays,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[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]
|
package/package.json
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# AddCreditsToCustomerRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**reason** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**amount** | **number** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { AddCreditsToCustomerRequest } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: AddCreditsToCustomerRequest = {
|
|
17
|
-
reason,
|
|
18
|
-
amount,
|
|
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)
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# ClubSettingsResponse
|
|
2
|
-
|
|
3
|
-
Types TSOA pour les paramètres du club
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**_id** | **string** | ID unique des paramètres | [default to undefined]
|
|
10
|
-
**clubId** | **string** | ID du club | [default to undefined]
|
|
11
|
-
**maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [default to undefined]
|
|
12
|
-
**sameTimeBookingsLimit** | **number** | Limite de réservations simultanées | [optional] [default to undefined]
|
|
13
|
-
**cancellationLimitHours** | **number** | Limite d\'annulation en heures | [default to undefined]
|
|
14
|
-
**availabilityPeriodInDays** | **number** | Période de disponibilité en jours | [default to undefined]
|
|
15
|
-
**sponsors** | **Array<string>** | Liste des sponsors | [default to undefined]
|
|
16
|
-
**timeBeforePayment** | **number** | Temps avant paiement en minutes | [default to undefined]
|
|
17
|
-
**createdAt** | **string** | Date de création | [default to undefined]
|
|
18
|
-
**updatedAt** | **string** | Date de mise à jour | [default to undefined]
|
|
19
|
-
|
|
20
|
-
## Example
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import { ClubSettingsResponse } from '@tennac-booking/sdk';
|
|
24
|
-
|
|
25
|
-
const instance: ClubSettingsResponse = {
|
|
26
|
-
_id,
|
|
27
|
-
clubId,
|
|
28
|
-
maxWeeklyBookings,
|
|
29
|
-
sameTimeBookingsLimit,
|
|
30
|
-
cancellationLimitHours,
|
|
31
|
-
availabilityPeriodInDays,
|
|
32
|
-
sponsors,
|
|
33
|
-
timeBeforePayment,
|
|
34
|
-
createdAt,
|
|
35
|
-
updatedAt,
|
|
36
|
-
};
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# CreateClubSettingsRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubId** | **string** | ID du club | [default to undefined]
|
|
9
|
-
**maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
|
|
10
|
-
**allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
|
|
11
|
-
**sameTimeBookingsLimit** | **number** | Limite de réservations simultanées | [optional] [default to undefined]
|
|
12
|
-
**cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
|
|
13
|
-
**availabilityPeriodInDays** | **number** | Période de disponibilité en jours | [optional] [default to undefined]
|
|
14
|
-
**sponsors** | **Array<string>** | Liste des sponsors | [optional] [default to undefined]
|
|
15
|
-
**timeBeforePayment** | **number** | Temps avant paiement en minutes | [optional] [default to undefined]
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { CreateClubSettingsRequest } from '@tennac-booking/sdk';
|
|
21
|
-
|
|
22
|
-
const instance: CreateClubSettingsRequest = {
|
|
23
|
-
clubId,
|
|
24
|
-
maxWeeklyBookings,
|
|
25
|
-
allowMultipleBookingsAtTheSameTime,
|
|
26
|
-
sameTimeBookingsLimit,
|
|
27
|
-
cancellationLimitHours,
|
|
28
|
-
availabilityPeriodInDays,
|
|
29
|
-
sponsors,
|
|
30
|
-
timeBeforePayment,
|
|
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)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# DeleteClubSettingsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**message** | **string** | Message de confirmation | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { DeleteClubSettingsResponse } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: DeleteClubSettingsResponse = {
|
|
16
|
-
message,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# EventResponseCourtsInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
|
|
9
|
-
## Example
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
import { EventResponseCourtsInner } from '@tennac-booking/sdk';
|
|
13
|
-
|
|
14
|
-
const instance: EventResponseCourtsInner = {
|
|
15
|
-
};
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# UpdateClubSettingsRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
|
|
9
|
-
**allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
|
|
10
|
-
**sameTimeBookingsLimit** | **number** | Limite de réservations simultanées | [optional] [default to undefined]
|
|
11
|
-
**cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
|
|
12
|
-
**availabilityPeriodInDays** | **number** | Période de disponibilité en jours | [optional] [default to undefined]
|
|
13
|
-
**sponsors** | **Array<string>** | Liste des sponsors | [optional] [default to undefined]
|
|
14
|
-
**timeBeforePayment** | **number** | Temps avant paiement en minutes | [optional] [default to undefined]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import { UpdateClubSettingsRequest } from '@tennac-booking/sdk';
|
|
20
|
-
|
|
21
|
-
const instance: UpdateClubSettingsRequest = {
|
|
22
|
-
maxWeeklyBookings,
|
|
23
|
-
allowMultipleBookingsAtTheSameTime,
|
|
24
|
-
sameTimeBookingsLimit,
|
|
25
|
-
cancellationLimitHours,
|
|
26
|
-
availabilityPeriodInDays,
|
|
27
|
-
sponsors,
|
|
28
|
-
timeBeforePayment,
|
|
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)
|