@tennac-booking/sdk 1.0.174 → 1.0.176

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.
Files changed (51) hide show
  1. package/.openapi-generator/FILES +404 -399
  2. package/README.md +30 -13
  3. package/api.ts +2072 -852
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1231 -506
  8. package/dist/api.js +2167 -1382
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +1231 -506
  16. package/dist/esm/api.js +2276 -1491
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BookingsApi.md +4 -4
  28. package/docs/BookingsUserApi.md +56 -0
  29. package/docs/ClubsManagerApi.md +6 -6
  30. package/docs/CreateOpenBookingRequest.md +4 -0
  31. package/docs/EventsApi.md +2 -2
  32. package/docs/{JoinWaitList200Response.md → JoinEventWaitList200Response.md} +3 -7
  33. package/docs/{RequestPasswordReset200Response.md → LeaveEventWaitList200Response.md} +3 -3
  34. package/docs/OpenBookingInfo.md +48 -0
  35. package/docs/OpenBookingPlayerInfo.md +26 -0
  36. package/docs/OpenBookingSlotInfo.md +24 -0
  37. package/docs/OpenBookingSportInfo.md +24 -0
  38. package/docs/{GetOpenBookings200Response.md → OpenBookingsResponse.md} +4 -4
  39. package/docs/UpdateOpenBooking200Response.md +22 -0
  40. package/docs/UpdateOpenBookingRequest.md +22 -0
  41. package/docs/UsersApi.md +69 -14
  42. package/docs/WaitListApi.md +499 -0
  43. package/docs/{GetWaitListForEvent200Response.md → WaitListListResponse.md} +5 -5
  44. package/docs/{GetUserPosition200Response.md → WaitListPositionResponse.md} +5 -5
  45. package/docs/WaitListResponse.md +12 -6
  46. package/docs/WaitListStaffApi.md +331 -0
  47. package/index.ts +1 -1
  48. package/package.json +1 -1
  49. package/docs/EventsWaitListApi.md +0 -175
  50. package/docs/EventsWaitListStaffApi.md +0 -115
  51. package/docs/JoinWaitListRequest.md +0 -22
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.172
1
+ ## @tennac-booking/sdk@1.0.176
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.172 --save
39
+ npm install @tennac-booking/sdk@1.0.176 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -74,6 +74,7 @@ Class | Method | HTTP request | Description
74
74
  *BookingsUserApi* | [**cancelBooking**](docs/BookingsUserApi.md#cancelbooking) | **DELETE** /api/bookings/{bookingId} |
75
75
  *BookingsUserApi* | [**createBooking**](docs/BookingsUserApi.md#createbooking) | **POST** /api/bookings |
76
76
  *BookingsUserApi* | [**createOpenBooking**](docs/BookingsUserApi.md#createopenbooking) | **POST** /api/bookings/open |
77
+ *BookingsUserApi* | [**updateOpenBooking**](docs/BookingsUserApi.md#updateopenbooking) | **PATCH** /api/bookings/{bookingId}/open |
77
78
  *ClientApi* | [**clientRegister**](docs/ClientApi.md#clientregister) | **POST** /clients/register |
78
79
  *ClientApi* | [**getClientSubscriptions**](docs/ClientApi.md#getclientsubscriptions) | **GET** /clients/subscriptions |
79
80
  *ClientApi* | [**getManagedClubs**](docs/ClientApi.md#getmanagedclubs) | **GET** /clients/managed-clubs |
@@ -200,11 +201,6 @@ Class | Method | HTTP request | Description
200
201
  *EventsStaffApi* | [**getEventsByClub**](docs/EventsStaffApi.md#geteventsbyclub) | **GET** /api/events/staff/getEvents |
201
202
  *EventsStaffApi* | [**getMonthlyEvents**](docs/EventsStaffApi.md#getmonthlyevents) | **GET** /api/events/calendar/monthly |
202
203
  *EventsStaffApi* | [**getWeeklyEvents**](docs/EventsStaffApi.md#getweeklyevents) | **GET** /api/events/calendar/weekly |
203
- *EventsWaitListApi* | [**getUserPosition**](docs/EventsWaitListApi.md#getuserposition) | **GET** /api/events/waitlist/{eventId}/position |
204
- *EventsWaitListApi* | [**joinWaitList**](docs/EventsWaitListApi.md#joinwaitlist) | **POST** /api/events/waitlist/{eventId}/join |
205
- *EventsWaitListApi* | [**leaveWaitList**](docs/EventsWaitListApi.md#leavewaitlist) | **DELETE** /api/events/waitlist/{eventId}/leave |
206
- *EventsWaitListStaffApi* | [**getWaitListForEvent**](docs/EventsWaitListStaffApi.md#getwaitlistforevent) | **GET** /api/events/waitlist/{eventId} |
207
- *EventsWaitListStaffApi* | [**processWaitList**](docs/EventsWaitListStaffApi.md#processwaitlist) | **POST** /api/events/waitlist/{eventId}/process |
208
204
  *ImagesApi* | [**cleanupImages**](docs/ImagesApi.md#cleanupimages) | **POST** /api/images/cleanup |
209
205
  *PublicEmailApi* | [**authEmailExists**](docs/PublicEmailApi.md#authemailexists) | **POST** /api/public-email/auth-email-exists |
210
206
  *PublicEmailApi* | [**requestVerificationCode**](docs/PublicEmailApi.md#requestverificationcode) | **POST** /api/public-email/request-verification-code |
@@ -246,6 +242,7 @@ Class | Method | HTTP request | Description
246
242
  *UsersApi* | [**getUserBookings**](docs/UsersApi.md#getuserbookings) | **GET** /api/users/me/bookings |
247
243
  *UsersApi* | [**getUserEvents**](docs/UsersApi.md#getuserevents) | **GET** /api/users/me/events |
248
244
  *UsersApi* | [**getUserProfileById**](docs/UsersApi.md#getuserprofilebyid) | **GET** /api/users/profile/{id} |
245
+ *UsersApi* | [**leaveBooking**](docs/UsersApi.md#leavebooking) | **DELETE** /api/users/me/bookings/{bookingId}/leave |
249
246
  *UsersApi* | [**listPlayers**](docs/UsersApi.md#listplayers) | **GET** /api/users/players |
250
247
  *UsersApi* | [**login**](docs/UsersApi.md#login) | **POST** /api/users/login |
251
248
  *UsersApi* | [**loginClubMember**](docs/UsersApi.md#loginclubmember) | **POST** /api/users/club-members/login |
@@ -265,6 +262,21 @@ Class | Method | HTTP request | Description
265
262
  *UsersApi* | [**updateProfilePicture**](docs/UsersApi.md#updateprofilepicture) | **PUT** /api/users/me/profile-picture |
266
263
  *UsersApi* | [**verifyEmail**](docs/UsersApi.md#verifyemail) | **POST** /api/users/verify-email |
267
264
  *UsersApi* | [**verifyOrganization**](docs/UsersApi.md#verifyorganization) | **POST** /api/users/verify-organization |
265
+ *WaitListApi* | [**getBookingPosition**](docs/WaitListApi.md#getbookingposition) | **GET** /api/waitlist/booking/{bookingId}/position |
266
+ *WaitListApi* | [**getEventBookingPosition**](docs/WaitListApi.md#geteventbookingposition) | **GET** /api/waitlist/event-booking/{eventBookingId}/position |
267
+ *WaitListApi* | [**getEventPosition**](docs/WaitListApi.md#geteventposition) | **GET** /api/waitlist/event/{eventId}/position |
268
+ *WaitListApi* | [**joinBookingWaitList**](docs/WaitListApi.md#joinbookingwaitlist) | **POST** /api/waitlist/booking/{bookingId}/join |
269
+ *WaitListApi* | [**joinEventBookingWaitList**](docs/WaitListApi.md#joineventbookingwaitlist) | **POST** /api/waitlist/event-booking/{eventBookingId}/join |
270
+ *WaitListApi* | [**joinEventWaitList**](docs/WaitListApi.md#joineventwaitlist) | **POST** /api/waitlist/event/{eventId}/join |
271
+ *WaitListApi* | [**leaveBookingWaitList**](docs/WaitListApi.md#leavebookingwaitlist) | **DELETE** /api/waitlist/booking/{bookingId}/leave |
272
+ *WaitListApi* | [**leaveEventBookingWaitList**](docs/WaitListApi.md#leaveeventbookingwaitlist) | **DELETE** /api/waitlist/event-booking/{eventBookingId}/leave |
273
+ *WaitListApi* | [**leaveEventWaitList**](docs/WaitListApi.md#leaveeventwaitlist) | **DELETE** /api/waitlist/event/{eventId}/leave |
274
+ *WaitListStaffApi* | [**getBookingWaitList**](docs/WaitListStaffApi.md#getbookingwaitlist) | **GET** /api/waitlist/booking/{bookingId}/list |
275
+ *WaitListStaffApi* | [**getEventBookingWaitList**](docs/WaitListStaffApi.md#geteventbookingwaitlist) | **GET** /api/waitlist/event-booking/{eventBookingId}/list |
276
+ *WaitListStaffApi* | [**getEventWaitList**](docs/WaitListStaffApi.md#geteventwaitlist) | **GET** /api/waitlist/event/{eventId}/list |
277
+ *WaitListStaffApi* | [**processBookingWaitList**](docs/WaitListStaffApi.md#processbookingwaitlist) | **POST** /api/waitlist/booking/{bookingId}/process |
278
+ *WaitListStaffApi* | [**processEventBookingWaitList**](docs/WaitListStaffApi.md#processeventbookingwaitlist) | **POST** /api/waitlist/event-booking/{eventBookingId}/process |
279
+ *WaitListStaffApi* | [**processEventWaitList**](docs/WaitListStaffApi.md#processeventwaitlist) | **POST** /api/waitlist/event/{eventId}/process |
268
280
 
269
281
 
270
282
  ### Documentation For Models
@@ -438,13 +450,10 @@ Class | Method | HTTP request | Description
438
450
  - [GetGuestBookingPrice200Response](docs/GetGuestBookingPrice200Response.md)
439
451
  - [GetGuestBookingPriceRequest](docs/GetGuestBookingPriceRequest.md)
440
452
  - [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.md)
441
- - [GetOpenBookings200Response](docs/GetOpenBookings200Response.md)
442
453
  - [GetOpenEventBookingJoinPrice200Response](docs/GetOpenEventBookingJoinPrice200Response.md)
443
454
  - [GetOpenEventBookings200Response](docs/GetOpenEventBookings200Response.md)
444
455
  - [GetPublishedActualities200Response](docs/GetPublishedActualities200Response.md)
445
456
  - [GetSlotsByClubById200Response](docs/GetSlotsByClubById200Response.md)
446
- - [GetUserPosition200Response](docs/GetUserPosition200Response.md)
447
- - [GetWaitListForEvent200Response](docs/GetWaitListForEvent200Response.md)
448
457
  - [GoogleAuthRequestBody](docs/GoogleAuthRequestBody.md)
449
458
  - [GoogleAuthResponse](docs/GoogleAuthResponse.md)
450
459
  - [GoogleAuthResponseUser](docs/GoogleAuthResponseUser.md)
@@ -469,15 +478,15 @@ Class | Method | HTTP request | Description
469
478
  - [JoinEventRequestPlayersPaymentMethodsInner](docs/JoinEventRequestPlayersPaymentMethodsInner.md)
470
479
  - [JoinEventResponse](docs/JoinEventResponse.md)
471
480
  - [JoinEventResponseOnsitePaymentsInner](docs/JoinEventResponseOnsitePaymentsInner.md)
481
+ - [JoinEventWaitList200Response](docs/JoinEventWaitList200Response.md)
472
482
  - [JoinOpenBookingResponse](docs/JoinOpenBookingResponse.md)
473
483
  - [JoinOpenEventBookingRequest](docs/JoinOpenEventBookingRequest.md)
474
484
  - [JoinOpenEventResponse](docs/JoinOpenEventResponse.md)
475
- - [JoinWaitList200Response](docs/JoinWaitList200Response.md)
476
- - [JoinWaitListRequest](docs/JoinWaitListRequest.md)
477
485
  - [LastSixMonthsTurnoverItem](docs/LastSixMonthsTurnoverItem.md)
478
486
  - [LeastBookedTimeSlotItem](docs/LeastBookedTimeSlotItem.md)
479
487
  - [LeastBookedTimeSlotsResponse](docs/LeastBookedTimeSlotsResponse.md)
480
488
  - [LeastBookedWeekdayResponse](docs/LeastBookedWeekdayResponse.md)
489
+ - [LeaveEventWaitList200Response](docs/LeaveEventWaitList200Response.md)
481
490
  - [LevelBySportEntry](docs/LevelBySportEntry.md)
482
491
  - [LoginRequestBody](docs/LoginRequestBody.md)
483
492
  - [LoginResponse](docs/LoginResponse.md)
@@ -490,6 +499,11 @@ Class | Method | HTTP request | Description
490
499
  - [NoShowFeeResponse](docs/NoShowFeeResponse.md)
491
500
  - [NoShowRateResponse](docs/NoShowRateResponse.md)
492
501
  - [OffPeakRule](docs/OffPeakRule.md)
502
+ - [OpenBookingInfo](docs/OpenBookingInfo.md)
503
+ - [OpenBookingPlayerInfo](docs/OpenBookingPlayerInfo.md)
504
+ - [OpenBookingSlotInfo](docs/OpenBookingSlotInfo.md)
505
+ - [OpenBookingSportInfo](docs/OpenBookingSportInfo.md)
506
+ - [OpenBookingsResponse](docs/OpenBookingsResponse.md)
493
507
  - [PaginationInfo](docs/PaginationInfo.md)
494
508
  - [PartialClubActiveResponse](docs/PartialClubActiveResponse.md)
495
509
  - [PartialClubActiveResponseLocation](docs/PartialClubActiveResponseLocation.md)
@@ -535,7 +549,6 @@ Class | Method | HTTP request | Description
535
549
  - [RegisterRequestBodyLocation](docs/RegisterRequestBodyLocation.md)
536
550
  - [RequestEmailCodeBody](docs/RequestEmailCodeBody.md)
537
551
  - [RequestEmailCodeResponse](docs/RequestEmailCodeResponse.md)
538
- - [RequestPasswordReset200Response](docs/RequestPasswordReset200Response.md)
539
552
  - [ResetPasswordRequest](docs/ResetPasswordRequest.md)
540
553
  - [RetentionRateResponse](docs/RetentionRateResponse.md)
541
554
  - [RevenueBySportItem](docs/RevenueBySportItem.md)
@@ -594,6 +607,8 @@ Class | Method | HTTP request | Description
594
607
  - [UpdateCustomerResponse](docs/UpdateCustomerResponse.md)
595
608
  - [UpdateEventRequest](docs/UpdateEventRequest.md)
596
609
  - [UpdateLevelBySportsRequestBody](docs/UpdateLevelBySportsRequestBody.md)
610
+ - [UpdateOpenBooking200Response](docs/UpdateOpenBooking200Response.md)
611
+ - [UpdateOpenBookingRequest](docs/UpdateOpenBookingRequest.md)
597
612
  - [UpdateRecurringDefinition200Response](docs/UpdateRecurringDefinition200Response.md)
598
613
  - [UpdateRecurringDefinitionRequest](docs/UpdateRecurringDefinitionRequest.md)
599
614
  - [UpdateSportRequest](docs/UpdateSportRequest.md)
@@ -618,6 +633,8 @@ Class | Method | HTTP request | Description
618
633
  - [VerifyEmailCodeResponse](docs/VerifyEmailCodeResponse.md)
619
634
  - [VerifyEmailRequest](docs/VerifyEmailRequest.md)
620
635
  - [VisibilityType](docs/VisibilityType.md)
636
+ - [WaitListListResponse](docs/WaitListListResponse.md)
637
+ - [WaitListPositionResponse](docs/WaitListPositionResponse.md)
621
638
  - [WaitListResponse](docs/WaitListResponse.md)
622
639
  - [WeekdayAverageItem](docs/WeekdayAverageItem.md)
623
640
  - [WeekdayKey](docs/WeekdayKey.md)