@tennac-booking/sdk 1.0.176 → 1.0.178
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 +409 -404
- package/README.md +9 -2
- package/api.ts +457 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +370 -1
- package/dist/api.js +137 -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 +370 -1
- package/dist/esm/api.js +137 -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/BookingPlayerInfo.md +26 -0
- package/docs/BookingPopulated.md +2 -0
- package/docs/BookingSummary.md +12 -0
- package/docs/BookingsApi.md +55 -0
- package/docs/BookingsUserApi.md +53 -0
- package/docs/ClubSummary.md +4 -0
- package/docs/CreateOpenBookingRequest.md +2 -0
- package/docs/GetOpenBookingPrice200Response.md +24 -0
- package/docs/GetOpenBookingPriceRequest.md +26 -0
- package/docs/JoinPriceEstimateResponse.md +38 -0
- package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +25 -0
- package/docs/OpenBookingInfo.md +2 -0
- package/docs/UserClubMembership.md +8 -0
- package/docs/UserProfileResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/docs/OpenBookingInfo.md
CHANGED
|
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
|
|
|
20
20
|
**description** | **string** | Description de la réservation | [optional] [default to undefined]
|
|
21
21
|
**maxPlayers** | **number** | Nombre maximal de joueurs | [optional] [default to undefined]
|
|
22
22
|
**currentPlayersCount** | **number** | Nombre de joueurs actuels | [default to undefined]
|
|
23
|
+
**basePriceToJoin** | **number** | Prix de base pour rejoindre la réservation (en centimes) | [optional] [default to undefined]
|
|
23
24
|
|
|
24
25
|
## Example
|
|
25
26
|
|
|
@@ -42,6 +43,7 @@ const instance: OpenBookingInfo = {
|
|
|
42
43
|
description,
|
|
43
44
|
maxPlayers,
|
|
44
45
|
currentPlayersCount,
|
|
46
|
+
basePriceToJoin,
|
|
45
47
|
};
|
|
46
48
|
```
|
|
47
49
|
|
|
@@ -8,6 +8,10 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**clubId** | **string** | | [default to undefined]
|
|
9
9
|
**clubName** | **string** | | [default to undefined]
|
|
10
10
|
**clubPicture** | **string** | | [default to undefined]
|
|
11
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
14
|
+
**sports** | **Array<string>** | | [optional] [default to undefined]
|
|
11
15
|
**bookingCount** | **number** | | [default to undefined]
|
|
12
16
|
**credits** | **number** | | [default to undefined]
|
|
13
17
|
**billingPortalUrl** | **string** | | [default to undefined]
|
|
@@ -25,6 +29,10 @@ const instance: UserClubMembership = {
|
|
|
25
29
|
clubId,
|
|
26
30
|
clubName,
|
|
27
31
|
clubPicture,
|
|
32
|
+
address,
|
|
33
|
+
description,
|
|
34
|
+
tags,
|
|
35
|
+
sports,
|
|
28
36
|
bookingCount,
|
|
29
37
|
credits,
|
|
30
38
|
billingPortalUrl,
|
|
@@ -41,6 +41,7 @@ Name | Type | Description | Notes
|
|
|
41
41
|
**upcomingBookingsCount** | **number** | | [optional] [default to undefined]
|
|
42
42
|
**subscriptionsCount** | **number** | | [optional] [default to undefined]
|
|
43
43
|
**subscriptions** | [**Array<ClubSubscriptions>**](ClubSubscriptions.md) | | [optional] [default to undefined]
|
|
44
|
+
**clubs** | [**Array<UserClubMembership>**](UserClubMembership.md) | | [optional] [default to undefined]
|
|
44
45
|
**frequentlyVisitedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
|
|
45
46
|
**frequentlyPlayedWith** | [**Array<PlayerSummary>**](PlayerSummary.md) | | [optional] [default to undefined]
|
|
46
47
|
**stripeLinks** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
@@ -89,6 +90,7 @@ const instance: UserProfileResponse = {
|
|
|
89
90
|
upcomingBookingsCount,
|
|
90
91
|
subscriptionsCount,
|
|
91
92
|
subscriptions,
|
|
93
|
+
clubs,
|
|
92
94
|
frequentlyVisitedClubs,
|
|
93
95
|
frequentlyPlayedWith,
|
|
94
96
|
stripeLinks,
|
package/index.ts
CHANGED