@tennac-booking/sdk 1.0.116 → 1.0.117
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 +3 -0
- package/README.md +5 -2
- package/api.ts +211 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +173 -1
- package/dist/api.js +68 -1
- 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 +173 -1
- package/dist/esm/api.js +68 -1
- 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/{DeleteClubRole200Response.md → CheckTeamNameAvailability200Response.md} +5 -5
- package/docs/EstimateEventPrice200Response.md +6 -0
- package/docs/EstimateEventPriceRequest.md +4 -0
- package/docs/EventsApi.md +57 -0
- package/docs/JoinEventRequest.md +2 -0
- package/docs/JoinEventResponse.md +14 -0
- package/docs/JoinEventResponseOnsitePaymentsInner.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ActiveClub.md +0 -24
- package/docs/ActiveClubListResponse.md +0 -20
- 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/AdminClubAnalyticsApi.md +0 -249
- package/docs/AdminClubSlotsApi.md +0 -182
- package/docs/AdminClubSubscriptionsApi.md +0 -394
- package/docs/AdminClubsApi.md +0 -170
- package/docs/ApiErrorResponse.md +0 -22
- package/docs/BlockSlotResponse.md +0 -22
- package/docs/Booking.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 -22
- package/docs/BookingPopulatedUserId.md +0 -24
- package/docs/CancelBookingResponseBooking.md +0 -30
- package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
- package/docs/Club.md +0 -46
- package/docs/ClubInfoResponse.md +0 -48
- package/docs/ClubListResponse.md +0 -22
- package/docs/ClubMember.md +0 -34
- package/docs/ClubMembersResponse.md +0 -22
- package/docs/ClubRole.md +0 -30
- package/docs/ClubRolesResponse.md +0 -22
- package/docs/ClubSettings.md +0 -40
- package/docs/ClubsResponse.md +0 -22
- package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
- package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
- package/docs/Court.md +0 -32
- package/docs/CourtsResponse.md +0 -22
- package/docs/CreateClubRoleRequestBody.md +0 -24
- package/docs/CreateClubSettingsRequest.md +0 -28
- package/docs/CreatePriceRequest.md +0 -26
- package/docs/DeleteClub200Response.md +0 -20
- package/docs/DeleteClubSettingsRequest.md +0 -20
- package/docs/DeleteEvent200Response.md +0 -20
- package/docs/DeleteSlotsByClubInRange200Response.md +0 -20
- package/docs/DeleteSlotsResponse.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/FavoriteClubItem.md +0 -26
- package/docs/FavoriteClubResponse.md +0 -22
- package/docs/FavoritePlayerPublic.md +0 -28
- package/docs/FavoritePlayersIdsResponse.md +0 -22
- package/docs/FrequentlyPlayedWithItem.md +0 -28
- package/docs/FrequentlyVisitedClubItem.md +0 -24
- package/docs/GenerateSlotsResponse.md +0 -20
- 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/GetNumberOfClubUsers200Response.md +0 -20
- package/docs/GetPublishedEventsByClubId200Response.md +0 -20
- 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/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/ManagerBookingsApi.md +0 -125
- package/docs/ManagerCancelBookingResponseBooking.md +0 -30
- package/docs/ManagerClubCourtsApi.md +0 -108
- 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 -174
- package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
- package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
- package/docs/PriceResponse.md +0 -32
- 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/PublicClubUserLevelBySportsInner.md +0 -22
- package/docs/RegisterForEvent201Response.md +0 -20
- package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
- package/docs/SetupPaymentMethodRequestBody.md +0 -20
- package/docs/SetupPaymentMethodResponse.md +0 -24
- package/docs/Slot.md +0 -24
- package/docs/SlotException.md +0 -26
- package/docs/SlotResponse.md +0 -34
- package/docs/SlotsResponse.md +0 -22
- package/docs/Sport.md +0 -24
- package/docs/SportsResponse.md +0 -22
- package/docs/StaffClubAnalyticsApi.md +0 -104
- package/docs/StaffClubBookingsApi.md +0 -52
- package/docs/StaffClubsApi.md +0 -100
- package/docs/StaffEventResponse.md +0 -20
- package/docs/StaffEventsApi.md +0 -54
- package/docs/StaffProfileApi.md +0 -54
- package/docs/StripeStatus.md +0 -16
- 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/UpdateClubSettingsRequest.md +0 -28
- package/docs/UpdateCustomerRequestBodyAddress.md +0 -30
- package/docs/UpdateCustomerResponseCustomer.md +0 -28
- package/docs/UpdateProfilePictureRequestBody.md +0 -20
- package/docs/UpdateProfileVisibilityRequestBody.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/User.md +0 -40
- package/docs/UserAuthenticationApi.md +0 -226
- package/docs/UserBookingsApi.md +0 -120
- 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 -1201
- package/docs/UserResponse.md +0 -38
- package/docs/UserSubscriptionsApi.md +0 -222
- package/docs/UsersResponse.md +0 -22
- package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
package/docs/AdminClubsApi.md
DELETED
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
# AdminClubsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://api.mon-domaine.com*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**deleteClub**](#deleteclub) | **DELETE** /api/clubs/{id} | Supprimer un club (Admin uniquement)|
|
|
8
|
-
|[**getClubInfosAdmin**](#getclubinfosadmin) | **GET** /api/clubs/{id}/infos | Obtenir les infos d\'un club (Admin)|
|
|
9
|
-
|[**updateClubInfosAdmin**](#updateclubinfosadmin) | **PUT** /api/clubs/{id}/infos | Mettre à jour les infos d\'un club (Admin)|
|
|
10
|
-
|
|
11
|
-
# **deleteClub**
|
|
12
|
-
> DeleteClub200Response deleteClub()
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
### Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import {
|
|
19
|
-
AdminClubsApi,
|
|
20
|
-
Configuration
|
|
21
|
-
} from '@tennac-booking/sdk';
|
|
22
|
-
|
|
23
|
-
const configuration = new Configuration();
|
|
24
|
-
const apiInstance = new AdminClubsApi(configuration);
|
|
25
|
-
|
|
26
|
-
let id: string; //ID du club (default to undefined)
|
|
27
|
-
|
|
28
|
-
const { status, data } = await apiInstance.deleteClub(
|
|
29
|
-
id
|
|
30
|
-
);
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Parameters
|
|
34
|
-
|
|
35
|
-
|Name | Type | Description | Notes|
|
|
36
|
-
|------------- | ------------- | ------------- | -------------|
|
|
37
|
-
| **id** | [**string**] | ID du club | defaults to undefined|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
### Return type
|
|
41
|
-
|
|
42
|
-
**DeleteClub200Response**
|
|
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** | Club supprimé avec succès | - |
|
|
58
|
-
|**401** | Non autorisé | - |
|
|
59
|
-
|**404** | Ressource non trouvée | - |
|
|
60
|
-
|**500** | Erreur serveur interne | - |
|
|
61
|
-
|
|
62
|
-
[[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)
|
|
63
|
-
|
|
64
|
-
# **getClubInfosAdmin**
|
|
65
|
-
> object getClubInfosAdmin()
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
### Example
|
|
69
|
-
|
|
70
|
-
```typescript
|
|
71
|
-
import {
|
|
72
|
-
AdminClubsApi,
|
|
73
|
-
Configuration
|
|
74
|
-
} from '@tennac-booking/sdk';
|
|
75
|
-
|
|
76
|
-
const configuration = new Configuration();
|
|
77
|
-
const apiInstance = new AdminClubsApi(configuration);
|
|
78
|
-
|
|
79
|
-
let id: string; // (default to undefined)
|
|
80
|
-
|
|
81
|
-
const { status, data } = await apiInstance.getClubInfosAdmin(
|
|
82
|
-
id
|
|
83
|
-
);
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### Parameters
|
|
87
|
-
|
|
88
|
-
|Name | Type | Description | Notes|
|
|
89
|
-
|------------- | ------------- | ------------- | -------------|
|
|
90
|
-
| **id** | [**string**] | | defaults to undefined|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
### Return type
|
|
94
|
-
|
|
95
|
-
**object**
|
|
96
|
-
|
|
97
|
-
### Authorization
|
|
98
|
-
|
|
99
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
100
|
-
|
|
101
|
-
### HTTP request headers
|
|
102
|
-
|
|
103
|
-
- **Content-Type**: Not defined
|
|
104
|
-
- **Accept**: application/json
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
### HTTP response details
|
|
108
|
-
| Status code | Description | Response headers |
|
|
109
|
-
|-------------|-------------|------------------|
|
|
110
|
-
|**200** | Infos du club | - |
|
|
111
|
-
|**401** | Non autorisé | - |
|
|
112
|
-
|**500** | Erreur serveur interne | - |
|
|
113
|
-
|
|
114
|
-
[[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)
|
|
115
|
-
|
|
116
|
-
# **updateClubInfosAdmin**
|
|
117
|
-
> object updateClubInfosAdmin(body)
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
### Example
|
|
121
|
-
|
|
122
|
-
```typescript
|
|
123
|
-
import {
|
|
124
|
-
AdminClubsApi,
|
|
125
|
-
Configuration
|
|
126
|
-
} from '@tennac-booking/sdk';
|
|
127
|
-
|
|
128
|
-
const configuration = new Configuration();
|
|
129
|
-
const apiInstance = new AdminClubsApi(configuration);
|
|
130
|
-
|
|
131
|
-
let id: string; // (default to undefined)
|
|
132
|
-
let body: object; //
|
|
133
|
-
|
|
134
|
-
const { status, data } = await apiInstance.updateClubInfosAdmin(
|
|
135
|
-
id,
|
|
136
|
-
body
|
|
137
|
-
);
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### Parameters
|
|
141
|
-
|
|
142
|
-
|Name | Type | Description | Notes|
|
|
143
|
-
|------------- | ------------- | ------------- | -------------|
|
|
144
|
-
| **body** | **object**| | |
|
|
145
|
-
| **id** | [**string**] | | defaults to undefined|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
### Return type
|
|
149
|
-
|
|
150
|
-
**object**
|
|
151
|
-
|
|
152
|
-
### Authorization
|
|
153
|
-
|
|
154
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
155
|
-
|
|
156
|
-
### HTTP request headers
|
|
157
|
-
|
|
158
|
-
- **Content-Type**: application/json
|
|
159
|
-
- **Accept**: application/json
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
### HTTP response details
|
|
163
|
-
| Status code | Description | Response headers |
|
|
164
|
-
|-------------|-------------|------------------|
|
|
165
|
-
|**200** | Infos mises à jour | - |
|
|
166
|
-
|**401** | Non autorisé | - |
|
|
167
|
-
|**500** | Erreur serveur interne | - |
|
|
168
|
-
|
|
169
|
-
[[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)
|
|
170
|
-
|
package/docs/ApiErrorResponse.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# ApiErrorResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**message** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**error** | **string** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ApiErrorResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: ApiErrorResponse = {
|
|
17
|
-
message,
|
|
18
|
-
error,
|
|
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
|
-
# 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)
|
package/docs/Booking.md
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Booking
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**userId** | **string** | | [default to undefined]
|
|
9
|
-
**playersIds** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
-
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
|
|
11
|
-
**stripeStatus** | [**StripeStatus**](StripeStatus.md) | | [default to undefined]
|
|
12
|
-
**stripePaymentIntentId** | **string** | | [default to undefined]
|
|
13
|
-
**totalPrice** | **number** | | [default to undefined]
|
|
14
|
-
**slotId** | **string** | | [default to undefined]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import { Booking } from '@tennac-booking/sdk';
|
|
20
|
-
|
|
21
|
-
const instance: Booking = {
|
|
22
|
-
userId,
|
|
23
|
-
playersIds,
|
|
24
|
-
status,
|
|
25
|
-
stripeStatus,
|
|
26
|
-
stripePaymentIntentId,
|
|
27
|
-
totalPrice,
|
|
28
|
-
slotId,
|
|
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,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,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)
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# CancelBookingResponseBooking
|
|
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
|
-
**cancelledAt** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**cancelledBy** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**cancelledByManager** | **boolean** | | [optional] [default to undefined]
|
|
13
|
-
**cancellationReason** | **string** | | [optional] [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { CancelBookingResponseBooking } from '@tennac-booking/sdk';
|
|
19
|
-
|
|
20
|
-
const instance: CancelBookingResponseBooking = {
|
|
21
|
-
id,
|
|
22
|
-
status,
|
|
23
|
-
cancelledAt,
|
|
24
|
-
cancelledBy,
|
|
25
|
-
cancelledByManager,
|
|
26
|
-
cancellationReason,
|
|
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)
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# CheckInPlayersResponseCheckedInPlayersInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**playerId** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**invoiceId** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**amount** | **number** | | [optional] [default to undefined]
|
|
11
|
-
**previousStatus** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**newStatus** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**status** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**paymentMethod** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**note** | **string** | | [optional] [default to undefined]
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { CheckInPlayersResponseCheckedInPlayersInner } from '@tennac-booking/sdk';
|
|
21
|
-
|
|
22
|
-
const instance: CheckInPlayersResponseCheckedInPlayersInner = {
|
|
23
|
-
playerId,
|
|
24
|
-
invoiceId,
|
|
25
|
-
amount,
|
|
26
|
-
previousStatus,
|
|
27
|
-
newStatus,
|
|
28
|
-
status,
|
|
29
|
-
paymentMethod,
|
|
30
|
-
note,
|
|
31
|
-
};
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
[[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/Club.md
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# Club
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**name** | **string** | | [default to undefined]
|
|
10
|
-
**address** | **string** | | [default to undefined]
|
|
11
|
-
**city** | **string** | | [default to undefined]
|
|
12
|
-
**zipCode** | **string** | | [default to undefined]
|
|
13
|
-
**country** | **string** | | [default to undefined]
|
|
14
|
-
**phone** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**email** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**website** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**logo** | **string** | | [optional] [default to undefined]
|
|
19
|
-
**isActive** | **boolean** | | [optional] [default to true]
|
|
20
|
-
**createdAt** | **string** | | [optional] [default to undefined]
|
|
21
|
-
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
22
|
-
|
|
23
|
-
## Example
|
|
24
|
-
|
|
25
|
-
```typescript
|
|
26
|
-
import { Club } from '@tennac-booking/sdk';
|
|
27
|
-
|
|
28
|
-
const instance: Club = {
|
|
29
|
-
id,
|
|
30
|
-
name,
|
|
31
|
-
address,
|
|
32
|
-
city,
|
|
33
|
-
zipCode,
|
|
34
|
-
country,
|
|
35
|
-
phone,
|
|
36
|
-
email,
|
|
37
|
-
website,
|
|
38
|
-
description,
|
|
39
|
-
logo,
|
|
40
|
-
isActive,
|
|
41
|
-
createdAt,
|
|
42
|
-
updatedAt,
|
|
43
|
-
};
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
[[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/ClubInfoResponse.md
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# ClubInfoResponse
|
|
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
|
-
**address** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**city** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**zipCode** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**country** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**phone** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**email** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**website** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**rib** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
19
|
-
**logo** | **string** | | [optional] [default to undefined]
|
|
20
|
-
**isActive** | **boolean** | | [optional] [default to undefined]
|
|
21
|
-
**createdAt** | **string** | | [optional] [default to undefined]
|
|
22
|
-
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
23
|
-
|
|
24
|
-
## Example
|
|
25
|
-
|
|
26
|
-
```typescript
|
|
27
|
-
import { ClubInfoResponse } from '@tennac-booking/sdk';
|
|
28
|
-
|
|
29
|
-
const instance: ClubInfoResponse = {
|
|
30
|
-
id,
|
|
31
|
-
name,
|
|
32
|
-
address,
|
|
33
|
-
city,
|
|
34
|
-
zipCode,
|
|
35
|
-
country,
|
|
36
|
-
phone,
|
|
37
|
-
email,
|
|
38
|
-
website,
|
|
39
|
-
rib,
|
|
40
|
-
description,
|
|
41
|
-
logo,
|
|
42
|
-
isActive,
|
|
43
|
-
createdAt,
|
|
44
|
-
updatedAt,
|
|
45
|
-
};
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
[[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/ClubListResponse.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# ClubListResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubs** | [**Array<Club>**](Club.md) | | [optional] [default to undefined]
|
|
9
|
-
**total** | **number** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ClubListResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: ClubListResponse = {
|
|
17
|
-
clubs,
|
|
18
|
-
total,
|
|
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/ClubMember.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# ClubMember
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**userId** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**clubId** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**roleId** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**joinedAt** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**isActive** | **boolean** | | [optional] [default to undefined]
|
|
14
|
-
**user** | [**UserResponse**](UserResponse.md) | | [optional] [default to undefined]
|
|
15
|
-
**role** | [**ClubRoleResponse**](ClubRoleResponse.md) | | [optional] [default to undefined]
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { ClubMember } from '@tennac-booking/sdk';
|
|
21
|
-
|
|
22
|
-
const instance: ClubMember = {
|
|
23
|
-
id,
|
|
24
|
-
userId,
|
|
25
|
-
clubId,
|
|
26
|
-
roleId,
|
|
27
|
-
joinedAt,
|
|
28
|
-
isActive,
|
|
29
|
-
user,
|
|
30
|
-
role,
|
|
31
|
-
};
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
[[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
|
-
# ClubMembersResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**members** | [**Array<ClubMember>**](ClubMember.md) | | [optional] [default to undefined]
|
|
9
|
-
**total** | **number** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ClubMembersResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: ClubMembersResponse = {
|
|
17
|
-
members,
|
|
18
|
-
total,
|
|
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/ClubRole.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# ClubRole
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | Identifiant unique du rôle dans le club | [default to undefined]
|
|
9
|
-
**name** | **string** | Nom du rôle (ex: joueur, coach, admin) | [default to undefined]
|
|
10
|
-
**description** | **string** | Description textuelle du rôle | [default to undefined]
|
|
11
|
-
**permissions** | **Array<string>** | Liste des permissions associées à ce rôle | [optional] [default to undefined]
|
|
12
|
-
**createdAt** | **string** | Date de création du rôle | [default to undefined]
|
|
13
|
-
**updatedAt** | **string** | Date de dernière mise à jour du rôle | [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { ClubRole } from '@tennac-booking/sdk';
|
|
19
|
-
|
|
20
|
-
const instance: ClubRole = {
|
|
21
|
-
id,
|
|
22
|
-
name,
|
|
23
|
-
description,
|
|
24
|
-
permissions,
|
|
25
|
-
createdAt,
|
|
26
|
-
updatedAt,
|
|
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)
|