@tennac-booking/sdk 1.0.95 → 1.0.97
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 +267 -250
- package/README.md +45 -19
- package/api.ts +3406 -2044
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1811 -812
- package/dist/api.js +973 -414
- 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 +1811 -812
- package/dist/esm/api.js +967 -408
- 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/AddClubMemberRequest.md +7 -1
- package/docs/BookingPopulated.md +3 -3
- package/docs/BookingPriceBody.md +2 -2
- package/docs/BookingSummary.md +0 -4
- package/docs/ClubAnalyticsStaffApi.md +314 -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/CourtBookingShareItem.md +26 -0
- package/docs/CourtResponse.md +1 -1
- package/docs/CreateBookingRequest.md +0 -2
- package/docs/CreateCourtRequest.md +1 -1
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventResponse.md +1 -1
- package/docs/PartialClubWeeklySchedule.md +33 -0
- package/docs/PlayerWithPaymentMethod.md +0 -2
- package/docs/RetentionRateResponse.md +24 -0
- package/docs/RevenueBySportItem.md +24 -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/docs/UserInfo.md +2 -0
- package/docs/UsersApi.md +0 -46
- package/index.ts +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/PlayerShare.md +0 -22
- package/docs/SportsStaffApi.md +0 -55
- package/docs/UpdateClubSettingsRequest.md +0 -32
- package/docs/UserClubMembership.md +0 -34
- package/docs/UserClubMembershipsResponse.md +0 -20
|
@@ -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/docs/UserInfo.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**firstName** | **string** | Prénom | [default to undefined]
|
|
10
10
|
**lastName** | **string** | Nom | [default to undefined]
|
|
11
11
|
**email** | **string** | | [default to undefined]
|
|
12
|
+
**phoneNumber** | **string** | | [optional] [default to undefined]
|
|
12
13
|
**profilePictureUrl** | **string** | | [optional] [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
@@ -21,6 +22,7 @@ const instance: UserInfo = {
|
|
|
21
22
|
firstName,
|
|
22
23
|
lastName,
|
|
23
24
|
email,
|
|
25
|
+
phoneNumber,
|
|
24
26
|
profilePictureUrl,
|
|
25
27
|
};
|
|
26
28
|
```
|
package/docs/UsersApi.md
CHANGED
|
@@ -15,7 +15,6 @@ All URIs are relative to *http://localhost*
|
|
|
15
15
|
|[**getFrequentlyPlayedWith**](#getfrequentlyplayedwith) | **GET** /api/users/me/frequentlyPlayedWith | |
|
|
16
16
|
|[**getFrequentlyVisitedClub**](#getfrequentlyvisitedclub) | **GET** /api/users/me/frequentlyVisitedClub | |
|
|
17
17
|
|[**getMe**](#getme) | **GET** /api/users/me | |
|
|
18
|
-
|[**getMyClubMemberships**](#getmyclubmemberships) | **GET** /api/users/me/club-memberships | |
|
|
19
18
|
|[**getNearestClubs**](#getnearestclubs) | **GET** /api/users/me/nearest-clubs | |
|
|
20
19
|
|[**getNearestClubsFromCoordinates**](#getnearestclubsfromcoordinates) | **GET** /api/users/nearest-clubs/coordinates | |
|
|
21
20
|
|[**getNearestUsers**](#getnearestusers) | **GET** /api/users/me/nearest-players | |
|
|
@@ -553,51 +552,6 @@ This endpoint does not have any parameters.
|
|
|
553
552
|
|
|
554
553
|
[[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)
|
|
555
554
|
|
|
556
|
-
# **getMyClubMemberships**
|
|
557
|
-
> UserClubMembershipsResponse getMyClubMemberships()
|
|
558
|
-
|
|
559
|
-
Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
|
|
560
|
-
|
|
561
|
-
### Example
|
|
562
|
-
|
|
563
|
-
```typescript
|
|
564
|
-
import {
|
|
565
|
-
UsersApi,
|
|
566
|
-
Configuration
|
|
567
|
-
} from '@tennac-booking/sdk';
|
|
568
|
-
|
|
569
|
-
const configuration = new Configuration();
|
|
570
|
-
const apiInstance = new UsersApi(configuration);
|
|
571
|
-
|
|
572
|
-
const { status, data } = await apiInstance.getMyClubMemberships();
|
|
573
|
-
```
|
|
574
|
-
|
|
575
|
-
### Parameters
|
|
576
|
-
This endpoint does not have any parameters.
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
### Return type
|
|
580
|
-
|
|
581
|
-
**UserClubMembershipsResponse**
|
|
582
|
-
|
|
583
|
-
### Authorization
|
|
584
|
-
|
|
585
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
586
|
-
|
|
587
|
-
### HTTP request headers
|
|
588
|
-
|
|
589
|
-
- **Content-Type**: Not defined
|
|
590
|
-
- **Accept**: application/json
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
### HTTP response details
|
|
594
|
-
| Status code | Description | Response headers |
|
|
595
|
-
|-------------|-------------|------------------|
|
|
596
|
-
|**200** | Clubs de l\'utilisateur | - |
|
|
597
|
-
|**500** | Server Error | - |
|
|
598
|
-
|
|
599
|
-
[[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)
|
|
600
|
-
|
|
601
555
|
# **getNearestClubs**
|
|
602
556
|
> Array<{ [key: string]: any; }> getNearestClubs()
|
|
603
557
|
|
package/index.ts
CHANGED
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)
|
package/docs/PlayerShare.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# PlayerShare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**playerId** | **string** | | [default to undefined]
|
|
9
|
-
**shares** | **number** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { PlayerShare } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: PlayerShare = {
|
|
17
|
-
playerId,
|
|
18
|
-
shares,
|
|
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)
|
package/docs/SportsStaffApi.md
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# SportsStaffApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**getAllSports**](#getallsports) | **GET** /api/sports | |
|
|
8
|
-
|
|
9
|
-
# **getAllSports**
|
|
10
|
-
> Array<SportResponse> getAllSports()
|
|
11
|
-
|
|
12
|
-
Récupère la liste des sports (vérifiés + créés par le club de l\'utilisateur)
|
|
13
|
-
|
|
14
|
-
### Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import {
|
|
18
|
-
SportsStaffApi,
|
|
19
|
-
Configuration
|
|
20
|
-
} from '@tennac-booking/sdk';
|
|
21
|
-
|
|
22
|
-
const configuration = new Configuration();
|
|
23
|
-
const apiInstance = new SportsStaffApi(configuration);
|
|
24
|
-
|
|
25
|
-
const { status, data } = await apiInstance.getAllSports();
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
### Parameters
|
|
29
|
-
This endpoint does not have any parameters.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
### Return type
|
|
33
|
-
|
|
34
|
-
**Array<SportResponse>**
|
|
35
|
-
|
|
36
|
-
### Authorization
|
|
37
|
-
|
|
38
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
39
|
-
|
|
40
|
-
### HTTP request headers
|
|
41
|
-
|
|
42
|
-
- **Content-Type**: Not defined
|
|
43
|
-
- **Accept**: staff
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### HTTP response details
|
|
47
|
-
| Status code | Description | Response headers |
|
|
48
|
-
|-------------|-------------|------------------|
|
|
49
|
-
|**200** | Liste des sports | - |
|
|
50
|
-
|**400** | Bad Request | - |
|
|
51
|
-
|**401** | Unauthorized | - |
|
|
52
|
-
|**500** | Server Error | - |
|
|
53
|
-
|
|
54
|
-
[[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)
|
|
55
|
-
|
|
@@ -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)
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# UserClubMembership
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubId** | **string** | | [default to undefined]
|
|
9
|
-
**clubName** | **string** | | [default to undefined]
|
|
10
|
-
**clubPicture** | **string** | | [default to undefined]
|
|
11
|
-
**bookingCount** | **number** | | [default to undefined]
|
|
12
|
-
**credits** | **number** | | [default to undefined]
|
|
13
|
-
**billingPortalUrl** | **string** | | [default to undefined]
|
|
14
|
-
**hasActiveSubscription** | **boolean** | | [default to undefined]
|
|
15
|
-
**subscriptions** | [**Array<UserClubSubscription>**](UserClubSubscription.md) | | [default to undefined]
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { UserClubMembership } from '@tennac-booking/sdk';
|
|
21
|
-
|
|
22
|
-
const instance: UserClubMembership = {
|
|
23
|
-
clubId,
|
|
24
|
-
clubName,
|
|
25
|
-
clubPicture,
|
|
26
|
-
bookingCount,
|
|
27
|
-
credits,
|
|
28
|
-
billingPortalUrl,
|
|
29
|
-
hasActiveSubscription,
|
|
30
|
-
subscriptions,
|
|
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
|
-
# UserClubMembershipsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubs** | [**Array<UserClubMembership>**](UserClubMembership.md) | | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { UserClubMembershipsResponse } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: UserClubMembershipsResponse = {
|
|
16
|
-
clubs,
|
|
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)
|