@tennac-booking/sdk 1.0.97 → 1.0.99
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 +264 -267
- package/README.md +46 -45
- package/api.ts +2348 -2430
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1477 -1610
- package/dist/api.js +1192 -1061
- 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 +1477 -1610
- package/dist/esm/api.js +1157 -1035
- 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/ActiveSubscriptionResponse.md +22 -0
- package/docs/AddClubMemberRequest.md +1 -7
- package/docs/{ClubDaySchedule.md → AddCreditsToCustomer200Response.md} +5 -7
- package/docs/AddCreditsToCustomerRequest.md +22 -0
- package/docs/BookingPopulated.md +3 -3
- package/docs/BookingPriceBody.md +4 -2
- package/docs/BookingPriceResponse.md +2 -0
- package/docs/BookingSummary.md +4 -0
- package/docs/ClientAccountOnboardingRequest.md +29 -0
- package/docs/ClientAccountOnboardingResponse.md +34 -0
- package/docs/ClientAccountResponse.md +44 -0
- package/docs/ClientAccountsApi.md +408 -0
- package/docs/ClientApi.md +109 -0
- package/docs/{ClubPlayerStatisticsResponseMostPlayedPartnersInner.md → ClientMeResponse.md} +11 -9
- package/docs/ClientOnboardingRequestBody.md +33 -0
- package/docs/ClientOnboardingResponse.md +27 -0
- package/docs/ClientRegisterRequestBody.md +26 -0
- package/docs/ClientRegisterResponse.md +22 -0
- package/docs/ClientSubscriptionResponse.md +34 -0
- package/docs/ClubAnalyticsStaffApi.md +0 -314
- 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/CourtResponse.md +1 -1
- package/docs/CreateBookingRequest.md +1 -1
- package/docs/CreateClubSettingsRequest.md +34 -0
- package/docs/CreateCourtRequest.md +1 -1
- 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/GetSubscriptionsHistory200Response.md +22 -0
- package/docs/IUserAttributes.md +2 -0
- package/docs/ManagedClubsResponse.md +23 -0
- package/docs/PlayerPrice.md +2 -0
- package/docs/PlayerShare.md +22 -0
- package/docs/PlayerWithPaymentMethod.md +2 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/SportsStaffApi.md +55 -0
- package/docs/StaffUserProfileResponse.md +2 -0
- 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/UserInfo.md +0 -2
- package/docs/UserProfileResponse.md +2 -0
- package/docs/UsersApi.md +46 -0
- package/index.ts +1 -1
- 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/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/CourtBookingShareItem.md +0 -26
- package/docs/PartialClubWeeklySchedule.md +0 -33
- package/docs/RetentionRateResponse.md +0 -24
- package/docs/RevenueBySportItem.md +0 -24
- package/docs/UpdateClubGeneralSettingsRequest.md +0 -34
- package/docs/UpdateClubHoursSettingsRequest.md +0 -22
- package/docs/UpdateClubPresentationSettingsRequest.md +0 -26
- package/docs/UpdateClubReservationSettingsRequest.md +0 -28
|
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**emailVerificationExpires** | **string** | | [optional] [default to undefined]
|
|
24
24
|
**organizations** | [**Array<IUserAttributesOrganizationsInner>**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined]
|
|
25
25
|
**isAdmin** | **boolean** | | [default to undefined]
|
|
26
|
+
**isClient** | **boolean** | | [optional] [default to undefined]
|
|
26
27
|
**createdAt** | **string** | | [default to undefined]
|
|
27
28
|
**updatedAt** | **string** | | [default to undefined]
|
|
28
29
|
**isLevelCertified** | **boolean** | | [optional] [default to undefined]
|
|
@@ -64,6 +65,7 @@ const instance: UserProfileResponse = {
|
|
|
64
65
|
emailVerificationExpires,
|
|
65
66
|
organizations,
|
|
66
67
|
isAdmin,
|
|
68
|
+
isClient,
|
|
67
69
|
createdAt,
|
|
68
70
|
updatedAt,
|
|
69
71
|
isLevelCertified,
|
package/docs/UsersApi.md
CHANGED
|
@@ -15,6 +15,7 @@ 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 | |
|
|
18
19
|
|[**getNearestClubs**](#getnearestclubs) | **GET** /api/users/me/nearest-clubs | |
|
|
19
20
|
|[**getNearestClubsFromCoordinates**](#getnearestclubsfromcoordinates) | **GET** /api/users/nearest-clubs/coordinates | |
|
|
20
21
|
|[**getNearestUsers**](#getnearestusers) | **GET** /api/users/me/nearest-players | |
|
|
@@ -552,6 +553,51 @@ This endpoint does not have any parameters.
|
|
|
552
553
|
|
|
553
554
|
[[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)
|
|
554
555
|
|
|
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
|
+
|
|
555
601
|
# **getNearestClubs**
|
|
556
602
|
> Array<{ [key: string]: any; }> getNearestClubs()
|
|
557
603
|
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# ClubGeneralSettingsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**name** | **string** | | [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
|
-
**logo** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**location** | [**ClubLocationSettings**](ClubLocationSettings.md) | | [default to undefined]
|
|
14
|
-
**stripeUrl** | **string** | | [optional] [default to undefined]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import { ClubGeneralSettingsResponse } from '@tennac-booking/sdk';
|
|
20
|
-
|
|
21
|
-
const instance: ClubGeneralSettingsResponse = {
|
|
22
|
-
name,
|
|
23
|
-
email,
|
|
24
|
-
phone,
|
|
25
|
-
websiteUrl,
|
|
26
|
-
logo,
|
|
27
|
-
location,
|
|
28
|
-
stripeUrl,
|
|
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,22 +0,0 @@
|
|
|
1
|
-
# ClubHoursSettingsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**schedule** | [**ClubWeeklySchedule**](ClubWeeklySchedule.md) | | [default to undefined]
|
|
9
|
-
**pricingPeriods** | [**Array<ClubPricingPeriodResponse>**](ClubPricingPeriodResponse.md) | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ClubHoursSettingsResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: ClubHoursSettingsResponse = {
|
|
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
|
-
# ClubLocationSettings
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**address** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**zipCode** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**city** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**country** | **string** | | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { ClubLocationSettings } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: ClubLocationSettings = {
|
|
19
|
-
address,
|
|
20
|
-
zipCode,
|
|
21
|
-
city,
|
|
22
|
-
country,
|
|
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,36 +0,0 @@
|
|
|
1
|
-
# ClubPlayerBookingItem
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | ID de la réservation | [default to undefined]
|
|
9
|
-
**startDate** | **string** | Date de début de la réservation | [default to undefined]
|
|
10
|
-
**endDate** | **string** | Date de fin de la réservation | [default to undefined]
|
|
11
|
-
**location** | **string** | Nom du terrain ou emplacement | [default to undefined]
|
|
12
|
-
**sport** | **string** | Nom du sport associé | [default to undefined]
|
|
13
|
-
**status** | **string** | Statut de la réservation | [default to undefined]
|
|
14
|
-
**totalPrice** | **number** | Prix total de la réservation en centimes | [default to undefined]
|
|
15
|
-
**isCreator** | **boolean** | Indique si le joueur est le créateur de la réservation | [default to undefined]
|
|
16
|
-
**participantsCount** | **number** | Nombre total de participants | [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { ClubPlayerBookingItem } from '@tennac-booking/sdk';
|
|
22
|
-
|
|
23
|
-
const instance: ClubPlayerBookingItem = {
|
|
24
|
-
id,
|
|
25
|
-
startDate,
|
|
26
|
-
endDate,
|
|
27
|
-
location,
|
|
28
|
-
sport,
|
|
29
|
-
status,
|
|
30
|
-
totalPrice,
|
|
31
|
-
isCreator,
|
|
32
|
-
participantsCount,
|
|
33
|
-
};
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[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
|
-
# ClubPlayerBookingsPagination
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**page** | **number** | Page courante (1-based) | [default to undefined]
|
|
9
|
-
**pageSize** | **number** | Nombre d\'éléments par page | [default to undefined]
|
|
10
|
-
**totalItems** | **number** | Nombre total d\'éléments disponibles | [default to undefined]
|
|
11
|
-
**totalPages** | **number** | Nombre total de pages disponibles | [default to undefined]
|
|
12
|
-
**hasMore** | **boolean** | Existence d\'une page suivante | [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { ClubPlayerBookingsPagination } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: ClubPlayerBookingsPagination = {
|
|
20
|
-
page,
|
|
21
|
-
pageSize,
|
|
22
|
-
totalItems,
|
|
23
|
-
totalPages,
|
|
24
|
-
hasMore,
|
|
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,24 +0,0 @@
|
|
|
1
|
-
# ClubPlayerBookingsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**upcomingBookings** | [**Array<ClubPlayerBookingItem>**](ClubPlayerBookingItem.md) | Réservations à venir | [default to undefined]
|
|
9
|
-
**pastBookings** | [**Array<ClubPlayerBookingItem>**](ClubPlayerBookingItem.md) | Réservations passées | [default to undefined]
|
|
10
|
-
**pastPagination** | [**ClubPlayerBookingsPagination**](ClubPlayerBookingsPagination.md) | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { ClubPlayerBookingsResponse } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: ClubPlayerBookingsResponse = {
|
|
18
|
-
upcomingBookings,
|
|
19
|
-
pastBookings,
|
|
20
|
-
pastPagination,
|
|
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)
|
|
@@ -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,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)
|