@tennac-booking/sdk 1.0.125 → 1.0.127

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 (61) hide show
  1. package/.openapi-generator/FILES +334 -343
  2. package/README.md +11 -19
  3. package/api.ts +422 -591
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +317 -496
  8. package/dist/api.js +164 -156
  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 +317 -496
  16. package/dist/esm/api.js +160 -152
  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/BookingsStaffApi.md +10 -10
  28. package/docs/{EventBookingResponsePlayersInnerInvoiceStatus.md → CheckInPlayerRequest.md} +5 -3
  29. package/docs/{CheckInPlayersResponse.md → CheckInPlayerResponse.md} +5 -5
  30. package/docs/ClubPlayerSubscriptionSummary.md +3 -3
  31. package/docs/ClubsStaffApi.md +54 -0
  32. package/docs/CreatePlan201Response.md +2 -0
  33. package/docs/CreateSubscriptionPlanRequest.md +2 -2
  34. package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
  35. package/docs/DeleteSubscriptionPlanResponse.md +2 -0
  36. package/docs/EventsApi.md +1 -4
  37. package/docs/{EventBookingResponseSetupStatus.md → GetClubType200Response.md} +5 -3
  38. package/docs/MonthlyTurnoverResponse.md +0 -1
  39. package/docs/OffPeakRule.md +2 -0
  40. package/docs/PlanPrice.md +26 -0
  41. package/docs/{CheckInPlayersRequest.md → PlanPriceInput.md} +7 -5
  42. package/docs/PublicSubscriptionPlanResponse.md +5 -1
  43. package/docs/PublishEventResponse.md +0 -2
  44. package/docs/SendSubscriptionInvitationRequest.md +2 -0
  45. package/docs/SubscriptionPlanDiscountResponse.md +34 -0
  46. package/docs/SubscriptionPlanResponse.md +7 -1
  47. package/docs/SubscriptionsManagerApi.md +55 -1
  48. package/docs/UsersApi.md +0 -54
  49. package/index.ts +1 -1
  50. package/package.json +1 -1
  51. package/docs/EventBookingDetailSummary.md +0 -40
  52. package/docs/EventBookingResponse.md +0 -36
  53. package/docs/EventBookingResponsePlayersInner.md +0 -28
  54. package/docs/EventBookingStatus.md +0 -16
  55. package/docs/InvoiceStatusSETUPPENDING.md +0 -8
  56. package/docs/InvoiceStatusSETUPSUCCESS.md +0 -8
  57. package/docs/ParticipationType.md +0 -10
  58. package/docs/UserEventParticipation.md +0 -22
  59. package/docs/UserEventSummary.md +0 -44
  60. package/docs/UserEventsResponse.md +0 -28
  61. package/docs/VisibilityType.md +0 -12
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.125
1
+ ## @tennac-booking/sdk@1.0.121
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.125 --save
39
+ npm install @tennac-booking/sdk@1.0.121 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -56,7 +56,7 @@ Class | Method | HTTP request | Description
56
56
  *BookingsApi* | [**getQuickReservationSlots**](docs/BookingsApi.md#getquickreservationslots) | **GET** /api/bookings/quick-reservations |
57
57
  *BookingsManagerApi* | [**applyNoShowFee**](docs/BookingsManagerApi.md#applynoshowfee) | **POST** /api/bookings/{bookingId}/no-show |
58
58
  *BookingsManagerApi* | [**managerCancelBooking**](docs/BookingsManagerApi.md#managercancelbooking) | **POST** /api/bookings/{bookingId}/manager-cancel |
59
- *BookingsStaffApi* | [**checkInPlayers**](docs/BookingsStaffApi.md#checkinplayers) | **POST** /api/bookings/{bookingId}/check-in |
59
+ *BookingsStaffApi* | [**checkInPlayer**](docs/BookingsStaffApi.md#checkinplayer) | **POST** /api/bookings/{bookingId}/check-in |
60
60
  *BookingsStaffApi* | [**createStaffBooking**](docs/BookingsStaffApi.md#createstaffbooking) | **POST** /api/bookings/staff |
61
61
  *BookingsStaffApi* | [**getBookingById**](docs/BookingsStaffApi.md#getbookingbyid) | **GET** /api/bookings/{bookingId} |
62
62
  *BookingsStaffApi* | [**getBookingHistoryStaff**](docs/BookingsStaffApi.md#getbookinghistorystaff) | **GET** /api/bookings/staff/history{bookingId} |
@@ -143,6 +143,7 @@ Class | Method | HTTP request | Description
143
143
  *ClubsStaffApi* | [**getClubMembers**](docs/ClubsStaffApi.md#getclubmembers) | **GET** /api/clubs/members |
144
144
  *ClubsStaffApi* | [**getClubPresentationSettings**](docs/ClubsStaffApi.md#getclubpresentationsettings) | **GET** /api/clubs/settings/presentation |
145
145
  *ClubsStaffApi* | [**getClubRoles**](docs/ClubsStaffApi.md#getclubroles) | **GET** /api/clubs/roles |
146
+ *ClubsStaffApi* | [**getClubType**](docs/ClubsStaffApi.md#getclubtype) | **GET** /api/clubs/{clubId}/clubType |
146
147
  *ClubsStaffApi* | [**getCourtsByClub**](docs/ClubsStaffApi.md#getcourtsbyclub) | **GET** /api/clubs/courts |
147
148
  *ClubsStaffApi* | [**getInvoices**](docs/ClubsStaffApi.md#getinvoices) | **GET** /api/clubs/invoices |
148
149
  *ClubsStaffApi* | [**getUserProfileStaff**](docs/ClubsStaffApi.md#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} |
@@ -171,6 +172,7 @@ Class | Method | HTTP request | Description
171
172
  *SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
172
173
  *SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
173
174
  *SportsPublicApi* | [**getVerifiedSports**](docs/SportsPublicApi.md#getverifiedsports) | **GET** /api/sports/verified |
175
+ *SubscriptionsManagerApi* | [**archivePlan**](docs/SubscriptionsManagerApi.md#archiveplan) | **POST** /api/subscriptions/plans/{productId}/archive |
174
176
  *SubscriptionsManagerApi* | [**createPlan**](docs/SubscriptionsManagerApi.md#createplan) | **POST** /api/subscriptions/plans |
175
177
  *SubscriptionsManagerApi* | [**deletePlan**](docs/SubscriptionsManagerApi.md#deleteplan) | **DELETE** /api/subscriptions/plans/{productId} |
176
178
  *SubscriptionsManagerApi* | [**updatePlan**](docs/SubscriptionsManagerApi.md#updateplan) | **PUT** /api/subscriptions/plans |
@@ -200,7 +202,6 @@ Class | Method | HTTP request | Description
200
202
  *UsersApi* | [**getNearestUsersFromCoordinates**](docs/UsersApi.md#getnearestusersfromcoordinates) | **GET** /api/users/nearest-players/coordinates |
201
203
  *UsersApi* | [**getPlayerCategories**](docs/UsersApi.md#getplayercategories) | **GET** /api/users/players/categories |
202
204
  *UsersApi* | [**getUserBookings**](docs/UsersApi.md#getuserbookings) | **GET** /api/users/me/bookings |
203
- *UsersApi* | [**getUserEvents**](docs/UsersApi.md#getuserevents) | **GET** /api/users/me/events |
204
205
  *UsersApi* | [**getUserProfileById**](docs/UsersApi.md#getuserprofilebyid) | **GET** /api/users/profile/{id} |
205
206
  *UsersApi* | [**listPlayers**](docs/UsersApi.md#listplayers) | **GET** /api/users/players |
206
207
  *UsersApi* | [**login**](docs/UsersApi.md#login) | **POST** /api/users/login |
@@ -258,8 +259,8 @@ Class | Method | HTTP request | Description
258
259
  - [CheckInEventParticipants200Response](docs/CheckInEventParticipants200Response.md)
259
260
  - [CheckInEventParticipants200ResponseInvoicesInner](docs/CheckInEventParticipants200ResponseInvoicesInner.md)
260
261
  - [CheckInEventParticipantsRequest](docs/CheckInEventParticipantsRequest.md)
261
- - [CheckInPlayersRequest](docs/CheckInPlayersRequest.md)
262
- - [CheckInPlayersResponse](docs/CheckInPlayersResponse.md)
262
+ - [CheckInPlayerRequest](docs/CheckInPlayerRequest.md)
263
+ - [CheckInPlayerResponse](docs/CheckInPlayerResponse.md)
263
264
  - [CheckTeamNameAvailability200Response](docs/CheckTeamNameAvailability200Response.md)
264
265
  - [CheckedInPlayer](docs/CheckedInPlayer.md)
265
266
  - [ClientFullOnboardingResponse](docs/ClientFullOnboardingResponse.md)
@@ -337,12 +338,6 @@ Class | Method | HTTP request | Description
337
338
  - [EstimateEventPrice200Response](docs/EstimateEventPrice200Response.md)
338
339
  - [EstimateEventPriceRequest](docs/EstimateEventPriceRequest.md)
339
340
  - [EstimateEventPriceRequestSharesInner](docs/EstimateEventPriceRequestSharesInner.md)
340
- - [EventBookingDetailSummary](docs/EventBookingDetailSummary.md)
341
- - [EventBookingResponse](docs/EventBookingResponse.md)
342
- - [EventBookingResponsePlayersInner](docs/EventBookingResponsePlayersInner.md)
343
- - [EventBookingResponsePlayersInnerInvoiceStatus](docs/EventBookingResponsePlayersInnerInvoiceStatus.md)
344
- - [EventBookingResponseSetupStatus](docs/EventBookingResponseSetupStatus.md)
345
- - [EventBookingStatus](docs/EventBookingStatus.md)
346
341
  - [EventConflictCheckRequest](docs/EventConflictCheckRequest.md)
347
342
  - [EventConflictCheckResponse](docs/EventConflictCheckResponse.md)
348
343
  - [EventResponse](docs/EventResponse.md)
@@ -361,6 +356,7 @@ Class | Method | HTTP request | Description
361
356
  - [GetAvailableSlotsBySports200Response](docs/GetAvailableSlotsBySports200Response.md)
362
357
  - [GetClubMembers200Response](docs/GetClubMembers200Response.md)
363
358
  - [GetClubRoles200Response](docs/GetClubRoles200Response.md)
359
+ - [GetClubType200Response](docs/GetClubType200Response.md)
364
360
  - [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
365
361
  - [GetClubsWithVerificationDomains200ResponseInner](docs/GetClubsWithVerificationDomains200ResponseInner.md)
366
362
  - [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
@@ -382,8 +378,6 @@ Class | Method | HTTP request | Description
382
378
  - [ImageReferencePayload](docs/ImageReferencePayload.md)
383
379
  - [InvoiceInfo](docs/InvoiceInfo.md)
384
380
  - [InvoiceStatus](docs/InvoiceStatus.md)
385
- - [InvoiceStatusSETUPPENDING](docs/InvoiceStatusSETUPPENDING.md)
386
- - [InvoiceStatusSETUPSUCCESS](docs/InvoiceStatusSETUPSUCCESS.md)
387
381
  - [JoinEventRequest](docs/JoinEventRequest.md)
388
382
  - [JoinEventRequestPlayersPaymentMethodsInner](docs/JoinEventRequestPlayersPaymentMethodsInner.md)
389
383
  - [JoinEventResponse](docs/JoinEventResponse.md)
@@ -403,12 +397,13 @@ Class | Method | HTTP request | Description
403
397
  - [PartialClubActiveResponse](docs/PartialClubActiveResponse.md)
404
398
  - [PartialClubActiveResponseLocation](docs/PartialClubActiveResponseLocation.md)
405
399
  - [PartialClubWeeklySchedule](docs/PartialClubWeeklySchedule.md)
406
- - [ParticipationType](docs/ParticipationType.md)
407
400
  - [PasswordResetRequestBody](docs/PasswordResetRequestBody.md)
408
401
  - [PaymentByPlayerInfo](docs/PaymentByPlayerInfo.md)
409
402
  - [PaymentMethod](docs/PaymentMethod.md)
410
403
  - [PickIUserLocationExcludeKeyofIUserLocationType](docs/PickIUserLocationExcludeKeyofIUserLocationType.md)
411
404
  - [PlanInterval](docs/PlanInterval.md)
405
+ - [PlanPrice](docs/PlanPrice.md)
406
+ - [PlanPriceInput](docs/PlanPriceInput.md)
412
407
  - [PlayerCategoriesResponse](docs/PlayerCategoriesResponse.md)
413
408
  - [PlayerCategory](docs/PlayerCategory.md)
414
409
  - [PlayerCategoryId](docs/PlayerCategoryId.md)
@@ -486,6 +481,7 @@ Class | Method | HTTP request | Description
486
481
  - [SubscriberPrice](docs/SubscriberPrice.md)
487
482
  - [SubscriptionInfo](docs/SubscriptionInfo.md)
488
483
  - [SubscriptionMutationResponse](docs/SubscriptionMutationResponse.md)
484
+ - [SubscriptionPlanDiscountResponse](docs/SubscriptionPlanDiscountResponse.md)
489
485
  - [SubscriptionPlanResponse](docs/SubscriptionPlanResponse.md)
490
486
  - [SurfaceType](docs/SurfaceType.md)
491
487
  - [Team](docs/Team.md)
@@ -515,16 +511,12 @@ Class | Method | HTTP request | Description
515
511
  - [UserClubMembership](docs/UserClubMembership.md)
516
512
  - [UserClubMembershipsResponse](docs/UserClubMembershipsResponse.md)
517
513
  - [UserClubSubscription](docs/UserClubSubscription.md)
518
- - [UserEventParticipation](docs/UserEventParticipation.md)
519
- - [UserEventSummary](docs/UserEventSummary.md)
520
- - [UserEventsResponse](docs/UserEventsResponse.md)
521
514
  - [UserInfo](docs/UserInfo.md)
522
515
  - [UserLocationSummary](docs/UserLocationSummary.md)
523
516
  - [UserProfileResponse](docs/UserProfileResponse.md)
524
517
  - [UserRolesResponse](docs/UserRolesResponse.md)
525
518
  - [UserSubscriptionsResponse](docs/UserSubscriptionsResponse.md)
526
519
  - [VerifyEmailRequest](docs/VerifyEmailRequest.md)
527
- - [VisibilityType](docs/VisibilityType.md)
528
520
  - [YearlyTurnoverResponse](docs/YearlyTurnoverResponse.md)
529
521
 
530
522