@tennac-booking/sdk 1.0.222 → 1.0.224
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 +7 -2
- package/api.ts +337 -36
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +251 -36
- package/dist/api.js +202 -29
- 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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingsUserApi.md +52 -0
- package/docs/CloseOpenBookingResponse.md +22 -0
- package/docs/EstimateOpenBookingJoinRequest.md +5 -5
- package/docs/EventsApi.md +55 -0
- package/docs/GetOpenEventBookingsBySport200Response.md +20 -0
- package/docs/GetOpenEventBookingsBySport200ResponseEventBookingsInner.md +46 -0
- package/docs/JobsApi.md +7 -7
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -64,6 +64,7 @@ docs/ClientRegisterRequest.md
|
|
|
64
64
|
docs/ClientSubscription.md
|
|
65
65
|
docs/ClientSubscriptionItem.md
|
|
66
66
|
docs/ClientSubscriptionsResponse.md
|
|
67
|
+
docs/CloseOpenBookingResponse.md
|
|
67
68
|
docs/ClubAccessSettingsResponse.md
|
|
68
69
|
docs/ClubAnalyticsApi.md
|
|
69
70
|
docs/ClubAnalyticsStaffApi.md
|
|
@@ -207,6 +208,8 @@ docs/GetGuestBookingPriceRequest.md
|
|
|
207
208
|
docs/GetInfillPercentagePerPeriod200Response.md
|
|
208
209
|
docs/GetOpenEventBookingJoinPrice200Response.md
|
|
209
210
|
docs/GetOpenEventBookings200Response.md
|
|
211
|
+
docs/GetOpenEventBookingsBySport200Response.md
|
|
212
|
+
docs/GetOpenEventBookingsBySport200ResponseEventBookingsInner.md
|
|
210
213
|
docs/GetPublishedActualities200Response.md
|
|
211
214
|
docs/GetSlotsByClubById200Response.md
|
|
212
215
|
docs/GoogleAuthRequestBody.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.223
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @tennac-booking/sdk@1.0.
|
|
39
|
+
npm install @tennac-booking/sdk@1.0.223 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -74,6 +74,7 @@ Class | Method | HTTP request | Description
|
|
|
74
74
|
*BookingsStaffApi* | [**getWeeklyBookings**](docs/BookingsStaffApi.md#getweeklybookings) | **GET** /api/bookings/weekly/{weekId} |
|
|
75
75
|
*BookingsStaffApi* | [**listClubBookings**](docs/BookingsStaffApi.md#listclubbookings) | **GET** /api/bookings/staff |
|
|
76
76
|
*BookingsUserApi* | [**cancelBooking**](docs/BookingsUserApi.md#cancelbooking) | **DELETE** /api/bookings/{bookingId} |
|
|
77
|
+
*BookingsUserApi* | [**closeOpenBooking**](docs/BookingsUserApi.md#closeopenbooking) | **POST** /api/bookings/{bookingId}/close |
|
|
77
78
|
*BookingsUserApi* | [**createBooking**](docs/BookingsUserApi.md#createbooking) | **POST** /api/bookings |
|
|
78
79
|
*BookingsUserApi* | [**createOpenBooking**](docs/BookingsUserApi.md#createopenbooking) | **POST** /api/bookings/open |
|
|
79
80
|
*BookingsUserApi* | [**getOpenBookingPrice**](docs/BookingsUserApi.md#getopenbookingprice) | **POST** /api/bookings/open/booking-price |
|
|
@@ -185,6 +186,7 @@ Class | Method | HTTP request | Description
|
|
|
185
186
|
*EventsApi* | [**getEventById**](docs/EventsApi.md#geteventbyid) | **GET** /api/events/{eventId} |
|
|
186
187
|
*EventsApi* | [**getOpenEventBookingJoinPrice**](docs/EventsApi.md#getopeneventbookingjoinprice) | **GET** /api/events/{eventBookingId}/open/join-price |
|
|
187
188
|
*EventsApi* | [**getOpenEventBookings**](docs/EventsApi.md#getopeneventbookings) | **GET** /api/events/open |
|
|
189
|
+
*EventsApi* | [**getOpenEventBookingsBySport**](docs/EventsApi.md#getopeneventbookingsbysport) | **GET** /api/events/open/by-sport |
|
|
188
190
|
*EventsApi* | [**getPublishedEventsByClubId**](docs/EventsApi.md#getpublishedeventsbyclubid) | **GET** /api/events |
|
|
189
191
|
*EventsApi* | [**joinEvent**](docs/EventsApi.md#joinevent) | **POST** /api/events/{eventId}/join |
|
|
190
192
|
*EventsApi* | [**joinOpenEventBooking**](docs/EventsApi.md#joinopeneventbooking) | **POST** /api/events/{eventBookingId}/open/join |
|
|
@@ -353,6 +355,7 @@ Class | Method | HTTP request | Description
|
|
|
353
355
|
- [ClientSubscription](docs/ClientSubscription.md)
|
|
354
356
|
- [ClientSubscriptionItem](docs/ClientSubscriptionItem.md)
|
|
355
357
|
- [ClientSubscriptionsResponse](docs/ClientSubscriptionsResponse.md)
|
|
358
|
+
- [CloseOpenBookingResponse](docs/CloseOpenBookingResponse.md)
|
|
356
359
|
- [ClubAccessSettingsResponse](docs/ClubAccessSettingsResponse.md)
|
|
357
360
|
- [ClubCustomerSettingsResponse](docs/ClubCustomerSettingsResponse.md)
|
|
358
361
|
- [ClubDayInterval](docs/ClubDayInterval.md)
|
|
@@ -480,6 +483,8 @@ Class | Method | HTTP request | Description
|
|
|
480
483
|
- [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.md)
|
|
481
484
|
- [GetOpenEventBookingJoinPrice200Response](docs/GetOpenEventBookingJoinPrice200Response.md)
|
|
482
485
|
- [GetOpenEventBookings200Response](docs/GetOpenEventBookings200Response.md)
|
|
486
|
+
- [GetOpenEventBookingsBySport200Response](docs/GetOpenEventBookingsBySport200Response.md)
|
|
487
|
+
- [GetOpenEventBookingsBySport200ResponseEventBookingsInner](docs/GetOpenEventBookingsBySport200ResponseEventBookingsInner.md)
|
|
483
488
|
- [GetPublishedActualities200Response](docs/GetPublishedActualities200Response.md)
|
|
484
489
|
- [GetSlotsByClubById200Response](docs/GetSlotsByClubById200Response.md)
|
|
485
490
|
- [GoogleAuthRequestBody](docs/GoogleAuthRequestBody.md)
|