@tennac-booking/sdk 1.0.74 → 1.0.76
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 +245 -234
- package/README.md +24 -7
- package/api.ts +1240 -461
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1016 -400
- package/dist/api.js +395 -161
- 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 +1016 -400
- package/dist/esm/api.js +394 -156
- 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/{BookingPriceBody.md → AddPaymentMethodRequestBody.md} +5 -7
- package/docs/BookingInfo.md +2 -2
- package/docs/BookingPopulated.md +0 -2
- package/docs/BookingsApi.md +0 -52
- package/docs/ClubAnalyticsStaffApi.md +167 -0
- package/docs/ClubPlayerBookingItem.md +36 -0
- package/docs/ClubPlayerBookingsResponse.md +22 -0
- package/docs/ClubPlayerDetailResponse.md +46 -0
- package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponse.md +42 -0
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
- package/docs/ClubPlayerSubscriptionSummary.md +28 -0
- package/docs/ClubResponse.md +0 -8
- package/docs/ClubSettingsResponse.md +2 -0
- package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
- package/docs/ConfirmPaymentMethodResponse.md +22 -0
- package/docs/CreateBookingRequest.md +2 -2
- package/docs/CreateEventRequest.md +2 -0
- package/docs/IUserAttributes.md +12 -2
- package/docs/PartialClubResponse.md +0 -8
- package/docs/PaymentMethodSetupResponse.md +24 -0
- package/docs/SetupPaymentMethodRequestBody.md +20 -0
- package/docs/SetupPaymentMethodResponse.md +24 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/StaffUserProfileResponse.md +12 -2
- package/docs/SubscribeRequestBody.md +0 -2
- package/docs/UserProfileResponse.md +12 -4
- package/docs/UsersApi.md +156 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/PlayerPrice.md +0 -30
- package/docs/SportsPublicApi.md +0 -53
- package/docs/SubscriptionInfo.md +0 -24
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# AddPaymentMethodRequestBody
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**players** | **Array<string>** | | [default to undefined]
|
|
8
|
+
**paymentMethodId** | **string** | | [default to undefined]
|
|
10
9
|
|
|
11
10
|
## Example
|
|
12
11
|
|
|
13
12
|
```typescript
|
|
14
|
-
import {
|
|
13
|
+
import { AddPaymentMethodRequestBody } from '@tennac-booking/sdk';
|
|
15
14
|
|
|
16
|
-
const instance:
|
|
17
|
-
|
|
18
|
-
players,
|
|
15
|
+
const instance: AddPaymentMethodRequestBody = {
|
|
16
|
+
paymentMethodId,
|
|
19
17
|
};
|
|
20
18
|
```
|
|
21
19
|
|
package/docs/BookingInfo.md
CHANGED
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**playersIds** | **Array<string>** | Liste des IDs des joueurs | [default to undefined]
|
|
12
12
|
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
|
|
13
13
|
**totalPrice** | **number** | Prix total en euros | [default to undefined]
|
|
14
|
-
**
|
|
14
|
+
**slotId** | **string** | ID du créneau | [default to undefined]
|
|
15
15
|
**isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined]
|
|
16
16
|
**createdAt** | **string** | Date de création | [default to undefined]
|
|
17
17
|
**updatedAt** | **string** | Date de mise à jour | [default to undefined]
|
|
@@ -34,7 +34,7 @@ const instance: BookingInfo = {
|
|
|
34
34
|
playersIds,
|
|
35
35
|
status,
|
|
36
36
|
totalPrice,
|
|
37
|
-
|
|
37
|
+
slotId,
|
|
38
38
|
isCreatorPayingAll,
|
|
39
39
|
createdAt,
|
|
40
40
|
updatedAt,
|
package/docs/BookingPopulated.md
CHANGED
|
@@ -14,7 +14,6 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**noShowChargeAmount** | **number** | | [optional] [default to undefined]
|
|
15
15
|
**totalPrice** | **number** | | [default to undefined]
|
|
16
16
|
**isCreatorPayingAll** | **boolean** | | [default to undefined]
|
|
17
|
-
**playersIds** | **Array<string>** | | [default to undefined]
|
|
18
17
|
**history** | [**Array<BookingHistoryPopulated>**](BookingHistoryPopulated.md) | | [default to undefined]
|
|
19
18
|
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
|
|
20
19
|
**cancelledByManager** | **boolean** | | [optional] [default to undefined]
|
|
@@ -36,7 +35,6 @@ const instance: BookingPopulated = {
|
|
|
36
35
|
noShowChargeAmount,
|
|
37
36
|
totalPrice,
|
|
38
37
|
isCreatorPayingAll,
|
|
39
|
-
playersIds,
|
|
40
38
|
history,
|
|
41
39
|
status,
|
|
42
40
|
cancelledByManager,
|
package/docs/BookingsApi.md
CHANGED
|
@@ -5,7 +5,6 @@ All URIs are relative to *http://localhost*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**getBookingHistory**](#getbookinghistory) | **GET** /api/bookings/history/{bookingId} | |
|
|
8
|
-
|[**getBookingPrice**](#getbookingprice) | **POST** /api/bookings/booking-price | |
|
|
9
8
|
|[**getQuickReservationSlots**](#getquickreservationslots) | **GET** /api/bookings/quick-reservations | |
|
|
10
9
|
|
|
11
10
|
# **getBookingHistory**
|
|
@@ -59,57 +58,6 @@ const { status, data } = await apiInstance.getBookingHistory(
|
|
|
59
58
|
|
|
60
59
|
[[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
60
|
|
|
62
|
-
# **getBookingPrice**
|
|
63
|
-
> Array<PlayerPrice> getBookingPrice(bookingPriceBody)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
### Example
|
|
67
|
-
|
|
68
|
-
```typescript
|
|
69
|
-
import {
|
|
70
|
-
BookingsApi,
|
|
71
|
-
Configuration,
|
|
72
|
-
BookingPriceBody
|
|
73
|
-
} from '@tennac-booking/sdk';
|
|
74
|
-
|
|
75
|
-
const configuration = new Configuration();
|
|
76
|
-
const apiInstance = new BookingsApi(configuration);
|
|
77
|
-
|
|
78
|
-
let bookingPriceBody: BookingPriceBody; //
|
|
79
|
-
|
|
80
|
-
const { status, data } = await apiInstance.getBookingPrice(
|
|
81
|
-
bookingPriceBody
|
|
82
|
-
);
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### Parameters
|
|
86
|
-
|
|
87
|
-
|Name | Type | Description | Notes|
|
|
88
|
-
|------------- | ------------- | ------------- | -------------|
|
|
89
|
-
| **bookingPriceBody** | **BookingPriceBody**| | |
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### Return type
|
|
93
|
-
|
|
94
|
-
**Array<PlayerPrice>**
|
|
95
|
-
|
|
96
|
-
### Authorization
|
|
97
|
-
|
|
98
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
99
|
-
|
|
100
|
-
### HTTP request headers
|
|
101
|
-
|
|
102
|
-
- **Content-Type**: application/json
|
|
103
|
-
- **Accept**: application/json
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
### HTTP response details
|
|
107
|
-
| Status code | Description | Response headers |
|
|
108
|
-
|-------------|-------------|------------------|
|
|
109
|
-
|**200** | Réservations journalières récupérées | - |
|
|
110
|
-
|
|
111
|
-
[[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)
|
|
112
|
-
|
|
113
61
|
# **getQuickReservationSlots**
|
|
114
62
|
> QuickReservationResponse getQuickReservationSlots()
|
|
115
63
|
|
|
@@ -5,6 +5,9 @@ All URIs are relative to *http://localhost*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**getAnalyticsBySport**](#getanalyticsbysport) | **GET** /api/club-analytics/sport/{sportId}/analytics | |
|
|
8
|
+
|[**getClubPlayerBookingsById**](#getclubplayerbookingsbyid) | **GET** /api/club-analytics/players/{playerId}/bookings | |
|
|
9
|
+
|[**getClubPlayerById**](#getclubplayerbyid) | **GET** /api/club-analytics/players/{playerId} | |
|
|
10
|
+
|[**getClubPlayerStatisticsById**](#getclubplayerstatisticsbyid) | **GET** /api/club-analytics/players/{playerId}/statistics | |
|
|
8
11
|
|[**getClubPlayers**](#getclubplayers) | **GET** /api/club-analytics/players | |
|
|
9
12
|
|[**getDailyTurnOver**](#getdailyturnover) | **GET** /api/club-analytics/daily-turnover | |
|
|
10
13
|
|[**getGenderPercentage**](#getgenderpercentage) | **GET** /api/club-analytics/gender-percentage | |
|
|
@@ -69,6 +72,170 @@ const { status, data } = await apiInstance.getAnalyticsBySport(
|
|
|
69
72
|
|
|
70
73
|
[[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)
|
|
71
74
|
|
|
75
|
+
# **getClubPlayerBookingsById**
|
|
76
|
+
> ClubPlayerBookingsResponse getClubPlayerBookingsById()
|
|
77
|
+
|
|
78
|
+
Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
79
|
+
|
|
80
|
+
### Example
|
|
81
|
+
|
|
82
|
+
```typescript
|
|
83
|
+
import {
|
|
84
|
+
ClubAnalyticsStaffApi,
|
|
85
|
+
Configuration
|
|
86
|
+
} from '@tennac-booking/sdk';
|
|
87
|
+
|
|
88
|
+
const configuration = new Configuration();
|
|
89
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
90
|
+
|
|
91
|
+
let playerId: string; // (default to undefined)
|
|
92
|
+
|
|
93
|
+
const { status, data } = await apiInstance.getClubPlayerBookingsById(
|
|
94
|
+
playerId
|
|
95
|
+
);
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Parameters
|
|
99
|
+
|
|
100
|
+
|Name | Type | Description | Notes|
|
|
101
|
+
|------------- | ------------- | ------------- | -------------|
|
|
102
|
+
| **playerId** | [**string**] | | defaults to undefined|
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### Return type
|
|
106
|
+
|
|
107
|
+
**ClubPlayerBookingsResponse**
|
|
108
|
+
|
|
109
|
+
### Authorization
|
|
110
|
+
|
|
111
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
112
|
+
|
|
113
|
+
### HTTP request headers
|
|
114
|
+
|
|
115
|
+
- **Content-Type**: Not defined
|
|
116
|
+
- **Accept**: application/json
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### HTTP response details
|
|
120
|
+
| Status code | Description | Response headers |
|
|
121
|
+
|-------------|-------------|------------------|
|
|
122
|
+
|**200** | Réservations du joueur | - |
|
|
123
|
+
|**400** | Bad Request | - |
|
|
124
|
+
|**401** | Unauthorized | - |
|
|
125
|
+
|**500** | Server Error | - |
|
|
126
|
+
|
|
127
|
+
[[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)
|
|
128
|
+
|
|
129
|
+
# **getClubPlayerById**
|
|
130
|
+
> ClubPlayerDetailResponse getClubPlayerById()
|
|
131
|
+
|
|
132
|
+
Récupère les informations détaillées d\'un joueur par son ID
|
|
133
|
+
|
|
134
|
+
### Example
|
|
135
|
+
|
|
136
|
+
```typescript
|
|
137
|
+
import {
|
|
138
|
+
ClubAnalyticsStaffApi,
|
|
139
|
+
Configuration
|
|
140
|
+
} from '@tennac-booking/sdk';
|
|
141
|
+
|
|
142
|
+
const configuration = new Configuration();
|
|
143
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
144
|
+
|
|
145
|
+
let playerId: string; // (default to undefined)
|
|
146
|
+
|
|
147
|
+
const { status, data } = await apiInstance.getClubPlayerById(
|
|
148
|
+
playerId
|
|
149
|
+
);
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Parameters
|
|
153
|
+
|
|
154
|
+
|Name | Type | Description | Notes|
|
|
155
|
+
|------------- | ------------- | ------------- | -------------|
|
|
156
|
+
| **playerId** | [**string**] | | defaults to undefined|
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### Return type
|
|
160
|
+
|
|
161
|
+
**ClubPlayerDetailResponse**
|
|
162
|
+
|
|
163
|
+
### Authorization
|
|
164
|
+
|
|
165
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
166
|
+
|
|
167
|
+
### HTTP request headers
|
|
168
|
+
|
|
169
|
+
- **Content-Type**: Not defined
|
|
170
|
+
- **Accept**: application/json
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### HTTP response details
|
|
174
|
+
| Status code | Description | Response headers |
|
|
175
|
+
|-------------|-------------|------------------|
|
|
176
|
+
|**200** | Informations du joueur | - |
|
|
177
|
+
|**400** | Bad Request | - |
|
|
178
|
+
|**401** | Unauthorized | - |
|
|
179
|
+
|**404** | Not Found | - |
|
|
180
|
+
|**500** | Server Error | - |
|
|
181
|
+
|
|
182
|
+
[[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)
|
|
183
|
+
|
|
184
|
+
# **getClubPlayerStatisticsById**
|
|
185
|
+
> ClubPlayerStatisticsResponse getClubPlayerStatisticsById()
|
|
186
|
+
|
|
187
|
+
Récupère les statistiques d\'un joueur pour le staff
|
|
188
|
+
|
|
189
|
+
### Example
|
|
190
|
+
|
|
191
|
+
```typescript
|
|
192
|
+
import {
|
|
193
|
+
ClubAnalyticsStaffApi,
|
|
194
|
+
Configuration
|
|
195
|
+
} from '@tennac-booking/sdk';
|
|
196
|
+
|
|
197
|
+
const configuration = new Configuration();
|
|
198
|
+
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
199
|
+
|
|
200
|
+
let playerId: string; // (default to undefined)
|
|
201
|
+
|
|
202
|
+
const { status, data } = await apiInstance.getClubPlayerStatisticsById(
|
|
203
|
+
playerId
|
|
204
|
+
);
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### Parameters
|
|
208
|
+
|
|
209
|
+
|Name | Type | Description | Notes|
|
|
210
|
+
|------------- | ------------- | ------------- | -------------|
|
|
211
|
+
| **playerId** | [**string**] | | defaults to undefined|
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
### Return type
|
|
215
|
+
|
|
216
|
+
**ClubPlayerStatisticsResponse**
|
|
217
|
+
|
|
218
|
+
### Authorization
|
|
219
|
+
|
|
220
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
221
|
+
|
|
222
|
+
### HTTP request headers
|
|
223
|
+
|
|
224
|
+
- **Content-Type**: Not defined
|
|
225
|
+
- **Accept**: application/json
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
### HTTP response details
|
|
229
|
+
| Status code | Description | Response headers |
|
|
230
|
+
|-------------|-------------|------------------|
|
|
231
|
+
|**200** | Statistiques du joueur | - |
|
|
232
|
+
|**400** | Bad Request | - |
|
|
233
|
+
|**401** | Unauthorized | - |
|
|
234
|
+
|**404** | Not Found | - |
|
|
235
|
+
|**500** | Server Error | - |
|
|
236
|
+
|
|
237
|
+
[[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)
|
|
238
|
+
|
|
72
239
|
# **getClubPlayers**
|
|
73
240
|
> Array<ClubPlayerResponse> getClubPlayers()
|
|
74
241
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# ClubPlayerBookingItem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID de la réservation | [default to undefined]
|
|
9
|
+
**startDate** | **string** | Date de début de la réservation | [default to undefined]
|
|
10
|
+
**endDate** | **string** | Date de fin de la réservation | [default to undefined]
|
|
11
|
+
**location** | **string** | Nom du terrain ou emplacement | [default to undefined]
|
|
12
|
+
**sport** | **string** | Nom du sport associé | [default to undefined]
|
|
13
|
+
**status** | **string** | Statut de la réservation | [default to undefined]
|
|
14
|
+
**totalPrice** | **number** | Prix total de la réservation en centimes | [default to undefined]
|
|
15
|
+
**isCreator** | **boolean** | Indique si le joueur est le créateur de la réservation | [default to undefined]
|
|
16
|
+
**participantsCount** | **number** | Nombre total de participants | [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { ClubPlayerBookingItem } from '@tennac-booking/sdk';
|
|
22
|
+
|
|
23
|
+
const instance: ClubPlayerBookingItem = {
|
|
24
|
+
id,
|
|
25
|
+
startDate,
|
|
26
|
+
endDate,
|
|
27
|
+
location,
|
|
28
|
+
sport,
|
|
29
|
+
status,
|
|
30
|
+
totalPrice,
|
|
31
|
+
isCreator,
|
|
32
|
+
participantsCount,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ClubPlayerBookingsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**upcomingBookings** | [**Array<ClubPlayerBookingItem>**](ClubPlayerBookingItem.md) | Réservations à venir | [default to undefined]
|
|
9
|
+
**pastBookings** | [**Array<ClubPlayerBookingItem>**](ClubPlayerBookingItem.md) | Réservations passées | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ClubPlayerBookingsResponse } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: ClubPlayerBookingsResponse = {
|
|
17
|
+
upcomingBookings,
|
|
18
|
+
pastBookings,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# ClubPlayerDetailResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID du joueur | [default to undefined]
|
|
9
|
+
**name** | **string** | Nom complet | [default to undefined]
|
|
10
|
+
**firstName** | **string** | Prénom | [default to undefined]
|
|
11
|
+
**lastName** | **string** | Nom | [default to undefined]
|
|
12
|
+
**email** | **string** | Email | [default to undefined]
|
|
13
|
+
**phoneNumber** | **string** | Numéro de téléphone | [default to undefined]
|
|
14
|
+
**profilePictureUrl** | **string** | URL de la photo de profil | [default to undefined]
|
|
15
|
+
**isAccountVerified** | **boolean** | Compte vérifié | [default to undefined]
|
|
16
|
+
**subscriptionsToMyClub** | [**Array<ClubPlayerSubscriptionSummary>**](ClubPlayerSubscriptionSummary.md) | Abonnements au club courant | [default to undefined]
|
|
17
|
+
**profileDescription** | **string** | Description du profil | [default to undefined]
|
|
18
|
+
**gender** | **string** | Genre | [default to undefined]
|
|
19
|
+
**city** | **string** | Ville | [default to undefined]
|
|
20
|
+
**sportsLevels** | [**Array<ClubPlayerDetailResponseSportsLevelsInner>**](ClubPlayerDetailResponseSportsLevelsInner.md) | Niveaux par sport | [default to undefined]
|
|
21
|
+
**birthDate** | **string** | Date de naissance | [default to undefined]
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import { ClubPlayerDetailResponse } from '@tennac-booking/sdk';
|
|
27
|
+
|
|
28
|
+
const instance: ClubPlayerDetailResponse = {
|
|
29
|
+
id,
|
|
30
|
+
name,
|
|
31
|
+
firstName,
|
|
32
|
+
lastName,
|
|
33
|
+
email,
|
|
34
|
+
phoneNumber,
|
|
35
|
+
profilePictureUrl,
|
|
36
|
+
isAccountVerified,
|
|
37
|
+
subscriptionsToMyClub,
|
|
38
|
+
profileDescription,
|
|
39
|
+
gender,
|
|
40
|
+
city,
|
|
41
|
+
sportsLevels,
|
|
42
|
+
birthDate,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ClubPlayerDetailResponseSportsLevelsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**level** | **string** | | [default to undefined]
|
|
9
|
+
**sport** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ClubPlayerDetailResponseSportsLevelsInner } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: ClubPlayerDetailResponseSportsLevelsInner = {
|
|
17
|
+
level,
|
|
18
|
+
sport,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# ClubPlayerStatisticsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**totalBookings** | **number** | Nombre total de réservations (tous clubs confondus) | [default to undefined]
|
|
9
|
+
**totalBookingsInMyClub** | **number** | Nombre total de réservations dans le club courant | [default to undefined]
|
|
10
|
+
**totalSpentAmount** | **number** | Somme totale dépensée dans le club courant (centimes) | [default to undefined]
|
|
11
|
+
**favoriteSport** | **string** | Sport le plus pratiqué dans le club courant | [default to undefined]
|
|
12
|
+
**averageBookingLeadTimeHours** | **number** | Temps moyen entre la réservation et le début du créneau (heures) | [default to undefined]
|
|
13
|
+
**bookingCancellationRate** | **number** | Taux d\'annulation dans le club courant (0-1) | [default to undefined]
|
|
14
|
+
**activeSubscriptionsToMyClub** | **number** | Nombre d\'abonnements actifs au club courant | [default to undefined]
|
|
15
|
+
**favoriteTimeSlot** | **string** | Heure de créneau favorite dans le club courant (format HH:00) | [default to undefined]
|
|
16
|
+
**favoriteClub** | [**ClubPlayerStatisticsResponseFavoriteClub**](ClubPlayerStatisticsResponseFavoriteClub.md) | | [default to undefined]
|
|
17
|
+
**mostPlayedClub** | [**ClubPlayerStatisticsResponseMostPlayedClub**](ClubPlayerStatisticsResponseMostPlayedClub.md) | | [default to undefined]
|
|
18
|
+
**bookingAmountEvolutionThisMonth** | [**Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>**](ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md) | Évolution quotidienne des montants dépensés ce mois-ci | [default to undefined]
|
|
19
|
+
**mostPlayedPartners** | [**Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>**](ClubPlayerStatisticsResponseMostPlayedPartnersInner.md) | Joueurs les plus joués dans le club courant | [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { ClubPlayerStatisticsResponse } from '@tennac-booking/sdk';
|
|
25
|
+
|
|
26
|
+
const instance: ClubPlayerStatisticsResponse = {
|
|
27
|
+
totalBookings,
|
|
28
|
+
totalBookingsInMyClub,
|
|
29
|
+
totalSpentAmount,
|
|
30
|
+
favoriteSport,
|
|
31
|
+
averageBookingLeadTimeHours,
|
|
32
|
+
bookingCancellationRate,
|
|
33
|
+
activeSubscriptionsToMyClub,
|
|
34
|
+
favoriteTimeSlot,
|
|
35
|
+
favoriteClub,
|
|
36
|
+
mostPlayedClub,
|
|
37
|
+
bookingAmountEvolutionThisMonth,
|
|
38
|
+
mostPlayedPartners,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**amount** | **number** | | [default to undefined]
|
|
9
|
+
**day** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner = {
|
|
17
|
+
amount,
|
|
18
|
+
day,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# ClubPlayerStatisticsResponseFavoriteClub
|
|
2
|
+
|
|
3
|
+
Club favori selon le profil utilisateur
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**name** | **string** | | [default to undefined]
|
|
10
|
+
**clubId** | **string** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ClubPlayerStatisticsResponseFavoriteClub } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: ClubPlayerStatisticsResponseFavoriteClub = {
|
|
18
|
+
name,
|
|
19
|
+
clubId,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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,25 @@
|
|
|
1
|
+
# ClubPlayerStatisticsResponseMostPlayedClub
|
|
2
|
+
|
|
3
|
+
Club où le joueur a le plus joué
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**bookingsCount** | **number** | | [default to undefined]
|
|
10
|
+
**name** | **string** | | [default to undefined]
|
|
11
|
+
**clubId** | **string** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ClubPlayerStatisticsResponseMostPlayedClub } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: ClubPlayerStatisticsResponseMostPlayedClub = {
|
|
19
|
+
bookingsCount,
|
|
20
|
+
name,
|
|
21
|
+
clubId,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|