@tennac-booking/sdk 1.0.90 → 1.0.91
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 +9 -25
- package/README.md +15 -37
- package/api.ts +785 -1996
- package/dist/api.d.ts +515 -1428
- package/dist/api.js +237 -719
- package/dist/esm/api.d.ts +515 -1428
- package/dist/esm/api.js +234 -711
- package/docs/{ClubDaySchedule.md → AddCreditsToCustomer200Response.md} +5 -7
- package/docs/AddCreditsToCustomerRequest.md +22 -0
- package/docs/BookingPopulated.md +3 -3
- package/docs/ClubAnalyticsStaffApi.md +0 -173
- package/docs/ClubSettingsManagerApi.md +60 -54
- package/docs/ClubSettingsResponse.md +39 -0
- package/docs/ClubsManagerApi.md +58 -52
- package/docs/ClubsStaffApi.md +0 -44
- package/docs/CreateClubSettingsRequest.md +34 -0
- package/docs/CreateEventRequest.md +1 -3
- package/docs/DeleteClubSettingsResponse.md +20 -0
- package/docs/EventResponse.md +1 -1
- package/docs/EventResponseCourtsInner.md +18 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/UpdateClubSettingsRequest.md +32 -0
- package/docs/UpdateEventRequest.md +1 -1
- package/docs/UserClubMembership.md +34 -0
- package/docs/UserClubMembershipsResponse.md +20 -0
- package/docs/UsersApi.md +46 -0
- package/package.json +1 -1
- package/docs/ClubGeneralSettingsResponse.md +0 -32
- package/docs/ClubHoursSettingsResponse.md +0 -22
- package/docs/ClubLocationSettings.md +0 -26
- package/docs/ClubPlayerBookingItem.md +0 -36
- package/docs/ClubPlayerBookingsPagination.md +0 -28
- package/docs/ClubPlayerBookingsResponse.md +0 -24
- package/docs/ClubPlayerDetailResponse.md +0 -46
- package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
- package/docs/ClubPlayerStatisticsResponse.md +0 -42
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
- package/docs/ClubPlayerSubscriptionSummary.md +0 -28
- package/docs/ClubPresentationSettingsResponse.md +0 -26
- package/docs/ClubPricingPeriodResponse.md +0 -30
- package/docs/ClubReservationSettingsResponse.md +0 -28
- package/docs/ClubSettingsStaffApi.md +0 -183
- package/docs/ClubWeeklySchedule.md +0 -32
- package/docs/PartialClubWeeklySchedule.md +0 -33
- package/docs/UpdateClubGeneralSettingsRequest.md +0 -34
- package/docs/UpdateClubHoursSettingsRequest.md +0 -22
- package/docs/UpdateClubPresentationSettingsRequest.md +0 -26
- package/docs/UpdateClubReservationSettingsRequest.md +0 -28
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# ClubPlayerDetailResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | ID du joueur | [default to undefined]
|
|
9
|
-
**name** | **string** | Nom complet | [default to undefined]
|
|
10
|
-
**firstName** | **string** | Prénom | [default to undefined]
|
|
11
|
-
**lastName** | **string** | Nom | [default to undefined]
|
|
12
|
-
**email** | **string** | Email | [default to undefined]
|
|
13
|
-
**phoneNumber** | **string** | Numéro de téléphone | [default to undefined]
|
|
14
|
-
**profilePictureUrl** | **string** | URL de la photo de profil | [default to undefined]
|
|
15
|
-
**isAccountVerified** | **boolean** | Compte vérifié | [default to undefined]
|
|
16
|
-
**subscriptionsToMyClub** | [**Array<ClubPlayerSubscriptionSummary>**](ClubPlayerSubscriptionSummary.md) | Abonnements au club courant | [default to undefined]
|
|
17
|
-
**profileDescription** | **string** | Description du profil | [default to undefined]
|
|
18
|
-
**gender** | **string** | Genre | [default to undefined]
|
|
19
|
-
**city** | **string** | Ville | [default to undefined]
|
|
20
|
-
**sportsLevels** | [**Array<ClubPlayerDetailResponseSportsLevelsInner>**](ClubPlayerDetailResponseSportsLevelsInner.md) | Niveaux par sport | [default to undefined]
|
|
21
|
-
**birthDate** | **string** | Date de naissance | [default to undefined]
|
|
22
|
-
|
|
23
|
-
## Example
|
|
24
|
-
|
|
25
|
-
```typescript
|
|
26
|
-
import { ClubPlayerDetailResponse } from '@tennac-booking/sdk';
|
|
27
|
-
|
|
28
|
-
const instance: ClubPlayerDetailResponse = {
|
|
29
|
-
id,
|
|
30
|
-
name,
|
|
31
|
-
firstName,
|
|
32
|
-
lastName,
|
|
33
|
-
email,
|
|
34
|
-
phoneNumber,
|
|
35
|
-
profilePictureUrl,
|
|
36
|
-
isAccountVerified,
|
|
37
|
-
subscriptionsToMyClub,
|
|
38
|
-
profileDescription,
|
|
39
|
-
gender,
|
|
40
|
-
city,
|
|
41
|
-
sportsLevels,
|
|
42
|
-
birthDate,
|
|
43
|
-
};
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
[[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,22 +0,0 @@
|
|
|
1
|
-
# ClubPlayerDetailResponseSportsLevelsInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**level** | **string** | | [default to undefined]
|
|
9
|
-
**sport** | **string** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ClubPlayerDetailResponseSportsLevelsInner } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: ClubPlayerDetailResponseSportsLevelsInner = {
|
|
17
|
-
level,
|
|
18
|
-
sport,
|
|
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,42 +0,0 @@
|
|
|
1
|
-
# ClubPlayerStatisticsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**totalBookings** | **number** | Nombre total de réservations (tous clubs confondus) | [default to undefined]
|
|
9
|
-
**totalBookingsInMyClub** | **number** | Nombre total de réservations dans le club courant | [default to undefined]
|
|
10
|
-
**totalSpentAmount** | **number** | Somme totale dépensée dans le club courant (centimes) | [default to undefined]
|
|
11
|
-
**favoriteSport** | **string** | Sport le plus pratiqué dans le club courant | [default to undefined]
|
|
12
|
-
**averageBookingLeadTimeHours** | **number** | Temps moyen entre la réservation et le début du créneau (heures) | [default to undefined]
|
|
13
|
-
**bookingCancellationRate** | **number** | Taux d\'annulation dans le club courant (0-1) | [default to undefined]
|
|
14
|
-
**activeSubscriptionsToMyClub** | **number** | Nombre d\'abonnements actifs au club courant | [default to undefined]
|
|
15
|
-
**favoriteTimeSlot** | **string** | Heure de créneau favorite dans le club courant (format HH:00) | [default to undefined]
|
|
16
|
-
**favoriteClub** | [**ClubPlayerStatisticsResponseFavoriteClub**](ClubPlayerStatisticsResponseFavoriteClub.md) | | [default to undefined]
|
|
17
|
-
**mostPlayedClub** | [**ClubPlayerStatisticsResponseMostPlayedClub**](ClubPlayerStatisticsResponseMostPlayedClub.md) | | [default to undefined]
|
|
18
|
-
**bookingAmountEvolutionThisMonth** | [**Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>**](ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md) | Évolution quotidienne des montants dépensés ce mois-ci | [default to undefined]
|
|
19
|
-
**mostPlayedPartners** | [**Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>**](ClubPlayerStatisticsResponseMostPlayedPartnersInner.md) | Joueurs les plus joués dans le club courant | [default to undefined]
|
|
20
|
-
|
|
21
|
-
## Example
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
import { ClubPlayerStatisticsResponse } from '@tennac-booking/sdk';
|
|
25
|
-
|
|
26
|
-
const instance: ClubPlayerStatisticsResponse = {
|
|
27
|
-
totalBookings,
|
|
28
|
-
totalBookingsInMyClub,
|
|
29
|
-
totalSpentAmount,
|
|
30
|
-
favoriteSport,
|
|
31
|
-
averageBookingLeadTimeHours,
|
|
32
|
-
bookingCancellationRate,
|
|
33
|
-
activeSubscriptionsToMyClub,
|
|
34
|
-
favoriteTimeSlot,
|
|
35
|
-
favoriteClub,
|
|
36
|
-
mostPlayedClub,
|
|
37
|
-
bookingAmountEvolutionThisMonth,
|
|
38
|
-
mostPlayedPartners,
|
|
39
|
-
};
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
[[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,22 +0,0 @@
|
|
|
1
|
-
# ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**amount** | **number** | | [default to undefined]
|
|
9
|
-
**day** | **number** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner = {
|
|
17
|
-
amount,
|
|
18
|
-
day,
|
|
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,23 +0,0 @@
|
|
|
1
|
-
# ClubPlayerStatisticsResponseFavoriteClub
|
|
2
|
-
|
|
3
|
-
Club favori selon le profil utilisateur
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**name** | **string** | | [default to undefined]
|
|
10
|
-
**clubId** | **string** | | [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { ClubPlayerStatisticsResponseFavoriteClub } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: ClubPlayerStatisticsResponseFavoriteClub = {
|
|
18
|
-
name,
|
|
19
|
-
clubId,
|
|
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)
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# ClubPlayerStatisticsResponseMostPlayedClub
|
|
2
|
-
|
|
3
|
-
Club où le joueur a le plus joué
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**bookingsCount** | **number** | | [default to undefined]
|
|
10
|
-
**name** | **string** | | [default to undefined]
|
|
11
|
-
**clubId** | **string** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { ClubPlayerStatisticsResponseMostPlayedClub } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: ClubPlayerStatisticsResponseMostPlayedClub = {
|
|
19
|
-
bookingsCount,
|
|
20
|
-
name,
|
|
21
|
-
clubId,
|
|
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)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# ClubPlayerStatisticsResponseMostPlayedPartnersInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**bookingsTogether** | **number** | | [default to undefined]
|
|
9
|
-
**lastName** | **string** | | [default to undefined]
|
|
10
|
-
**firstName** | **string** | | [default to undefined]
|
|
11
|
-
**userId** | **string** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { ClubPlayerStatisticsResponseMostPlayedPartnersInner } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: ClubPlayerStatisticsResponseMostPlayedPartnersInner = {
|
|
19
|
-
bookingsTogether,
|
|
20
|
-
lastName,
|
|
21
|
-
firstName,
|
|
22
|
-
userId,
|
|
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)
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# ClubPlayerSubscriptionSummary
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | ID du plan d\'abonnement | [default to undefined]
|
|
9
|
-
**name** | **string** | Nom du plan | [default to undefined]
|
|
10
|
-
**amountInCents** | **number** | Montant en centimes | [default to undefined]
|
|
11
|
-
**currency** | **string** | Devise | [default to undefined]
|
|
12
|
-
**interval** | **string** | Intervalle de facturation | [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { ClubPlayerSubscriptionSummary } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: ClubPlayerSubscriptionSummary = {
|
|
20
|
-
id,
|
|
21
|
-
name,
|
|
22
|
-
amountInCents,
|
|
23
|
-
currency,
|
|
24
|
-
interval,
|
|
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)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# ClubPresentationSettingsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**tags** | **Array<string>** | | [default to undefined]
|
|
10
|
-
**bannerImages** | **Array<string>** | | [default to undefined]
|
|
11
|
-
**galleryImages** | **Array<string>** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { ClubPresentationSettingsResponse } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: ClubPresentationSettingsResponse = {
|
|
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)
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# ClubPricingPeriodResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**name** | **string** | | [default to undefined]
|
|
10
|
-
**days** | **Array<string>** | | [default to undefined]
|
|
11
|
-
**startTime** | **string** | | [default to undefined]
|
|
12
|
-
**endTime** | **string** | | [default to undefined]
|
|
13
|
-
**variation** | **number** | | [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { ClubPricingPeriodResponse } from '@tennac-booking/sdk';
|
|
19
|
-
|
|
20
|
-
const instance: ClubPricingPeriodResponse = {
|
|
21
|
-
id,
|
|
22
|
-
name,
|
|
23
|
-
days,
|
|
24
|
-
startTime,
|
|
25
|
-
endTime,
|
|
26
|
-
variation,
|
|
27
|
-
};
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
[[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,28 +0,0 @@
|
|
|
1
|
-
# ClubReservationSettingsResponse
|
|
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 { ClubReservationSettingsResponse } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: ClubReservationSettingsResponse = {
|
|
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)
|
|
@@ -1,183 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
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)
|
|
@@ -1,33 +0,0 @@
|
|
|
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)
|
|
@@ -1,34 +0,0 @@
|
|
|
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)
|
|
@@ -1,22 +0,0 @@
|
|
|
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)
|
|
@@ -1,26 +0,0 @@
|
|
|
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)
|