@tennac-booking/sdk 1.0.149 → 1.0.151
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 +4 -1
- package/README.md +10 -2
- package/api.ts +472 -16
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +308 -16
- package/dist/api.js +257 -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 +308 -16
- package/dist/esm/api.js +257 -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/BookingsApi.md +158 -0
- package/docs/CreateGuestBookingRequest.md +32 -0
- package/docs/EventsApi.md +54 -0
- package/docs/GetGuestBookingPrice200Response.md +20 -0
- package/docs/GetGuestBookingPriceRequest.md +20 -0
- package/docs/GetOpenEventBookingJoinPrice200Response.md +22 -0
- package/docs/IUserAttributes.md +7 -5
- package/docs/StaffUserProfileResponse.md +7 -5
- package/docs/UpdateUserRequestBody.md +4 -0
- package/docs/UserProfileResponse.md +7 -5
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.gitignore
|
|
2
2
|
.npmignore
|
|
3
|
-
.openapi-generator-ignore
|
|
4
3
|
README.md
|
|
5
4
|
api.ts
|
|
6
5
|
base.ts
|
|
@@ -124,6 +123,7 @@ docs/CreateClubRoleRequest.md
|
|
|
124
123
|
docs/CreateCourtForClub201Response.md
|
|
125
124
|
docs/CreateCourtRequest.md
|
|
126
125
|
docs/CreateEventRequest.md
|
|
126
|
+
docs/CreateGuestBookingRequest.md
|
|
127
127
|
docs/CreateOnsiteInvoiceRequest.md
|
|
128
128
|
docs/CreateOnsiteInvoiceResponse.md
|
|
129
129
|
docs/CreateOnsiteInvoiceResponseInvoice.md
|
|
@@ -182,8 +182,11 @@ docs/GetClubType200Response.md
|
|
|
182
182
|
docs/GetClubUsersById200Response.md
|
|
183
183
|
docs/GetClubsWithVerificationDomains200ResponseInner.md
|
|
184
184
|
docs/GetCourtsByClubAndSportById200Response.md
|
|
185
|
+
docs/GetGuestBookingPrice200Response.md
|
|
186
|
+
docs/GetGuestBookingPriceRequest.md
|
|
185
187
|
docs/GetInfillPercentagePerPeriod200Response.md
|
|
186
188
|
docs/GetOpenBookings200Response.md
|
|
189
|
+
docs/GetOpenEventBookingJoinPrice200Response.md
|
|
187
190
|
docs/GetOpenEventBookings200Response.md
|
|
188
191
|
docs/GetSlotsByClubById200Response.md
|
|
189
192
|
docs/GoogleAuthRequestBody.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.151
|
|
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.151 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -51,9 +51,12 @@ All URIs are relative to *http://localhost*
|
|
|
51
51
|
|
|
52
52
|
Class | Method | HTTP request | Description
|
|
53
53
|
------------ | ------------- | ------------- | -------------
|
|
54
|
+
*BookingsApi* | [**createGuestBooking**](docs/BookingsApi.md#createguestbooking) | **POST** /api/bookings/guest |
|
|
54
55
|
*BookingsApi* | [**estimateOpenBookingJoinPrice**](docs/BookingsApi.md#estimateopenbookingjoinprice) | **GET** /api/bookings/{bookingId}/open/estimate |
|
|
55
56
|
*BookingsApi* | [**getBookingHistory**](docs/BookingsApi.md#getbookinghistory) | **GET** /api/bookings/history/{bookingId} |
|
|
56
57
|
*BookingsApi* | [**getBookingPrice**](docs/BookingsApi.md#getbookingprice) | **POST** /api/bookings/booking-price |
|
|
58
|
+
*BookingsApi* | [**getGuestBookingPrice**](docs/BookingsApi.md#getguestbookingprice) | **POST** /api/bookings/guest/booking-price |
|
|
59
|
+
*BookingsApi* | [**getOpenBookingJoinPrice**](docs/BookingsApi.md#getopenbookingjoinprice) | **GET** /api/bookings/{bookingId}/open/join-price |
|
|
57
60
|
*BookingsApi* | [**getOpenBookings**](docs/BookingsApi.md#getopenbookings) | **GET** /api/bookings/open |
|
|
58
61
|
*BookingsApi* | [**getQuickReservationSlots**](docs/BookingsApi.md#getquickreservationslots) | **GET** /api/bookings/quick-reservations |
|
|
59
62
|
*BookingsApi* | [**joinOpenBooking**](docs/BookingsApi.md#joinopenbooking) | **POST** /api/bookings/{bookingId}/open/join |
|
|
@@ -173,6 +176,7 @@ Class | Method | HTTP request | Description
|
|
|
173
176
|
*EventsApi* | [**estimateEventPrice**](docs/EventsApi.md#estimateeventprice) | **POST** /api/events/{eventId}/estimate-price |
|
|
174
177
|
*EventsApi* | [**estimateOpenEventBookingJoinPrice**](docs/EventsApi.md#estimateopeneventbookingjoinprice) | **GET** /api/events/{eventBookingId}/open/estimate |
|
|
175
178
|
*EventsApi* | [**getEventById**](docs/EventsApi.md#geteventbyid) | **GET** /api/events/{eventId} |
|
|
179
|
+
*EventsApi* | [**getOpenEventBookingJoinPrice**](docs/EventsApi.md#getopeneventbookingjoinprice) | **GET** /api/events/{eventBookingId}/open/join-price |
|
|
176
180
|
*EventsApi* | [**getOpenEventBookings**](docs/EventsApi.md#getopeneventbookings) | **GET** /api/events/open |
|
|
177
181
|
*EventsApi* | [**getPublishedEventsByClubId**](docs/EventsApi.md#getpublishedeventsbyclubid) | **GET** /api/events |
|
|
178
182
|
*EventsApi* | [**joinEvent**](docs/EventsApi.md#joinevent) | **POST** /api/events/{eventId}/join |
|
|
@@ -353,6 +357,7 @@ Class | Method | HTTP request | Description
|
|
|
353
357
|
- [CreateCourtForClub201Response](docs/CreateCourtForClub201Response.md)
|
|
354
358
|
- [CreateCourtRequest](docs/CreateCourtRequest.md)
|
|
355
359
|
- [CreateEventRequest](docs/CreateEventRequest.md)
|
|
360
|
+
- [CreateGuestBookingRequest](docs/CreateGuestBookingRequest.md)
|
|
356
361
|
- [CreateOnsiteInvoiceRequest](docs/CreateOnsiteInvoiceRequest.md)
|
|
357
362
|
- [CreateOnsiteInvoiceResponse](docs/CreateOnsiteInvoiceResponse.md)
|
|
358
363
|
- [CreateOnsiteInvoiceResponseInvoice](docs/CreateOnsiteInvoiceResponseInvoice.md)
|
|
@@ -407,8 +412,11 @@ Class | Method | HTTP request | Description
|
|
|
407
412
|
- [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
|
|
408
413
|
- [GetClubsWithVerificationDomains200ResponseInner](docs/GetClubsWithVerificationDomains200ResponseInner.md)
|
|
409
414
|
- [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
|
|
415
|
+
- [GetGuestBookingPrice200Response](docs/GetGuestBookingPrice200Response.md)
|
|
416
|
+
- [GetGuestBookingPriceRequest](docs/GetGuestBookingPriceRequest.md)
|
|
410
417
|
- [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.md)
|
|
411
418
|
- [GetOpenBookings200Response](docs/GetOpenBookings200Response.md)
|
|
419
|
+
- [GetOpenEventBookingJoinPrice200Response](docs/GetOpenEventBookingJoinPrice200Response.md)
|
|
412
420
|
- [GetOpenEventBookings200Response](docs/GetOpenEventBookings200Response.md)
|
|
413
421
|
- [GetSlotsByClubById200Response](docs/GetSlotsByClubById200Response.md)
|
|
414
422
|
- [GoogleAuthRequestBody](docs/GoogleAuthRequestBody.md)
|