@tennac-booking/sdk 1.0.68 → 1.0.70

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 (48) hide show
  1. package/.openapi-generator/FILES +9 -2
  2. package/README.md +15 -5
  3. package/api.ts +889 -66
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +650 -42
  8. package/dist/api.js +295 -8
  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 +650 -42
  16. package/dist/esm/api.js +292 -5
  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/BookingDetailResponse.md +1 -1
  28. package/docs/{BookingHistory.md → BookingHistoryPopulated.md} +4 -4
  29. package/docs/BookingPopulated.md +27 -7
  30. package/docs/BookingStatus.md +3 -3
  31. package/docs/BookingSummary.md +1 -1
  32. package/docs/BookingsApi.md +81 -2
  33. package/docs/BookingsStaffApi.md +3 -3
  34. package/docs/CourtResponse.md +4 -0
  35. package/docs/CreateBookingRequest.md +2 -0
  36. package/docs/{BookingSummaryBookingHistory.md → PlayerCategoriesResponse.md} +5 -3
  37. package/docs/PlayerCategory.md +26 -0
  38. package/docs/PlayerCategoryId.md +16 -0
  39. package/docs/PlayerListResponse.md +26 -0
  40. package/docs/QuickReservationClubSummary.md +28 -0
  41. package/docs/QuickReservationClubSummaryLocation.md +31 -0
  42. package/docs/QuickReservationResponse.md +22 -0
  43. package/docs/QuickReservationSlotSummary.md +42 -0
  44. package/docs/UserInfo.md +4 -0
  45. package/docs/UserProfileResponse.md +2 -0
  46. package/docs/UsersApi.md +122 -0
  47. package/index.ts +1 -1
  48. package/package.json +1 -1
@@ -12,7 +12,7 @@ docs/AddOrganizationRequest.md
12
12
  docs/AddPaymentMethodRequestBody.md
13
13
  docs/BookingAnalyticsResponse.md
14
14
  docs/BookingDetailResponse.md
15
- docs/BookingHistory.md
15
+ docs/BookingHistoryPopulated.md
16
16
  docs/BookingInfo.md
17
17
  docs/BookingPaymentStatusResponse.md
18
18
  docs/BookingPaymentStatusResponseBooking.md
@@ -22,7 +22,6 @@ docs/BookingResponse.md
22
22
  docs/BookingResponseOnsitePaymentsInner.md
23
23
  docs/BookingStatus.md
24
24
  docs/BookingSummary.md
25
- docs/BookingSummaryBookingHistory.md
26
25
  docs/BookingSummaryClubAddress.md
27
26
  docs/BookingsApi.md
28
27
  docs/BookingsManagerApi.md
@@ -134,6 +133,10 @@ docs/PaymentMethod.md
134
133
  docs/PaymentMethodSetupResponse.md
135
134
  docs/PickIUserLocationExcludeKeyofIUserLocationType.md
136
135
  docs/PlanInterval.md
136
+ docs/PlayerCategoriesResponse.md
137
+ docs/PlayerCategory.md
138
+ docs/PlayerCategoryId.md
139
+ docs/PlayerListResponse.md
137
140
  docs/PlayerPaymentInfo.md
138
141
  docs/PlayerSummary.md
139
142
  docs/PlayerWithPaymentMethod.md
@@ -142,6 +145,10 @@ docs/ProfilePictureUpdateRequestBody.md
142
145
  docs/PublicSubscriptionPlanResponse.md
143
146
  docs/PublicUserProfileResponse.md
144
147
  docs/PublishEventResponse.md
148
+ docs/QuickReservationClubSummary.md
149
+ docs/QuickReservationClubSummaryLocation.md
150
+ docs/QuickReservationResponse.md
151
+ docs/QuickReservationSlotSummary.md
145
152
  docs/RefreshTokenRequestBody.md
146
153
  docs/RefreshTokenResponse.md
147
154
  docs/RegisterRequestBody.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.67
1
+ ## @tennac-booking/sdk@1.0.68
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.67 --save
39
+ npm install @tennac-booking/sdk@1.0.68 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -52,11 +52,12 @@ All URIs are relative to *http://localhost*
52
52
  Class | Method | HTTP request | Description
53
53
  ------------ | ------------- | ------------- | -------------
