@tennac-booking/sdk 1.0.127 → 1.0.129

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 (65) hide show
  1. package/.openapi-generator/FILES +346 -334
  2. package/README.md +24 -11
  3. package/api.ts +1006 -422
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +853 -357
  8. package/dist/api.js +317 -164
  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 +853 -357
  16. package/dist/esm/api.js +313 -160
  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/{PlanPriceInput.md → CheckInPlayersRequest.md} +5 -7
  29. package/docs/{CheckInPlayerResponse.md → CheckInPlayersResponse.md} +5 -5
  30. package/docs/ClubPlayerSubscriptionSummary.md +3 -3
  31. package/docs/ClubsStaffApi.md +0 -54
  32. package/docs/CreatePlan201Response.md +0 -2
  33. package/docs/CreateSubscriptionPlanRequest.md +2 -2
  34. package/docs/CreateSubscriptionPlanRequestDiscount.md +0 -2
  35. package/docs/DeleteSubscriptionPlanResponse.md +0 -2
  36. package/docs/EventBookingDetailSummary.md +40 -0
  37. package/docs/EventBookingResponse.md +36 -0
  38. package/docs/EventBookingResponsePlayersInner.md +28 -0
  39. package/docs/{CheckInPlayerRequest.md → EventBookingResponsePlayersInnerInvoiceStatus.md} +3 -5
  40. package/docs/{GetClubType200Response.md → EventBookingResponseSetupStatus.md} +3 -5
  41. package/docs/EventBookingStatus.md +16 -0
  42. package/docs/EventsApi.md +4 -1
  43. package/docs/EventsManagerApi.md +110 -0
  44. package/docs/InvoiceStatusSETUPPENDING.md +8 -0
  45. package/docs/InvoiceStatusSETUPSUCCESS.md +8 -0
  46. package/docs/MonthlyTurnoverResponse.md +1 -0
  47. package/docs/OffPeakRule.md +0 -2
  48. package/docs/ParticipationType.md +10 -0
  49. package/docs/PublicSubscriptionPlanResponse.md +1 -5
  50. package/docs/PublishEventResponse.md +4 -0
  51. package/docs/RecurringDefinitionResponse.md +34 -0
  52. package/docs/SendSubscriptionInvitationRequest.md +0 -2
  53. package/docs/SubscriptionPlanResponse.md +1 -7
  54. package/docs/SubscriptionsManagerApi.md +1 -55
  55. package/docs/UpdateRecurringDefinition200Response.md +20 -0
  56. package/docs/UpdateRecurringDefinitionRequest.md +56 -0
  57. package/docs/UserEventParticipation.md +22 -0
  58. package/docs/UserEventSummary.md +44 -0
  59. package/docs/UserEventsResponse.md +28 -0
  60. package/docs/UsersApi.md +54 -0
  61. package/docs/VisibilityType.md +12 -0
  62. package/index.ts +1 -1
  63. package/package.json +1 -1
  64. package/docs/PlanPrice.md +0 -26
  65. package/docs/SubscriptionPlanDiscountResponse.md +0 -34
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.121
1
+ ## @tennac-booking/sdk@1.0.129
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.121 --save
39
+ npm install @tennac-booking/sdk@1.0.129 --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* | [**checkInPlayer**](docs/BookingsStaffApi.md#checkinplayer) | **POST** /api/bookings/{bookingId}/check-in |
59
+ *BookingsStaffApi* | [**checkInPlayers**](docs/BookingsStaffApi.md#checkinplayers) | **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,7 +143,6 @@ 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 |
147
146
  *ClubsStaffApi* | [**getCourtsByClub**](docs/ClubsStaffApi.md#getcourtsbyclub) | **GET** /api/clubs/courts |
148
147
  *ClubsStaffApi* | [**getInvoices**](docs/ClubsStaffApi.md#getinvoices) | **GET** /api/clubs/invoices |
149
148
  *ClubsStaffApi* | [**getUserProfileStaff**](docs/ClubsStaffApi.md#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} |
@@ -158,10 +157,12 @@ Class | Method | HTTP request | Description
158
157
  *EventsManagerApi* | [**checkEventConflicts**](docs/EventsManagerApi.md#checkeventconflicts) | **POST** /api/events/manager/checkConflicts |
159
158
  *EventsManagerApi* | [**createEvent**](docs/EventsManagerApi.md#createevent) | **POST** /api/events/manager/createEvent |
160
159
  *EventsManagerApi* | [**deleteEvent**](docs/EventsManagerApi.md#deleteevent) | **DELETE** /api/events/manager/deleteEvent/{eventId} |
160
+ *EventsManagerApi* | [**getExpiringRecurringDefinitions**](docs/EventsManagerApi.md#getexpiringrecurringdefinitions) | **GET** /api/events/manager/recurring/expiring |
161
161
  *EventsManagerApi* | [**publishEvent**](docs/EventsManagerApi.md#publishevent) | **PUT** /api/events/manager/publishEvent/{eventId} |
162
162
  *EventsManagerApi* | [**unpublishEvent**](docs/EventsManagerApi.md#unpublishevent) | **PUT** /api/events/manager/unpublishEvent/{eventId} |
163
163
  *EventsManagerApi* | [**updateEvent**](docs/EventsManagerApi.md#updateevent) | **PUT** /api/events/manager/updateEvent/{eventId} |
164
164
  *EventsManagerApi* | [**updatePublishedEvent**](docs/EventsManagerApi.md#updatepublishedevent) | **PUT** /api/events/manager/updatePublishedEvent/{eventId} |
165
+ *EventsManagerApi* | [**updateRecurringDefinition**](docs/EventsManagerApi.md#updaterecurringdefinition) | **PUT** /api/events/manager/recurring/{definitionId} |
165
166
  *EventsStaffApi* | [**checkInEventParticipants**](docs/EventsStaffApi.md#checkineventparticipants) | **POST** /api/events/{eventBookingId}/check-in |
166
167
  *EventsStaffApi* | [**getDailyEvents**](docs/EventsStaffApi.md#getdailyevents) | **GET** /api/events/calendar/daily |
167
168
  *EventsStaffApi* | [**getEventsByClub**](docs/EventsStaffApi.md#geteventsbyclub) | **GET** /api/events/staff/getEvents |
@@ -172,7 +173,6 @@ Class | Method | HTTP request | Description
172
173
  *SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
173
174
  *SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
174
175
  *SportsPublicApi* | [**getVerifiedSports**](docs/SportsPublicApi.md#getverifiedsports) | **GET** /api/sports/verified |
175
- *SubscriptionsManagerApi* | [**archivePlan**](docs/SubscriptionsManagerApi.md#archiveplan) | **POST** /api/subscriptions/plans/{productId}/archive |
176
176
  *SubscriptionsManagerApi* | [**createPlan**](docs/SubscriptionsManagerApi.md#createplan) | **POST** /api/subscriptions/plans |
177
177
  *SubscriptionsManagerApi* | [**deletePlan**](docs/SubscriptionsManagerApi.md#deleteplan) | **DELETE** /api/subscriptions/plans/{productId} |
178
178
  *SubscriptionsManagerApi* | [**updatePlan**](docs/SubscriptionsManagerApi.md#updateplan) | **PUT** /api/subscriptions/plans |
@@ -202,6 +202,7 @@ Class | Method | HTTP request | Description
202
202
  *UsersApi* | [**getNearestUsersFromCoordinates**](docs/UsersApi.md#getnearestusersfromcoordinates) | **GET** /api/users/nearest-players/coordinates |
203
203
  *UsersApi* | [**getPlayerCategories**](docs/UsersApi.md#getplayercategories) | **GET** /api/users/players/categories |
204
204
  *UsersApi* | [**getUserBookings**](docs/UsersApi.md#getuserbookings) | **GET** /api/users/me/bookings |
205
+ *UsersApi* | [**getUserEvents**](docs/UsersApi.md#getuserevents) | **GET** /api/users/me/events |
205
206
  *UsersApi* | [**getUserProfileById**](docs/UsersApi.md#getuserprofilebyid) | **GET** /api/users/profile/{id} |
206
207
  *UsersApi* | [**listPlayers**](docs/UsersApi.md#listplayers) | **GET** /api/users/players |
207
208
  *UsersApi* | [**login**](docs/UsersApi.md#login) | **POST** /api/users/login |
@@ -259,8 +260,8 @@ Class | Method | HTTP request | Description
259
260
  - [CheckInEventParticipants200Response](docs/CheckInEventParticipants200Response.md)
260
261
  - [CheckInEventParticipants200ResponseInvoicesInner](docs/CheckInEventParticipants200ResponseInvoicesInner.md)
261
262
  - [CheckInEventParticipantsRequest](docs/CheckInEventParticipantsRequest.md)
262
- - [CheckInPlayerRequest](docs/CheckInPlayerRequest.md)
263
- - [CheckInPlayerResponse](docs/CheckInPlayerResponse.md)
263
+ - [CheckInPlayersRequest](docs/CheckInPlayersRequest.md)
264
+ - [CheckInPlayersResponse](docs/CheckInPlayersResponse.md)
264
265
  - [CheckTeamNameAvailability200Response](docs/CheckTeamNameAvailability200Response.md)
265
266
  - [CheckedInPlayer](docs/CheckedInPlayer.md)
266
267
  - [ClientFullOnboardingResponse](docs/ClientFullOnboardingResponse.md)
@@ -338,6 +339,12 @@ Class | Method | HTTP request | Description
338
339
  - [EstimateEventPrice200Response](docs/EstimateEventPrice200Response.md)
339
340
  - [EstimateEventPriceRequest](docs/EstimateEventPriceRequest.md)
340
341
  - [EstimateEventPriceRequestSharesInner](docs/EstimateEventPriceRequestSharesInner.md)
342
+ - [EventBookingDetailSummary](docs/EventBookingDetailSummary.md)
343
+ - [EventBookingResponse](docs/EventBookingResponse.md)
344
+ - [EventBookingResponsePlayersInner](docs/EventBookingResponsePlayersInner.md)
345
+ - [EventBookingResponsePlayersInnerInvoiceStatus](docs/EventBookingResponsePlayersInnerInvoiceStatus.md)
346
+ - [EventBookingResponseSetupStatus](docs/EventBookingResponseSetupStatus.md)
347
+ - [EventBookingStatus](docs/EventBookingStatus.md)
341
348
  - [EventConflictCheckRequest](docs/EventConflictCheckRequest.md)
342
349
  - [EventConflictCheckResponse](docs/EventConflictCheckResponse.md)
343
350
  - [EventResponse](docs/EventResponse.md)
@@ -356,7 +363,6 @@ Class | Method | HTTP request | Description
356
363
  - [GetAvailableSlotsBySports200Response](docs/GetAvailableSlotsBySports200Response.md)
357
364
  - [GetClubMembers200Response](docs/GetClubMembers200Response.md)
358
365
  - [GetClubRoles200Response](docs/GetClubRoles200Response.md)
359
- - [GetClubType200Response](docs/GetClubType200Response.md)
360
366
  - [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
361
367
  - [GetClubsWithVerificationDomains200ResponseInner](docs/GetClubsWithVerificationDomains200ResponseInner.md)
362
368
  - [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
@@ -378,6 +384,8 @@ Class | Method | HTTP request | Description
378
384
  - [ImageReferencePayload](docs/ImageReferencePayload.md)
379
385
  - [InvoiceInfo](docs/InvoiceInfo.md)
380
386
  - [InvoiceStatus](docs/InvoiceStatus.md)
387
+ - [InvoiceStatusSETUPPENDING](docs/InvoiceStatusSETUPPENDING.md)
388
+ - [InvoiceStatusSETUPSUCCESS](docs/InvoiceStatusSETUPSUCCESS.md)
381
389
  - [JoinEventRequest](docs/JoinEventRequest.md)
382
390
  - [JoinEventRequestPlayersPaymentMethodsInner](docs/JoinEventRequestPlayersPaymentMethodsInner.md)
383
391
  - [JoinEventResponse](docs/JoinEventResponse.md)
@@ -397,13 +405,12 @@ Class | Method | HTTP request | Description
397
405
  - [PartialClubActiveResponse](docs/PartialClubActiveResponse.md)
398
406
  - [PartialClubActiveResponseLocation](docs/PartialClubActiveResponseLocation.md)
399
407
  - [PartialClubWeeklySchedule](docs/PartialClubWeeklySchedule.md)
408
+ - [ParticipationType](docs/ParticipationType.md)
400
409
  - [PasswordResetRequestBody](docs/PasswordResetRequestBody.md)
401
410
  - [PaymentByPlayerInfo](docs/PaymentByPlayerInfo.md)
402
411
  - [PaymentMethod](docs/PaymentMethod.md)
403
412
  - [PickIUserLocationExcludeKeyofIUserLocationType](docs/PickIUserLocationExcludeKeyofIUserLocationType.md)
404
413
  - [PlanInterval](docs/PlanInterval.md)
405
- - [PlanPrice](docs/PlanPrice.md)
406
- - [PlanPriceInput](docs/PlanPriceInput.md)
407
414
  - [PlayerCategoriesResponse](docs/PlayerCategoriesResponse.md)
408
415
  - [PlayerCategory](docs/PlayerCategory.md)
409
416
  - [PlayerCategoryId](docs/PlayerCategoryId.md)
@@ -423,6 +430,7 @@ Class | Method | HTTP request | Description
423
430
  - [QuickReservationClubSummaryLocation](docs/QuickReservationClubSummaryLocation.md)
424
431
  - [QuickReservationResponse](docs/QuickReservationResponse.md)
425
432
  - [QuickReservationSlotSummary](docs/QuickReservationSlotSummary.md)
433
+ - [RecurringDefinitionResponse](docs/RecurringDefinitionResponse.md)
426
434
  - [RefreshTokenRequestBody](docs/RefreshTokenRequestBody.md)
427
435
  - [RefreshTokenResponse](docs/RefreshTokenResponse.md)
428
436
  - [RegisterRequestBody](docs/RegisterRequestBody.md)
@@ -481,7 +489,6 @@ Class | Method | HTTP request | Description
481
489
  - [SubscriberPrice](docs/SubscriberPrice.md)
482
490
  - [SubscriptionInfo](docs/SubscriptionInfo.md)
483
491
  - [SubscriptionMutationResponse](docs/SubscriptionMutationResponse.md)
484
- - [SubscriptionPlanDiscountResponse](docs/SubscriptionPlanDiscountResponse.md)
485
492
  - [SubscriptionPlanResponse](docs/SubscriptionPlanResponse.md)
486
493
  - [SurfaceType](docs/SurfaceType.md)
487
494
  - [Team](docs/Team.md)
@@ -502,6 +509,8 @@ Class | Method | HTTP request | Description
502
509
  - [UpdateEventRequest](docs/UpdateEventRequest.md)
503
510
  - [UpdateLevelBySportsRequestBody](docs/UpdateLevelBySportsRequestBody.md)
504
511
  - [UpdatePlanRequest](docs/UpdatePlanRequest.md)
512
+ - [UpdateRecurringDefinition200Response](docs/UpdateRecurringDefinition200Response.md)
513
+ - [UpdateRecurringDefinitionRequest](docs/UpdateRecurringDefinitionRequest.md)
505
514
  - [UpdateSportRequest](docs/UpdateSportRequest.md)
506
515
  - [UpdateSubscriptionPlanForClub200Response](docs/UpdateSubscriptionPlanForClub200Response.md)
507
516
  - [UpdateUserCreditsRequest](docs/UpdateUserCreditsRequest.md)
@@ -511,12 +520,16 @@ Class | Method | HTTP request | Description
511
520
  - [UserClubMembership](docs/UserClubMembership.md)
512
521
  - [UserClubMembershipsResponse](docs/UserClubMembershipsResponse.md)
513
522
  - [UserClubSubscription](docs/UserClubSubscription.md)
523
+ - [UserEventParticipation](docs/UserEventParticipation.md)
524
+ - [UserEventSummary](docs/UserEventSummary.md)
525
+ - [UserEventsResponse](docs/UserEventsResponse.md)
514
526
  - [UserInfo](docs/UserInfo.md)
515
527
  - [UserLocationSummary](docs/UserLocationSummary.md)
516
528
  - [UserProfileResponse](docs/UserProfileResponse.md)
517
529
  - [UserRolesResponse](docs/UserRolesResponse.md)
518
530
  - [UserSubscriptionsResponse](docs/UserSubscriptionsResponse.md)
519
531
  - [VerifyEmailRequest](docs/VerifyEmailRequest.md)
532
+ - [VisibilityType](docs/VisibilityType.md)
520
533
  - [YearlyTurnoverResponse](docs/YearlyTurnoverResponse.md)
521
534
 
522
535