@tennac-booking/sdk 1.0.186 → 1.0.188
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 +11 -0
- package/README.md +15 -1
- package/api.ts +639 -15
- package/dist/api.d.ts +451 -10
- package/dist/api.js +320 -15
- package/dist/esm/api.d.ts +451 -10
- package/dist/esm/api.js +312 -11
- package/docs/AuthApi.md +113 -0
- package/docs/ClubSummary.md +6 -0
- 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/SportResponse.md +2 -0
- package/docs/SupportedLanguage.md +10 -0
- package/docs/UserNextBookingSummary.md +26 -0
- package/docs/UserProfileResponse.md +6 -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/.openapi-generator/FILES
CHANGED
|
@@ -13,6 +13,7 @@ docs/AgendaBooking.md
|
|
|
13
13
|
docs/AgendaBookingPlayer.md
|
|
14
14
|
docs/AgendaBookingSlot.md
|
|
15
15
|
docs/AppRegisterRequestBody.md
|
|
16
|
+
docs/AuthApi.md
|
|
16
17
|
docs/BookingAnalyticsResponse.md
|
|
17
18
|
docs/BookingClubInfo.md
|
|
18
19
|
docs/BookingCourtInfo.md
|
|
@@ -305,6 +306,10 @@ docs/RegisterRequestBody.md
|
|
|
305
306
|
docs/RegisterRequestBodyLocation.md
|
|
306
307
|
docs/RequestEmailCodeBody.md
|
|
307
308
|
docs/RequestEmailCodeResponse.md
|
|
309
|
+
docs/RequestOrganizationEmailCodeBody.md
|
|
310
|
+
docs/RequestOrganizationEmailCodeResponse.md
|
|
311
|
+
docs/RequestVerificationCodeBody.md
|
|
312
|
+
docs/RequestVerificationCodeResponse.md
|
|
308
313
|
docs/ResetPasswordRequest.md
|
|
309
314
|
docs/RetentionRateResponse.md
|
|
310
315
|
docs/RevenueBySportItem.md
|
|
@@ -348,6 +353,7 @@ docs/SubscriptionsManagerApi.md
|
|
|
348
353
|
docs/SubscriptionsPublicApi.md
|
|
349
354
|
docs/SubscriptionsStaffApi.md
|
|
350
355
|
docs/SubscriptionsUserApi.md
|
|
356
|
+
docs/SupportedLanguage.md
|
|
351
357
|
docs/SurfaceType.md
|
|
352
358
|
docs/Team.md
|
|
353
359
|
docs/TimeBounds.md
|
|
@@ -389,6 +395,7 @@ docs/UserEventSummary.md
|
|
|
389
395
|
docs/UserEventsResponse.md
|
|
390
396
|
docs/UserInfo.md
|
|
391
397
|
docs/UserLocationSummary.md
|
|
398
|
+
docs/UserNextBookingSummary.md
|
|
392
399
|
docs/UserProfileResponse.md
|
|
393
400
|
docs/UserRolesResponse.md
|
|
394
401
|
docs/UserSubscriptionsResponse.md
|
|
@@ -396,6 +403,10 @@ docs/UsersApi.md
|
|
|
396
403
|
docs/VerifyEmailCodeBody.md
|
|
397
404
|
docs/VerifyEmailCodeResponse.md
|
|
398
405
|
docs/VerifyEmailRequest.md
|
|
406
|
+
docs/VerifyOrganizationEmailCodeBody.md
|
|
407
|
+
docs/VerifyOrganizationEmailCodeResponse.md
|
|
408
|
+
docs/VerifyVerificationCodeBody.md
|
|
409
|
+
docs/VerifyVerificationCodeResponse.md
|
|
399
410
|
docs/VisibilityType.md
|
|
400
411
|
docs/WaitListApi.md
|
|
401
412
|
docs/WaitListListResponse.md
|
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} |
|
|
@@ -207,7 +209,7 @@ Class | Method | HTTP request | Description
|
|
|
207
209
|
*EventsStaffApi* | [**getWeeklyEvents**](docs/EventsStaffApi.md#getweeklyevents) | **GET** /api/events/calendar/weekly |
|
|
208
210
|
*ImagesApi* | [**cleanupImages**](docs/ImagesApi.md#cleanupimages) | **POST** /api/images/cleanup |
|
|
209
211
|
*PublicEmailApi* | [**authEmailExists**](docs/PublicEmailApi.md#authemailexists) | **POST** /api/public-email/auth-email-exists |
|
|
210
|
-
*PublicEmailApi* | [**
|
|
212
|
+
*PublicEmailApi* | [**requestPublicEmailVerificationCode**](docs/PublicEmailApi.md#requestpublicemailverificationcode) | **POST** /api/public-email/request-verification-code |
|
|
211
213
|
*PublicEmailApi* | [**verifyCode**](docs/PublicEmailApi.md#verifycode) | **POST** /api/public-email/verify-code |
|
|
212
214
|
*SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
|
|
213
215
|
*SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
|
|
@@ -257,6 +259,7 @@ Class | Method | HTTP request | Description
|
|
|
257
259
|
*UsersApi* | [**removeFavoritePlayer**](docs/UsersApi.md#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} |
|
|
258
260
|
*UsersApi* | [**removeOrganization**](docs/UsersApi.md#removeorganization) | **POST** /api/users/me/remove-organization |
|
|
259
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 |
|
|
260
263
|
*UsersApi* | [**requestPasswordReset**](docs/UsersApi.md#requestpasswordreset) | **POST** /api/users/request-password-reset |
|
|
261
264
|
*UsersApi* | [**resetPassword**](docs/UsersApi.md#resetpassword) | **POST** /api/users/reset-password |
|
|
262
265
|
*UsersApi* | [**signInOrSignUpWithGoogle**](docs/UsersApi.md#signinorsignupwithgoogle) | **POST** /api/users/googleSignin |
|
|
@@ -266,6 +269,7 @@ Class | Method | HTTP request | Description
|
|
|
266
269
|
*UsersApi* | [**updateProfilePicture**](docs/UsersApi.md#updateprofilepicture) | **PUT** /api/users/me/profile-picture |
|
|
267
270
|
*UsersApi* | [**verifyEmail**](docs/UsersApi.md#verifyemail) | **POST** /api/users/verify-email |
|
|
268
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 |
|
|
269
273
|
*WaitListApi* | [**getBookingPosition**](docs/WaitListApi.md#getbookingposition) | **GET** /api/waitlist/booking/{bookingId}/position |
|
|
270
274
|
*WaitListApi* | [**getEventBookingPosition**](docs/WaitListApi.md#geteventbookingposition) | **GET** /api/waitlist/event-booking/{eventBookingId}/position |
|
|
271
275
|
*WaitListApi* | [**getEventPosition**](docs/WaitListApi.md#geteventposition) | **GET** /api/waitlist/event/{eventId}/position |
|
|
@@ -561,6 +565,10 @@ Class | Method | HTTP request | Description
|
|
|
561
565
|
- [RegisterRequestBodyLocation](docs/RegisterRequestBodyLocation.md)
|
|
562
566
|
- [RequestEmailCodeBody](docs/RequestEmailCodeBody.md)
|
|
563
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)
|
|
564
572
|
- [ResetPasswordRequest](docs/ResetPasswordRequest.md)
|
|
565
573
|
- [RetentionRateResponse](docs/RetentionRateResponse.md)
|
|
566
574
|
- [RevenueBySportItem](docs/RevenueBySportItem.md)
|
|
@@ -598,6 +606,7 @@ Class | Method | HTTP request | Description
|
|
|
598
606
|
- [SubscriptionPlanDiscountUpdateRequest](docs/SubscriptionPlanDiscountUpdateRequest.md)
|
|
599
607
|
- [SubscriptionPlanDiscountUpdateRequestValidFrom](docs/SubscriptionPlanDiscountUpdateRequestValidFrom.md)
|
|
600
608
|
- [SubscriptionPlanResponse](docs/SubscriptionPlanResponse.md)
|
|
609
|
+
- [SupportedLanguage](docs/SupportedLanguage.md)
|
|
601
610
|
- [SurfaceType](docs/SurfaceType.md)
|
|
602
611
|
- [Team](docs/Team.md)
|
|
603
612
|
- [TimeBounds](docs/TimeBounds.md)
|
|
@@ -638,12 +647,17 @@ Class | Method | HTTP request | Description
|
|
|
638
647
|
- [UserEventsResponse](docs/UserEventsResponse.md)
|
|
639
648
|
- [UserInfo](docs/UserInfo.md)
|
|
640
649
|
- [UserLocationSummary](docs/UserLocationSummary.md)
|
|
650
|
+
- [UserNextBookingSummary](docs/UserNextBookingSummary.md)
|
|
641
651
|
- [UserProfileResponse](docs/UserProfileResponse.md)
|
|
642
652
|
- [UserRolesResponse](docs/UserRolesResponse.md)
|
|
643
653
|
- [UserSubscriptionsResponse](docs/UserSubscriptionsResponse.md)
|
|
644
654
|
- [VerifyEmailCodeBody](docs/VerifyEmailCodeBody.md)
|
|
645
655
|
- [VerifyEmailCodeResponse](docs/VerifyEmailCodeResponse.md)
|
|
646
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)
|
|
647
661
|
- [VisibilityType](docs/VisibilityType.md)
|
|
648
662
|
- [WaitListListResponse](docs/WaitListListResponse.md)
|
|
649
663
|
- [WaitListPositionResponse](docs/WaitListPositionResponse.md)
|