@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,20 @@
|
|
|
1
|
+
# ProfilePictureResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**profilePicture** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ProfilePictureResponse } from '@tennac-booking/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: ProfilePictureResponse = {
|
|
16
|
+
profilePicture,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ProfilePictureUpdateRequestBody
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
8
|
+
**profilePicture** | **string** | | [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { ProfilePictureUpdateRequestBody } from '@tennac-booking/sdk';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
16
|
-
|
|
15
|
+
const instance: ProfilePictureUpdateRequestBody = {
|
|
16
|
+
profilePicture,
|
|
17
17
|
};
|
|
18
18
|
```
|
|
19
19
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# PublicSubscriptionPlanResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**priceId** | **string** | | [default to undefined]
|
|
9
|
+
**name** | **string** | | [default to undefined]
|
|
10
|
+
**amountInCents** | **number** | | [default to undefined]
|
|
11
|
+
**currency** | **string** | | [default to undefined]
|
|
12
|
+
**interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
|
|
13
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { PublicSubscriptionPlanResponse } from '@tennac-booking/sdk';
|
|
19
|
+
|
|
20
|
+
const instance: PublicSubscriptionPlanResponse = {
|
|
21
|
+
priceId,
|
|
22
|
+
name,
|
|
23
|
+
amountInCents,
|
|
24
|
+
currency,
|
|
25
|
+
interval,
|
|
26
|
+
description,
|
|
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)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# PublicUserProfileResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**username** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**firstName** | **string** | | [default to undefined]
|
|
11
|
+
**lastName** | **string** | | [default to undefined]
|
|
12
|
+
**email** | **string** | | [default to undefined]
|
|
13
|
+
**isAccountVerified** | **boolean** | | [default to undefined]
|
|
14
|
+
**location** | [**UserLocationSummary**](UserLocationSummary.md) | | [default to undefined]
|
|
15
|
+
**createdAt** | **string** | | [default to undefined]
|
|
16
|
+
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**levelBySports** | [**Array<LevelBySportEntry>**](LevelBySportEntry.md) | | [optional] [default to undefined]
|
|
18
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**frequentlyVisitedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [default to undefined]
|
|
20
|
+
**recentlyPlayedWith** | [**Array<PlayerSummary>**](PlayerSummary.md) | | [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { PublicUserProfileResponse } from '@tennac-booking/sdk';
|
|
26
|
+
|
|
27
|
+
const instance: PublicUserProfileResponse = {
|
|
28
|
+
id,
|
|
29
|
+
username,
|
|
30
|
+
firstName,
|
|
31
|
+
lastName,
|
|
32
|
+
email,
|
|
33
|
+
isAccountVerified,
|
|
34
|
+
location,
|
|
35
|
+
createdAt,
|
|
36
|
+
profilePicture,
|
|
37
|
+
levelBySports,
|
|
38
|
+
description,
|
|
39
|
+
frequentlyVisitedClubs,
|
|
40
|
+
recentlyPlayedWith,
|
|
41
|
+
};
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PublishEventResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**event** | [**EventResponse**](EventResponse.md) | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PublishEventResponse } from '@tennac-booking/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: PublishEventResponse = {
|
|
16
|
+
event,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# QuickReservationClubSummary
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**clubId** | **string** | ID du club | [default to undefined]
|
|
9
|
+
**clubName** | **string** | Nom du club | [default to undefined]
|
|
10
|
+
**distanceInMeters** | **number** | Distance par rapport à la recherche, en mètres | [default to undefined]
|
|
11
|
+
**location** | [**QuickReservationClubSummaryLocation**](QuickReservationClubSummaryLocation.md) | | [optional] [default to undefined]
|
|
12
|
+
**slots** | [**Array<QuickReservationSlotSummary>**](QuickReservationSlotSummary.md) | Créneaux disponibles correspondant aux filtres | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { QuickReservationClubSummary } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: QuickReservationClubSummary = {
|
|
20
|
+
clubId,
|
|
21
|
+
clubName,
|
|
22
|
+
distanceInMeters,
|
|
23
|
+
location,
|
|
24
|
+
slots,
|
|
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)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# QuickReservationClubSummaryLocation
|
|
2
|
+
|
|
3
|
+
Localisation du club
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**country** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**postalCode** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**city** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**longitude** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**latitude** | **number** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { QuickReservationClubSummaryLocation } from '@tennac-booking/sdk';
|
|
20
|
+
|
|
21
|
+
const instance: QuickReservationClubSummaryLocation = {
|
|
22
|
+
country,
|
|
23
|
+
postalCode,
|
|
24
|
+
city,
|
|
25
|
+
address,
|
|
26
|
+
longitude,
|
|
27
|
+
latitude,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# QuickReservationResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**totalClubs** | **number** | Nombre total de clubs contenant des créneaux disponibles | [default to undefined]
|
|
9
|
+
**clubs** | [**Array<QuickReservationClubSummary>**](QuickReservationClubSummary.md) | Liste des clubs et de leurs créneaux disponibles | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { QuickReservationResponse } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: QuickReservationResponse = {
|
|
17
|
+
totalClubs,
|
|
18
|
+
clubs,
|
|
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)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# QuickReservationSlotSummary
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID du créneau | [default to undefined]
|
|
9
|
+
**startDate** | **string** | Date de début ISO | [default to undefined]
|
|
10
|
+
**endDate** | **string** | Date de fin ISO | [default to undefined]
|
|
11
|
+
**durationMinutes** | **number** | Durée du créneau en minutes | [default to undefined]
|
|
12
|
+
**courtId** | **string** | ID du terrain | [default to undefined]
|
|
13
|
+
**courtName** | **string** | Nom du terrain | [default to undefined]
|
|
14
|
+
**isIndoor** | **boolean** | Indique si le terrain est en intérieur | [default to undefined]
|
|
15
|
+
**surface** | **string** | Surface du terrain | [optional] [default to undefined]
|
|
16
|
+
**pricePerHour** | **number** | Prix horaire du terrain (en euros) | [optional] [default to undefined]
|
|
17
|
+
**totalPrice** | **number** | Prix total estimé pour le créneau (en euros) | [optional] [default to undefined]
|
|
18
|
+
**sportId** | **string** | ID du sport associé | [default to undefined]
|
|
19
|
+
**sportKey** | **string** | Clé du sport associé | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { QuickReservationSlotSummary } from '@tennac-booking/sdk';
|
|
25
|
+
|
|
26
|
+
const instance: QuickReservationSlotSummary = {
|
|
27
|
+
id,
|
|
28
|
+
startDate,
|
|
29
|
+
endDate,
|
|
30
|
+
durationMinutes,
|
|
31
|
+
courtId,
|
|
32
|
+
courtName,
|
|
33
|
+
isIndoor,
|
|
34
|
+
surface,
|
|
35
|
+
pricePerHour,
|
|
36
|
+
totalPrice,
|
|
37
|
+
sportId,
|
|
38
|
+
sportKey,
|
|
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)
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**token** | **string** | | [
|
|
9
|
-
**refreshToken** | **string** | | [
|
|
8
|
+
**token** | **string** | | [default to undefined]
|
|
9
|
+
**refreshToken** | **string** | | [default to undefined]
|
|
10
|
+
**sessionDuration** | **number** | | [default to undefined]
|
|
11
|
+
**sessionEnd** | **number** | | [default to undefined]
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -16,6 +18,8 @@ import { RefreshTokenResponse } from '@tennac-booking/sdk';
|
|
|
16
18
|
const instance: RefreshTokenResponse = {
|
|
17
19
|
token,
|
|
18
20
|
refreshToken,
|
|
21
|
+
sessionDuration,
|
|
22
|
+
sessionEnd,
|
|
19
23
|
};
|
|
20
24
|
```
|
|
21
25
|
|
|
@@ -14,6 +14,9 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**stripeCustomerId** | **string** | | [optional] [default to undefined]
|
|
15
15
|
**phone** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**location** | [**RegisterRequestBodyLocation**](RegisterRequestBodyLocation.md) | | [optional] [default to undefined]
|
|
18
|
+
**organizationId** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**organizationEmail** | **string** | | [optional] [default to undefined]
|
|
17
20
|
|
|
18
21
|
## Example
|
|
19
22
|
|
|
@@ -30,6 +33,9 @@ const instance: RegisterRequestBody = {
|
|
|
30
33
|
stripeCustomerId,
|
|
31
34
|
phone,
|
|
32
35
|
profilePicture,
|
|
36
|
+
location,
|
|
37
|
+
organizationId,
|
|
38
|
+
organizationEmail,
|
|
33
39
|
};
|
|
34
40
|
```
|
|
35
41
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# RegisterRequestBodyLocation
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**coordinates** | **Array<number>** | | [default to undefined]
|
|
9
|
+
**mapboxId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**mapboxPlaceType** | **Array<string>** | | [optional] [default to undefined]
|
|
11
|
+
**mapboxPlaceName** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**mapboxAddress** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**mapboxContext** | **Array<{ [key: string]: any; }>** | | [optional] [default to undefined]
|
|
14
|
+
**mapboxRaw** | **{ [key: string]: object; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
15
|
+
**city** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**country** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**postalCode** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**state** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { RegisterRequestBodyLocation } from '@tennac-booking/sdk';
|
|
26
|
+
|
|
27
|
+
const instance: RegisterRequestBodyLocation = {
|
|
28
|
+
coordinates,
|
|
29
|
+
mapboxId,
|
|
30
|
+
mapboxPlaceType,
|
|
31
|
+
mapboxPlaceName,
|
|
32
|
+
mapboxAddress,
|
|
33
|
+
mapboxContext,
|
|
34
|
+
mapboxRaw,
|
|
35
|
+
city,
|
|
36
|
+
country,
|
|
37
|
+
postalCode,
|
|
38
|
+
state,
|
|
39
|
+
address,
|
|
40
|
+
type,
|
|
41
|
+
};
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RequestPasswordReset200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { RequestPasswordReset200Response } from '@tennac-booking/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: RequestPasswordReset200Response = {
|
|
16
|
+
message,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ResetPasswordRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**newPassword** | **string** | | [optional] [default to undefined]
|
|
8
9
|
**token** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**refreshToken** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**user** | [**UserResponse**](UserResponse.md) | | [optional] [default to undefined]
|
|
11
10
|
|
|
12
11
|
## Example
|
|
13
12
|
|
|
14
13
|
```typescript
|
|
15
|
-
import {
|
|
14
|
+
import { ResetPasswordRequest } from '@tennac-booking/sdk';
|
|
16
15
|
|
|
17
|
-
const instance:
|
|
16
|
+
const instance: ResetPasswordRequest = {
|
|
17
|
+
newPassword,
|
|
18
18
|
token,
|
|
19
|
-
refreshToken,
|
|
20
|
-
user,
|
|
21
19
|
};
|
|
22
20
|
```
|
|
23
21
|
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**clubId** | **string** | ID du club | [default to undefined]
|
|
8
|
+
**clubId** | **string** | | [default to undefined]
|
|
10
9
|
|
|
11
10
|
## Example
|
|
12
11
|
|
|
@@ -14,7 +13,6 @@ Name | Type | Description | Notes
|
|
|
14
13
|
import { SetupPaymentMethodRequestBody } from '@tennac-booking/sdk';
|
|
15
14
|
|
|
16
15
|
const instance: SetupPaymentMethodRequestBody = {
|
|
17
|
-
userId,
|
|
18
16
|
clubId,
|
|
19
17
|
};
|
|
20
18
|
```
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**setupIntentId** | **string** |
|
|
9
|
-
**clientSecret** | **string** |
|
|
10
|
-
**message** | **string** |
|
|
8
|
+
**setupIntentId** | **string** | | [default to undefined]
|
|
9
|
+
**clientSecret** | **string** | | [default to undefined]
|
|
10
|
+
**message** | **string** | | [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
package/docs/SlotInfo.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# SlotInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID du slot | [default to undefined]
|
|
9
|
+
**startDate** | **string** | Date de début | [default to undefined]
|
|
10
|
+
**endDate** | **string** | Date de fin | [default to undefined]
|
|
11
|
+
**court** | [**CourtInfo**](CourtInfo.md) | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { SlotInfo } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: SlotInfo = {
|
|
19
|
+
id,
|
|
20
|
+
startDate,
|
|
21
|
+
endDate,
|
|
22
|
+
court,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# SportAnalyticsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**sportId** | **string** | ID du sport | [default to undefined]
|
|
9
|
+
**courtsCount** | **number** | Nombre de terrains | [default to undefined]
|
|
10
|
+
**bookingsCount** | **number** | Nombre de réservations | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SportAnalyticsResponse } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: SportAnalyticsResponse = {
|
|
18
|
+
sportId,
|
|
19
|
+
courtsCount,
|
|
20
|
+
bookingsCount,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SportInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID du sport | [default to undefined]
|
|
9
|
+
**key** | **string** | Clé du sport | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SportInfo } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: SportInfo = {
|
|
17
|
+
id,
|
|
18
|
+
key,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/SportKey.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# SportKey
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Padel` (value: `'Padel'`)
|
|
7
|
+
|
|
8
|
+
* `Tennis` (value: `'Tennis'`)
|
|
9
|
+
|
|
10
|
+
* `Pickleball` (value: `'Pickleball'`)
|
|
11
|
+
|
|
12
|
+
* `Autres` (value: `'Autres'`)
|
|
13
|
+
|
|
14
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SportLevel
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | Nom du niveau (ex: Débutant, Intermédiaire, Avancé) | [default to undefined]
|
|
9
|
+
**order** | **number** | Ordre du niveau, du plus faible (petit) au plus fort (grand) | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SportLevel } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: SportLevel = {
|
|
17
|
+
name,
|
|
18
|
+
order,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/SportResponse.md
CHANGED
|
@@ -5,13 +5,16 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** |
|
|
9
|
-
**key** | **
|
|
10
|
-
**name** | **string** |
|
|
11
|
-
**description** | **string** |
|
|
12
|
-
**
|
|
13
|
-
**
|
|
14
|
-
**
|
|
8
|
+
**id** | **string** | ID unique du sport | [default to undefined]
|
|
9
|
+
**key** | [**SportKey**](SportKey.md) | | [default to undefined]
|
|
10
|
+
**name** | **string** | Nom affiché du sport | [default to undefined]
|
|
11
|
+
**description** | **string** | Description du sport | [optional] [default to undefined]
|
|
12
|
+
**levels** | [**Array<SportLevel>**](SportLevel.md) | Niveaux associés au sport | [optional] [default to undefined]
|
|
13
|
+
**logos** | **Array<string>** | URLs de logos/images pour le sport | [optional] [default to undefined]
|
|
14
|
+
**createdBy** | **string** | ID du club créateur | [optional] [default to undefined]
|
|
15
|
+
**verified** | **boolean** | Sport vérifié/officiel (non modifiable) | [default to undefined]
|
|
16
|
+
**createdAt** | **string** | Date de création | [default to undefined]
|
|
17
|
+
**updatedAt** | **string** | Date de dernière mise à jour | [default to undefined]
|
|
15
18
|
|
|
16
19
|
## Example
|
|
17
20
|
|
|
@@ -23,7 +26,10 @@ const instance: SportResponse = {
|
|
|
23
26
|
key,
|
|
24
27
|
name,
|
|
25
28
|
description,
|
|
26
|
-
|
|
29
|
+
levels,
|
|
30
|
+
logos,
|
|
31
|
+
createdBy,
|
|
32
|
+
verified,
|
|
27
33
|
createdAt,
|
|
28
34
|
updatedAt,
|
|
29
35
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# SportWithLevels
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**key** | **string** | | [default to undefined]
|
|
10
|
+
**name** | **string** | | [default to undefined]
|
|
11
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**levels** | [**Array<SportLevel>**](SportLevel.md) | | [optional] [default to undefined]
|
|
13
|
+
**logos** | **Array<string>** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { SportWithLevels } from '@tennac-booking/sdk';
|
|
19
|
+
|
|
20
|
+
const instance: SportWithLevels = {
|
|
21
|
+
id,
|
|
22
|
+
key,
|
|
23
|
+
name,
|
|
24
|
+
description,
|
|
25
|
+
levels,
|
|
26
|
+
logos,
|
|
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)
|