54
54
  *BookingsApi* | [**getBookingHistory**](docs/BookingsApi.md#getbookinghistory) | **GET** /api/bookings/history/{bookingId} |
55
+ *BookingsApi* | [**getQuickReservationSlots**](docs/BookingsApi.md#getquickreservationslots) | **GET** /api/bookings/quick-reservations |
55
56
  *BookingsManagerApi* | [**applyNoShowFee**](docs/BookingsManagerApi.md#applynoshowfee) | **POST** /api/bookings/{bookingId}/no-show |
56
57
  *BookingsManagerApi* | [**managerCancelBooking**](docs/BookingsManagerApi.md#managercancelbooking) | **POST** /api/bookings/{bookingId}/manager-cancel |
57
58
  *BookingsStaffApi* | [**checkInPlayers**](docs/BookingsStaffApi.md#checkinplayers) | **POST** /api/bookings/{bookingId}/check-in |
58
59
  *BookingsStaffApi* | [**getBookingById**](docs/BookingsStaffApi.md#getbookingbyid) | **GET** /api/bookings/{bookingId} |
59
- *BookingsStaffApi* | [**getBookingHistoryStaff**](docs/BookingsStaffApi.md#getbookinghistorystaff) | **GET** /api/bookings/staff/{bookingId} |
60
+ *BookingsStaffApi* | [**getBookingHistoryStaff**](docs/BookingsStaffApi.md#getbookinghistorystaff) | **GET** /api/bookings/staff/history{bookingId} |
60
61
  *BookingsStaffApi* | [**getBookingPaymentStatus**](docs/BookingsStaffApi.md#getbookingpaymentstatus) | **GET** /api/bookings/{bookingId}/payment-status |
61
62
  *BookingsStaffApi* | [**getDailyBookings**](docs/BookingsStaffApi.md#getdailybookings) | **GET** /api/bookings/daily/{date} |
62
63
  *BookingsStaffApi* | [**getWeeklyBookings**](docs/BookingsStaffApi.md#getweeklybookings) | **GET** /api/bookings/weekly/{weekId} |
@@ -159,8 +160,10 @@ Class | Method | HTTP request | Description
159
160
  *UsersApi* | [**getNearestClubsFromCoordinates**](docs/UsersApi.md#getnearestclubsfromcoordinates) | **GET** /api/users/nearest-clubs/coordinates |
160
161
  *UsersApi* | [**getNearestUsers**](docs/UsersApi.md#getnearestusers) | **GET** /api/users/me/nearest-players |
161
162
  *UsersApi* | [**getNearestUsersFromCoordinates**](docs/UsersApi.md#getnearestusersfromcoordinates) | **GET** /api/users/nearest-players/coordinates |
163
+ *UsersApi* | [**getPlayerCategories**](docs/UsersApi.md#getplayercategories) | **GET** /api/users/players/categories |
162
164
  *UsersApi* | [**getUserBookings**](docs/UsersApi.md#getuserbookings) | **GET** /api/users/me/bookings |
163
165
  *UsersApi* | [**getUserProfileById**](docs/UsersApi.md#getuserprofilebyid) | **GET** /api/users/profile/{id} |
166
+ *UsersApi* | [**listPlayers**](docs/UsersApi.md#listplayers) | **GET** /api/users/players |
164
167
  *UsersApi* | [**login**](docs/UsersApi.md#login) | **POST** /api/users/login |
165
168
  *UsersApi* | [**refreshToken**](docs/UsersApi.md#refreshtoken) | **POST** /api/users/refresh-token |
166
169
  *UsersApi* | [**register**](docs/UsersApi.md#register) | **POST** /api/users |
@@ -188,7 +191,7 @@ Class | Method | HTTP request | Description
188
191
  - [AddPaymentMethodRequestBody](docs/AddPaymentMethodRequestBody.md)
189
192
  - [BookingAnalyticsResponse](docs/BookingAnalyticsResponse.md)
190
193
  - [BookingDetailResponse](docs/BookingDetailResponse.md)
191
- - [BookingHistory](docs/BookingHistory.md)
194
+ - [BookingHistoryPopulated](docs/BookingHistoryPopulated.md)
192
195
  - [BookingInfo](docs/BookingInfo.md)
193
196
  - [BookingPaymentStatusResponse](docs/BookingPaymentStatusResponse.md)
194
197
  - [BookingPaymentStatusResponseBooking](docs/BookingPaymentStatusResponseBooking.md)
@@ -198,7 +201,6 @@ Class | Method | HTTP request | Description
198
201
  - [BookingResponseOnsitePaymentsInner](docs/BookingResponseOnsitePaymentsInner.md)
199
202
  - [BookingStatus](docs/BookingStatus.md)
200
203
  - [BookingSummary](docs/BookingSummary.md)
201
- - [BookingSummaryBookingHistory](docs/BookingSummaryBookingHistory.md)
202
204
  - [BookingSummaryClubAddress](docs/BookingSummaryClubAddress.md)
203
205
  - [CancelBookingResponse](docs/CancelBookingResponse.md)
204
206
  - [CaptureResult](docs/CaptureResult.md)
@@ -294,6 +296,10 @@ Class | Method | HTTP request | Description
294
296
  - [PaymentMethodSetupResponse](docs/PaymentMethodSetupResponse.md)
295
297
  - [PickIUserLocationExcludeKeyofIUserLocationType](docs/PickIUserLocationExcludeKeyofIUserLocationType.md)
296
298
  - [PlanInterval](docs/PlanInterval.md)
299
+ - [PlayerCategoriesResponse](docs/PlayerCategoriesResponse.md)
300
+ - [PlayerCategory](docs/PlayerCategory.md)
301
+ - [PlayerCategoryId](docs/PlayerCategoryId.md)
302
+ - [PlayerListResponse](docs/PlayerListResponse.md)
297
303
  - [PlayerPaymentInfo](docs/PlayerPaymentInfo.md)
298
304
  - [PlayerSummary](docs/PlayerSummary.md)
299
305
  - [PlayerWithPaymentMethod](docs/PlayerWithPaymentMethod.md)
@@ -302,6 +308,10 @@ Class | Method | HTTP request | Description
302
308
  - [PublicSubscriptionPlanResponse](docs/PublicSubscriptionPlanResponse.md)
303
309
  - [PublicUserProfileResponse](docs/PublicUserProfileResponse.md)
304
310
  - [PublishEventResponse](docs/PublishEventResponse.md)
311
+ - [QuickReservationClubSummary](docs/QuickReservationClubSummary.md)
312
+ - [QuickReservationClubSummaryLocation](docs/QuickReservationClubSummaryLocation.md)
313
+ - [QuickReservationResponse](docs/QuickReservationResponse.md)
314
+ - [QuickReservationSlotSummary](docs/QuickReservationSlotSummary.md)
305
315
  - [RefreshTokenRequestBody](docs/RefreshTokenRequestBody.md)
306
316
  - [RefreshTokenResponse](docs/RefreshTokenResponse.md)
307
317
  - [RegisterRequestBody](docs/RegisterRequestBody.md)