@tennac-booking/sdk 1.0.34 → 1.0.36
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 +5 -161
- package/README.md +7 -230
- package/api.ts +672 -13535
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +652 -9153
- package/dist/api.js +12 -7641
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +652 -9153
- package/dist/esm/api.js +11 -7530
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ActiveClub.md +4 -2
- package/docs/ApiErrorResponse.md +1 -1
- package/docs/Club.md +6 -12
- package/docs/ClubResponse.md +8 -14
- package/docs/ClubRoleResponse.md +6 -6
- package/docs/ClubSettings.md +9 -21
- package/docs/Court.md +2 -2
- package/docs/CourtResponse.md +16 -18
- package/docs/CourtStatus.md +2 -5
- package/docs/{UpdateCustomerRequestBodyAddress.md → Location.md} +13 -11
- package/docs/PriceResponse.md +8 -2
- package/docs/SlotResponse.md +10 -2
- package/docs/SportResponse.md +2 -4
- package/docs/{GetUserRolesResponseRolesInner.md → StripeLink.md} +7 -7
- package/docs/UserResponse.md +48 -8
- package/docs/{FrequentlyPlayedWithItem.md → UserResponseFrequentlyPlayedWithInner.md} +3 -3
- package/docs/{FrequentlyVisitedClubItem.md → UserResponseFrequentlyVisitedClubsInner.md} +3 -3
- package/docs/{PublicClubUserLevelBySportsInner.md → UserResponseLevelBySportsInner.md} +3 -3
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/AddClubMemberRequest.md +0 -22
- package/docs/AddClubMemberResponse.md +0 -22
- package/docs/AddFavoriteClubRequestBody.md +0 -20
- package/docs/AddFavoritePlayerRequestBody.md +0 -20
- package/docs/AddPaymentMethodSetupRequestBody.md +0 -20
- package/docs/AddPaymentMethodSetupResponse.md +0 -24
- package/docs/BlockSlotResponse.md +0 -22
- package/docs/BookingHistoryResponse.md +0 -22
- package/docs/BookingHistoryResponseHistoryInner.md +0 -32
- package/docs/BookingPaymentStatusResponse.md +0 -24
- package/docs/BookingPaymentStatusResponseBooking.md +0 -26
- package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +0 -36
- package/docs/BookingPaymentStatusResponseSummary.md +0 -28
- package/docs/BookingPopulated.md +0 -28
- package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +0 -22
- package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +0 -24
- package/docs/BookingPopulatedSlotId.md +0 -26
- package/docs/BookingPopulatedSlotIdCourtId.md +0 -22
- package/docs/BookingPopulatedUserId.md +0 -24
- package/docs/BookingResponse.md +0 -28
- package/docs/BookingsApi.md +0 -113
- package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +0 -20
- package/docs/CancelBookingResponse.md +0 -22
- package/docs/CancelBookingResponseBooking.md +0 -30
- package/docs/ChangePasswordRequestBody.md +0 -22
- package/docs/ChangePasswordResponse.md +0 -20
- package/docs/CheckInPlayersResponse.md +0 -30
- package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
- package/docs/ClubAnalyticsApi.md +0 -241
- package/docs/ClubInfoResponse.md +0 -48
- package/docs/ClubMember.md +0 -24
- package/docs/ClubMembersResponse.md +0 -22
- package/docs/ClubRolesResponse.md +0 -22
- package/docs/ClubsApi.md +0 -61
- package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
- package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
- package/docs/CourtDeleteResponse.md +0 -20
- package/docs/CourtWithNameResponse.md +0 -46
- package/docs/CourtsResponse.md +0 -22
- package/docs/CourtsWithNameResponse.md +0 -22
- package/docs/CreateBookingRequest.md +0 -28
- package/docs/CreateClubRoleRequestBody.md +0 -24
- package/docs/CreateCourtRequest.md +0 -36
- package/docs/CreateEventRequest.md +0 -30
- package/docs/CreatePriceRequest.md +0 -26
- package/docs/CreateSportRequest.md +0 -26
- package/docs/CreateSubscriptionPlanRequest.md +0 -24
- package/docs/DailyTurnoverResponse.md +0 -24
- package/docs/DeleteClubRole200Response.md +0 -20
- package/docs/DeleteEvent200Response.md +0 -20
- package/docs/DeleteSlotsByClubInRange200Response.md +0 -20
- package/docs/DeleteSport200Response.md +0 -20
- package/docs/Event.md +0 -40
- package/docs/EventBooking.md +0 -32
- package/docs/EventRegistrationRequest.md +0 -22
- package/docs/EventsApi.md +0 -119
- package/docs/FavoriteClubItem.md +0 -26
- package/docs/FavoriteClubResponse.md +0 -22
- package/docs/FavoritePlayerPublic.md +0 -28
- package/docs/FavoritePlayersIdsResponse.md +0 -22
- package/docs/FavoritePlayersResponse.md +0 -20
- package/docs/GetActiveClubs200Response.md +0 -20
- package/docs/GetClubInfos200Response.md +0 -30
- package/docs/GetClubPlayers200Response.md +0 -22
- package/docs/GetClubUsersById200Response.md +0 -20
- package/docs/GetCourtsByClubAndSport200Response.md +0 -26
- package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -22
- package/docs/GetNumberOfClubUsers200Response.md +0 -20
- package/docs/GetPublishedEventsByClubId200Response.md +0 -20
- package/docs/GetUserRolesResponse.md +0 -20
- package/docs/GetUserSubscriptionsResponse.md +0 -22
- package/docs/GoogleSignInRequestBody.md +0 -20
- package/docs/GoogleSignInResponse.md +0 -24
- package/docs/InitiateSubscriptionSessionRequestBody.md +0 -26
- package/docs/InitiateSubscriptionSessionResponse.md +0 -22
- 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/LoginRequestBody.md +0 -22
- package/docs/LoginResponse.md +0 -28
- package/docs/ManagerBookingsApi.md +0 -125
- package/docs/ManagerCancelBookingRequest.md +0 -20
- package/docs/ManagerCancelBookingResponse.md +0 -22
- package/docs/ManagerCancelBookingResponseBooking.md +0 -30
- package/docs/ManagerClubCourtsApi.md +0 -220
- package/docs/ManagerClubRolesApi.md +0 -268
- package/docs/ManagerClubSlotsApi.md +0 -119
- package/docs/ManagerClubSubscriptionsApi.md +0 -387
- package/docs/ManagerClubsApi.md +0 -253
- package/docs/ManagerEventResponse.md +0 -22
- package/docs/ManagerEventsApi.md +0 -227
- package/docs/ManagerSportsApi.md +0 -119
- package/docs/MonthlyTurnoverResponse.md +0 -28
- package/docs/NoShowFeeResponse.md +0 -30
- package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
- package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
- package/docs/PaymentStatus.md +0 -30
- package/docs/PlayerWithPaymentMethod.md +0 -22
- package/docs/ProfilePictureResponse.md +0 -20
- package/docs/ProfileVisibilityResponse.md +0 -20
- package/docs/PublicClubUser.md +0 -46
- package/docs/PublicClubUserFrequentlyPlayedWithInner.md +0 -28
- package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +0 -24
- package/docs/RefreshTokenRequestBody.md +0 -20
- package/docs/RefreshTokenResponse.md +0 -22
- package/docs/RegisterForEvent201Response.md +0 -20
- package/docs/RegisterRequestBody.md +0 -36
- package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
- package/docs/SetupPaymentMethodRequestBody.md +0 -20
- package/docs/SetupPaymentMethodResponse.md +0 -24
- package/docs/SlotsResponse.md +0 -22
- package/docs/SportsResponse.md +0 -22
- package/docs/StaffClubAnalyticsApi.md +0 -149
- package/docs/StaffClubBookingsApi.md +0 -52
- package/docs/StaffClubsApi.md +0 -147
- package/docs/StaffEventResponse.md +0 -20
- package/docs/StaffEventsApi.md +0 -54
- package/docs/StaffProfileApi.md +0 -54
- package/docs/SubscribeToClubRequestBody.md +0 -22
- package/docs/SubscriptionPlanResponse.md +0 -32
- package/docs/UpdateClubRequest.md +0 -40
- package/docs/UpdateClubRoleRequestBody.md +0 -24
- package/docs/UpdateClubSettingsRequest.md +0 -28
- package/docs/UpdateCourtRequest.md +0 -38
- package/docs/UpdateCustomerRequestBody.md +0 -26
- package/docs/UpdateCustomerResponse.md +0 -22
- package/docs/UpdateCustomerResponseCustomer.md +0 -28
- package/docs/UpdateLevelBySportsRequestBody.md +0 -20
- package/docs/UpdateProfilePictureRequestBody.md +0 -20
- package/docs/UpdateProfileVisibilityRequestBody.md +0 -20
- package/docs/UpdateSportRequest.md +0 -24
- 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/UpdateUserRequestBody.md +0 -38
- package/docs/UpdateUserRequestBodyLevelBySportsInner.md +0 -22
- package/docs/UserApi.md +0 -63
- package/docs/UserAuthenticationApi.md +0 -226
- package/docs/UserBookingItem.md +0 -46
- package/docs/UserBookingsApi.md +0 -166
- package/docs/UserBookingsResponse.md +0 -26
- package/docs/UserCityResponse.md +0 -20
- package/docs/UserClubCourtsApi.md +0 -64
- package/docs/UserClubSlotsApi.md +0 -181
- package/docs/UserClubSportsApi.md +0 -60
- package/docs/UserClubsApi.md +0 -53
- package/docs/UserDescriptionResponse.md +0 -20
- package/docs/UserFavoriteClubsResponse.md +0 -20
- package/docs/UserPaymentApi.md +0 -176
- package/docs/UserProfileApi.md +0 -1254
- package/docs/UserStaffResponse.md +0 -36
- package/docs/UserSubscriptionsApi.md +0 -222
- package/docs/YearlyTurnoverResponse.md +0 -26
- package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# UserResponseLevelBySportsInner
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import {
|
|
14
|
+
import { UserResponseLevelBySportsInner } from '@tennac-booking/sdk';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
16
|
+
const instance: UserResponseLevelBySportsInner = {
|
|
17
17
|
sport,
|
|
18
18
|
level,
|
|
19
19
|
};
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pandook API
|
|
5
5
|
* API for managing pickle ball games and players
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.36
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# AddClubMemberRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**userId** | **string** | | [default to undefined]
|
|
9
|
-
**roleId** | **string** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { AddClubMemberRequest } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: AddClubMemberRequest = {
|
|
17
|
-
userId,
|
|
18
|
-
roleId,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# AddClubMemberResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**message** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**member** | [**ClubMember**](ClubMember.md) | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { AddClubMemberResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: AddClubMemberResponse = {
|
|
17
|
-
message,
|
|
18
|
-
member,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# AddFavoriteClubRequestBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubId** | **string** | ID du club à ajouter aux favoris | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { AddFavoriteClubRequestBody } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: AddFavoriteClubRequestBody = {
|
|
16
|
-
clubId,
|
|
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 +0,0 @@
|
|
|
1
|
-
# AddFavoritePlayerRequestBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**favoritePlayerId** | **string** | ID de l\'utilisateur à ajouter en favori | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { AddFavoritePlayerRequestBody } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: AddFavoritePlayerRequestBody = {
|
|
16
|
-
favoritePlayerId,
|
|
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 +0,0 @@
|
|
|
1
|
-
# AddPaymentMethodSetupRequestBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**paymentMethodId** | **string** | ID Stripe du moyen de paiement à ajouter | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { AddPaymentMethodSetupRequestBody } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: AddPaymentMethodSetupRequestBody = {
|
|
16
|
-
paymentMethodId,
|
|
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,24 +0,0 @@
|
|
|
1
|
-
# AddPaymentMethodSetupResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**message** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**paymentMethods** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
-
**defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { AddPaymentMethodSetupResponse } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: AddPaymentMethodSetupResponse = {
|
|
18
|
-
message,
|
|
19
|
-
paymentMethods,
|
|
20
|
-
defaultPaymentMethodId,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# BlockSlotResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**message** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**slot** | [**Slot**](Slot.md) | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { BlockSlotResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: BlockSlotResponse = {
|
|
17
|
-
message,
|
|
18
|
-
slot,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# BookingHistoryResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**bookingId** | **string** | ID de la réservation | [optional] [default to undefined]
|
|
9
|
-
**history** | [**Array<BookingHistoryResponseHistoryInner>**](BookingHistoryResponseHistoryInner.md) | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { BookingHistoryResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: BookingHistoryResponse = {
|
|
17
|
-
bookingId,
|
|
18
|
-
history,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# BookingHistoryResponseHistoryInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**slotId** | **string** | ID du créneau réservé | [optional] [default to undefined]
|
|
9
|
-
**userId** | **string** | ID de l\'utilisateur qui a effectué la réservation | [optional] [default to undefined]
|
|
10
|
-
**status** | **string** | Statut de la réservation (active, cancelled, completed) | [optional] [default to undefined]
|
|
11
|
-
**totalPrice** | **number** | Prix total de la réservation | [optional] [default to undefined]
|
|
12
|
-
**paymentStatus** | **string** | Statut du paiement (paid, pending, cancelled) | [optional] [default to undefined]
|
|
13
|
-
**createdAt** | **string** | Date et heure de la création de la réservation | [optional] [default to undefined]
|
|
14
|
-
**updatedAt** | **string** | Date et heure de la dernière mise à jour de la réservation | [optional] [default to undefined]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import { BookingHistoryResponseHistoryInner } from '@tennac-booking/sdk';
|
|
20
|
-
|
|
21
|
-
const instance: BookingHistoryResponseHistoryInner = {
|
|
22
|
-
slotId,
|
|
23
|
-
userId,
|
|
24
|
-
status,
|
|
25
|
-
totalPrice,
|
|
26
|
-
paymentStatus,
|
|
27
|
-
createdAt,
|
|
28
|
-
updatedAt,
|
|
29
|
-
};
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# BookingPaymentStatusResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**booking** | [**BookingPaymentStatusResponseBooking**](BookingPaymentStatusResponseBooking.md) | | [optional] [default to undefined]
|
|
9
|
-
**paymentStatus** | [**Array<BookingPaymentStatusResponsePaymentStatusInner>**](BookingPaymentStatusResponsePaymentStatusInner.md) | | [optional] [default to undefined]
|
|
10
|
-
**summary** | [**BookingPaymentStatusResponseSummary**](BookingPaymentStatusResponseSummary.md) | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { BookingPaymentStatusResponse } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: BookingPaymentStatusResponse = {
|
|
18
|
-
booking,
|
|
19
|
-
paymentStatus,
|
|
20
|
-
summary,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# BookingPaymentStatusResponseBooking
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**status** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
|
|
11
|
-
**totalPrice** | **number** | | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { BookingPaymentStatusResponseBooking } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: BookingPaymentStatusResponseBooking = {
|
|
19
|
-
id,
|
|
20
|
-
status,
|
|
21
|
-
isCreatorPayingAll,
|
|
22
|
-
totalPrice,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# BookingPaymentStatusResponsePaymentStatusInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**playerId** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**playerName** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**playerEmail** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**amount** | **number** | | [optional] [default to undefined]
|
|
12
|
-
**paymentMethod** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**status** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**accepted** | **boolean** | | [optional] [default to undefined]
|
|
15
|
-
**hasPaid** | **boolean** | | [optional] [default to undefined]
|
|
16
|
-
**needsCheckIn** | **boolean** | Indique si le joueur a besoin d\'être enregistré (paiement sur place en attente) | [optional] [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { BookingPaymentStatusResponsePaymentStatusInner } from '@tennac-booking/sdk';
|
|
22
|
-
|
|
23
|
-
const instance: BookingPaymentStatusResponsePaymentStatusInner = {
|
|
24
|
-
playerId,
|
|
25
|
-
playerName,
|
|
26
|
-
playerEmail,
|
|
27
|
-
amount,
|
|
28
|
-
paymentMethod,
|
|
29
|
-
status,
|
|
30
|
-
accepted,
|
|
31
|
-
hasPaid,
|
|
32
|
-
needsCheckIn,
|
|
33
|
-
};
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# BookingPaymentStatusResponseSummary
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**totalPlayers** | **number** | | [optional] [default to undefined]
|
|
9
|
-
**playersWhoHavePaid** | **number** | | [optional] [default to undefined]
|
|
10
|
-
**playersNeedingCheckIn** | **number** | | [optional] [default to undefined]
|
|
11
|
-
**totalAmount** | **number** | | [optional] [default to undefined]
|
|
12
|
-
**paidAmount** | **number** | | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { BookingPaymentStatusResponseSummary } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: BookingPaymentStatusResponseSummary = {
|
|
20
|
-
totalPlayers,
|
|
21
|
-
playersWhoHavePaid,
|
|
22
|
-
playersNeedingCheckIn,
|
|
23
|
-
totalAmount,
|
|
24
|
-
paidAmount,
|
|
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)
|
package/docs/BookingPopulated.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# BookingPopulated
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**status** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**userId** | [**BookingPopulatedUserId**](BookingPopulatedUserId.md) | | [optional] [default to undefined]
|
|
11
|
-
**slotId** | [**BookingPopulatedSlotId**](BookingPopulatedSlotId.md) | | [optional] [default to undefined]
|
|
12
|
-
**paymentByPlayersStatus** | [**Array<BookingPopulatedPaymentByPlayersStatusInner>**](BookingPopulatedPaymentByPlayersStatusInner.md) | | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { BookingPopulated } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: BookingPopulated = {
|
|
20
|
-
id,
|
|
21
|
-
status,
|
|
22
|
-
userId,
|
|
23
|
-
slotId,
|
|
24
|
-
paymentByPlayersStatus,
|
|
25
|
-
};
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# BookingPopulatedPaymentByPlayersStatusInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**user** | [**BookingPopulatedUserId**](BookingPopulatedUserId.md) | | [optional] [default to undefined]
|
|
9
|
-
**invoices** | [**Array<BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner>**](BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md) | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { BookingPopulatedPaymentByPlayersStatusInner } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: BookingPopulatedPaymentByPlayersStatusInner = {
|
|
17
|
-
user,
|
|
18
|
-
invoices,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**amount** | **number** | | [optional] [default to undefined]
|
|
10
|
-
**status** | **string** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner = {
|
|
18
|
-
id,
|
|
19
|
-
amount,
|
|
20
|
-
status,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# BookingPopulatedSlotId
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**startDate** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**endDate** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**courtId** | [**BookingPopulatedSlotIdCourtId**](BookingPopulatedSlotIdCourtId.md) | | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { BookingPopulatedSlotId } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: BookingPopulatedSlotId = {
|
|
19
|
-
id,
|
|
20
|
-
startDate,
|
|
21
|
-
endDate,
|
|
22
|
-
courtId,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# BookingPopulatedSlotIdCourtId
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { BookingPopulatedSlotIdCourtId } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: BookingPopulatedSlotIdCourtId = {
|
|
17
|
-
id,
|
|
18
|
-
name,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# BookingPopulatedUserId
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**firstName** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { BookingPopulatedUserId } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: BookingPopulatedUserId = {
|
|
18
|
-
id,
|
|
19
|
-
firstName,
|
|
20
|
-
lastName,
|
|
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)
|
package/docs/BookingResponse.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# BookingResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**booking** | [**Booking**](Booking.md) | | [optional] [default to undefined]
|
|
9
|
-
**invoiceUrl** | **string** | URL de la facture (pour paiement en ligne) | [optional] [default to undefined]
|
|
10
|
-
**paymentLinks** | **object** | Liens de paiement par joueur (pour paiement divisé) | [optional] [default to undefined]
|
|
11
|
-
**onsitePayments** | **Array<object>** | Paiements sur place requis | [optional] [default to undefined]
|
|
12
|
-
**message** | **string** | Message de confirmation | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { BookingResponse } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: BookingResponse = {
|
|
20
|
-
booking,
|
|
21
|
-
invoiceUrl,
|
|
22
|
-
paymentLinks,
|
|
23
|
-
onsitePayments,
|
|
24
|
-
message,
|
|
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)
|
package/docs/BookingsApi.md
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
# BookingsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://api.mon-domaine.com*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**bookingsStaffDailyDateGet**](#bookingsstaffdailydateget) | **GET** /bookings/staff/daily/{date} | Récupérer les réservations journalières|
|
|
8
|
-
|[**bookingsStaffWeeklyWeekIdGet**](#bookingsstaffweeklyweekidget) | **GET** /bookings/staff/weekly/{weekId} | Récupérer les réservations hebdomadaires|
|
|
9
|
-
|
|
10
|
-
# **bookingsStaffDailyDateGet**
|
|
11
|
-
> BookingsStaffWeeklyWeekIdGet200Response bookingsStaffDailyDateGet()
|
|
12
|
-
|
|
13
|
-
Retourne une liste de réservations pour une date donnée, avec les joueurs et terrains (incluant le sport) peuplés.
|
|
14
|
-
|
|
15
|
-
### Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import {
|
|
19
|
-
BookingsApi,
|
|
20
|
-
Configuration
|
|
21
|
-
} from '@tennac-booking/sdk';
|
|
22
|
-
|
|
23
|
-
const configuration = new Configuration();
|
|
24
|
-
const apiInstance = new BookingsApi(configuration);
|
|
25
|
-
|
|
26
|
-
let date: string; //Date au format YYYY-MM-DD (default to undefined)
|
|
27
|
-
|
|
28
|
-
const { status, data } = await apiInstance.bookingsStaffDailyDateGet(
|
|
29
|
-
date
|
|
30
|
-
);
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Parameters
|
|
34
|
-
|
|
35
|
-
|Name | Type | Description | Notes|
|
|
36
|
-
|------------- | ------------- | ------------- | -------------|
|
|
37
|
-
| **date** | [**string**] | Date au format YYYY-MM-DD | defaults to undefined|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
### Return type
|
|
41
|
-
|
|
42
|
-
**BookingsStaffWeeklyWeekIdGet200Response**
|
|
43
|
-
|
|
44
|
-
### Authorization
|
|
45
|
-
|
|
46
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
47
|
-
|
|
48
|
-
### HTTP request headers
|
|
49
|
-
|
|
50
|
-
- **Content-Type**: Not defined
|
|
51
|
-
- **Accept**: application/json
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
### HTTP response details
|
|
55
|
-
| Status code | Description | Response headers |
|
|
56
|
-
|-------------|-------------|------------------|
|
|
57
|
-
|**200** | Réservations journalières récupérées avec succès | - |
|
|
58
|
-
|**500** | Erreur serveur interne | - |
|
|
59
|
-
|
|
60
|
-
[[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)
|
|
61
|
-
|
|
62
|
-
# **bookingsStaffWeeklyWeekIdGet**
|
|
63
|
-
> BookingsStaffWeeklyWeekIdGet200Response bookingsStaffWeeklyWeekIdGet()
|
|
64
|
-
|
|
65
|
-
Retourne une liste de réservations pour une semaine donnée, avec les joueurs et terrains (incluant le sport) peuplés.
|
|
66
|
-
|
|
67
|
-
### Example
|
|
68
|
-
|
|
69
|
-
```typescript
|
|
70
|
-
import {
|
|
71
|
-
BookingsApi,
|
|
72
|
-
Configuration
|
|
73
|
-
} from '@tennac-booking/sdk';
|
|
74
|
-
|
|
75
|
-
const configuration = new Configuration();
|
|
76
|
-
const apiInstance = new BookingsApi(configuration);
|
|
77
|
-
|
|
78
|
-
let weekId: string; //ID de la semaine (default to undefined)
|
|
79
|
-
|
|
80
|
-
const { status, data } = await apiInstance.bookingsStaffWeeklyWeekIdGet(
|
|
81
|
-
weekId
|
|
82
|
-
);
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### Parameters
|
|
86
|
-
|
|
87
|
-
|Name | Type | Description | Notes|
|
|
88
|
-
|------------- | ------------- | ------------- | -------------|
|
|
89
|
-
| **weekId** | [**string**] | ID de la semaine | defaults to undefined|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### Return type
|
|
93
|
-
|
|
94
|
-
**BookingsStaffWeeklyWeekIdGet200Response**
|
|
95
|
-
|
|
96
|
-
### Authorization
|
|
97
|
-
|
|
98
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
99
|
-
|
|
100
|
-
### HTTP request headers
|
|
101
|
-
|
|
102
|
-
- **Content-Type**: Not defined
|
|
103
|
-
- **Accept**: application/json
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
### HTTP response details
|
|
107
|
-
| Status code | Description | Response headers |
|
|
108
|
-
|-------------|-------------|------------------|
|
|
109
|
-
|**200** | Réservations hebdomadaires récupérées avec succès | - |
|
|
110
|
-
|**500** | Erreur serveur interne | - |
|
|
111
|
-
|
|
112
|
-
[[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)
|
|
113
|
-
|