@tennac-booking/sdk 1.0.81 → 1.0.82
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 +246 -134
- package/README.md +325 -123
- package/api.ts +17109 -6137
- package/base.ts +4 -4
- package/common.ts +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +11466 -3726
- package/dist/api.js +7819 -2859
- package/dist/base.d.ts +3 -3
- package/dist/base.js +4 -4
- package/dist/common.d.ts +3 -3
- package/dist/common.js +3 -3
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +3 -3
- package/dist/esm/api.d.ts +11466 -3726
- package/dist/esm/api.js +7724 -2760
- package/dist/esm/base.d.ts +3 -3
- package/dist/esm/base.js +4 -4
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +3 -3
- package/dist/esm/configuration.d.ts +3 -3
- package/dist/esm/configuration.js +3 -3
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/docs/{DeleteSlotsByClubInRange200Response.md → AddClubMember201Response.md} +6 -4
- package/docs/AddClubMemberRequest.md +7 -3
- package/docs/AddOrganizationRequest.md +22 -0
- package/docs/AddPaymentMethodRequestBody.md +20 -0
- package/docs/BookingAnalyticsResponse.md +34 -0
- package/docs/BookingDetailResponse.md +46 -0
- package/docs/BookingHistoryPopulated.md +34 -0
- package/docs/BookingInfo.md +50 -0
- package/docs/BookingPaymentStatusResponse.md +24 -0
- package/docs/BookingPaymentStatusResponseBooking.md +27 -0
- package/docs/BookingPaymentStatusResponseSummary.md +29 -0
- package/docs/BookingPopulated.md +46 -0
- package/docs/BookingResponse.md +4 -4
- package/docs/BookingResponseOnsitePaymentsInner.md +22 -0
- package/docs/BookingStatus.md +11 -1
- package/docs/BookingSummary.md +44 -0
- package/docs/{GetAllSportsRequest.md → BookingSummaryClubAddress.md} +3 -5
- package/docs/BookingsApi.md +138 -0
- package/docs/{ManagerSportsApi.md → BookingsManagerApi.md} +30 -34
- package/docs/BookingsStaffApi.md +323 -0
- package/docs/{UserBookingsApi.md → BookingsUserApi.md} +18 -26
- package/docs/CancelBookingResponse.md +1 -1
- package/docs/CaptureResult.md +30 -0
- package/docs/ChangePasswordResponse.md +1 -1
- package/docs/CheckInPlayersRequest.md +20 -0
- package/docs/CheckInPlayersResponse.md +22 -0
- package/docs/CheckedInPlayer.md +34 -0
- package/docs/{AdminClubsApi.md → ClubAnalyticsApi.md} +27 -34
- package/docs/ClubAnalyticsStaffApi.md +690 -0
- package/docs/ClubMemberResponse.md +24 -0
- package/docs/ClubMemberResponseUser.md +27 -0
- package/docs/ClubPlayerBookingItem.md +36 -0
- package/docs/ClubPlayerBookingsResponse.md +22 -0
- package/docs/ClubPlayerDetailResponse.md +46 -0
- package/docs/{RestoreSubscriptionPlanForClub200Response.md → ClubPlayerDetailResponseSportsLevelsInner.md} +7 -5
- package/docs/ClubPlayerResponse.md +36 -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/ClubResponse.md +26 -22
- package/docs/ClubResponseCreatedAt.md +19 -0
- package/docs/ClubResponseLocation.md +29 -0
- package/docs/ClubResponseLocationCoordinates.md +22 -0
- package/docs/ClubResponseUpdatedAt.md +19 -0
- package/docs/ClubRoleResponse.md +11 -9
- package/docs/ClubRolesManagerApi.md +177 -0
- package/docs/ClubRolesStaffApi.md +154 -0
- package/docs/ClubSettingsManagerApi.md +221 -0
- package/docs/ClubSettingsResponse.md +41 -0
- package/docs/ClubSubscriptions.md +26 -0
- package/docs/ClubSummary.md +28 -0
- package/docs/{GetNumberOfClubUsers200Response.md → ClubUserCountResponse.md} +4 -4
- package/docs/ClubsApi.md +614 -0
- package/docs/ClubsManagerApi.md +950 -0
- package/docs/ClubsStaffApi.md +329 -0
- package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
- package/docs/ConfirmPaymentMethodResponse.md +22 -0
- package/docs/CourtInfo.md +28 -0
- package/docs/CourtResponse.md +20 -16
- package/docs/CourtStatus.md +2 -5
- package/docs/CreateBookingRequest.md +3 -3
- package/docs/CreateClubRequest.md +0 -18
- package/docs/{ConfirmPaymentMethodSetupRequestBody.md → CreateClubRoleRequest.md} +7 -5
- package/docs/CreateClubSettingsRequest.md +15 -9
- package/docs/CreateCourtForClub201Response.md +20 -0
- package/docs/CreateCourtRequest.md +10 -12
- package/docs/CreateEventRequest.md +56 -0
- package/docs/CreatePlan201Response.md +22 -0
- package/docs/CreateSportForClub201Response.md +20 -0
- package/docs/CreateSportForClubRequest.md +26 -0
- package/docs/CreateSportRequest.md +6 -6
- package/docs/CreateSubscriptionPlanRequest.md +12 -4
- package/docs/CreateSubscriptionPlanRequestDiscount.md +32 -0
- package/docs/CreatorChargeResult.md +26 -0
- package/docs/DailyTurnoverResponse.md +24 -0
- package/docs/{StaffSportsApi.md → DefaultApi.md} +18 -18
- package/docs/{DeleteSlotsResponse.md → DeleteClubRoleResponse.md} +4 -4
- package/docs/DeleteClubSettingsResponse.md +20 -0
- package/docs/{DeleteSport200Response.md → DeleteCourtResponse.md} +4 -4
- package/docs/{GenerateSlotsResponse.md → DeleteEventResponse.md} +4 -4
- package/docs/{DeleteClubRole200Response.md → DeleteSportResponse.md} +4 -4
- package/docs/DeleteSubscriptionPlanResponse.md +20 -0
- package/docs/{StripeStatus.md → DiscountType.md} +5 -7
- package/docs/EventResponse.md +66 -0
- package/docs/EventResponseCourtsInner.md +18 -0
- package/docs/EventsApi.md +238 -0
- package/docs/EventsListResponse.md +20 -0
- package/docs/{ManagerClubsApi.md → EventsManagerApi.md} +79 -75
- package/docs/{StaffProfileApi.md → EventsStaffApi.md} +14 -13
- package/docs/{AddClubMemberResponse.md → FavoriteClubMutationResponse.md} +6 -6
- package/docs/{GetClubSettingsRequest.md → FavoriteClubRequestBody.md} +3 -3
- package/docs/{BlockSlotResponse.md → FavoriteClubsResponse.md} +5 -7
- package/docs/FavoritePlayerMutationResponse.md +22 -0
- package/docs/FavoritePlayerRequestBody.md +20 -0
- package/docs/FavoritePlayersResponse.md +20 -0
- package/docs/Gender.md +12 -0
- package/docs/GenderPercentageResponse.md +26 -0
- package/docs/GetActualities200Response.md +20 -0
- package/docs/GetAvailableSlotsBySports200Response.md +20 -0
- package/docs/{ClubMembersResponse.md → GetClubMembers200Response.md} +6 -6
- package/docs/GetClubRoles200Response.md +20 -0
- package/docs/GetClubUsersById200Response.md +20 -0
- package/docs/GetClubsWithVerificationDomains200ResponseInner.md +26 -0
- package/docs/GetCourtsByClubAndSportById200Response.md +26 -0
- package/docs/GetInfillPercentagePerPeriod200Response.md +24 -0
- package/docs/{SlotsResponse.md → GetSlotsByClubById200Response.md} +6 -6
- package/docs/GoogleAuthRequestBody.md +20 -0
- package/docs/GoogleAuthResponse.md +30 -0
- package/docs/GoogleAuthResponseUser.md +26 -0
- package/docs/{Court.md → ICourtData.md} +18 -6
- package/docs/ILevelBySports.md +22 -0
- package/docs/IUserAttributes.md +82 -0
- package/docs/IUserAttributesOrganizationsInner.md +28 -0
- package/docs/IUserLocation.md +44 -0
- package/docs/InvoiceInfo.md +24 -0
- package/docs/JoinEventRequest.md +22 -0
- package/docs/{ApiErrorResponse.md → JoinEventResponse.md} +6 -6
- package/docs/LastSixMonthsTurnoverItem.md +22 -0
- package/docs/{ActiveClub.md → LevelBySportEntry.md} +7 -7
- package/docs/LoginResponse.md +2 -0
- package/docs/ManagerCancelBookingRequest.md +20 -0
- package/docs/ManagerCancelBookingResponse.md +1 -1
- package/docs/MonthlyBreakdown.md +24 -0
- package/docs/MonthlyTurnoverResponse.md +29 -0
- package/docs/NoShowFeeResponse.md +30 -0
- package/docs/OffPeakRule.md +26 -0
- package/docs/PartialClubResponse.md +51 -0
- package/docs/PasswordResetRequestBody.md +20 -0
- package/docs/PaymentByPlayerInfo.md +22 -0
- package/docs/PaymentMethod.md +2 -1
- package/docs/PaymentMethodSetupResponse.md +24 -0
- package/docs/PickIUserLocationExcludeKeyofIUserLocationType.md +43 -0
- package/docs/PlanInterval.md +14 -0
- package/docs/PlayerCategoriesResponse.md +20 -0
- package/docs/PlayerCategory.md +26 -0
- package/docs/PlayerCategoryId.md +16 -0
- package/docs/PlayerListResponse.md +26 -0
- package/docs/PlayerPaymentInfo.md +36 -0
- package/docs/PlayerSummary.md +42 -0
- package/docs/ProfilePictureResponse.md +20 -0
- package/docs/{ActiveClubListResponse.md → ProfilePictureUpdateRequestBody.md} +5 -5
- package/docs/PublicSubscriptionPlanResponse.md +30 -0
- package/docs/PublicUserProfileResponse.md +44 -0
- package/docs/PublishEventResponse.md +20 -0
- package/docs/QuickReservationClubSummary.md +28 -0
- package/docs/QuickReservationClubSummaryLocation.md +31 -0
- package/docs/QuickReservationResponse.md +22 -0
- package/docs/QuickReservationSlotSummary.md +42 -0
- package/docs/RefreshTokenResponse.md +6 -2
- package/docs/RegisterRequestBody.md +6 -0
- package/docs/RegisterRequestBodyLocation.md +44 -0
- package/docs/RequestPasswordReset200Response.md +20 -0
- package/docs/{GoogleSignInResponse.md → ResetPasswordRequest.md} +5 -7
- package/docs/SetupPaymentMethodRequestBody.md +1 -3
- package/docs/SetupPaymentMethodResponse.md +3 -3
- package/docs/SlotInfo.md +26 -0
- package/docs/SportAnalyticsResponse.md +24 -0
- package/docs/SportInfo.md +22 -0
- package/docs/SportKey.md +14 -0
- package/docs/SportLevel.md +22 -0
- package/docs/SportResponse.md +14 -8
- package/docs/SportWithLevels.md +30 -0
- package/docs/SportsManagerApi.md +180 -0
- package/docs/SportsStaffApi.md +55 -0
- package/docs/StaffUserProfileResponse.md +86 -0
- package/docs/StripeStripeDeletedProduct.md +25 -0
- package/docs/StripeStripePrice.md +63 -0
- package/docs/StripeStripePriceBillingScheme.md +10 -0
- package/docs/StripeStripePriceCurrencyOptions.md +28 -0
- package/docs/StripeStripePriceCurrencyOptionsCustomUnitAmount.md +24 -0
- package/docs/StripeStripePriceCurrencyOptionsTaxBehavior.md +12 -0
- package/docs/StripeStripePriceCurrencyOptionsTier.md +28 -0
- package/docs/StripeStripePriceCustomUnitAmount.md +24 -0
- package/docs/StripeStripePriceProduct.md +59 -0
- package/docs/StripeStripePriceRecurring.md +28 -0
- package/docs/StripeStripePriceRecurringInterval.md +14 -0
- package/docs/StripeStripePriceRecurringUsageType.md +10 -0
- package/docs/StripeStripePriceTaxBehavior.md +12 -0
- package/docs/StripeStripePriceTier.md +28 -0
- package/docs/StripeStripePriceTiersMode.md +10 -0
- package/docs/StripeStripePriceTransformQuantity.md +22 -0
- package/docs/StripeStripePriceTransformQuantityRound.md +10 -0
- package/docs/StripeStripePriceType.md +10 -0
- package/docs/StripeStripeProduct.md +59 -0
- package/docs/StripeStripeProductDefaultPrice.md +63 -0
- package/docs/StripeStripeProductMarketingFeature.md +20 -0
- package/docs/StripeStripeProductPackageDimensions.md +26 -0
- package/docs/StripeStripeProductTaxCode.md +27 -0
- package/docs/StripeStripeProductType.md +10 -0
- package/docs/StripeStripeResponseStripeStripePrice.md +64 -0
- package/docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md +30 -0
- package/docs/StripeStripeTaxCode.md +27 -0
- package/docs/{DeleteClubSettingsRequest.md → SubscribeRequestBody.md} +5 -3
- package/docs/SubscriberPrice.md +22 -0
- package/docs/SubscriptionMutationResponse.md +20 -0
- package/docs/SubscriptionPlanResponse.md +16 -14
- package/docs/SubscriptionsManagerApi.md +171 -0
- package/docs/{StaffClubsApi.md → SubscriptionsPublicApi.md} +16 -15
- package/docs/{UserClubsApi.md → SubscriptionsStaffApi.md} +13 -12
- package/docs/SubscriptionsUserApi.md +222 -0
- package/docs/SurfaceType.md +12 -0
- package/docs/Team.md +22 -0
- package/docs/UpdateActuality200Response.md +20 -0
- package/docs/UpdateClubRequest.md +14 -20
- package/docs/UpdateClubRequestLocation.md +29 -0
- package/docs/UpdateClubRequestLocationCoordinates.md +22 -0
- package/docs/UpdateClubRoleRequest.md +22 -0
- package/docs/UpdateClubSettingsRequest.md +14 -10
- package/docs/UpdateCustomerRequestBody.md +3 -7
- package/docs/UpdateCustomerResponse.md +1 -3
- package/docs/UpdateEventRequest.md +54 -0
- package/docs/{ClubListResponse.md → UpdateLevelBySportsRequestBody.md} +5 -7
- package/docs/UpdatePlanRequest.md +22 -0
- package/docs/UpdateSportRequest.md +7 -3
- package/docs/UpdateSubscriptionPlanForClub200Response.md +20 -0
- package/docs/UpdateUserRequestBody.md +8 -2
- package/docs/UpdateUserRequestBodyLevelBySportsInner.md +22 -0
- package/docs/UserClubSubscription.md +42 -0
- package/docs/UserInfo.md +28 -0
- package/docs/UserLocationSummary.md +44 -0
- package/docs/UserProfileResponse.md +94 -0
- package/docs/UserRolesResponse.md +20 -0
- package/docs/{GetActiveClubs200Response.md → UserSubscriptionsResponse.md} +5 -5
- package/docs/UsersApi.md +1963 -0
- package/docs/VerifyEmailRequest.md +20 -0
- package/docs/YearlyTurnoverResponse.md +26 -0
- package/index.ts +3 -3
- package/package.json +5 -4
- package/docs/AdminClubSlotsApi.md +0 -62
- package/docs/Booking.md +0 -32
- package/docs/CancelBookingResponseBooking.md +0 -30
- package/docs/Club.md +0 -46
- package/docs/ClubInfoResponse.md +0 -46
- package/docs/ClubMember.md +0 -34
- package/docs/ClubRole.md +0 -30
- package/docs/ClubRolesResponse.md +0 -22
- package/docs/ClubSettings.md +0 -34
- package/docs/ClubsResponse.md +0 -22
- package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
- package/docs/CourtsResponse.md +0 -22
- package/docs/CreateClubRoleRequestBody.md +0 -24
- package/docs/CreatePriceRequest.md +0 -26
- package/docs/GetClubInfos200Response.md +0 -30
- package/docs/GetCourtsByClubAndSport200Response.md +0 -26
- package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -24
- package/docs/GetUserRolesResponse.md +0 -20
- package/docs/GetUserRolesResponseRolesInner.md +0 -26
- package/docs/GetUserSubscriptionsResponse.md +0 -22
- package/docs/GoogleSignInRequestBody.md +0 -20
- package/docs/InitiateSubscriptionSessionRequestBody.md +0 -26
- package/docs/InitiateSubscriptionSessionResponse.md +0 -22
- package/docs/ManagerCancelBookingResponseBooking.md +0 -30
- package/docs/ManagerClubCourtsApi.md +0 -118
- package/docs/ManagerClubRolesApi.md +0 -268
- package/docs/ManagerClubSlotsApi.md +0 -125
- package/docs/ManagerClubSubscriptionsApi.md +0 -408
- package/docs/PriceResponse.md +0 -32
- package/docs/Slot.md +0 -24
- package/docs/SlotException.md +0 -26
- package/docs/SlotResponse.md +0 -34
- package/docs/Sport.md +0 -24
- package/docs/SportsResponse.md +0 -22
- package/docs/StaffClubAnalyticsApi.md +0 -111
- package/docs/StaffClubBookingsApi.md +0 -59
- package/docs/StaffClubSettingsApi.md +0 -62
- package/docs/SubscribeToClubRequestBody.md +0 -22
- package/docs/SubscriptionPlan.md +0 -36
- package/docs/SubscriptionResponse.md +0 -36
- package/docs/UpdateClubRoleRequestBody.md +0 -24
- package/docs/UpdateCustomerRequestBodyAddress.md +0 -30
- package/docs/UpdateCustomerResponseCustomer.md +0 -28
- package/docs/UpdateSubscriptionPlanRequest.md +0 -24
- package/docs/UpdateSubscriptionPlanResponse.md +0 -22
- package/docs/User.md +0 -40
- package/docs/UserApi.md +0 -119
- package/docs/UserAuthenticationApi.md +0 -226
- package/docs/UserClubCourtsApi.md +0 -64
- package/docs/UserClubSlotsApi.md +0 -181
- package/docs/UserClubSportsApi.md +0 -60
- package/docs/UserPaymentApi.md +0 -121
- package/docs/UserProfileApi.md +0 -224
- package/docs/UserResponse.md +0 -38
- package/docs/UserSubscriptionsApi.md +0 -222
- package/docs/UsersResponse.md +0 -22
|
@@ -0,0 +1,690 @@
|
|
|
1
|
+
# ClubAnalyticsStaffApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getAnalyticsBySport**](#getanalyticsbysport) | **GET** /api/club-analytics/sport/{sportId}/analytics | |
|
|
8
|
+
|[**getClubPlayerBookingsById**](#getclubplayerbookingsbyid) | **GET** /api/club-analytics/players/{playerId}/bookings | |
|
|
9
|
+
|[**getClubPlayerById**](#getclubplayerbyid) | **GET** /api/club-analytics/players/{playerId} | |
|
|
10
|
+
|[**getClubPlayerStatisticsById**](#getclubplayerstatisticsbyid) | **GET** /api/club-analytics/players/{playerId}/statistics | |
|
|
11
|
+
|[**getClubPlayers**](#getclubplayers) | **GET** /api/club-analytics/players | |
|
|
12
|
+
|[**getDailyTurnOver**](#getdailyturnover) | **GET** /api/club-analytics/daily-turnover | |
|
|
13
|
+
|[**getGenderPercentage**](#getgenderpercentage) | **GET** /api/club-analytics/gender-percentage | |
|
|
14
|
+
|[**getInfillPercentagePerPeriod**](#getinfillpercentageperperiod) | **GET** /api/club-analytics/infill-percentage | |
|
|
15
|
+
|[**getLastSixMonthsTurnover**](#getlastsixmonthsturnover) | **GET** /api/club-analytics/last-six-months-turnover | |
|
|
16
|
+
|[**getMonthlyTurnOver**](#getmonthlyturnover) | **GET** /api/club-analytics/monthly-turnover | |
|
|
17
|
+
|[**getNumberOfClubUsers**](#getnumberofclubusers) | **GET** /api/club-analytics/users-count | |
|
|
18
|
+
|[**getTenNextBookings**](#gettennextbookings) | **GET** /api/club-analytics/next-bookings | |
|
|
19
|
+
|[**getYearlyTurnOver**](#getyearlyturnover) | **GET** /api/club-analytics/yearly-turnover | |
|
|
20
|
+
|
|
21
|
+
# **getAnalyticsBySport**
|
|
22
|
+
> SportAnalyticsResponse getAnalyticsBySport()
|
|
23
|
+
|
|
24
|
+
Récupère les analytics par sport
|
|
25
|
+
|
|
26
|
+
### Example
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import {
|
|
30
|
+
ClubAnalyticsStaffApi,
|
|
31
|
+
Configuration
|
|
32
|
+
} from '@tennac-booking/sdk';
|
|
33
|
+
|
|
34
|
+
const configuration = new Configuration();
|
|
35
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
36
|
+
|
|
37
|
+
let sportId: string; // (default to undefined)
|
|
38
|
+
|
|
39
|
+
const { status, data } = await apiInstance.getAnalyticsBySport(
|
|
40
|
+
sportId
|
|
41
|
+
);
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Parameters
|
|
45
|
+
|
|
46
|
+
|Name | Type | Description | Notes|
|
|
47
|
+
|------------- | ------------- | ------------- | -------------|
|
|
48
|
+
| **sportId** | [**string**] | | defaults to undefined|
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Return type
|
|
52
|
+
|
|
53
|
+
**SportAnalyticsResponse**
|
|
54
|
+
|
|
55
|
+
### Authorization
|
|
56
|
+
|
|
57
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
58
|
+
|
|
59
|
+
### HTTP request headers
|
|
60
|
+
|
|
61
|
+
- **Content-Type**: Not defined
|
|
62
|
+
- **Accept**: application/json
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### HTTP response details
|
|
66
|
+
| Status code | Description | Response headers |
|
|
67
|
+
|-------------|-------------|------------------|
|
|
68
|
+
|**200** | Analytics du sport | - |
|
|
69
|
+
|**400** | Bad Request | - |
|
|
70
|
+
|**401** | Unauthorized | - |
|
|
71
|
+
|**500** | Server Error | - |
|
|
72
|
+
|
|
73
|
+
[[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)
|
|
74
|
+
|
|
75
|
+
# **getClubPlayerBookingsById**
|
|
76
|
+
> ClubPlayerBookingsResponse getClubPlayerBookingsById()
|
|
77
|
+
|
|
78
|
+
Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
79
|
+
|
|
80
|
+
### Example
|
|
81
|
+
|
|
82
|
+
```typescript
|
|
83
|
+
import {
|
|
84
|
+
ClubAnalyticsStaffApi,
|
|
85
|
+
Configuration
|
|
86
|
+
} from '@tennac-booking/sdk';
|
|
87
|
+
|
|
88
|
+
const configuration = new Configuration();
|
|
89
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
90
|
+
|
|
91
|
+
let playerId: string; // (default to undefined)
|
|
92
|
+
|
|
93
|
+
const { status, data } = await apiInstance.getClubPlayerBookingsById(
|
|
94
|
+
playerId
|
|
95
|
+
);
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Parameters
|
|
99
|
+
|
|
100
|
+
|Name | Type | Description | Notes|
|
|
101
|
+
|------------- | ------------- | ------------- | -------------|
|
|
102
|
+
| **playerId** | [**string**] | | defaults to undefined|
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### Return type
|
|
106
|
+
|
|
107
|
+
**ClubPlayerBookingsResponse**
|
|
108
|
+
|
|
109
|
+
### Authorization
|
|
110
|
+
|
|
111
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
112
|
+
|
|
113
|
+
### HTTP request headers
|
|
114
|
+
|
|
115
|
+
- **Content-Type**: Not defined
|
|
116
|
+
- **Accept**: application/json
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### HTTP response details
|
|
120
|
+
| Status code | Description | Response headers |
|
|
121
|
+
|-------------|-------------|------------------|
|
|
122
|
+
|**200** | Réservations du joueur | - |
|
|
123
|
+
|**400** | Bad Request | - |
|
|
124
|
+
|**401** | Unauthorized | - |
|
|
125
|
+
|**500** | Server Error | - |
|
|
126
|
+
|
|
127
|
+
[[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)
|
|
128
|
+
|
|
129
|
+
# **getClubPlayerById**
|
|
130
|
+
> ClubPlayerDetailResponse getClubPlayerById()
|
|
131
|
+
|
|
132
|
+
Récupère les informations détaillées d\'un joueur par son ID
|
|
133
|
+
|
|
134
|
+
### Example
|
|
135
|
+
|
|
136
|
+
```typescript
|
|
137
|
+
import {
|
|
138
|
+
ClubAnalyticsStaffApi,
|
|
139
|
+
Configuration
|
|
140
|
+
} from '@tennac-booking/sdk';
|
|
141
|
+
|
|
142
|
+
const configuration = new Configuration();
|
|
143
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
144
|
+
|
|
145
|
+
let playerId: string; // (default to undefined)
|
|
146
|
+
|
|
147
|
+
const { status, data } = await apiInstance.getClubPlayerById(
|
|
148
|
+
playerId
|
|
149
|
+
);
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Parameters
|
|
153
|
+
|
|
154
|
+
|Name | Type | Description | Notes|
|
|
155
|
+
|------------- | ------------- | ------------- | -------------|
|
|
156
|
+
| **playerId** | [**string**] | | defaults to undefined|
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### Return type
|
|
160
|
+
|
|
161
|
+
**ClubPlayerDetailResponse**
|
|
162
|
+
|
|
163
|
+
### Authorization
|
|
164
|
+
|
|
165
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
166
|
+
|
|
167
|
+
### HTTP request headers
|
|
168
|
+
|
|
169
|
+
- **Content-Type**: Not defined
|
|
170
|
+
- **Accept**: application/json
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### HTTP response details
|
|
174
|
+
| Status code | Description | Response headers |
|
|
175
|
+
|-------------|-------------|------------------|
|
|
176
|
+
|**200** | Informations du joueur | - |
|
|
177
|
+
|**400** | Bad Request | - |
|
|
178
|
+
|**401** | Unauthorized | - |
|
|
179
|
+
|**404** | Not Found | - |
|
|
180
|
+
|**500** | Server Error | - |
|
|
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
|
+
|
|
184
|
+
# **getClubPlayerStatisticsById**
|
|
185
|
+
> ClubPlayerStatisticsResponse getClubPlayerStatisticsById()
|
|
186
|
+
|
|
187
|
+
Récupère les statistiques d\'un joueur pour le staff
|
|
188
|
+
|
|
189
|
+
### Example
|
|
190
|
+
|
|
191
|
+
```typescript
|
|
192
|
+
import {
|
|
193
|
+
ClubAnalyticsStaffApi,
|
|
194
|
+
Configuration
|
|
195
|
+
} from '@tennac-booking/sdk';
|
|
196
|
+
|
|
197
|
+
const configuration = new Configuration();
|
|
198
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
199
|
+
|
|
200
|
+
let playerId: string; // (default to undefined)
|
|
201
|
+
|
|
202
|
+
const { status, data } = await apiInstance.getClubPlayerStatisticsById(
|
|
203
|
+
playerId
|
|
204
|
+
);
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### Parameters
|
|
208
|
+
|
|
209
|
+
|Name | Type | Description | Notes|
|
|
210
|
+
|------------- | ------------- | ------------- | -------------|
|
|
211
|
+
| **playerId** | [**string**] | | defaults to undefined|
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
### Return type
|
|
215
|
+
|
|
216
|
+
**ClubPlayerStatisticsResponse**
|
|
217
|
+
|
|
218
|
+
### Authorization
|
|
219
|
+
|
|
220
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
221
|
+
|
|
222
|
+
### HTTP request headers
|
|
223
|
+
|
|
224
|
+
- **Content-Type**: Not defined
|
|
225
|
+
- **Accept**: application/json
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
### HTTP response details
|
|
229
|
+
| Status code | Description | Response headers |
|
|
230
|
+
|-------------|-------------|------------------|
|
|
231
|
+
|**200** | Statistiques du joueur | - |
|
|
232
|
+
|**400** | Bad Request | - |
|
|
233
|
+
|**401** | Unauthorized | - |
|
|
234
|
+
|**404** | Not Found | - |
|
|
235
|
+
|**500** | Server Error | - |
|
|
236
|
+
|
|
237
|
+
[[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)
|
|
238
|
+
|
|
239
|
+
# **getClubPlayers**
|
|
240
|
+
> Array<ClubPlayerResponse> getClubPlayers()
|
|
241
|
+
|
|
242
|
+
Récupère la liste des joueurs du club
|
|
243
|
+
|
|
244
|
+
### Example
|
|
245
|
+
|
|
246
|
+
```typescript
|
|
247
|
+
import {
|
|
248
|
+
ClubAnalyticsStaffApi,
|
|
249
|
+
Configuration
|
|
250
|
+
} from '@tennac-booking/sdk';
|
|
251
|
+
|
|
252
|
+
const configuration = new Configuration();
|
|
253
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
254
|
+
|
|
255
|
+
const { status, data } = await apiInstance.getClubPlayers();
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
### Parameters
|
|
259
|
+
This endpoint does not have any parameters.
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
### Return type
|
|
263
|
+
|
|
264
|
+
**Array<ClubPlayerResponse>**
|
|
265
|
+
|
|
266
|
+
### Authorization
|
|
267
|
+
|
|
268
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
269
|
+
|
|
270
|
+
### HTTP request headers
|
|
271
|
+
|
|
272
|
+
- **Content-Type**: Not defined
|
|
273
|
+
- **Accept**: application/json
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
### HTTP response details
|
|
277
|
+
| Status code | Description | Response headers |
|
|
278
|
+
|-------------|-------------|------------------|
|
|
279
|
+
|**200** | Liste des joueurs du club | - |
|
|
280
|
+
|**401** | Unauthorized | - |
|
|
281
|
+
|**500** | Server Error | - |
|
|
282
|
+
|
|
283
|
+
[[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)
|
|
284
|
+
|
|
285
|
+
# **getDailyTurnOver**
|
|
286
|
+
> DailyTurnoverResponse getDailyTurnOver()
|
|
287
|
+
|
|
288
|
+
Récupère le chiffre d\'affaires quotidien
|
|
289
|
+
|
|
290
|
+
### Example
|
|
291
|
+
|
|
292
|
+
```typescript
|
|
293
|
+
import {
|
|
294
|
+
ClubAnalyticsStaffApi,
|
|
295
|
+
Configuration
|
|
296
|
+
} from '@tennac-booking/sdk';
|
|
297
|
+
|
|
298
|
+
const configuration = new Configuration();
|
|
299
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
300
|
+
|
|
301
|
+
let date: string; // (default to undefined)
|
|
302
|
+
|
|
303
|
+
const { status, data } = await apiInstance.getDailyTurnOver(
|
|
304
|
+
date
|
|
305
|
+
);
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### Parameters
|
|
309
|
+
|
|
310
|
+
|Name | Type | Description | Notes|
|
|
311
|
+
|------------- | ------------- | ------------- | -------------|
|
|
312
|
+
| **date** | [**string**] | | defaults to undefined|
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
### Return type
|
|
316
|
+
|
|
317
|
+
**DailyTurnoverResponse**
|
|
318
|
+
|
|
319
|
+
### Authorization
|
|
320
|
+
|
|
321
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
322
|
+
|
|
323
|
+
### HTTP request headers
|
|
324
|
+
|
|
325
|
+
- **Content-Type**: Not defined
|
|
326
|
+
- **Accept**: application/json
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
### HTTP response details
|
|
330
|
+
| Status code | Description | Response headers |
|
|
331
|
+
|-------------|-------------|------------------|
|
|
332
|
+
|**200** | Chiffre d\'affaires quotidien | - |
|
|
333
|
+
|**400** | Bad Request | - |
|
|
334
|
+
|**401** | Unauthorized | - |
|
|
335
|
+
|**500** | Server Error | - |
|
|
336
|
+
|
|
337
|
+
[[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)
|
|
338
|
+
|
|
339
|
+
# **getGenderPercentage**
|
|
340
|
+
> GenderPercentageResponse getGenderPercentage()
|
|
341
|
+
|
|
342
|
+
Récupère les pourcentages par genre
|
|
343
|
+
|
|
344
|
+
### Example
|
|
345
|
+
|
|
346
|
+
```typescript
|
|
347
|
+
import {
|
|
348
|
+
ClubAnalyticsStaffApi,
|
|
349
|
+
Configuration
|
|
350
|
+
} from '@tennac-booking/sdk';
|
|
351
|
+
|
|
352
|
+
const configuration = new Configuration();
|
|
353
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
354
|
+
|
|
355
|
+
const { status, data } = await apiInstance.getGenderPercentage();
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
### Parameters
|
|
359
|
+
This endpoint does not have any parameters.
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
### Return type
|
|
363
|
+
|
|
364
|
+
**GenderPercentageResponse**
|
|
365
|
+
|
|
366
|
+
### Authorization
|
|
367
|
+
|
|
368
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
369
|
+
|
|
370
|
+
### HTTP request headers
|
|
371
|
+
|
|
372
|
+
- **Content-Type**: Not defined
|
|
373
|
+
- **Accept**: application/json
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
### HTTP response details
|
|
377
|
+
| Status code | Description | Response headers |
|
|
378
|
+
|-------------|-------------|------------------|
|
|
379
|
+
|**200** | Pourcentages par genre | - |
|
|
380
|
+
|**401** | Unauthorized | - |
|
|
381
|
+
|**500** | Server Error | - |
|
|
382
|
+
|
|
383
|
+
[[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)
|
|
384
|
+
|
|
385
|
+
# **getInfillPercentagePerPeriod**
|
|
386
|
+
> GetInfillPercentagePerPeriod200Response getInfillPercentagePerPeriod()
|
|
387
|
+
|
|
388
|
+
Récupère le taux de remplissage (infill) pour une période donnée
|
|
389
|
+
|
|
390
|
+
### Example
|
|
391
|
+
|
|
392
|
+
```typescript
|
|
393
|
+
import {
|
|
394
|
+
ClubAnalyticsStaffApi,
|
|
395
|
+
Configuration
|
|
396
|
+
} from '@tennac-booking/sdk';
|
|
397
|
+
|
|
398
|
+
const configuration = new Configuration();
|
|
399
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
400
|
+
|
|
401
|
+
let startDate: string; // (optional) (default to undefined)
|
|
402
|
+
let endDate: string; // (optional) (default to undefined)
|
|
403
|
+
|
|
404
|
+
const { status, data } = await apiInstance.getInfillPercentagePerPeriod(
|
|
405
|
+
startDate,
|
|
406
|
+
endDate
|
|
407
|
+
);
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
### Parameters
|
|
411
|
+
|
|
412
|
+
|Name | Type | Description | Notes|
|
|
413
|
+
|------------- | ------------- | ------------- | -------------|
|
|
414
|
+
| **startDate** | [**string**] | | (optional) defaults to undefined|
|
|
415
|
+
| **endDate** | [**string**] | | (optional) defaults to undefined|
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
### Return type
|
|
419
|
+
|
|
420
|
+
**GetInfillPercentagePerPeriod200Response**
|
|
421
|
+
|
|
422
|
+
### Authorization
|
|
423
|
+
|
|
424
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
425
|
+
|
|
426
|
+
### HTTP request headers
|
|
427
|
+
|
|
428
|
+
- **Content-Type**: Not defined
|
|
429
|
+
- **Accept**: application/json
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
### HTTP response details
|
|
433
|
+
| Status code | Description | Response headers |
|
|
434
|
+
|-------------|-------------|------------------|
|
|
435
|
+
|**200** | Taux de remplissage | - |
|
|
436
|
+
|**400** | Bad Request | - |
|
|
437
|
+
|**401** | Unauthorized | - |
|
|
438
|
+
|**500** | Server Error | - |
|
|
439
|
+
|
|
440
|
+
[[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)
|
|
441
|
+
|
|
442
|
+
# **getLastSixMonthsTurnover**
|
|
443
|
+
> Array<LastSixMonthsTurnoverItem> getLastSixMonthsTurnover()
|
|
444
|
+
|
|
445
|
+
Récupère le chiffre d\'affaires des 6 derniers mois
|
|
446
|
+
|
|
447
|
+
### Example
|
|
448
|
+
|
|
449
|
+
```typescript
|
|
450
|
+
import {
|
|
451
|
+
ClubAnalyticsStaffApi,
|
|
452
|
+
Configuration
|
|
453
|
+
} from '@tennac-booking/sdk';
|
|
454
|
+
|
|
455
|
+
const configuration = new Configuration();
|
|
456
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
457
|
+
|
|
458
|
+
const { status, data } = await apiInstance.getLastSixMonthsTurnover();
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
### Parameters
|
|
462
|
+
This endpoint does not have any parameters.
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
### Return type
|
|
466
|
+
|
|
467
|
+
**Array<LastSixMonthsTurnoverItem>**
|
|
468
|
+
|
|
469
|
+
### Authorization
|
|
470
|
+
|
|
471
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
472
|
+
|
|
473
|
+
### HTTP request headers
|
|
474
|
+
|
|
475
|
+
- **Content-Type**: Not defined
|
|
476
|
+
- **Accept**: application/json
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
### HTTP response details
|
|
480
|
+
| Status code | Description | Response headers |
|
|
481
|
+
|-------------|-------------|------------------|
|
|
482
|
+
|**200** | Chiffre d\'affaires des 6 derniers mois | - |
|
|
483
|
+
|**401** | Unauthorized | - |
|
|
484
|
+
|**500** | Server Error | - |
|
|
485
|
+
|
|
486
|
+
[[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)
|
|
487
|
+
|
|
488
|
+
# **getMonthlyTurnOver**
|
|
489
|
+
> MonthlyTurnoverResponse getMonthlyTurnOver()
|
|
490
|
+
|
|
491
|
+
Récupère le chiffre d\'affaires mensuel
|
|
492
|
+
|
|
493
|
+
### Example
|
|
494
|
+
|
|
495
|
+
```typescript
|
|
496
|
+
import {
|
|
497
|
+
ClubAnalyticsStaffApi,
|
|
498
|
+
Configuration
|
|
499
|
+
} from '@tennac-booking/sdk';
|
|
500
|
+
|
|
501
|
+
const configuration = new Configuration();
|
|
502
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
503
|
+
|
|
504
|
+
let year: string; // (default to undefined)
|
|
505
|
+
let month: string; // (default to undefined)
|
|
506
|
+
|
|
507
|
+
const { status, data } = await apiInstance.getMonthlyTurnOver(
|
|
508
|
+
year,
|
|
509
|
+
month
|
|
510
|
+
);
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
### Parameters
|
|
514
|
+
|
|
515
|
+
|Name | Type | Description | Notes|
|
|
516
|
+
|------------- | ------------- | ------------- | -------------|
|
|
517
|
+
| **year** | [**string**] | | defaults to undefined|
|
|
518
|
+
| **month** | [**string**] | | defaults to undefined|
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
### Return type
|
|
522
|
+
|
|
523
|
+
**MonthlyTurnoverResponse**
|
|
524
|
+
|
|
525
|
+
### Authorization
|
|
526
|
+
|
|
527
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
528
|
+
|
|
529
|
+
### HTTP request headers
|
|
530
|
+
|
|
531
|
+
- **Content-Type**: Not defined
|
|
532
|
+
- **Accept**: application/json
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
### HTTP response details
|
|
536
|
+
| Status code | Description | Response headers |
|
|
537
|
+
|-------------|-------------|------------------|
|
|
538
|
+
|**200** | Chiffre d\'affaires mensuel | - |
|
|
539
|
+
|**400** | Bad Request | - |
|
|
540
|
+
|**401** | Unauthorized | - |
|
|
541
|
+
|**500** | Server Error | - |
|
|
542
|
+
|
|
543
|
+
[[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)
|
|
544
|
+
|
|
545
|
+
# **getNumberOfClubUsers**
|
|
546
|
+
> ClubUserCountResponse getNumberOfClubUsers()
|
|
547
|
+
|
|
548
|
+
Récupère le nombre d\'utilisateurs du club
|
|
549
|
+
|
|
550
|
+
### Example
|
|
551
|
+
|
|
552
|
+
```typescript
|
|
553
|
+
import {
|
|
554
|
+
ClubAnalyticsStaffApi,
|
|
555
|
+
Configuration
|
|
556
|
+
} from '@tennac-booking/sdk';
|
|
557
|
+
|
|
558
|
+
const configuration = new Configuration();
|
|
559
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
560
|
+
|
|
561
|
+
const { status, data } = await apiInstance.getNumberOfClubUsers();
|
|
562
|
+
```
|
|
563
|
+
|
|
564
|
+
### Parameters
|
|
565
|
+
This endpoint does not have any parameters.
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
### Return type
|
|
569
|
+
|
|
570
|
+
**ClubUserCountResponse**
|
|
571
|
+
|
|
572
|
+
### Authorization
|
|
573
|
+
|
|
574
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
575
|
+
|
|
576
|
+
### HTTP request headers
|
|
577
|
+
|
|
578
|
+
- **Content-Type**: Not defined
|
|
579
|
+
- **Accept**: application/json
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
### HTTP response details
|
|
583
|
+
| Status code | Description | Response headers |
|
|
584
|
+
|-------------|-------------|------------------|
|
|
585
|
+
|**200** | Nombre d\'utilisateurs | - |
|
|
586
|
+
|**401** | Unauthorized | - |
|
|
587
|
+
|**500** | Server Error | - |
|
|
588
|
+
|
|
589
|
+
[[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)
|
|
590
|
+
|
|
591
|
+
# **getTenNextBookings**
|
|
592
|
+
> Array<BookingAnalyticsResponse> getTenNextBookings()
|
|
593
|
+
|
|
594
|
+
Récupère les 10 prochaines réservations
|
|
595
|
+
|
|
596
|
+
### Example
|
|
597
|
+
|
|
598
|
+
```typescript
|
|
599
|
+
import {
|
|
600
|
+
ClubAnalyticsStaffApi,
|
|
601
|
+
Configuration
|
|
602
|
+
} from '@tennac-booking/sdk';
|
|
603
|
+
|
|
604
|
+
const configuration = new Configuration();
|
|
605
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
606
|
+
|
|
607
|
+
const { status, data } = await apiInstance.getTenNextBookings();
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
### Parameters
|
|
611
|
+
This endpoint does not have any parameters.
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
### Return type
|
|
615
|
+
|
|
616
|
+
**Array<BookingAnalyticsResponse>**
|
|
617
|
+
|
|
618
|
+
### Authorization
|
|
619
|
+
|
|
620
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
621
|
+
|
|
622
|
+
### HTTP request headers
|
|
623
|
+
|
|
624
|
+
- **Content-Type**: Not defined
|
|
625
|
+
- **Accept**: application/json
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
### HTTP response details
|
|
629
|
+
| Status code | Description | Response headers |
|
|
630
|
+
|-------------|-------------|------------------|
|
|
631
|
+
|**200** | Prochaines réservations | - |
|
|
632
|
+
|**401** | Unauthorized | - |
|
|
633
|
+
|**500** | Server Error | - |
|
|
634
|
+
|
|
635
|
+
[[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)
|
|
636
|
+
|
|
637
|
+
# **getYearlyTurnOver**
|
|
638
|
+
> YearlyTurnoverResponse getYearlyTurnOver()
|
|
639
|
+
|
|
640
|
+
Récupère le chiffre d\'affaires annuel avec détail mensuel
|
|
641
|
+
|
|
642
|
+
### Example
|
|
643
|
+
|
|
644
|
+
```typescript
|
|
645
|
+
import {
|
|
646
|
+
ClubAnalyticsStaffApi,
|
|
647
|
+
Configuration
|
|
648
|
+
} from '@tennac-booking/sdk';
|
|
649
|
+
|
|
650
|
+
const configuration = new Configuration();
|
|
651
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
652
|
+
|
|
653
|
+
let year: string; // (default to undefined)
|
|
654
|
+
|
|
655
|
+
const { status, data } = await apiInstance.getYearlyTurnOver(
|
|
656
|
+
year
|
|
657
|
+
);
|
|
658
|
+
```
|
|
659
|
+
|
|
660
|
+
### Parameters
|
|
661
|
+
|
|
662
|
+
|Name | Type | Description | Notes|
|
|
663
|
+
|------------- | ------------- | ------------- | -------------|
|
|
664
|
+
| **year** | [**string**] | | defaults to undefined|
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
### Return type
|
|
668
|
+
|
|
669
|
+
**YearlyTurnoverResponse**
|
|
670
|
+
|
|
671
|
+
### Authorization
|
|
672
|
+
|
|
673
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
674
|
+
|
|
675
|
+
### HTTP request headers
|
|
676
|
+
|
|
677
|
+
- **Content-Type**: Not defined
|
|
678
|
+
- **Accept**: application/json
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
### HTTP response details
|
|
682
|
+
| Status code | Description | Response headers |
|
|
683
|
+
|-------------|-------------|------------------|
|
|
684
|
+
|**200** | Chiffre d\'affaires annuel | - |
|
|
685
|
+
|**400** | Bad Request | - |
|
|
686
|
+
|**401** | Unauthorized | - |
|
|
687
|
+
|**500** | Server Error | - |
|
|
688
|
+
|
|
689
|
+
[[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)
|
|
690
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ClubMemberResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**user** | [**ClubMemberResponseUser**](ClubMemberResponseUser.md) | | [default to undefined]
|
|
9
|
+
**role** | **string** | Rôle du membre dans le club | [default to undefined]
|
|
10
|
+
**rights** | **Array<string>** | Droits du membre dans le club | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ClubMemberResponse } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: ClubMemberResponse = {
|
|
18
|
+
user,
|
|
19
|
+
role,
|
|
20
|
+
rights,
|
|
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)
|