@tennac-booking/sdk 1.0.185 → 1.0.187
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 +423 -412
- package/README.md +19 -3
- package/api.ts +787 -87
- package/dist/api.d.ts +491 -48
- package/dist/api.js +469 -48
- package/dist/esm/api.d.ts +491 -48
- package/dist/esm/api.js +461 -44
- package/docs/AuthApi.md +113 -0
- package/docs/EventsStaffApi.md +119 -25
- package/docs/PublicEmailApi.md +4 -4
- package/docs/RequestOrganizationEmailCodeBody.md +22 -0
- package/docs/RequestOrganizationEmailCodeResponse.md +22 -0
- package/docs/RequestVerificationCodeBody.md +26 -0
- package/docs/RequestVerificationCodeResponse.md +20 -0
- package/docs/StaffEventsPageResponse.md +22 -0
- package/docs/SupportedLanguage.md +10 -0
- package/docs/UserNextBookingSummary.md +26 -0
- package/docs/UserProfileResponse.md +2 -0
- package/docs/UsersApi.md +104 -0
- package/docs/VerifyOrganizationEmailCodeBody.md +24 -0
- package/docs/VerifyOrganizationEmailCodeResponse.md +22 -0
- package/docs/VerifyVerificationCodeBody.md +24 -0
- package/docs/VerifyVerificationCodeResponse.md +20 -0
- package/package.json +1 -1
- package/docs/StaffEventsPaginatedResponse.md +0 -26
package/README.md
CHANGED
|
@@ -51,6 +51,8 @@ All URIs are relative to *http://localhost*
|
|
|
51
51
|
|
|
52
52
|
Class | Method | HTTP request | Description
|
|
53
53
|
------------ | ------------- | ------------- | -------------
|
|
54
|
+
*AuthApi* | [**requestVerificationCode**](docs/AuthApi.md#requestverificationcode) | **POST** /api/auth/verification-code |
|
|
55
|
+
*AuthApi* | [**verifyVerificationCode**](docs/AuthApi.md#verifyverificationcode) | **POST** /api/auth/verification-code/verify |
|
|
54
56
|
*BookingsApi* | [**createGuestBooking**](docs/BookingsApi.md#createguestbooking) | **POST** /api/bookings/guest |
|
|
55
57
|
*BookingsApi* | [**estimateOpenBookingJoinPrice**](docs/BookingsApi.md#estimateopenbookingjoinprice) | **GET** /api/bookings/{bookingId}/open/estimate |
|
|
56
58
|
*BookingsApi* | [**getBookingHistory**](docs/BookingsApi.md#getbookinghistory) | **GET** /api/bookings/history/{bookingId} |
|
|
@@ -199,13 +201,15 @@ Class | Method | HTTP request | Description
|
|
|
199
201
|
*EventsManagerApi* | [**updateRecurringDefinition**](docs/EventsManagerApi.md#updaterecurringdefinition) | **PUT** /api/events/manager/recurring/{definitionId} |
|
|
200
202
|
*EventsStaffApi* | [**checkInEventParticipants**](docs/EventsStaffApi.md#checkineventparticipants) | **POST** /api/events/{eventBookingId}/check-in |
|
|
201
203
|
*EventsStaffApi* | [**getDailyEvents**](docs/EventsStaffApi.md#getdailyevents) | **GET** /api/events/calendar/daily |
|
|
204
|
+
*EventsStaffApi* | [**getDraftEventsByClub**](docs/EventsStaffApi.md#getdrafteventsbyclub) | **GET** /api/events/staff/getEvents/drafts |
|
|
202
205
|
*EventsStaffApi* | [**getEventByIdForStaff**](docs/EventsStaffApi.md#geteventbyidforstaff) | **GET** /api/events/staff/{eventId} |
|
|
203
|
-
*EventsStaffApi* | [**getEventsByClub**](docs/EventsStaffApi.md#geteventsbyclub) | **GET** /api/events/staff/getEvents |
|
|
204
206
|
*EventsStaffApi* | [**getMonthlyEvents**](docs/EventsStaffApi.md#getmonthlyevents) | **GET** /api/events/calendar/monthly |
|
|
207
|
+
*EventsStaffApi* | [**getPastEventsByClub**](docs/EventsStaffApi.md#getpasteventsbyclub) | **GET** /api/events/staff/getEvents/past |
|
|
208
|
+
*EventsStaffApi* | [**getUpcomingEventsByClub**](docs/EventsStaffApi.md#getupcomingeventsbyclub) | **GET** /api/events/staff/getEvents/upcoming |
|
|
205
209
|
*EventsStaffApi* | [**getWeeklyEvents**](docs/EventsStaffApi.md#getweeklyevents) | **GET** /api/events/calendar/weekly |
|
|
206
210
|
*ImagesApi* | [**cleanupImages**](docs/ImagesApi.md#cleanupimages) | **POST** /api/images/cleanup |
|
|
207
211
|
*PublicEmailApi* | [**authEmailExists**](docs/PublicEmailApi.md#authemailexists) | **POST** /api/public-email/auth-email-exists |
|
|
208
|
-
*PublicEmailApi* | [**
|
|
212
|
+
*PublicEmailApi* | [**requestPublicEmailVerificationCode**](docs/PublicEmailApi.md#requestpublicemailverificationcode) | **POST** /api/public-email/request-verification-code |
|
|
209
213
|
*PublicEmailApi* | [**verifyCode**](docs/PublicEmailApi.md#verifycode) | **POST** /api/public-email/verify-code |
|
|
210
214
|
*SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
|
|
211
215
|
*SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
|
|
@@ -255,6 +259,7 @@ Class | Method | HTTP request | Description
|
|
|
255
259
|
*UsersApi* | [**removeFavoritePlayer**](docs/UsersApi.md#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} |
|
|
256
260
|
*UsersApi* | [**removeOrganization**](docs/UsersApi.md#removeorganization) | **POST** /api/users/me/remove-organization |
|
|
257
261
|
*UsersApi* | [**requestEmailVerification**](docs/UsersApi.md#requestemailverification) | **POST** /api/users/me/request-email-verification |
|
|
262
|
+
*UsersApi* | [**requestOrganizationCode**](docs/UsersApi.md#requestorganizationcode) | **POST** /api/users/me/request-organization-code |
|
|
258
263
|
*UsersApi* | [**requestPasswordReset**](docs/UsersApi.md#requestpasswordreset) | **POST** /api/users/request-password-reset |
|
|
259
264
|
*UsersApi* | [**resetPassword**](docs/UsersApi.md#resetpassword) | **POST** /api/users/reset-password |
|
|
260
265
|
*UsersApi* | [**signInOrSignUpWithGoogle**](docs/UsersApi.md#signinorsignupwithgoogle) | **POST** /api/users/googleSignin |
|
|
@@ -264,6 +269,7 @@ Class | Method | HTTP request | Description
|
|
|
264
269
|
*UsersApi* | [**updateProfilePicture**](docs/UsersApi.md#updateprofilepicture) | **PUT** /api/users/me/profile-picture |
|
|
265
270
|
*UsersApi* | [**verifyEmail**](docs/UsersApi.md#verifyemail) | **POST** /api/users/verify-email |
|
|
266
271
|
*UsersApi* | [**verifyOrganization**](docs/UsersApi.md#verifyorganization) | **POST** /api/users/verify-organization |
|
|
272
|
+
*UsersApi* | [**verifyOrganizationCode**](docs/UsersApi.md#verifyorganizationcode) | **POST** /api/users/me/verify-organization-code |
|
|
267
273
|
*WaitListApi* | [**getBookingPosition**](docs/WaitListApi.md#getbookingposition) | **GET** /api/waitlist/booking/{bookingId}/position |
|
|
268
274
|
*WaitListApi* | [**getEventBookingPosition**](docs/WaitListApi.md#geteventbookingposition) | **GET** /api/waitlist/event-booking/{eventBookingId}/position |
|
|
269
275
|
*WaitListApi* | [**getEventPosition**](docs/WaitListApi.md#geteventposition) | **GET** /api/waitlist/event/{eventId}/position |
|
|
@@ -559,6 +565,10 @@ Class | Method | HTTP request | Description
|
|
|
559
565
|
- [RegisterRequestBodyLocation](docs/RegisterRequestBodyLocation.md)
|
|
560
566
|
- [RequestEmailCodeBody](docs/RequestEmailCodeBody.md)
|
|
561
567
|
- [RequestEmailCodeResponse](docs/RequestEmailCodeResponse.md)
|
|
568
|
+
- [RequestOrganizationEmailCodeBody](docs/RequestOrganizationEmailCodeBody.md)
|
|
569
|
+
- [RequestOrganizationEmailCodeResponse](docs/RequestOrganizationEmailCodeResponse.md)
|
|
570
|
+
- [RequestVerificationCodeBody](docs/RequestVerificationCodeBody.md)
|
|
571
|
+
- [RequestVerificationCodeResponse](docs/RequestVerificationCodeResponse.md)
|
|
562
572
|
- [ResetPasswordRequest](docs/ResetPasswordRequest.md)
|
|
563
573
|
- [RetentionRateResponse](docs/RetentionRateResponse.md)
|
|
564
574
|
- [RevenueBySportItem](docs/RevenueBySportItem.md)
|
|
@@ -586,7 +596,7 @@ Class | Method | HTTP request | Description
|
|
|
586
596
|
- [StaffEventBookingInvoiceResponse](docs/StaffEventBookingInvoiceResponse.md)
|
|
587
597
|
- [StaffEventBookingResponse](docs/StaffEventBookingResponse.md)
|
|
588
598
|
- [StaffEventDetailResponse](docs/StaffEventDetailResponse.md)
|
|
589
|
-
- [
|
|
599
|
+
- [StaffEventsPageResponse](docs/StaffEventsPageResponse.md)
|
|
590
600
|
- [StaffUserProfileResponse](docs/StaffUserProfileResponse.md)
|
|
591
601
|
- [SubscribeRequestBody](docs/SubscribeRequestBody.md)
|
|
592
602
|
- [SubscriberPrice](docs/SubscriberPrice.md)
|
|
@@ -596,6 +606,7 @@ Class | Method | HTTP request | Description
|
|
|
596
606
|
- [SubscriptionPlanDiscountUpdateRequest](docs/SubscriptionPlanDiscountUpdateRequest.md)
|
|
597
607
|
- [SubscriptionPlanDiscountUpdateRequestValidFrom](docs/SubscriptionPlanDiscountUpdateRequestValidFrom.md)
|
|
598
608
|
- [SubscriptionPlanResponse](docs/SubscriptionPlanResponse.md)
|
|
609
|
+
- [SupportedLanguage](docs/SupportedLanguage.md)
|
|
599
610
|
- [SurfaceType](docs/SurfaceType.md)
|
|
600
611
|
- [Team](docs/Team.md)
|
|
601
612
|
- [TimeBounds](docs/TimeBounds.md)
|
|
@@ -636,12 +647,17 @@ Class | Method | HTTP request | Description
|
|
|
636
647
|
- [UserEventsResponse](docs/UserEventsResponse.md)
|
|
637
648
|
- [UserInfo](docs/UserInfo.md)
|
|
638
649
|
- [UserLocationSummary](docs/UserLocationSummary.md)
|
|
650
|
+
- [UserNextBookingSummary](docs/UserNextBookingSummary.md)
|
|
639
651
|
- [UserProfileResponse](docs/UserProfileResponse.md)
|
|
640
652
|
- [UserRolesResponse](docs/UserRolesResponse.md)
|
|
641
653
|
- [UserSubscriptionsResponse](docs/UserSubscriptionsResponse.md)
|
|
642
654
|
- [VerifyEmailCodeBody](docs/VerifyEmailCodeBody.md)
|
|
643
655
|
- [VerifyEmailCodeResponse](docs/VerifyEmailCodeResponse.md)
|
|
644
656
|
- [VerifyEmailRequest](docs/VerifyEmailRequest.md)
|
|
657
|
+
- [VerifyOrganizationEmailCodeBody](docs/VerifyOrganizationEmailCodeBody.md)
|
|
658
|
+
- [VerifyOrganizationEmailCodeResponse](docs/VerifyOrganizationEmailCodeResponse.md)
|
|
659
|
+
- [VerifyVerificationCodeBody](docs/VerifyVerificationCodeBody.md)
|
|
660
|
+
- [VerifyVerificationCodeResponse](docs/VerifyVerificationCodeResponse.md)
|
|
645
661
|
- [VisibilityType](docs/VisibilityType.md)
|
|
646
662
|
- [WaitListListResponse](docs/WaitListListResponse.md)
|
|
647
663
|
- [WaitListPositionResponse](docs/WaitListPositionResponse.md)
|