@tennac-booking/sdk 1.0.213 → 1.0.214
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.
- package/.openapi-generator/FILES +10 -2
- package/README.md +15 -5
- package/api.ts +581 -71
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +474 -67
- package/dist/api.js +177 -17
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +474 -67
- package/dist/esm/api.js +172 -12
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingsUserApi.md +6 -6
- package/docs/MarkNotificationsReadRequest.md +22 -0
- package/docs/MarkNotificationsReadResponse.md +20 -0
- package/docs/NotificationData.md +22 -0
- package/docs/NotificationParticipantPreview.md +22 -0
- package/docs/NotificationPreview.md +58 -0
- package/docs/NotificationResponse.md +36 -0
- package/docs/NotificationType.md +26 -0
- package/docs/OpenBookingPriceBody.md +26 -0
- package/docs/UserNotificationsResponse.md +22 -0
- package/docs/UserNotificationsResponseMeta.md +28 -0
- package/docs/UsersApi.md +110 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/GetOpenBookingPrice200Response.md +0 -24
- package/docs/GetOpenBookingPriceRequest.md +0 -26
package/.openapi-generator/FILES
CHANGED
|
@@ -204,8 +204,6 @@ docs/GetCourtsByClubAndSportById200ResponseCourtsInner.md
|
|
|
204
204
|
docs/GetGuestBookingPrice200Response.md
|
|
205
205
|
docs/GetGuestBookingPriceRequest.md
|
|
206
206
|
docs/GetInfillPercentagePerPeriod200Response.md
|
|
207
|
-
docs/GetOpenBookingPrice200Response.md
|
|
208
|
-
docs/GetOpenBookingPriceRequest.md
|
|
209
207
|
docs/GetOpenEventBookingJoinPrice200Response.md
|
|
210
208
|
docs/GetOpenEventBookings200Response.md
|
|
211
209
|
docs/GetPublishedActualities200Response.md
|
|
@@ -254,16 +252,24 @@ docs/LoginResponse.md
|
|
|
254
252
|
docs/ManagedClubsResponse.md
|
|
255
253
|
docs/ManagerCancelBookingRequest.md
|
|
256
254
|
docs/ManagerCancelBookingResponse.md
|
|
255
|
+
docs/MarkNotificationsReadRequest.md
|
|
256
|
+
docs/MarkNotificationsReadResponse.md
|
|
257
257
|
docs/MonthlyBreakdown.md
|
|
258
258
|
docs/MonthlyTurnoverResponse.md
|
|
259
259
|
docs/MyClubInfosResponse.md
|
|
260
260
|
docs/NoShowFeeResponse.md
|
|
261
261
|
docs/NoShowRateResponse.md
|
|
262
|
+
docs/NotificationData.md
|
|
263
|
+
docs/NotificationParticipantPreview.md
|
|
264
|
+
docs/NotificationPreview.md
|
|
265
|
+
docs/NotificationResponse.md
|
|
266
|
+
docs/NotificationType.md
|
|
262
267
|
docs/OffPeakRule.md
|
|
263
268
|
docs/OpenBookingBasePriceResponse.md
|
|
264
269
|
docs/OpenBookingInfo.md
|
|
265
270
|
docs/OpenBookingJoinEstimateResponse.md
|
|
266
271
|
docs/OpenBookingPlayerInfo.md
|
|
272
|
+
docs/OpenBookingPriceBody.md
|
|
267
273
|
docs/OpenBookingSportInfo.md
|
|
268
274
|
docs/OpenBookingsResponse.md
|
|
269
275
|
docs/PaginationInfo.md
|
|
@@ -407,6 +413,8 @@ docs/UserEventsResponse.md
|
|
|
407
413
|
docs/UserInfo.md
|
|
408
414
|
docs/UserLocationSummary.md
|
|
409
415
|
docs/UserNextBookingSummary.md
|
|
416
|
+
docs/UserNotificationsResponse.md
|
|
417
|
+
docs/UserNotificationsResponseMeta.md
|
|
410
418
|
docs/UserProfileResponse.md
|
|
411
419
|
docs/UserRolesResponse.md
|
|
412
420
|
docs/UserSubscriptionsResponse.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.214
|
|
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.
|
|
39
|
+
npm install @tennac-booking/sdk@1.0.214 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -255,11 +255,13 @@ Class | Method | HTTP request | Description
|
|
|
255
255
|
*UsersApi* | [**getPlayerCategories**](docs/UsersApi.md#getplayercategories) | **GET** /api/users/players/categories |
|
|
256
256
|
*UsersApi* | [**getUserBookings**](docs/UsersApi.md#getuserbookings) | **GET** /api/users/me/bookings |
|
|
257
257
|
*UsersApi* | [**getUserEvents**](docs/UsersApi.md#getuserevents) | **GET** /api/users/me/events |
|
|
258
|
+
*UsersApi* | [**getUserNotifications**](docs/UsersApi.md#getusernotifications) | **GET** /api/users/me/notifications |
|
|
258
259
|
*UsersApi* | [**getUserProfileById**](docs/UsersApi.md#getuserprofilebyid) | **GET** /api/users/profile/{id} |
|
|
259
260
|
*UsersApi* | [**leaveBooking**](docs/UsersApi.md#leavebooking) | **DELETE** /api/users/me/bookings/{bookingId}/leave |
|
|
260
261
|
*UsersApi* | [**listPlayers**](docs/UsersApi.md#listplayers) | **GET** /api/users/players |
|
|
261
262
|
*UsersApi* | [**login**](docs/UsersApi.md#login) | **POST** /api/users/login |
|
|
262
263
|
*UsersApi* | [**loginClubMember**](docs/UsersApi.md#loginclubmember) | **POST** /api/users/club-members/login |
|
|
264
|
+
*UsersApi* | [**markNotificationsRead**](docs/UsersApi.md#marknotificationsread) | **POST** /api/users/me/notifications/read |
|
|
263
265
|
*UsersApi* | [**refreshToken**](docs/UsersApi.md#refreshtoken) | **POST** /api/users/refresh-token |
|
|
264
266
|
*UsersApi* | [**register**](docs/UsersApi.md#register) | **POST** /api/users |
|
|
265
267
|
*UsersApi* | [**registerFromApp**](docs/UsersApi.md#registerfromapp) | **POST** /api/users/register-app |
|
|
@@ -270,7 +272,7 @@ Class | Method | HTTP request | Description
|
|
|
270
272
|
*UsersApi* | [**requestOrganizationCode**](docs/UsersApi.md#requestorganizationcode) | **POST** /api/users/me/request-organization-code |
|
|
271
273
|
*UsersApi* | [**requestPasswordReset**](docs/UsersApi.md#requestpasswordreset) | **POST** /api/users/request-password-reset |
|
|
272
274
|
*UsersApi* | [**resetPassword**](docs/UsersApi.md#resetpassword) | **POST** /api/users/reset-password |
|
|
273
|
-
*UsersApi* | [**searchPartner**](docs/UsersApi.md#searchpartner) | **GET** /api/users/
|
|
275
|
+
*UsersApi* | [**searchPartner**](docs/UsersApi.md#searchpartner) | **GET** /api/users/searchPartner |
|
|
274
276
|
*UsersApi* | [**signInOrSignUpWithGoogle**](docs/UsersApi.md#signinorsignupwithgoogle) | **POST** /api/users/googleSignin |
|
|
275
277
|
*UsersApi* | [**updateCustomer**](docs/UsersApi.md#updatecustomer) | **PUT** /api/users/me/customer |
|
|
276
278
|
*UsersApi* | [**updateLevelBySports**](docs/UsersApi.md#updatelevelbysports) | **PUT** /api/users/me/level-by-sports |
|
|
@@ -475,8 +477,6 @@ Class | Method | HTTP request | Description
|
|
|
475
477
|
- [GetGuestBookingPrice200Response](docs/GetGuestBookingPrice200Response.md)
|
|
476
478
|
- [GetGuestBookingPriceRequest](docs/GetGuestBookingPriceRequest.md)
|
|
477
479
|
- [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.md)
|
|
478
|
-
- [GetOpenBookingPrice200Response](docs/GetOpenBookingPrice200Response.md)
|
|
479
|
-
- [GetOpenBookingPriceRequest](docs/GetOpenBookingPriceRequest.md)
|
|
480
480
|
- [GetOpenEventBookingJoinPrice200Response](docs/GetOpenEventBookingJoinPrice200Response.md)
|
|
481
481
|
- [GetOpenEventBookings200Response](docs/GetOpenEventBookings200Response.md)
|
|
482
482
|
- [GetPublishedActualities200Response](docs/GetPublishedActualities200Response.md)
|
|
@@ -523,16 +523,24 @@ Class | Method | HTTP request | Description
|
|
|
523
523
|
- [ManagedClubsResponse](docs/ManagedClubsResponse.md)
|
|
524
524
|
- [ManagerCancelBookingRequest](docs/ManagerCancelBookingRequest.md)
|
|
525
525
|
- [ManagerCancelBookingResponse](docs/ManagerCancelBookingResponse.md)
|
|
526
|
+
- [MarkNotificationsReadRequest](docs/MarkNotificationsReadRequest.md)
|
|
527
|
+
- [MarkNotificationsReadResponse](docs/MarkNotificationsReadResponse.md)
|
|
526
528
|
- [MonthlyBreakdown](docs/MonthlyBreakdown.md)
|
|
527
529
|
- [MonthlyTurnoverResponse](docs/MonthlyTurnoverResponse.md)
|
|
528
530
|
- [MyClubInfosResponse](docs/MyClubInfosResponse.md)
|
|
529
531
|
- [NoShowFeeResponse](docs/NoShowFeeResponse.md)
|
|
530
532
|
- [NoShowRateResponse](docs/NoShowRateResponse.md)
|
|
533
|
+
- [NotificationData](docs/NotificationData.md)
|
|
534
|
+
- [NotificationParticipantPreview](docs/NotificationParticipantPreview.md)
|
|
535
|
+
- [NotificationPreview](docs/NotificationPreview.md)
|
|
536
|
+
- [NotificationResponse](docs/NotificationResponse.md)
|
|
537
|
+
- [NotificationType](docs/NotificationType.md)
|
|
531
538
|
- [OffPeakRule](docs/OffPeakRule.md)
|
|
532
539
|
- [OpenBookingBasePriceResponse](docs/OpenBookingBasePriceResponse.md)
|
|
533
540
|
- [OpenBookingInfo](docs/OpenBookingInfo.md)
|
|
534
541
|
- [OpenBookingJoinEstimateResponse](docs/OpenBookingJoinEstimateResponse.md)
|
|
535
542
|
- [OpenBookingPlayerInfo](docs/OpenBookingPlayerInfo.md)
|
|
543
|
+
- [OpenBookingPriceBody](docs/OpenBookingPriceBody.md)
|
|
536
544
|
- [OpenBookingSportInfo](docs/OpenBookingSportInfo.md)
|
|
537
545
|
- [OpenBookingsResponse](docs/OpenBookingsResponse.md)
|
|
538
546
|
- [PaginationInfo](docs/PaginationInfo.md)
|
|
@@ -668,6 +676,8 @@ Class | Method | HTTP request | Description
|
|
|
668
676
|
- [UserInfo](docs/UserInfo.md)
|
|
669
677
|
- [UserLocationSummary](docs/UserLocationSummary.md)
|
|
670
678
|
- [UserNextBookingSummary](docs/UserNextBookingSummary.md)
|
|
679
|
+
- [UserNotificationsResponse](docs/UserNotificationsResponse.md)
|
|
680
|
+
- [UserNotificationsResponseMeta](docs/UserNotificationsResponseMeta.md)
|
|
671
681
|
- [UserProfileResponse](docs/UserProfileResponse.md)
|
|
672
682
|
- [UserRolesResponse](docs/UserRolesResponse.md)
|
|
673
683
|
- [UserSubscriptionsResponse](docs/UserSubscriptionsResponse.md)
|