@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
package/docs/ClubsApi.md
ADDED
|
@@ -0,0 +1,614 @@
|
|
|
1
|
+
# ClubsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getActiveClubs**](#getactiveclubs) | **GET** /api/clubs/active | |
|
|
8
|
+
|[**getAllClubs**](#getallclubs) | **GET** /api/clubs | |
|
|
9
|
+
|[**getAvailableSlotsByClubById**](#getavailableslotsbyclubbyid) | **GET** /api/clubs/{clubID}/availableSlots | |
|
|
10
|
+
|[**getAvailableSlotsBySports**](#getavailableslotsbysports) | **GET** /api/clubs/{id}/sports/{sportId}/slots | |
|
|
11
|
+
|[**getAvailableSlotsBySportsAndDay**](#getavailableslotsbysportsandday) | **GET** /api/clubs/{id}/sports/{sportId}/slots/{day} | |
|
|
12
|
+
|[**getClubInfo**](#getclubinfo) | **GET** /api/clubs/info | |
|
|
13
|
+
|[**getClubUsersById**](#getclubusersbyid) | **GET** /api/clubs/{id}/users | |
|
|
14
|
+
|[**getClubsWithVerificationDomains**](#getclubswithverificationdomains) | **GET** /api/clubs/verification-domains | |
|
|
15
|
+
|[**getCourtsByClubAndSportById**](#getcourtsbyclubandsportbyid) | **GET** /api/clubs/{id}/sports/{sportId}/courts | |
|
|
16
|
+
|[**getPublishedActualities**](#getpublishedactualities) | **GET** /api/clubs/{id}/actualities | |
|
|
17
|
+
|[**getSlotsByClubById**](#getslotsbyclubbyid) | **GET** /api/clubs/{id}/slots | |
|
|
18
|
+
|[**getSportsByClubById**](#getsportsbyclubbyid) | **GET** /api/clubs/{id}/sports | |
|
|
19
|
+
|
|
20
|
+
# **getActiveClubs**
|
|
21
|
+
> Array<PartialClubResponse> getActiveClubs()
|
|
22
|
+
|
|
23
|
+
Récupère la liste des clubs actifs
|
|
24
|
+
|
|
25
|
+
### Example
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import {
|
|
29
|
+
ClubsApi,
|
|
30
|
+
Configuration
|
|
31
|
+
} from '@tennac-booking/sdk';
|
|
32
|
+
|
|
33
|
+
const configuration = new Configuration();
|
|
34
|
+
const apiInstance = new ClubsApi(configuration);
|
|
35
|
+
|
|
36
|
+
const { status, data } = await apiInstance.getActiveClubs();
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Parameters
|
|
40
|
+
This endpoint does not have any parameters.
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Return type
|
|
44
|
+
|
|
45
|
+
**Array<PartialClubResponse>**
|
|
46
|
+
|
|
47
|
+
### Authorization
|
|
48
|
+
|
|
49
|
+
No authorization required
|
|
50
|
+
|
|
51
|
+
### HTTP request headers
|
|
52
|
+
|
|
53
|
+
- **Content-Type**: Not defined
|
|
54
|
+
- **Accept**: application/json
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### HTTP response details
|
|
58
|
+
| Status code | Description | Response headers |
|
|
59
|
+
|-------------|-------------|------------------|
|
|
60
|
+
|**200** | Liste des clubs actifs | - |
|
|
61
|
+
|**500** | Server Error | - |
|
|
62
|
+
|
|
63
|
+
[[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)
|
|
64
|
+
|
|
65
|
+
# **getAllClubs**
|
|
66
|
+
> Array<ClubResponse> getAllClubs()
|
|
67
|
+
|
|
68
|
+
Récupère la liste de tous les clubs
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import {
|
|
74
|
+
ClubsApi,
|
|
75
|
+
Configuration
|
|
76
|
+
} from '@tennac-booking/sdk';
|
|
77
|
+
|
|
78
|
+
const configuration = new Configuration();
|
|
79
|
+
const apiInstance = new ClubsApi(configuration);
|
|
80
|
+
|
|
81
|
+
const { status, data } = await apiInstance.getAllClubs();
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Parameters
|
|
85
|
+
This endpoint does not have any parameters.
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Return type
|
|
89
|
+
|
|
90
|
+
**Array<ClubResponse>**
|
|
91
|
+
|
|
92
|
+
### Authorization
|
|
93
|
+
|
|
94
|
+
No authorization required
|
|
95
|
+
|
|
96
|
+
### HTTP request headers
|
|
97
|
+
|
|
98
|
+
- **Content-Type**: Not defined
|
|
99
|
+
- **Accept**: application/json
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### HTTP response details
|
|
103
|
+
| Status code | Description | Response headers |
|
|
104
|
+
|-------------|-------------|------------------|
|
|
105
|
+
|**200** | Liste des clubs | - |
|
|
106
|
+
|**500** | Server Error | - |
|
|
107
|
+
|
|
108
|
+
[[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)
|
|
109
|
+
|
|
110
|
+
# **getAvailableSlotsByClubById**
|
|
111
|
+
> GetSlotsByClubById200Response getAvailableSlotsByClubById()
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### Example
|
|
115
|
+
|
|
116
|
+
```typescript
|
|
117
|
+
import {
|
|
118
|
+
ClubsApi,
|
|
119
|
+
Configuration
|
|
120
|
+
} from '@tennac-booking/sdk';
|
|
121
|
+
|
|
122
|
+
const configuration = new Configuration();
|
|
123
|
+
const apiInstance = new ClubsApi(configuration);
|
|
124
|
+
|
|
125
|
+
let clubID: string; // (default to undefined)
|
|
126
|
+
|
|
127
|
+
const { status, data } = await apiInstance.getAvailableSlotsByClubById(
|
|
128
|
+
clubID
|
|
129
|
+
);
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Parameters
|
|
133
|
+
|
|
134
|
+
|Name | Type | Description | Notes|
|
|
135
|
+
|------------- | ------------- | ------------- | -------------|
|
|
136
|
+
| **clubID** | [**string**] | | defaults to undefined|
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
### Return type
|
|
140
|
+
|
|
141
|
+
**GetSlotsByClubById200Response**
|
|
142
|
+
|
|
143
|
+
### Authorization
|
|
144
|
+
|
|
145
|
+
No authorization required
|
|
146
|
+
|
|
147
|
+
### HTTP request headers
|
|
148
|
+
|
|
149
|
+
- **Content-Type**: Not defined
|
|
150
|
+
- **Accept**: application/json
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### HTTP response details
|
|
154
|
+
| Status code | Description | Response headers |
|
|
155
|
+
|-------------|-------------|------------------|
|
|
156
|
+
|**200** | Available slots | - |
|
|
157
|
+
|
|
158
|
+
[[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)
|
|
159
|
+
|
|
160
|
+
# **getAvailableSlotsBySports**
|
|
161
|
+
> GetAvailableSlotsBySports200Response getAvailableSlotsBySports()
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
### Example
|
|
165
|
+
|
|
166
|
+
```typescript
|
|
167
|
+
import {
|
|
168
|
+
ClubsApi,
|
|
169
|
+
Configuration
|
|
170
|
+
} from '@tennac-booking/sdk';
|
|
171
|
+
|
|
172
|
+
const configuration = new Configuration();
|
|
173
|
+
const apiInstance = new ClubsApi(configuration);
|
|
174
|
+
|
|
175
|
+
let id: string; // (default to undefined)
|
|
176
|
+
let sportId: string; // (default to undefined)
|
|
177
|
+
|
|
178
|
+
const { status, data } = await apiInstance.getAvailableSlotsBySports(
|
|
179
|
+
id,
|
|
180
|
+
sportId
|
|
181
|
+
);
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### Parameters
|
|
185
|
+
|
|
186
|
+
|Name | Type | Description | Notes|
|
|
187
|
+
|------------- | ------------- | ------------- | -------------|
|
|
188
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
189
|
+
| **sportId** | [**string**] | | defaults to undefined|
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
### Return type
|
|
193
|
+
|
|
194
|
+
**GetAvailableSlotsBySports200Response**
|
|
195
|
+
|
|
196
|
+
### Authorization
|
|
197
|
+
|
|
198
|
+
No authorization required
|
|
199
|
+
|
|
200
|
+
### HTTP request headers
|
|
201
|
+
|
|
202
|
+
- **Content-Type**: Not defined
|
|
203
|
+
- **Accept**: application/json
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
### HTTP response details
|
|
207
|
+
| Status code | Description | Response headers |
|
|
208
|
+
|-------------|-------------|------------------|
|
|
209
|
+
|**200** | Available slots by sport | - |
|
|
210
|
+
|
|
211
|
+
[[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)
|
|
212
|
+
|
|
213
|
+
# **getAvailableSlotsBySportsAndDay**
|
|
214
|
+
> GetAvailableSlotsBySports200Response getAvailableSlotsBySportsAndDay()
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
### Example
|
|
218
|
+
|
|
219
|
+
```typescript
|
|
220
|
+
import {
|
|
221
|
+
ClubsApi,
|
|
222
|
+
Configuration
|
|
223
|
+
} from '@tennac-booking/sdk';
|
|
224
|
+
|
|
225
|
+
const configuration = new Configuration();
|
|
226
|
+
const apiInstance = new ClubsApi(configuration);
|
|
227
|
+
|
|
228
|
+
let id: string; // (default to undefined)
|
|
229
|
+
let sportId: string; // (default to undefined)
|
|
230
|
+
let day: string; // (default to undefined)
|
|
231
|
+
|
|
232
|
+
const { status, data } = await apiInstance.getAvailableSlotsBySportsAndDay(
|
|
233
|
+
id,
|
|
234
|
+
sportId,
|
|
235
|
+
day
|
|
236
|
+
);
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
### Parameters
|
|
240
|
+
|
|
241
|
+
|Name | Type | Description | Notes|
|
|
242
|
+
|------------- | ------------- | ------------- | -------------|
|
|
243
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
244
|
+
| **sportId** | [**string**] | | defaults to undefined|
|
|
245
|
+
| **day** | [**string**] | | defaults to undefined|
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
### Return type
|
|
249
|
+
|
|
250
|
+
**GetAvailableSlotsBySports200Response**
|
|
251
|
+
|
|
252
|
+
### Authorization
|
|
253
|
+
|
|
254
|
+
No authorization required
|
|
255
|
+
|
|
256
|
+
### HTTP request headers
|
|
257
|
+
|
|
258
|
+
- **Content-Type**: Not defined
|
|
259
|
+
- **Accept**: application/json
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
### HTTP response details
|
|
263
|
+
| Status code | Description | Response headers |
|
|
264
|
+
|-------------|-------------|------------------|
|
|
265
|
+
|**200** | Available slots by sport and day | - |
|
|
266
|
+
|
|
267
|
+
[[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)
|
|
268
|
+
|
|
269
|
+
# **getClubInfo**
|
|
270
|
+
> ClubResponse getClubInfo()
|
|
271
|
+
|
|
272
|
+
Récupère les informations d\'un club spécifique
|
|
273
|
+
|
|
274
|
+
### Example
|
|
275
|
+
|
|
276
|
+
```typescript
|
|
277
|
+
import {
|
|
278
|
+
ClubsApi,
|
|
279
|
+
Configuration
|
|
280
|
+
} from '@tennac-booking/sdk';
|
|
281
|
+
|
|
282
|
+
const configuration = new Configuration();
|
|
283
|
+
const apiInstance = new ClubsApi(configuration);
|
|
284
|
+
|
|
285
|
+
const { status, data } = await apiInstance.getClubInfo();
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### Parameters
|
|
289
|
+
This endpoint does not have any parameters.
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
### Return type
|
|
293
|
+
|
|
294
|
+
**ClubResponse**
|
|
295
|
+
|
|
296
|
+
### Authorization
|
|
297
|
+
|
|
298
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
299
|
+
|
|
300
|
+
### HTTP request headers
|
|
301
|
+
|
|
302
|
+
- **Content-Type**: Not defined
|
|
303
|
+
- **Accept**: application/json
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
### HTTP response details
|
|
307
|
+
| Status code | Description | Response headers |
|
|
308
|
+
|-------------|-------------|------------------|
|
|
309
|
+
|**200** | Informations du club | - |
|
|
310
|
+
|**404** | Club non trouvé | - |
|
|
311
|
+
|**500** | Server Error | - |
|
|
312
|
+
|
|
313
|
+
[[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)
|
|
314
|
+
|
|
315
|
+
# **getClubUsersById**
|
|
316
|
+
> GetClubUsersById200Response getClubUsersById()
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
### Example
|
|
320
|
+
|
|
321
|
+
```typescript
|
|
322
|
+
import {
|
|
323
|
+
ClubsApi,
|
|
324
|
+
Configuration
|
|
325
|
+
} from '@tennac-booking/sdk';
|
|
326
|
+
|
|
327
|
+
const configuration = new Configuration();
|
|
328
|
+
const apiInstance = new ClubsApi(configuration);
|
|
329
|
+
|
|
330
|
+
let id: string; // (default to undefined)
|
|
331
|
+
|
|
332
|
+
const { status, data } = await apiInstance.getClubUsersById(
|
|
333
|
+
id
|
|
334
|
+
);
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### Parameters
|
|
338
|
+
|
|
339
|
+
|Name | Type | Description | Notes|
|
|
340
|
+
|------------- | ------------- | ------------- | -------------|
|
|
341
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
### Return type
|
|
345
|
+
|
|
346
|
+
**GetClubUsersById200Response**
|
|
347
|
+
|
|
348
|
+
### Authorization
|
|
349
|
+
|
|
350
|
+
No authorization required
|
|
351
|
+
|
|
352
|
+
### HTTP request headers
|
|
353
|
+
|
|
354
|
+
- **Content-Type**: Not defined
|
|
355
|
+
- **Accept**: application/json
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
### HTTP response details
|
|
359
|
+
| Status code | Description | Response headers |
|
|
360
|
+
|-------------|-------------|------------------|
|
|
361
|
+
|**200** | Utilisateurs du club récupérés | - |
|
|
362
|
+
|**400** | Bad Request | - |
|
|
363
|
+
|**500** | Server Error | - |
|
|
364
|
+
|
|
365
|
+
[[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)
|
|
366
|
+
|
|
367
|
+
# **getClubsWithVerificationDomains**
|
|
368
|
+
> Array<GetClubsWithVerificationDomains200ResponseInner> getClubsWithVerificationDomains()
|
|
369
|
+
|
|
370
|
+
Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
371
|
+
|
|
372
|
+
### Example
|
|
373
|
+
|
|
374
|
+
```typescript
|
|
375
|
+
import {
|
|
376
|
+
ClubsApi,
|
|
377
|
+
Configuration
|
|
378
|
+
} from '@tennac-booking/sdk';
|
|
379
|
+
|
|
380
|
+
const configuration = new Configuration();
|
|
381
|
+
const apiInstance = new ClubsApi(configuration);
|
|
382
|
+
|
|
383
|
+
const { status, data } = await apiInstance.getClubsWithVerificationDomains();
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
### Parameters
|
|
387
|
+
This endpoint does not have any parameters.
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
### Return type
|
|
391
|
+
|
|
392
|
+
**Array<GetClubsWithVerificationDomains200ResponseInner>**
|
|
393
|
+
|
|
394
|
+
### Authorization
|
|
395
|
+
|
|
396
|
+
No authorization required
|
|
397
|
+
|
|
398
|
+
### HTTP request headers
|
|
399
|
+
|
|
400
|
+
- **Content-Type**: Not defined
|
|
401
|
+
- **Accept**: application/json
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
### HTTP response details
|
|
405
|
+
| Status code | Description | Response headers |
|
|
406
|
+
|-------------|-------------|------------------|
|
|
407
|
+
|**200** | Liste des clubs avec domaines de vérification | - |
|
|
408
|
+
|**500** | Server Error | - |
|
|
409
|
+
|
|
410
|
+
[[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)
|
|
411
|
+
|
|
412
|
+
# **getCourtsByClubAndSportById**
|
|
413
|
+
> GetCourtsByClubAndSportById200Response getCourtsByClubAndSportById()
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
### Example
|
|
417
|
+
|
|
418
|
+
```typescript
|
|
419
|
+
import {
|
|
420
|
+
ClubsApi,
|
|
421
|
+
Configuration
|
|
422
|
+
} from '@tennac-booking/sdk';
|
|
423
|
+
|
|
424
|
+
const configuration = new Configuration();
|
|
425
|
+
const apiInstance = new ClubsApi(configuration);
|
|
426
|
+
|
|
427
|
+
let id: string; // (default to undefined)
|
|
428
|
+
let sportId: string; // (default to undefined)
|
|
429
|
+
|
|
430
|
+
const { status, data } = await apiInstance.getCourtsByClubAndSportById(
|
|
431
|
+
id,
|
|
432
|
+
sportId
|
|
433
|
+
);
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
### Parameters
|
|
437
|
+
|
|
438
|
+
|Name | Type | Description | Notes|
|
|
439
|
+
|------------- | ------------- | ------------- | -------------|
|
|
440
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
441
|
+
| **sportId** | [**string**] | | defaults to undefined|
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
### Return type
|
|
445
|
+
|
|
446
|
+
**GetCourtsByClubAndSportById200Response**
|
|
447
|
+
|
|
448
|
+
### Authorization
|
|
449
|
+
|
|
450
|
+
No authorization required
|
|
451
|
+
|
|
452
|
+
### HTTP request headers
|
|
453
|
+
|
|
454
|
+
- **Content-Type**: Not defined
|
|
455
|
+
- **Accept**: application/json
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
### HTTP response details
|
|
459
|
+
| Status code | Description | Response headers |
|
|
460
|
+
|-------------|-------------|------------------|
|
|
461
|
+
|**200** | Terrains par club et sport | - |
|
|
462
|
+
|
|
463
|
+
[[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)
|
|
464
|
+
|
|
465
|
+
# **getPublishedActualities**
|
|
466
|
+
> GetActualities200Response getPublishedActualities()
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
### Example
|
|
470
|
+
|
|
471
|
+
```typescript
|
|
472
|
+
import {
|
|
473
|
+
ClubsApi,
|
|
474
|
+
Configuration
|
|
475
|
+
} from '@tennac-booking/sdk';
|
|
476
|
+
|
|
477
|
+
const configuration = new Configuration();
|
|
478
|
+
const apiInstance = new ClubsApi(configuration);
|
|
479
|
+
|
|
480
|
+
let id: string; // (default to undefined)
|
|
481
|
+
|
|
482
|
+
const { status, data } = await apiInstance.getPublishedActualities(
|
|
483
|
+
id
|
|
484
|
+
);
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
### Parameters
|
|
488
|
+
|
|
489
|
+
|Name | Type | Description | Notes|
|
|
490
|
+
|------------- | ------------- | ------------- | -------------|
|
|
491
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
### Return type
|
|
495
|
+
|
|
496
|
+
**GetActualities200Response**
|
|
497
|
+
|
|
498
|
+
### Authorization
|
|
499
|
+
|
|
500
|
+
No authorization required
|
|
501
|
+
|
|
502
|
+
### HTTP request headers
|
|
503
|
+
|
|
504
|
+
- **Content-Type**: Not defined
|
|
505
|
+
- **Accept**: application/json
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
### HTTP response details
|
|
509
|
+
| Status code | Description | Response headers |
|
|
510
|
+
|-------------|-------------|------------------|
|
|
511
|
+
|**200** | Actualités publiées | - |
|
|
512
|
+
|
|
513
|
+
[[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)
|
|
514
|
+
|
|
515
|
+
# **getSlotsByClubById**
|
|
516
|
+
> GetSlotsByClubById200Response getSlotsByClubById()
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
### Example
|
|
520
|
+
|
|
521
|
+
```typescript
|
|
522
|
+
import {
|
|
523
|
+
ClubsApi,
|
|
524
|
+
Configuration
|
|
525
|
+
} from '@tennac-booking/sdk';
|
|
526
|
+
|
|
527
|
+
const configuration = new Configuration();
|
|
528
|
+
const apiInstance = new ClubsApi(configuration);
|
|
529
|
+
|
|
530
|
+
let id: string; // (default to undefined)
|
|
531
|
+
|
|
532
|
+
const { status, data } = await apiInstance.getSlotsByClubById(
|
|
533
|
+
id
|
|
534
|
+
);
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
### Parameters
|
|
538
|
+
|
|
539
|
+
|Name | Type | Description | Notes|
|
|
540
|
+
|------------- | ------------- | ------------- | -------------|
|
|
541
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
### Return type
|
|
545
|
+
|
|
546
|
+
**GetSlotsByClubById200Response**
|
|
547
|
+
|
|
548
|
+
### Authorization
|
|
549
|
+
|
|
550
|
+
No authorization required
|
|
551
|
+
|
|
552
|
+
### HTTP request headers
|
|
553
|
+
|
|
554
|
+
- **Content-Type**: Not defined
|
|
555
|
+
- **Accept**: application/json
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
### HTTP response details
|
|
559
|
+
| Status code | Description | Response headers |
|
|
560
|
+
|-------------|-------------|------------------|
|
|
561
|
+
|**200** | Slots du club | - |
|
|
562
|
+
|
|
563
|
+
[[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)
|
|
564
|
+
|
|
565
|
+
# **getSportsByClubById**
|
|
566
|
+
> Array<SportResponse> getSportsByClubById()
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
### Example
|
|
570
|
+
|
|
571
|
+
```typescript
|
|
572
|
+
import {
|
|
573
|
+
ClubsApi,
|
|
574
|
+
Configuration
|
|
575
|
+
} from '@tennac-booking/sdk';
|
|
576
|
+
|
|
577
|
+
const configuration = new Configuration();
|
|
578
|
+
const apiInstance = new ClubsApi(configuration);
|
|
579
|
+
|
|
580
|
+
let id: string; // (default to undefined)
|
|
581
|
+
|
|
582
|
+
const { status, data } = await apiInstance.getSportsByClubById(
|
|
583
|
+
id
|
|
584
|
+
);
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
### Parameters
|
|
588
|
+
|
|
589
|
+
|Name | Type | Description | Notes|
|
|
590
|
+
|------------- | ------------- | ------------- | -------------|
|
|
591
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
### Return type
|
|
595
|
+
|
|
596
|
+
**Array<SportResponse>**
|
|
597
|
+
|
|
598
|
+
### Authorization
|
|
599
|
+
|
|
600
|
+
No authorization required
|
|
601
|
+
|
|
602
|
+
### HTTP request headers
|
|
603
|
+
|
|
604
|
+
- **Content-Type**: Not defined
|
|
605
|
+
- **Accept**: application/json
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
### HTTP response details
|
|
609
|
+
| Status code | Description | Response headers |
|
|
610
|
+
|-------------|-------------|------------------|
|
|
611
|
+
|**200** | Liste des sports du club | - |
|
|
612
|
+
|
|
613
|
+
[[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)
|
|
614
|
+
|