@tennac-booking/sdk 1.0.151 → 1.0.153

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.
@@ -8,7 +8,6 @@ All URIs are relative to *http://localhost*
8
8
  |[**estimateOpenBookingJoinPrice**](#estimateopenbookingjoinprice) | **GET** /api/bookings/{bookingId}/open/estimate | |
9
9
  |[**getBookingHistory**](#getbookinghistory) | **GET** /api/bookings/history/{bookingId} | |
10
10
  |[**getBookingPrice**](#getbookingprice) | **POST** /api/bookings/booking-price | |
11
- |[**getGuestBookingPrice**](#getguestbookingprice) | **POST** /api/bookings/guest/booking-price | |
12
11
  |[**getOpenBookingJoinPrice**](#getopenbookingjoinprice) | **GET** /api/bookings/{bookingId}/open/join-price | |
13
12
  |[**getOpenBookings**](#getopenbookings) | **GET** /api/bookings/open | |
14
13
  |[**getQuickReservationSlots**](#getquickreservationslots) | **GET** /api/bookings/quick-reservations | |
@@ -223,58 +222,6 @@ const { status, data } = await apiInstance.getBookingPrice(
223
222
 
224
223
  [[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)
225
224
 
226
- # **getGuestBookingPrice**
227
- > GetGuestBookingPrice200Response getGuestBookingPrice(getGuestBookingPriceRequest)
228
-
229
- Calculer le prix d\'une réservation pour un invité (sans authentification)
230
-
231
- ### Example
232
-
233
- ```typescript
234
- import {
235
- BookingsApi,
236
- Configuration,
237
- GetGuestBookingPriceRequest
238
- } from '@tennac-booking/sdk';
239
-
240
- const configuration = new Configuration();
241
- const apiInstance = new BookingsApi(configuration);
242
-
243
- let getGuestBookingPriceRequest: GetGuestBookingPriceRequest; //
244
-
245
- const { status, data } = await apiInstance.getGuestBookingPrice(
246
- getGuestBookingPriceRequest
247
- );
248
- ```
249
-
250
- ### Parameters
251
-
252
- |Name | Type | Description | Notes|
253
- |------------- | ------------- | ------------- | -------------|
254
- | **getGuestBookingPriceRequest** | **GetGuestBookingPriceRequest**| | |
255
-
256
-
257
- ### Return type
258
-
259
- **GetGuestBookingPrice200Response**
260
-
261
- ### Authorization
262
-
263
- No authorization required
264
-
265
- ### HTTP request headers
266
-
267
- - **Content-Type**: application/json
268
- - **Accept**: application/json
269
-
270
-
271
- ### HTTP response details
272
- | Status code | Description | Response headers |
273
- |-------------|-------------|------------------|
274
- |**200** | Prix de réservation calculé | - |
275
-
276
- [[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)
277
-
278
225
  # **getOpenBookingJoinPrice**
279
226
  > GetOpenEventBookingJoinPrice200Response getOpenBookingJoinPrice()
280
227
 
package/docs/ClubsApi.md CHANGED
@@ -15,7 +15,7 @@ All URIs are relative to *http://localhost*
15
15
  |[**getClubUsersById**](#getclubusersbyid) | **GET** /api/clubs/{id}/users | |
16
16
  |[**getClubsWithVerificationDomains**](#getclubswithverificationdomains) | **GET** /api/clubs/verification-domains | |
17
17
  |[**getCourtsByClubAndSportById**](#getcourtsbyclubandsportbyid) | **GET** /api/clubs/{id}/sports/{sportId}/courts | |
18
- |[**getPublicClubInfo**](#getpublicclubinfo) | **GET** /api/clubs/{clubId} | |
18
+ |[**getPublicClubInfo**](#getpublicclubinfo) | **GET** /api/clubs/clubInfo/{clubId} | |
19
19
  |[**getPublishedActualities**](#getpublishedactualities) | **GET** /api/clubs/{id}/actualities | |
20
20
  |[**getSlotsByClubById**](#getslotsbyclubbyid) | **GET** /api/clubs/{id}/slots | |
21
21
  |[**getSportsByClubById**](#getsportsbyclubbyid) | **GET** /api/clubs/{id}/sports | |
@@ -26,7 +26,7 @@ Name | Type | Description | Notes
26
26
  **subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
27
27
  **levels** | **Array<number | null>** | | [optional] [default to undefined]
28
28
  **sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
29
- **registrationOpeningDate** | **string** | | [default to undefined]
29
+ **registrationOpenDaysBefore** | **number** | | [optional] [default to undefined]
30
30
  **visibilityType** | **string** | | [default to undefined]
31
31
 
32
32
  ## Example
@@ -56,7 +56,7 @@ const instance: CreateEventRequest = {
56
56
  subscriberPrices,
57
57
  levels,
58
58
  sponsors,
59
- registrationOpeningDate,
59
+ registrationOpenDaysBefore,
60
60
  visibilityType,
61
61
  };
62
62
  ```
@@ -28,7 +28,7 @@ Name | Type | Description | Notes
28
28
  **visibilityType** | **string** | | [default to undefined]
29
29
  **levels** | **Array<string | null>** | | [optional] [default to undefined]
30
30
  **sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
31
- **registrationOpeningDate** | **string** | | [default to undefined]
31
+ **registrationOpenDaysBefore** | **number** | | [default to undefined]
32
32
  **createdBy** | **string** | | [optional] [default to undefined]
33
33
  **isActive** | **boolean** | | [default to undefined]
34
34
  **createdAt** | **string** | | [default to undefined]
@@ -63,7 +63,7 @@ const instance: EventResponse = {
63
63
  visibilityType,
64
64
  levels,
65
65
  sponsors,
66
- registrationOpeningDate,
66
+ registrationOpenDaysBefore,
67
67
  createdBy,
68
68
  isActive,
69
69
  createdAt,
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  **email** | **string** | | [default to undefined]
13
13
  **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
14
14
  **location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
15
- **isAccountVerified** | **boolean** | | [optional] [default to undefined]
15
+ **isAccountVerified** | **boolean** | | [default to undefined]
16
16
  **levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined]
17
17
  **characteristics** | [**Array<ICharacteristic>**](ICharacteristic.md) | | [optional] [default to undefined]
18
18
  **phone** | **string** | | [optional] [default to undefined]
@@ -25,14 +25,14 @@ Name | Type | Description | Notes
25
25
  **emailVerificationExpires** | **string** | | [optional] [default to undefined]
26
26
  **organizations** | [**Array<IUserAttributesOrganizationsInner>**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined]
27
27
  **isGuest** | **boolean** | | [optional] [default to undefined]
28
- **isAdmin** | **boolean** | | [optional] [default to undefined]
28
+ **isAdmin** | **boolean** | | [default to undefined]
29
29
  **isClient** | **boolean** | | [optional] [default to undefined]
30
- **createdAt** | **string** | | [optional] [default to undefined]
31
- **updatedAt** | **string** | | [optional] [default to undefined]
30
+ **createdAt** | **string** | | [default to undefined]
31
+ **updatedAt** | **string** | | [default to undefined]
32
32
  **isLevelCertified** | **boolean** | | [optional] [default to undefined]
33
33
  **favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
34
34
  **description** | **string** | | [optional] [default to undefined]
35
- **isProfileVisible** | **boolean** | | [optional] [default to undefined]
35
+ **isProfileVisible** | **boolean** | | [default to undefined]
36
36
  **favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
37
37
  **sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
38
38
  **stripeCustomerId** | **string** | | [optional] [default to undefined]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  **email** | **string** | | [default to undefined]
13
13
  **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
14
14
  **location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
15
- **isAccountVerified** | **boolean** | | [optional] [default to undefined]
15
+ **isAccountVerified** | **boolean** | | [default to undefined]
16
16
  **levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined]
17
17
  **characteristics** | [**Array<ICharacteristic>**](ICharacteristic.md) | | [optional] [default to undefined]
18
18
  **phone** | **string** | | [optional] [default to undefined]
@@ -25,14 +25,14 @@ Name | Type | Description | Notes
25
25
  **emailVerificationExpires** | **string** | | [optional] [default to undefined]
26
26
  **organizations** | [**Array<IUserAttributesOrganizationsInner>**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined]
27
27
  **isGuest** | **boolean** | | [optional] [default to undefined]
28
- **isAdmin** | **boolean** | | [optional] [default to undefined]
28
+ **isAdmin** | **boolean** | | [default to undefined]
29
29
  **isClient** | **boolean** | | [optional] [default to undefined]
30
- **createdAt** | **string** | | [optional] [default to undefined]
31
- **updatedAt** | **string** | | [optional] [default to undefined]
30
+ **createdAt** | **string** | | [default to undefined]
31
+ **updatedAt** | **string** | | [default to undefined]
32
32
  **isLevelCertified** | **boolean** | | [optional] [default to undefined]
33
33
  **favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
34
34
  **description** | **string** | | [optional] [default to undefined]
35
- **isProfileVisible** | **boolean** | | [optional] [default to undefined]
35
+ **isProfileVisible** | **boolean** | | [default to undefined]
36
36
  **favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
37
37
  **sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
38
38
  **stripeCustomerId** | **string** | | [optional] [default to undefined]
@@ -25,7 +25,7 @@ Name | Type | Description | Notes
25
25
  **subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
26
26
  **visibilityType** | **string** | | [optional] [default to undefined]
27
27
  **levels** | **Array<string | null>** | | [optional] [default to undefined]
28
- **registrationOpeningDate** | **string** | | [optional] [default to undefined]
28
+ **registrationOpenDaysBefore** | **number** | | [optional] [default to undefined]
29
29
  **sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
30
30
 
31
31
  ## Example
@@ -54,7 +54,7 @@ const instance: UpdateEventRequest = {
54
54
  subscriberPrices,
55
55
  visibilityType,
56
56
  levels,
57
- registrationOpeningDate,
57
+ registrationOpenDaysBefore,
58
58
  sponsors,
59
59
  };
60
60
  ```
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  **email** | **string** | | [default to undefined]
13
13
  **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
14
14
  **location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
15
- **isAccountVerified** | **boolean** | | [optional] [default to undefined]
15
+ **isAccountVerified** | **boolean** | | [default to undefined]
16
16
  **levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined]
17
17
  **characteristics** | [**Array<ICharacteristic>**](ICharacteristic.md) | | [optional] [default to undefined]
18
18
  **phone** | **string** | | [optional] [default to undefined]
@@ -25,14 +25,14 @@ Name | Type | Description | Notes
25
25
  **emailVerificationExpires** | **string** | | [optional] [default to undefined]
26
26
  **organizations** | [**Array<IUserAttributesOrganizationsInner>**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined]
27
27
  **isGuest** | **boolean** | | [optional] [default to undefined]
28
- **isAdmin** | **boolean** | | [optional] [default to undefined]
28
+ **isAdmin** | **boolean** | | [default to undefined]
29
29
  **isClient** | **boolean** | | [optional] [default to undefined]
30
- **createdAt** | **string** | | [optional] [default to undefined]
31
- **updatedAt** | **string** | | [optional] [default to undefined]
30
+ **createdAt** | **string** | | [default to undefined]
31
+ **updatedAt** | **string** | | [default to undefined]
32
32
  **isLevelCertified** | **boolean** | | [optional] [default to undefined]
33
33
  **favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
34
34
  **description** | **string** | | [optional] [default to undefined]
35
- **isProfileVisible** | **boolean** | | [optional] [default to undefined]
35
+ **isProfileVisible** | **boolean** | | [default to undefined]
36
36
  **favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
37
37
  **sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
38
38
  **stripeCustomerId** | **string** | | [optional] [default to undefined]
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.151
7
+ * The version of the OpenAPI document: 1.0.150
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.151",
3
+ "version": "1.0.153",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,20 +0,0 @@
1
- # GetGuestBookingPrice200Response
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **totalPrice** | **number** | | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { GetGuestBookingPrice200Response } from '@tennac-booking/sdk';
14
-
15
- const instance: GetGuestBookingPrice200Response = {
16
- totalPrice,
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
- # GetGuestBookingPriceRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **slotIds** | **Array<string>** | | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { GetGuestBookingPriceRequest } from '@tennac-booking/sdk';
14
-
15
- const instance: GetGuestBookingPriceRequest = {
16
- slotIds,
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)