@tennac-booking/sdk 1.0.54 → 1.0.60
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 +182 -220
- package/README.md +162 -167
- package/api.ts +7179 -7614
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +4662 -5750
- package/dist/api.js +3587 -2956
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +4662 -5750
- package/dist/esm/api.js +3513 -2861
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +2 -2
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/docs/{ApiErrorResponse.md → AddClubMember201Response.md} +6 -6
- package/docs/AddClubMemberRequest.md +7 -3
- package/docs/BookingAnalyticsResponse.md +34 -0
- package/docs/BookingHistory.md +34 -0
- package/docs/BookingInfo.md +50 -0
- package/docs/BookingPaymentStatusResponse.md +3 -3
- package/docs/BookingPaymentStatusResponseBooking.md +8 -7
- package/docs/BookingPaymentStatusResponseSummary.md +10 -9
- package/docs/BookingPopulated.md +5 -5
- package/docs/BookingResponse.md +4 -4
- package/docs/{UpdateProfileVisibilityRequestBody.md → BookingResponseOnsitePaymentsInner.md} +7 -5
- package/docs/BookingStatus.md +9 -1
- package/docs/BookingsApi.md +10 -64
- package/docs/{ManagerBookingsApi.md → BookingsManagerApi.md} +14 -24
- package/docs/BookingsStaffApi.md +323 -0
- package/docs/{UserBookingsApi.md → BookingsUserApi.md} +17 -25
- package/docs/CancelBookingResponse.md +2 -2
- package/docs/CaptureResult.md +30 -0
- package/docs/CheckInPlayersRequest.md +20 -0
- package/docs/CheckInPlayersResponse.md +6 -6
- package/docs/CheckedInPlayer.md +34 -0
- package/docs/ClubAnalyticsApi.md +20 -160
- package/docs/ClubAnalyticsStaffApi.md +523 -0
- package/docs/ClubMemberResponse.md +24 -0
- package/docs/{FrequentPlayer.md → ClubMemberResponseUser.md} +10 -11
- package/docs/ClubPlayerResponse.md +36 -0
- package/docs/ClubResponse.md +23 -14
- package/docs/ClubResponseCreatedAt.md +19 -0
- package/docs/{Location.md → ClubResponseLocation.md} +9 -12
- package/docs/{GetNumberOfClubUsers200Response.md → ClubResponseLocationCoordinates.md} +7 -5
- package/docs/ClubResponseUpdatedAt.md +19 -0
- package/docs/ClubRoleResponse.md +11 -9
- package/docs/ClubRolesManagerApi.md +177 -0
- package/docs/{StaffClubsApi.md → ClubRolesStaffApi.md} +41 -34
- package/docs/{ManagerClubCourtsApi.md → ClubSettingsManagerApi.md} +64 -63
- package/docs/ClubSettingsResponse.md +41 -0
- package/docs/{PublicClubUserFrequentlyVisitedClubsInner.md → ClubSummary.md} +10 -6
- package/docs/{AddFavoriteClubRequestBody.md → ClubUserCountResponse.md} +5 -5
- package/docs/ClubsApi.md +515 -8
- package/docs/ClubsManagerApi.md +1005 -0
- package/docs/{ManagerClubsApi.md → ClubsStaffApi.md} +138 -62
- package/docs/CourtInfo.md +28 -0
- package/docs/CourtResponse.md +16 -16
- package/docs/CourtStatus.md +2 -5
- package/docs/CreateBookingRequest.md +1 -3
- package/docs/CreateClubRequest.md +22 -0
- package/docs/CreateClubRoleRequest.md +24 -0
- package/docs/CreateClubSettingsRequest.md +34 -0
- package/docs/{ActiveClubListResponse.md → CreateCourtForClub201Response.md} +5 -5
- package/docs/CreateCourtRequest.md +10 -12
- package/docs/CreateEventRequest.md +1 -3
- package/docs/CreateSportForClub201Response.md +20 -0
- package/docs/{Sport.md → CreateSportForClubRequest.md} +4 -6
- package/docs/CreateSportRequest.md +1 -7
- package/docs/CreateSubscriptionPlanRequest.md +6 -4
- package/docs/CreatorChargeResult.md +26 -0
- package/docs/DailyTurnoverResponse.md +3 -3
- package/docs/{ManagerSportsApi.md → DefaultApi.md} +35 -38
- package/docs/{DeleteEvent200Response.md → DeleteClubResponse.md} +4 -4
- package/docs/{CourtDeleteResponse.md → DeleteClubRoleResponse.md} +4 -4
- package/docs/DeleteClubSettingsResponse.md +20 -0
- package/docs/{DeleteClubRole200Response.md → DeleteCourtResponse.md} +4 -4
- package/docs/{DeleteSport200Response.md → DeleteEventResponse.md} +4 -4
- package/docs/DeleteSlotsByClubInRange200Response.md +1 -1
- package/docs/DeleteSportResponse.md +20 -0
- package/docs/EventResponse.md +40 -0
- package/docs/EventResponseCourtsInner.md +18 -0
- package/docs/EventsApi.md +21 -21
- package/docs/{StaffEventResponse.md → EventsListResponse.md} +4 -4
- package/docs/{ManagerEventsApi.md → EventsManagerApi.md} +38 -40
- package/docs/{StaffEventsApi.md → EventsStaffApi.md} +11 -10
- package/docs/FavoriteClubsResponse.md +1 -1
- package/docs/FavoritePlayersResponse.md +1 -1
- package/docs/{GenderPercentage.md → GenderPercentageResponse.md} +7 -7
- 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 +1 -1
- package/docs/{CourtsResponse.md → GetCourtsByClub200Response.md} +4 -6
- package/docs/GetCourtsByClubAndSportById200Response.md +26 -0
- package/docs/GetInfillPercentagePerPeriod200Response.md +5 -5
- package/docs/{SlotsResponse.md → GetSlotsByClubById200Response.md} +6 -6
- package/docs/GetSportsByClubById200Response.md +20 -0
- package/docs/{Court.md → ICourtData.md} +18 -6
- package/docs/{DiagnosticsResponse.md → InvoiceInfo.md} +8 -8
- package/docs/{ClubListResponse.md → LastSixMonthsTurnoverItem.md} +7 -7
- package/docs/ManagerCancelBookingRequest.md +1 -1
- package/docs/ManagerCancelBookingResponse.md +2 -2
- package/docs/MonthlyBreakdown.md +24 -0
- package/docs/MonthlyTurnoverResponse.md +6 -5
- package/docs/NoShowFeeResponse.md +6 -6
- package/docs/PartialClubResponse.md +49 -0
- package/docs/PaymentByPlayerInfo.md +22 -0
- package/docs/PaymentMethod.md +2 -1
- package/docs/PlayerPaymentInfo.md +36 -0
- package/docs/PlayerSummary.md +40 -0
- package/docs/PublicUserProfileResponse.md +44 -0
- package/docs/PublishEventResponse.md +20 -0
- package/docs/SlotInfo.md +26 -0
- package/docs/SportAnalyticsResponse.md +24 -0
- package/docs/SportInfo.md +22 -0
- package/docs/SportResponse.md +8 -11
- package/docs/SportWithAnalytics.md +36 -0
- package/docs/SportsManagerApi.md +177 -0
- package/docs/{StaffClubBookingsApi.md → SportsStaffApi.md} +14 -11
- package/docs/SubscriptionPlanResponse.md +4 -14
- package/docs/SurfaceType.md +12 -0
- package/docs/UpdateActuality200Response.md +20 -0
- package/docs/UpdateClubRequest.md +11 -11
- package/docs/UpdateClubRequestLocation.md +29 -0
- package/docs/{BookingPopulatedSlotIdCourtIdSportId.md → UpdateClubRequestLocationCoordinates.md} +7 -7
- package/docs/UpdateClubRoleRequest.md +22 -0
- package/docs/UpdateClubSettingsRequest.md +14 -10
- package/docs/UpdateSportRequest.md +1 -5
- package/docs/UpdateSubscriptionPlanForClub200Response.md +20 -0
- package/docs/{BookingPopulatedUserId.md → UserInfo.md} +6 -6
- package/docs/UserLocationSummary.md +44 -0
- package/docs/UserProfileResponse.md +2 -2
- package/docs/UsersApi.md +38 -133
- package/docs/YearlyTurnoverResponse.md +4 -4
- package/index.ts +2 -2
- package/package.json +1 -1
- package/docs/ActiveClub.md +0 -30
- package/docs/AddClubMemberResponse.md +0 -22
- package/docs/AddPaymentMethodSetupRequestBody.md +0 -20
- package/docs/AddPaymentMethodSetupResponse.md +0 -24
- package/docs/BlockSlotResponse.md +0 -22
- package/docs/Booking.md +0 -32
- package/docs/BookingHistoryResponse.md +0 -22
- package/docs/BookingHistoryResponseHistoryInner.md +0 -32
- package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +0 -36
- package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +0 -22
- package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +0 -24
- package/docs/BookingPopulatedSlotId.md +0 -26
- package/docs/BookingPopulatedSlotIdCourtId.md +0 -28
- package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +0 -20
- package/docs/CancelBookingResponseBooking.md +0 -30
- package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
- package/docs/Club.md +0 -40
- package/docs/ClubInfoResponse.md +0 -48
- package/docs/ClubMember.md +0 -24
- package/docs/ClubRole.md +0 -30
- package/docs/ClubRolesResponse.md +0 -22
- package/docs/ClubSettings.md +0 -40
- package/docs/ClubStaffResponse.md +0 -48
- package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
- package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
- package/docs/CourtWithNameResponse.md +0 -48
- package/docs/CourtsWithNameResponse.md +0 -22
- package/docs/CreateClubRoleRequestBody.md +0 -24
- package/docs/CreatePriceRequest.md +0 -26
- package/docs/DiagnosticsApi.md +0 -97
- package/docs/Event.md +0 -40
- package/docs/EventBooking.md +0 -32
- package/docs/EventRegistrationRequest.md +0 -22
- package/docs/FrequentClub.md +0 -24
- package/docs/FrequentlyPlayedWithItem.md +0 -28
- package/docs/FrequentlyVisitedClubItem.md +0 -24
- package/docs/GetActiveClubs200Response.md +0 -20
- package/docs/GetClubInfos200Response.md +0 -30
- package/docs/GetCourtsByClubAndSport200Response.md +0 -26
- package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -22
- package/docs/GetPublishedEventsByClubId200Response.md +0 -20
- package/docs/InvoicesResponse.md +0 -22
- package/docs/InvoicesResponseInvoicesInner.md +0 -34
- package/docs/InvoicesResponsePagination.md +0 -26
- package/docs/LevelBySportsItem.md +0 -22
- package/docs/ManagerCancelBookingResponseBooking.md +0 -30
- package/docs/ManagerClubRolesApi.md +0 -268
- package/docs/ManagerClubSlotsApi.md +0 -119
- package/docs/ManagerClubSubscriptionsApi.md +0 -387
- package/docs/ManagerEventResponse.md +0 -22
- package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
- package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
- package/docs/PaymentStatus.md +0 -30
- package/docs/PriceResponse.md +0 -32
- package/docs/PublicClubUser.md +0 -46
- package/docs/PublicClubUserFrequentlyPlayedWithInner.md +0 -28
- package/docs/PublicClubUserLevelBySportsInner.md +0 -22
- package/docs/RegisterForEvent201Response.md +0 -20
- package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
- package/docs/SdkDiagnosticsResponse.md +0 -28
- package/docs/SdkDiagnosticsResponseOpenapi.md +0 -24
- package/docs/SdkDiagnosticsResponseSdk.md +0 -24
- package/docs/Slot.md +0 -24
- package/docs/SlotException.md +0 -26
- package/docs/SlotResponse.md +0 -34
- package/docs/StaffBookingsApi.md +0 -61
- package/docs/StaffClubAnalyticsApi.md +0 -254
- package/docs/StripeLink.md +0 -26
- package/docs/StripeStatus.md +0 -16
- package/docs/SubscriptionPlan.md +0 -36
- package/docs/SubscriptionResponse.md +0 -36
- package/docs/UpdateClubRoleRequestBody.md +0 -24
- package/docs/UpdateCourtRequest.md +0 -38
- package/docs/UpdateProfilePictureRequestBody.md +0 -20
- package/docs/UpdateSubscriptionPlanRequest.md +0 -24
- package/docs/UpdateSubscriptionPlanResponse.md +0 -22
- package/docs/UpdateUserCityRequestBody.md +0 -20
- package/docs/UpdateUserDescriptionRequestBody.md +0 -20
- package/docs/UserBookingItem.md +0 -46
- package/docs/UserClubCourtsApi.md +0 -64
- package/docs/UserClubSlotsApi.md +0 -181
- package/docs/UserClubSportsApi.md +0 -60
- package/docs/UserClubsApi.md +0 -145
- package/docs/UserInfoStaff.md +0 -38
- package/docs/UserStaffResponse.md +0 -40
- package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
#
|
|
1
|
+
# SportsStaffApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://localhost*
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**
|
|
7
|
+
|[**getAllSports**](#getallsports) | **GET** /api/sports | |
|
|
8
8
|
|
|
9
|
-
# **
|
|
10
|
-
> Array<
|
|
9
|
+
# **getAllSports**
|
|
10
|
+
> Array<SportWithAnalytics> getAllSports()
|
|
11
11
|
|
|
12
|
+
Récupère la liste des sports d\'un club
|
|
12
13
|
|
|
13
14
|
### Example
|
|
14
15
|
|
|
15
16
|
```typescript
|
|
16
17
|
import {
|
|
17
|
-
|
|
18
|
+
SportsStaffApi,
|
|
18
19
|
Configuration
|
|
19
20
|
} from '@tennac-booking/sdk';
|
|
20
21
|
|
|
21
22
|
const configuration = new Configuration();
|
|
22
|
-
const apiInstance = new
|
|
23
|
+
const apiInstance = new SportsStaffApi(configuration);
|
|
23
24
|
|
|
24
|
-
const { status, data } = await apiInstance.
|
|
25
|
+
const { status, data } = await apiInstance.getAllSports();
|
|
25
26
|
```
|
|
26
27
|
|
|
27
28
|
### Parameters
|
|
@@ -30,7 +31,7 @@ This endpoint does not have any parameters.
|
|
|
30
31
|
|
|
31
32
|
### Return type
|
|
32
33
|
|
|
33
|
-
**Array<
|
|
34
|
+
**Array<SportWithAnalytics>**
|
|
34
35
|
|
|
35
36
|
### Authorization
|
|
36
37
|
|
|
@@ -39,14 +40,16 @@ This endpoint does not have any parameters.
|
|
|
39
40
|
### HTTP request headers
|
|
40
41
|
|
|
41
42
|
- **Content-Type**: Not defined
|
|
42
|
-
- **Accept**:
|
|
43
|
+
- **Accept**: staff
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
### HTTP response details
|
|
46
47
|
| Status code | Description | Response headers |
|
|
47
48
|
|-------------|-------------|------------------|
|
|
48
|
-
|**200** |
|
|
49
|
-
|**
|
|
49
|
+
|**200** | Liste des sports | - |
|
|
50
|
+
|**400** | Bad Request | - |
|
|
51
|
+
|**401** | Unauthorized | - |
|
|
52
|
+
|**500** | Server Error | - |
|
|
50
53
|
|
|
51
54
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
52
55
|
|
|
@@ -5,13 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**active** | **boolean** | | [optional] [default to undefined]
|
|
12
|
-
**metadata** | **object** | | [optional] [default to undefined]
|
|
13
|
-
**createdAt** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
8
|
+
**productId** | **string** | ID du produit Stripe | [default to undefined]
|
|
9
|
+
**priceId** | **string** | ID du prix Stripe | [default to undefined]
|
|
15
10
|
|
|
16
11
|
## Example
|
|
17
12
|
|
|
@@ -19,13 +14,8 @@ Name | Type | Description | Notes
|
|
|
19
14
|
import { SubscriptionPlanResponse } from '@tennac-booking/sdk';
|
|
20
15
|
|
|
21
16
|
const instance: SubscriptionPlanResponse = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
description,
|
|
25
|
-
active,
|
|
26
|
-
metadata,
|
|
27
|
-
createdAt,
|
|
28
|
-
updatedAt,
|
|
17
|
+
productId,
|
|
18
|
+
priceId,
|
|
29
19
|
};
|
|
30
20
|
```
|
|
31
21
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# SurfaceType
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Clay` (value: `'clay'`)
|
|
7
|
+
|
|
8
|
+
* `Grass` (value: `'grass'`)
|
|
9
|
+
|
|
10
|
+
* `Hard` (value: `'hard'`)
|
|
11
|
+
|
|
12
|
+
[[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
|
+
# UpdateActuality200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**actuality** | **any** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { UpdateActuality200Response } from '@tennac-booking/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: UpdateActuality200Response = {
|
|
16
|
+
actuality,
|
|
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)
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**name** | **string** |
|
|
9
|
-
**
|
|
10
|
-
**
|
|
11
|
-
**
|
|
12
|
-
**
|
|
13
|
-
**picture** | **string** |
|
|
14
|
-
**
|
|
15
|
-
**
|
|
8
|
+
**name** | **string** | Nom du club | [optional] [default to undefined]
|
|
9
|
+
**websiteUrl** | **string** | URL du site web du club | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | Description du club | [optional] [default to undefined]
|
|
11
|
+
**email** | **string** | Email du club | [optional] [default to undefined]
|
|
12
|
+
**phone** | **string** | Téléphone du club | [optional] [default to undefined]
|
|
13
|
+
**picture** | **string** | URL de l\'image du club | [optional] [default to undefined]
|
|
14
|
+
**location** | [**UpdateClubRequestLocation**](UpdateClubRequestLocation.md) | | [optional] [default to undefined]
|
|
15
|
+
**rib** | **string** | RIB du club | [optional] [default to undefined]
|
|
16
16
|
|
|
17
17
|
## Example
|
|
18
18
|
|
|
@@ -21,13 +21,13 @@ import { UpdateClubRequest } from '@tennac-booking/sdk';
|
|
|
21
21
|
|
|
22
22
|
const instance: UpdateClubRequest = {
|
|
23
23
|
name,
|
|
24
|
-
|
|
24
|
+
websiteUrl,
|
|
25
|
+
description,
|
|
25
26
|
email,
|
|
26
27
|
phone,
|
|
27
|
-
description,
|
|
28
28
|
picture,
|
|
29
|
+
location,
|
|
29
30
|
rib,
|
|
30
|
-
websiteUrl,
|
|
31
31
|
};
|
|
32
32
|
```
|
|
33
33
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# UpdateClubRequestLocation
|
|
2
|
+
|
|
3
|
+
Localisation du club
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**coordinates** | [**UpdateClubRequestLocationCoordinates**](UpdateClubRequestLocationCoordinates.md) | | [optional] [default to undefined]
|
|
10
|
+
**country** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**zipCode** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**city** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { UpdateClubRequestLocation } from '@tennac-booking/sdk';
|
|
19
|
+
|
|
20
|
+
const instance: UpdateClubRequestLocation = {
|
|
21
|
+
coordinates,
|
|
22
|
+
country,
|
|
23
|
+
zipCode,
|
|
24
|
+
city,
|
|
25
|
+
address,
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[[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/{BookingPopulatedSlotIdCourtIdSportId.md → UpdateClubRequestLocationCoordinates.md}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# UpdateClubRequestLocationCoordinates
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**
|
|
8
|
+
**lng** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**lat** | **number** | | [optional] [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import {
|
|
14
|
+
import { UpdateClubRequestLocationCoordinates } from '@tennac-booking/sdk';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
const instance: UpdateClubRequestLocationCoordinates = {
|
|
17
|
+
lng,
|
|
18
|
+
lat,
|
|
19
19
|
};
|
|
20
20
|
```
|
|
21
21
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UpdateClubRoleRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**role** | **string** | Rôle (facultatif) | [optional] [default to undefined]
|
|
9
|
+
**rights** | **Array<string>** | Droits (facultatif) | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateClubRoleRequest } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateClubRoleRequest = {
|
|
17
|
+
role,
|
|
18
|
+
rights,
|
|
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)
|
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**
|
|
11
|
-
**
|
|
12
|
-
**
|
|
8
|
+
**maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
|
|
9
|
+
**allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
|
|
10
|
+
**sameTimeBookingsLimit** | **number** | Limite de réservations simultanées | [optional] [default to undefined]
|
|
11
|
+
**cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
|
|
12
|
+
**availabilityPeriodInDays** | **number** | Période de disponibilité en jours | [optional] [default to undefined]
|
|
13
|
+
**sponsors** | **Array<string>** | Liste des sponsors | [optional] [default to undefined]
|
|
14
|
+
**timeBeforePayment** | **number** | Temps avant paiement en minutes | [optional] [default to undefined]
|
|
13
15
|
|
|
14
16
|
## Example
|
|
15
17
|
|
|
@@ -17,11 +19,13 @@ Name | Type | Description | Notes
|
|
|
17
19
|
import { UpdateClubSettingsRequest } from '@tennac-booking/sdk';
|
|
18
20
|
|
|
19
21
|
const instance: UpdateClubSettingsRequest = {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
maxWeeklyBookings,
|
|
23
|
+
allowMultipleBookingsAtTheSameTime,
|
|
24
|
+
sameTimeBookingsLimit,
|
|
25
|
+
cancellationLimitHours,
|
|
26
|
+
availabilityPeriodInDays,
|
|
27
|
+
sponsors,
|
|
28
|
+
timeBeforePayment,
|
|
25
29
|
};
|
|
26
30
|
```
|
|
27
31
|
|
|
@@ -5,9 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**key** | **string** |
|
|
9
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
8
|
+
**key** | **string** | Clé/nom du sport | [optional] [default to undefined]
|
|
11
9
|
|
|
12
10
|
## Example
|
|
13
11
|
|
|
@@ -16,8 +14,6 @@ import { UpdateSportRequest } from '@tennac-booking/sdk';
|
|
|
16
14
|
|
|
17
15
|
const instance: UpdateSportRequest = {
|
|
18
16
|
key,
|
|
19
|
-
name,
|
|
20
|
-
description,
|
|
21
17
|
};
|
|
22
18
|
```
|
|
23
19
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UpdateSubscriptionPlanForClub200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**price** | **any** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { UpdateSubscriptionPlanForClub200Response } from '@tennac-booking/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: UpdateSubscriptionPlanForClub200Response = {
|
|
16
|
+
price,
|
|
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,20 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# UserInfo
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** |
|
|
9
|
-
**firstName** | **string** |
|
|
10
|
-
**lastName** | **string** |
|
|
8
|
+
**id** | **string** | ID de l\'utilisateur | [default to undefined]
|
|
9
|
+
**firstName** | **string** | Prénom | [default to undefined]
|
|
10
|
+
**lastName** | **string** | Nom | [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import {
|
|
15
|
+
import { UserInfo } from '@tennac-booking/sdk';
|
|
16
16
|
|
|
17
|
-
const instance:
|
|
17
|
+
const instance: UserInfo = {
|
|
18
18
|
id,
|
|
19
19
|
firstName,
|
|
20
20
|
lastName,
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# UserLocationSummary
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**type** | **string** | | [default to undefined]
|
|
9
|
+
**coordinates** | **Array<number>** | | [default to undefined]
|
|
10
|
+
**mapboxId** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**mapboxPlaceType** | **Array<string>** | | [optional] [default to undefined]
|
|
12
|
+
**mapboxPlaceName** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**mapboxAddress** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**mapboxContext** | **Array<{ [key: string]: any; }>** | | [optional] [default to undefined]
|
|
15
|
+
**mapboxRaw** | **{ [key: string]: object; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
16
|
+
**city** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**country** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**postalCode** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**state** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { UserLocationSummary } from '@tennac-booking/sdk';
|
|
26
|
+
|
|
27
|
+
const instance: UserLocationSummary = {
|
|
28
|
+
type,
|
|
29
|
+
coordinates,
|
|
30
|
+
mapboxId,
|
|
31
|
+
mapboxPlaceType,
|
|
32
|
+
mapboxPlaceName,
|
|
33
|
+
mapboxAddress,
|
|
34
|
+
mapboxContext,
|
|
35
|
+
mapboxRaw,
|
|
36
|
+
city,
|
|
37
|
+
country,
|
|
38
|
+
postalCode,
|
|
39
|
+
state,
|
|
40
|
+
address,
|
|
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)
|
|
@@ -34,8 +34,8 @@ Name | Type | Description | Notes
|
|
|
34
34
|
**sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
35
35
|
**upcomingBookingsCount** | **number** | | [optional] [default to undefined]
|
|
36
36
|
**subscriptionsCount** | **number** | | [optional] [default to undefined]
|
|
37
|
-
**frequentlyVisitedClubs** | [**Array<
|
|
38
|
-
**frequentlyPlayedWith** | [**Array<
|
|
37
|
+
**frequentlyVisitedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
|
|
38
|
+
**frequentlyPlayedWith** | [**Array<PlayerSummary>**](PlayerSummary.md) | | [optional] [default to undefined]
|
|
39
39
|
**stripeLinks** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
40
40
|
|
|
41
41
|
## Example
|