@tennac-booking/sdk 1.0.69 → 1.0.71
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 +236 -227
- package/README.md +20 -7
- package/api.ts +1488 -247
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1334 -339
- package/dist/api.js +461 -62
- 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 +1334 -339
- package/dist/esm/api.js +458 -59
- 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/BookingDetailResponse.md +1 -1
- package/docs/{BookingHistory.md → BookingHistoryPopulated.md} +4 -4
- package/docs/BookingPopulated.md +27 -7
- package/docs/BookingStatus.md +3 -1
- package/docs/BookingSummary.md +1 -1
- package/docs/BookingsApi.md +81 -2
- package/docs/BookingsStaffApi.md +3 -3
- package/docs/CheckInPlayersResponse.md +2 -10
- package/docs/ClubsApi.md +2 -2
- package/docs/CreateEventRequest.md +26 -0
- package/docs/CreateSportForClubRequest.md +6 -0
- package/docs/CreateSportRequest.md +8 -2
- package/docs/EventResponse.md +26 -0
- package/docs/EventsApi.md +131 -12
- package/docs/EventsManagerApi.md +59 -0
- package/docs/JoinEventRequest.md +22 -0
- package/docs/JoinEventResponse.md +22 -0
- package/docs/QuickReservationClubSummary.md +28 -0
- package/docs/QuickReservationClubSummaryLocation.md +31 -0
- package/docs/QuickReservationResponse.md +22 -0
- package/docs/QuickReservationSlotSummary.md +42 -0
- package/docs/SportKey.md +14 -0
- package/docs/SportLevel.md +22 -0
- package/docs/SportResponse.md +10 -5
- package/docs/SportWithLevels.md +30 -0
- package/docs/SportsManagerApi.md +6 -3
- package/docs/SportsStaffApi.md +3 -3
- package/docs/{GetSportsByClubById200Response.md → SubscriberPrice.md} +7 -5
- package/docs/{BookingSummaryBookingHistory.md → Team.md} +7 -3
- package/docs/UpdateEventRequest.md +54 -0
- package/docs/UpdateSportRequest.md +9 -1
- package/docs/UserInfo.md +4 -0
- package/docs/UsersApi.md +0 -3
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/SportWithAnalytics.md +0 -36
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# UpdateEventRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**photoUrl** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**startDate** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**endDate** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**courts** | [**Array<EventResponseCourtsInner>**](EventResponseCourtsInner.md) | | [optional] [default to undefined]
|
|
15
|
+
**sports** | **Array<string>** | | [optional] [default to undefined]
|
|
16
|
+
**recurringType** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**participationType** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**participants** | **Array<string>** | | [optional] [default to undefined]
|
|
20
|
+
**teams** | [**Array<Team>**](Team.md) | | [optional] [default to undefined]
|
|
21
|
+
**playerLimit** | **number** | | [optional] [default to undefined]
|
|
22
|
+
**teamLimit** | **number** | | [optional] [default to undefined]
|
|
23
|
+
**price** | **number** | | [optional] [default to undefined]
|
|
24
|
+
**subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
|
|
25
|
+
**visibilityType** | **string** | | [optional] [default to undefined]
|
|
26
|
+
|
|
27
|
+
## Example
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import { UpdateEventRequest } from '@tennac-booking/sdk';
|
|
31
|
+
|
|
32
|
+
const instance: UpdateEventRequest = {
|
|
33
|
+
type,
|
|
34
|
+
title,
|
|
35
|
+
description,
|
|
36
|
+
photoUrl,
|
|
37
|
+
startDate,
|
|
38
|
+
endDate,
|
|
39
|
+
courts,
|
|
40
|
+
sports,
|
|
41
|
+
recurringType,
|
|
42
|
+
recurrenceEndDate,
|
|
43
|
+
participationType,
|
|
44
|
+
participants,
|
|
45
|
+
teams,
|
|
46
|
+
playerLimit,
|
|
47
|
+
teamLimit,
|
|
48
|
+
price,
|
|
49
|
+
subscriberPrices,
|
|
50
|
+
visibilityType,
|
|
51
|
+
};
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**key** | **
|
|
8
|
+
**key** | [**SportKey**](SportKey.md) | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | Nom affiché du sport | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | Description du sport | [optional] [default to undefined]
|
|
11
|
+
**levels** | [**Array<SportLevel>**](SportLevel.md) | Niveaux associés | [optional] [default to undefined]
|
|
12
|
+
**logos** | **Array<string>** | URLs de logos/images | [optional] [default to undefined]
|
|
9
13
|
|
|
10
14
|
## Example
|
|
11
15
|
|
|
@@ -14,6 +18,10 @@ import { UpdateSportRequest } from '@tennac-booking/sdk';
|
|
|
14
18
|
|
|
15
19
|
const instance: UpdateSportRequest = {
|
|
16
20
|
key,
|
|
21
|
+
name,
|
|
22
|
+
description,
|
|
23
|
+
levels,
|
|
24
|
+
logos,
|
|
17
25
|
};
|
|
18
26
|
```
|
|
19
27
|
|
package/docs/UserInfo.md
CHANGED
|
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | ID de l\'utilisateur | [default to undefined]
|
|
9
9
|
**firstName** | **string** | Prénom | [default to undefined]
|
|
10
10
|
**lastName** | **string** | Nom | [default to undefined]
|
|
11
|
+
**email** | **string** | | [default to undefined]
|
|
12
|
+
**profilePictureUrl** | **string** | | [optional] [default to undefined]
|
|
11
13
|
|
|
12
14
|
## Example
|
|
13
15
|
|
|
@@ -18,6 +20,8 @@ const instance: UserInfo = {
|
|
|
18
20
|
id,
|
|
19
21
|
firstName,
|
|
20
22
|
lastName,
|
|
23
|
+
email,
|
|
24
|
+
profilePictureUrl,
|
|
21
25
|
};
|
|
22
26
|
```
|
|
23
27
|
|
package/docs/UsersApi.md
CHANGED
|
@@ -1049,7 +1049,6 @@ let sharedClub: boolean; // (optional) (default to undefined)
|
|
|
1049
1049
|
let sportLevels: string; // (optional) (default to undefined)
|
|
1050
1050
|
let limit: number; // (optional) (default to undefined)
|
|
1051
1051
|
let offset: number; // (optional) (default to undefined)
|
|
1052
|
-
let useLocation: boolean; // (optional) (default to undefined)
|
|
1053
1052
|
let latitude: number; // (optional) (default to undefined)
|
|
1054
1053
|
let longitude: number; // (optional) (default to undefined)
|
|
1055
1054
|
let radiusInKm: number; // (optional) (default to undefined)
|
|
@@ -1062,7 +1061,6 @@ const { status, data } = await apiInstance.listPlayers(
|
|
|
1062
1061
|
sportLevels,
|
|
1063
1062
|
limit,
|
|
1064
1063
|
offset,
|
|
1065
|
-
useLocation,
|
|
1066
1064
|
latitude,
|
|
1067
1065
|
longitude,
|
|
1068
1066
|
radiusInKm
|
|
@@ -1080,7 +1078,6 @@ const { status, data } = await apiInstance.listPlayers(
|
|
|
1080
1078
|
| **sportLevels** | [**string**] | | (optional) defaults to undefined|
|
|
1081
1079
|
| **limit** | [**number**] | | (optional) defaults to undefined|
|
|
1082
1080
|
| **offset** | [**number**] | | (optional) defaults to undefined|
|
|
1083
|
-
| **useLocation** | [**boolean**] | | (optional) defaults to undefined|
|
|
1084
1081
|
| **latitude** | [**number**] | | (optional) defaults to undefined|
|
|
1085
1082
|
| **longitude** | [**number**] | | (optional) defaults to undefined|
|
|
1086
1083
|
| **radiusInKm** | [**number**] | | (optional) defaults to undefined|
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# SportWithAnalytics
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | ID unique du sport | [default to undefined]
|
|
9
|
-
**key** | **string** | Clé/nom du sport | [default to undefined]
|
|
10
|
-
**name** | **string** | Nom du sport | [optional] [default to undefined]
|
|
11
|
-
**description** | **string** | Description du sport | [optional] [default to undefined]
|
|
12
|
-
**clubId** | **string** | ID du club auquel appartient le sport | [default to undefined]
|
|
13
|
-
**createdAt** | **string** | Date de création | [default to undefined]
|
|
14
|
-
**updatedAt** | **string** | Date de dernière mise à jour | [default to undefined]
|
|
15
|
-
**courtsCount** | **number** | Nombre de terrains pour ce sport | [default to undefined]
|
|
16
|
-
**bookingsCount** | **number** | Nombre de réservations actives/en attente pour ce sport | [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { SportWithAnalytics } from '@tennac-booking/sdk';
|
|
22
|
-
|
|
23
|
-
const instance: SportWithAnalytics = {
|
|
24
|
-
id,
|
|
25
|
-
key,
|
|
26
|
-
name,
|
|
27
|
-
description,
|
|
28
|
-
clubId,
|
|
29
|
-
createdAt,
|
|
30
|
-
updatedAt,
|
|
31
|
-
courtsCount,
|
|
32
|
-
bookingsCount,
|
|
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)
|