@tennac-booking/sdk 1.0.168 → 1.0.170
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 -1
- package/README.md +13 -1
- package/api.ts +496 -19
- package/dist/api.d.ts +369 -22
- package/dist/api.js +229 -2
- package/dist/esm/api.d.ts +369 -22
- package/dist/esm/api.js +223 -0
- package/docs/ClubsApi.md +2 -2
- package/docs/ClubsStaffApi.md +2 -2
- package/docs/EmailExistsRequestBody.md +20 -0
- package/docs/EmailExistsResponse.md +20 -0
- package/docs/EventsStaffApi.md +2 -2
- package/docs/{GetActualities200Response.md → GetPublishedActualities200Response.md} +3 -3
- package/docs/PaginationInfo.md +28 -0
- package/docs/PublicEmailApi.md +167 -0
- package/docs/RequestEmailCodeBody.md +20 -0
- package/docs/RequestEmailCodeResponse.md +22 -0
- package/docs/StaffActualitiesPaginatedResponse.md +26 -0
- package/docs/StaffEventsPaginatedResponse.md +26 -0
- package/docs/VerifyEmailCodeBody.md +22 -0
- package/docs/VerifyEmailCodeResponse.md +22 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -149,6 +149,8 @@ docs/DeleteSportResponse.md
|
|
|
149
149
|
docs/DeleteSubscriptionPlanResponse.md
|
|
150
150
|
docs/DiscountType.md
|
|
151
151
|
docs/DuplicateClubDayScheduleRequest.md
|
|
152
|
+
docs/EmailExistsRequestBody.md
|
|
153
|
+
docs/EmailExistsResponse.md
|
|
152
154
|
docs/EstimateEventPrice200Response.md
|
|
153
155
|
docs/EstimateEventPriceRequest.md
|
|
154
156
|
docs/EstimateEventPriceRequestSharesInner.md
|
|
@@ -179,7 +181,6 @@ docs/FavoritePlayerRequestBody.md
|
|
|
179
181
|
docs/FavoritePlayersResponse.md
|
|
180
182
|
docs/Gender.md
|
|
181
183
|
docs/GenderPercentageResponse.md
|
|
182
|
-
docs/GetActualities200Response.md
|
|
183
184
|
docs/GetAvailableSlotsBySports200Response.md
|
|
184
185
|
docs/GetClubMembers200Response.md
|
|
185
186
|
docs/GetClubRoles200Response.md
|
|
@@ -195,6 +196,7 @@ docs/GetInfillPercentagePerPeriod200Response.md
|
|
|
195
196
|
docs/GetOpenBookings200Response.md
|
|
196
197
|
docs/GetOpenEventBookingJoinPrice200Response.md
|
|
197
198
|
docs/GetOpenEventBookings200Response.md
|
|
199
|
+
docs/GetPublishedActualities200Response.md
|
|
198
200
|
docs/GetSlotsByClubById200Response.md
|
|
199
201
|
docs/GoogleAuthRequestBody.md
|
|
200
202
|
docs/GoogleAuthResponse.md
|
|
@@ -240,6 +242,7 @@ docs/MyClubInfosResponse.md
|
|
|
240
242
|
docs/NoShowFeeResponse.md
|
|
241
243
|
docs/NoShowRateResponse.md
|
|
242
244
|
docs/OffPeakRule.md
|
|
245
|
+
docs/PaginationInfo.md
|
|
243
246
|
docs/PartialClubActiveResponse.md
|
|
244
247
|
docs/PartialClubActiveResponseLocation.md
|
|
245
248
|
docs/PartialHotelAccessSettings.md
|
|
@@ -268,6 +271,7 @@ docs/PlayerWithPaymentMethod.md
|
|
|
268
271
|
docs/ProfilePictureResponse.md
|
|
269
272
|
docs/ProfilePictureUpdateRequestBody.md
|
|
270
273
|
docs/PublicAccessSettings.md
|
|
274
|
+
docs/PublicEmailApi.md
|
|
271
275
|
docs/PublicSubscriptionPlanResponse.md
|
|
272
276
|
docs/PublicUserProfileResponse.md
|
|
273
277
|
docs/PublishEventResponse.md
|
|
@@ -282,6 +286,8 @@ docs/RefreshTokenRequestBody.md
|
|
|
282
286
|
docs/RefreshTokenResponse.md
|
|
283
287
|
docs/RegisterRequestBody.md
|
|
284
288
|
docs/RegisterRequestBodyLocation.md
|
|
289
|
+
docs/RequestEmailCodeBody.md
|
|
290
|
+
docs/RequestEmailCodeResponse.md
|
|
285
291
|
docs/RequestPasswordReset200Response.md
|
|
286
292
|
docs/ResetPasswordRequest.md
|
|
287
293
|
docs/RetentionRateResponse.md
|
|
@@ -299,6 +305,7 @@ docs/SportResponse.md
|
|
|
299
305
|
docs/SportWithLevels.md
|
|
300
306
|
docs/SportsManagerApi.md
|
|
301
307
|
docs/SportsPublicApi.md
|
|
308
|
+
docs/StaffActualitiesPaginatedResponse.md
|
|
302
309
|
docs/StaffBookingCourtSummary.md
|
|
303
310
|
docs/StaffBookingCustomerPayload.md
|
|
304
311
|
docs/StaffBookingListItem.md
|
|
@@ -308,6 +315,7 @@ docs/StaffBookingSportSummary.md
|
|
|
308
315
|
docs/StaffBookingUserSummary.md
|
|
309
316
|
docs/StaffBookingsPaginatedResponse.md
|
|
310
317
|
docs/StaffCreateBookingRequest.md
|
|
318
|
+
docs/StaffEventsPaginatedResponse.md
|
|
311
319
|
docs/StaffUserProfileResponse.md
|
|
312
320
|
docs/SubscribeRequestBody.md
|
|
313
321
|
docs/SubscriberPrice.md
|
|
@@ -365,6 +373,8 @@ docs/UserProfileResponse.md
|
|
|
365
373
|
docs/UserRolesResponse.md
|
|
366
374
|
docs/UserSubscriptionsResponse.md
|
|
367
375
|
docs/UsersApi.md
|
|
376
|
+
docs/VerifyEmailCodeBody.md
|
|
377
|
+
docs/VerifyEmailCodeResponse.md
|
|
368
378
|
docs/VerifyEmailRequest.md
|
|
369
379
|
docs/VisibilityType.md
|
|
370
380
|
docs/WeekdayAverageItem.md
|
package/README.md
CHANGED
|
@@ -200,6 +200,9 @@ Class | Method | HTTP request | Description
|
|
|
200
200
|
*EventsStaffApi* | [**getMonthlyEvents**](docs/EventsStaffApi.md#getmonthlyevents) | **GET** /api/events/calendar/monthly |
|
|
201
201
|
*EventsStaffApi* | [**getWeeklyEvents**](docs/EventsStaffApi.md#getweeklyevents) | **GET** /api/events/calendar/weekly |
|
|
202
202
|
*ImagesApi* | [**cleanupImages**](docs/ImagesApi.md#cleanupimages) | **POST** /api/images/cleanup |
|
|
203
|
+
*PublicEmailApi* | [**authEmailExists**](docs/PublicEmailApi.md#authemailexists) | **POST** /api/public-email/auth-email-exists |
|
|
204
|
+
*PublicEmailApi* | [**requestVerificationCode**](docs/PublicEmailApi.md#requestverificationcode) | **POST** /api/public-email/request-verification-code |
|
|
205
|
+
*PublicEmailApi* | [**verifyCode**](docs/PublicEmailApi.md#verifycode) | **POST** /api/public-email/verify-code |
|
|
203
206
|
*SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
|
|
204
207
|
*SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
|
|
205
208
|
*SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
|
|
@@ -383,6 +386,8 @@ Class | Method | HTTP request | Description
|
|
|
383
386
|
- [DeleteSubscriptionPlanResponse](docs/DeleteSubscriptionPlanResponse.md)
|
|
384
387
|
- [DiscountType](docs/DiscountType.md)
|
|
385
388
|
- [DuplicateClubDayScheduleRequest](docs/DuplicateClubDayScheduleRequest.md)
|
|
389
|
+
- [EmailExistsRequestBody](docs/EmailExistsRequestBody.md)
|
|
390
|
+
- [EmailExistsResponse](docs/EmailExistsResponse.md)
|
|
386
391
|
- [EstimateEventPrice200Response](docs/EstimateEventPrice200Response.md)
|
|
387
392
|
- [EstimateEventPriceRequest](docs/EstimateEventPriceRequest.md)
|
|
388
393
|
- [EstimateEventPriceRequestSharesInner](docs/EstimateEventPriceRequestSharesInner.md)
|
|
@@ -410,7 +415,6 @@ Class | Method | HTTP request | Description
|
|
|
410
415
|
- [FavoritePlayersResponse](docs/FavoritePlayersResponse.md)
|
|
411
416
|
- [Gender](docs/Gender.md)
|
|
412
417
|
- [GenderPercentageResponse](docs/GenderPercentageResponse.md)
|
|
413
|
-
- [GetActualities200Response](docs/GetActualities200Response.md)
|
|
414
418
|
- [GetAvailableSlotsBySports200Response](docs/GetAvailableSlotsBySports200Response.md)
|
|
415
419
|
- [GetClubMembers200Response](docs/GetClubMembers200Response.md)
|
|
416
420
|
- [GetClubRoles200Response](docs/GetClubRoles200Response.md)
|
|
@@ -426,6 +430,7 @@ Class | Method | HTTP request | Description
|
|
|
426
430
|
- [GetOpenBookings200Response](docs/GetOpenBookings200Response.md)
|
|
427
431
|
- [GetOpenEventBookingJoinPrice200Response](docs/GetOpenEventBookingJoinPrice200Response.md)
|
|
428
432
|
- [GetOpenEventBookings200Response](docs/GetOpenEventBookings200Response.md)
|
|
433
|
+
- [GetPublishedActualities200Response](docs/GetPublishedActualities200Response.md)
|
|
429
434
|
- [GetSlotsByClubById200Response](docs/GetSlotsByClubById200Response.md)
|
|
430
435
|
- [GoogleAuthRequestBody](docs/GoogleAuthRequestBody.md)
|
|
431
436
|
- [GoogleAuthResponse](docs/GoogleAuthResponse.md)
|
|
@@ -470,6 +475,7 @@ Class | Method | HTTP request | Description
|
|
|
470
475
|
- [NoShowFeeResponse](docs/NoShowFeeResponse.md)
|
|
471
476
|
- [NoShowRateResponse](docs/NoShowRateResponse.md)
|
|
472
477
|
- [OffPeakRule](docs/OffPeakRule.md)
|
|
478
|
+
- [PaginationInfo](docs/PaginationInfo.md)
|
|
473
479
|
- [PartialClubActiveResponse](docs/PartialClubActiveResponse.md)
|
|
474
480
|
- [PartialClubActiveResponseLocation](docs/PartialClubActiveResponseLocation.md)
|
|
475
481
|
- [PartialHotelAccessSettings](docs/PartialHotelAccessSettings.md)
|
|
@@ -512,6 +518,8 @@ Class | Method | HTTP request | Description
|
|
|
512
518
|
- [RefreshTokenResponse](docs/RefreshTokenResponse.md)
|
|
513
519
|
- [RegisterRequestBody](docs/RegisterRequestBody.md)
|
|
514
520
|
- [RegisterRequestBodyLocation](docs/RegisterRequestBodyLocation.md)
|
|
521
|
+
- [RequestEmailCodeBody](docs/RequestEmailCodeBody.md)
|
|
522
|
+
- [RequestEmailCodeResponse](docs/RequestEmailCodeResponse.md)
|
|
515
523
|
- [RequestPasswordReset200Response](docs/RequestPasswordReset200Response.md)
|
|
516
524
|
- [ResetPasswordRequest](docs/ResetPasswordRequest.md)
|
|
517
525
|
- [RetentionRateResponse](docs/RetentionRateResponse.md)
|
|
@@ -527,6 +535,7 @@ Class | Method | HTTP request | Description
|
|
|
527
535
|
- [SportLevel](docs/SportLevel.md)
|
|
528
536
|
- [SportResponse](docs/SportResponse.md)
|
|
529
537
|
- [SportWithLevels](docs/SportWithLevels.md)
|
|
538
|
+
- [StaffActualitiesPaginatedResponse](docs/StaffActualitiesPaginatedResponse.md)
|
|
530
539
|
- [StaffBookingCourtSummary](docs/StaffBookingCourtSummary.md)
|
|
531
540
|
- [StaffBookingCustomerPayload](docs/StaffBookingCustomerPayload.md)
|
|
532
541
|
- [StaffBookingListItem](docs/StaffBookingListItem.md)
|
|
@@ -536,6 +545,7 @@ Class | Method | HTTP request | Description
|
|
|
536
545
|
- [StaffBookingUserSummary](docs/StaffBookingUserSummary.md)
|
|
537
546
|
- [StaffBookingsPaginatedResponse](docs/StaffBookingsPaginatedResponse.md)
|
|
538
547
|
- [StaffCreateBookingRequest](docs/StaffCreateBookingRequest.md)
|
|
548
|
+
- [StaffEventsPaginatedResponse](docs/StaffEventsPaginatedResponse.md)
|
|
539
549
|
- [StaffUserProfileResponse](docs/StaffUserProfileResponse.md)
|
|
540
550
|
- [SubscribeRequestBody](docs/SubscribeRequestBody.md)
|
|
541
551
|
- [SubscriberPrice](docs/SubscriberPrice.md)
|
|
@@ -587,6 +597,8 @@ Class | Method | HTTP request | Description
|
|
|
587
597
|
- [UserProfileResponse](docs/UserProfileResponse.md)
|
|
588
598
|
- [UserRolesResponse](docs/UserRolesResponse.md)
|
|
589
599
|
- [UserSubscriptionsResponse](docs/UserSubscriptionsResponse.md)
|
|
600
|
+
- [VerifyEmailCodeBody](docs/VerifyEmailCodeBody.md)
|
|
601
|
+
- [VerifyEmailCodeResponse](docs/VerifyEmailCodeResponse.md)
|
|
590
602
|
- [VerifyEmailRequest](docs/VerifyEmailRequest.md)
|
|
591
603
|
- [VisibilityType](docs/VisibilityType.md)
|
|
592
604
|
- [WeekdayAverageItem](docs/WeekdayAverageItem.md)
|