@tennac-booking/sdk 1.0.117 → 1.0.119

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 (64) hide show
  1. package/.openapi-generator/FILES +313 -308
  2. package/README.md +18 -13
  3. package/api.ts +1065 -611
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +841 -483
  8. package/dist/api.js +325 -233
  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 +841 -483
  16. package/dist/esm/api.js +324 -232
  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 +117 -0
  28. package/docs/BookingsUserApi.md +1 -1
  29. package/docs/ClientApi.md +2 -49
  30. package/docs/ClientFullOnboardingResponseClub.md +0 -2
  31. package/docs/ClientOnboardingRequestBody.md +0 -2
  32. package/docs/ClubAnalyticsStaffApi.md +20 -4
  33. package/docs/ClubPlayersPaginatedResponse.md +28 -0
  34. package/docs/ClubsApi.md +2 -2
  35. package/docs/ClubsStaffApi.md +27 -2
  36. package/docs/CreateEventRequest.md +3 -1
  37. package/docs/EventResponse.md +4 -0
  38. package/docs/EventSponsor.md +24 -0
  39. package/docs/EventsApi.md +0 -115
  40. package/docs/JoinEventRequest.md +0 -2
  41. package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +0 -2
  42. package/docs/JoinEventResponse.md +0 -14
  43. package/docs/SendSubscriptionInvitationRequest.md +22 -0
  44. package/docs/{CheckTeamNameAvailability200Response.md → SendSubscriptionInvitationResponse.md} +7 -5
  45. package/docs/StaffBookingCourtSummary.md +26 -0
  46. package/docs/StaffBookingCustomerPayload.md +28 -0
  47. package/docs/StaffBookingListItem.md +54 -0
  48. package/docs/StaffBookingPaymentState.md +18 -0
  49. package/docs/StaffBookingPaymentSummary.md +34 -0
  50. package/docs/StaffBookingSportSummary.md +24 -0
  51. package/docs/StaffBookingUserSummary.md +28 -0
  52. package/docs/StaffBookingsPaginatedResponse.md +28 -0
  53. package/docs/StaffCreateBookingRequest.md +26 -0
  54. package/docs/SubscriptionsStaffApi.md +55 -0
  55. package/docs/UpdateEventRequest.md +6 -0
  56. package/index.ts +1 -1
  57. package/package.json +1 -1
  58. package/docs/ClientSubscription.md +0 -31
  59. package/docs/ClientSubscriptionItem.md +0 -25
  60. package/docs/ClientSubscriptionsResponse.md +0 -21
  61. package/docs/EstimateEventPrice200Response.md +0 -32
  62. package/docs/EstimateEventPriceRequest.md +0 -26
  63. package/docs/EstimateEventPriceRequestSharesInner.md +0 -22
  64. package/docs/JoinEventResponseOnsitePaymentsInner.md +0 -24
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.117
1
+ ## @tennac-booking/sdk@1.0.110
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.117 --save
39
+ npm install @tennac-booking/sdk@1.0.110 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -57,15 +57,16 @@ Class | Method | HTTP request | Description
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
59
  *BookingsStaffApi* | [**checkInPlayers**](docs/BookingsStaffApi.md#checkinplayers) | **POST** /api/bookings/{bookingId}/check-in |
60
+ *BookingsStaffApi* | [**createStaffBooking**](docs/BookingsStaffApi.md#createstaffbooking) | **POST** /api/bookings/staff |
60
61
  *BookingsStaffApi* | [**getBookingById**](docs/BookingsStaffApi.md#getbookingbyid) | **GET** /api/bookings/{bookingId} |
61
62
  *BookingsStaffApi* | [**getBookingHistoryStaff**](docs/BookingsStaffApi.md#getbookinghistorystaff) | **GET** /api/bookings/staff/history{bookingId} |
62
63
  *BookingsStaffApi* | [**getBookingPaymentStatus**](docs/BookingsStaffApi.md#getbookingpaymentstatus) | **GET** /api/bookings/{bookingId}/payment-status |
63
64
  *BookingsStaffApi* | [**getDailyBookings**](docs/BookingsStaffApi.md#getdailybookings) | **GET** /api/bookings/daily/{date} |
64
65
  *BookingsStaffApi* | [**getWeeklyBookings**](docs/BookingsStaffApi.md#getweeklybookings) | **GET** /api/bookings/weekly/{weekId} |
66
+ *BookingsStaffApi* | [**listClubBookings**](docs/BookingsStaffApi.md#listclubbookings) | **GET** /api/bookings/staff |
65
67
  *BookingsUserApi* | [**cancelBooking**](docs/BookingsUserApi.md#cancelbooking) | **DELETE** /api/bookings/{bookingId} |
66
68
  *BookingsUserApi* | [**createBooking**](docs/BookingsUserApi.md#createbooking) | **POST** /api/bookings |
67
69
  *ClientApi* | [**clientRegister**](docs/ClientApi.md#clientregister) | **POST** /clients/register |
68
- *ClientApi* | [**getClientSubscriptions**](docs/ClientApi.md#getclientsubscriptions) | **GET** /clients/subscriptions |
69
70
  *ClientApi* | [**getManagedClubs**](docs/ClientApi.md#getmanagedclubs) | **GET** /clients/managed-clubs |
70
71
  *ClientApi* | [**onboardClub**](docs/ClientApi.md#onboardclub) | **POST** /clients/onboarding |
71
72
  *ClubAnalyticsApi* | [**getMostLikedClub**](docs/ClubAnalyticsApi.md#getmostlikedclub) | **GET** /api/club-analytics/most-liked-clubs |
@@ -146,8 +147,6 @@ Class | Method | HTTP request | Description
146
147
  *ClubsStaffApi* | [**getUserProfileStaff**](docs/ClubsStaffApi.md#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} |
147
148
  *ClubsStaffApi* | [**updateUserCreditsStaff**](docs/ClubsStaffApi.md#updateusercreditsstaff) | **PUT** /api/clubs/staff/user-credits/{id} |
148
149
  *DefaultApi* | [**createClub**](docs/DefaultApi.md#createclub) | **POST** /api/clubs |
149
- *EventsApi* | [**checkTeamNameAvailability**](docs/EventsApi.md#checkteamnameavailability) | **GET** /api/events/{eventId}/team-name-availability |
150
- *EventsApi* | [**estimateEventPrice**](docs/EventsApi.md#estimateeventprice) | **POST** /api/events/{eventId}/estimate-price |
151
150
  *EventsApi* | [**getEventById**](docs/EventsApi.md#geteventbyid) | **GET** /api/events/{eventId} |
152
151
  *EventsApi* | [**getPublishedEventsByClubId**](docs/EventsApi.md#getpublishedeventsbyclubid) | **GET** /api/events |
153
152
  *EventsApi* | [**joinEvent**](docs/EventsApi.md#joinevent) | **POST** /api/events/{eventId}/join |
@@ -173,6 +172,7 @@ Class | Method | HTTP request | Description
173
172
  *SubscriptionsManagerApi* | [**updatePlan**](docs/SubscriptionsManagerApi.md#updateplan) | **PUT** /api/subscriptions/plans |
174
173
  *SubscriptionsPublicApi* | [**getPublicPlans**](docs/SubscriptionsPublicApi.md#getpublicplans) | **GET** /api/subscriptions/plans/{clubId} |
175
174
  *SubscriptionsStaffApi* | [**getClubPlans**](docs/SubscriptionsStaffApi.md#getclubplans) | **GET** /api/subscriptions/plans |
175
+ *SubscriptionsStaffApi* | [**sendSubscriptionInvitation**](docs/SubscriptionsStaffApi.md#sendsubscriptioninvitation) | **POST** /api/subscriptions/invitations |
176
176
  *SubscriptionsUserApi* | [**cancel**](docs/SubscriptionsUserApi.md#cancel) | **DELETE** /api/subscriptions/{clubId}/{subscriptionId} |
177
177
  *SubscriptionsUserApi* | [**mySubscriptions**](docs/SubscriptionsUserApi.md#mysubscriptions) | **GET** /api/subscriptions/me |
178
178
  *SubscriptionsUserApi* | [**resume**](docs/SubscriptionsUserApi.md#resume) | **POST** /api/subscriptions/{clubId}/{subscriptionId}/resume |
@@ -255,16 +255,12 @@ Class | Method | HTTP request | Description
255
255
  - [CheckInEventParticipantsRequest](docs/CheckInEventParticipantsRequest.md)
256
256
  - [CheckInPlayersRequest](docs/CheckInPlayersRequest.md)
257
257
  - [CheckInPlayersResponse](docs/CheckInPlayersResponse.md)
258
- - [CheckTeamNameAvailability200Response](docs/CheckTeamNameAvailability200Response.md)
259
258
  - [CheckedInPlayer](docs/CheckedInPlayer.md)
260
259
  - [ClientFullOnboardingResponse](docs/ClientFullOnboardingResponse.md)
261
260
  - [ClientFullOnboardingResponseClub](docs/ClientFullOnboardingResponseClub.md)
262
261
  - [ClientOnboardingRequestBody](docs/ClientOnboardingRequestBody.md)
263
262
  - [ClientRegister201Response](docs/ClientRegister201Response.md)
264
263
  - [ClientRegisterRequest](docs/ClientRegisterRequest.md)
265
- - [ClientSubscription](docs/ClientSubscription.md)
266
- - [ClientSubscriptionItem](docs/ClientSubscriptionItem.md)
267
- - [ClientSubscriptionsResponse](docs/ClientSubscriptionsResponse.md)
268
264
  - [ClubDaySchedule](docs/ClubDaySchedule.md)
269
265
  - [ClubEvent](docs/ClubEvent.md)
270
266
  - [ClubGeneralSettingsResponse](docs/ClubGeneralSettingsResponse.md)
@@ -287,6 +283,7 @@ Class | Method | HTTP request | Description
287
283
  - [ClubPlayerStatisticsResponseMostPlayedClub](docs/ClubPlayerStatisticsResponseMostPlayedClub.md)
288
284
  - [ClubPlayerStatisticsResponseMostPlayedPartnersInner](docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md)
289
285
  - [ClubPlayerSubscriptionSummary](docs/ClubPlayerSubscriptionSummary.md)
286
+ - [ClubPlayersPaginatedResponse](docs/ClubPlayersPaginatedResponse.md)
290
287
  - [ClubPresentation](docs/ClubPresentation.md)
291
288
  - [ClubPresentationSettingsResponse](docs/ClubPresentationSettingsResponse.md)
292
289
  - [ClubPricingPeriodResponse](docs/ClubPricingPeriodResponse.md)
@@ -328,12 +325,10 @@ Class | Method | HTTP request | Description
328
325
  - [DeleteSportResponse](docs/DeleteSportResponse.md)
329
326
  - [DeleteSubscriptionPlanResponse](docs/DeleteSubscriptionPlanResponse.md)
330
327
  - [DiscountType](docs/DiscountType.md)
331
- - [EstimateEventPrice200Response](docs/EstimateEventPrice200Response.md)
332
- - [EstimateEventPriceRequest](docs/EstimateEventPriceRequest.md)
333
- - [EstimateEventPriceRequestSharesInner](docs/EstimateEventPriceRequestSharesInner.md)
334
328
  - [EventConflictCheckRequest](docs/EventConflictCheckRequest.md)
335
329
  - [EventConflictCheckResponse](docs/EventConflictCheckResponse.md)
336
330
  - [EventResponse](docs/EventResponse.md)
331
+ - [EventSponsor](docs/EventSponsor.md)
337
332
  - [EventsListResponse](docs/EventsListResponse.md)
338
333
  - [FavoriteClubMutationResponse](docs/FavoriteClubMutationResponse.md)
339
334
  - [FavoriteClubRequestBody](docs/FavoriteClubRequestBody.md)
@@ -365,7 +360,6 @@ Class | Method | HTTP request | Description
365
360
  - [JoinEventRequest](docs/JoinEventRequest.md)
366
361
  - [JoinEventRequestPlayersPaymentMethodsInner](docs/JoinEventRequestPlayersPaymentMethodsInner.md)
367
362
  - [JoinEventResponse](docs/JoinEventResponse.md)
368
- - [JoinEventResponseOnsitePaymentsInner](docs/JoinEventResponseOnsitePaymentsInner.md)
369
363
  - [LastSixMonthsTurnoverItem](docs/LastSixMonthsTurnoverItem.md)
370
364
  - [LevelBySportEntry](docs/LevelBySportEntry.md)
371
365
  - [LoginRequestBody](docs/LoginRequestBody.md)
@@ -413,6 +407,8 @@ Class | Method | HTTP request | Description
413
407
  - [ResetPasswordRequest](docs/ResetPasswordRequest.md)
414
408
  - [RetentionRateResponse](docs/RetentionRateResponse.md)
415
409
  - [RevenueBySportItem](docs/RevenueBySportItem.md)
410
+ - [SendSubscriptionInvitationRequest](docs/SendSubscriptionInvitationRequest.md)
411
+ - [SendSubscriptionInvitationResponse](docs/SendSubscriptionInvitationResponse.md)
416
412
  - [SlotInfo](docs/SlotInfo.md)
417
413
  - [SportAnalyticsResponse](docs/SportAnalyticsResponse.md)
418
414
  - [SportInfo](docs/SportInfo.md)
@@ -420,6 +416,15 @@ Class | Method | HTTP request | Description
420
416
  - [SportLevel](docs/SportLevel.md)
421
417
  - [SportResponse](docs/SportResponse.md)
422
418
  - [SportWithLevels](docs/SportWithLevels.md)
419
+ - [StaffBookingCourtSummary](docs/StaffBookingCourtSummary.md)
420
+ - [StaffBookingCustomerPayload](docs/StaffBookingCustomerPayload.md)
421
+ - [StaffBookingListItem](docs/StaffBookingListItem.md)
422
+ - [StaffBookingPaymentState](docs/StaffBookingPaymentState.md)
423
+ - [StaffBookingPaymentSummary](docs/StaffBookingPaymentSummary.md)
424
+ - [StaffBookingSportSummary](docs/StaffBookingSportSummary.md)
425
+ - [StaffBookingUserSummary](docs/StaffBookingUserSummary.md)
426
+ - [StaffBookingsPaginatedResponse](docs/StaffBookingsPaginatedResponse.md)
427
+ - [StaffCreateBookingRequest](docs/StaffCreateBookingRequest.md)
423
428
  - [StaffUserProfileResponse](docs/StaffUserProfileResponse.md)
424
429
  - [StripeStripeDeletedProduct](docs/StripeStripeDeletedProduct.md)
425
430
  - [StripeStripePrice](docs/StripeStripePrice.md)