@tennac-booking/sdk 1.0.125 → 1.0.126
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 +333 -343
- package/README.md +9 -19
- package/api.ts +354 -619
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +256 -490
- package/dist/api.js +99 -156
- 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 +256 -490
- package/dist/esm/api.js +95 -152
- 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/BookingsStaffApi.md +10 -10
- package/docs/{EventBookingResponseSetupStatus.md → CheckInPlayerRequest.md} +5 -3
- package/docs/{CheckInPlayersResponse.md → CheckInPlayerResponse.md} +5 -5
- package/docs/ClubPlayerSubscriptionSummary.md +3 -3
- package/docs/CreatePlan201Response.md +2 -0
- package/docs/CreateSubscriptionPlanRequest.md +2 -2
- package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
- package/docs/DeleteSubscriptionPlanResponse.md +2 -0
- package/docs/EventsApi.md +1 -4
- package/docs/MonthlyTurnoverResponse.md +0 -1
- package/docs/OffPeakRule.md +2 -0
- package/docs/PlanPrice.md +26 -0
- package/docs/{CheckInPlayersRequest.md → PlanPriceInput.md} +7 -5
- package/docs/PublicSubscriptionPlanResponse.md +5 -1
- package/docs/PublishEventResponse.md +0 -2
- package/docs/SendSubscriptionInvitationRequest.md +2 -0
- package/docs/SubscriptionPlanDiscountResponse.md +34 -0
- package/docs/SubscriptionPlanResponse.md +7 -1
- package/docs/SubscriptionsManagerApi.md +55 -1
- package/docs/UsersApi.md +0 -54
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/EventBookingDetailSummary.md +0 -40
- package/docs/EventBookingResponse.md +0 -36
- package/docs/EventBookingResponsePlayersInner.md +0 -28
- package/docs/EventBookingResponsePlayersInnerInvoiceStatus.md +0 -18
- package/docs/EventBookingStatus.md +0 -16
- package/docs/InvoiceStatusSETUPPENDING.md +0 -8
- package/docs/InvoiceStatusSETUPSUCCESS.md +0 -8
- package/docs/ParticipationType.md +0 -10
- package/docs/UserEventParticipation.md +0 -22
- package/docs/UserEventSummary.md +0 -44
- package/docs/UserEventsResponse.md +0 -28
- package/docs/VisibilityType.md +0 -12
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.121
|
|
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.121 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -56,7 +56,7 @@ Class | Method | HTTP request | Description
|
|
|
56
56
|
*BookingsApi* | [**getQuickReservationSlots**](docs/BookingsApi.md#getquickreservationslots) | **GET** /api/bookings/quick-reservations |
|
|
57
57
|
*BookingsManagerApi* | [**applyNoShowFee**](docs/BookingsManagerApi.md#applynoshowfee) | **POST** /api/bookings/{bookingId}/no-show |
|
|
58
58
|
*BookingsManagerApi* | [**managerCancelBooking**](docs/BookingsManagerApi.md#managercancelbooking) | **POST** /api/bookings/{bookingId}/manager-cancel |
|
|
59
|
-
*BookingsStaffApi* | [**
|
|
59
|
+
*BookingsStaffApi* | [**checkInPlayer**](docs/BookingsStaffApi.md#checkinplayer) | **POST** /api/bookings/{bookingId}/check-in |
|
|
60
60
|
*BookingsStaffApi* | [**createStaffBooking**](docs/BookingsStaffApi.md#createstaffbooking) | **POST** /api/bookings/staff |
|
|
61
61
|
*BookingsStaffApi* | [**getBookingById**](docs/BookingsStaffApi.md#getbookingbyid) | **GET** /api/bookings/{bookingId} |
|
|
62
62
|
*BookingsStaffApi* | [**getBookingHistoryStaff**](docs/BookingsStaffApi.md#getbookinghistorystaff) | **GET** /api/bookings/staff/history{bookingId} |
|
|
@@ -171,6 +171,7 @@ Class | Method | HTTP request | Description
|
|
|
171
171
|
*SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
|
|
172
172
|
*SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
|
|
173
173
|
*SportsPublicApi* | [**getVerifiedSports**](docs/SportsPublicApi.md#getverifiedsports) | **GET** /api/sports/verified |
|
|
174
|
+
*SubscriptionsManagerApi* | [**archivePlan**](docs/SubscriptionsManagerApi.md#archiveplan) | **POST** /api/subscriptions/plans/{productId}/archive |
|
|
174
175
|
*SubscriptionsManagerApi* | [**createPlan**](docs/SubscriptionsManagerApi.md#createplan) | **POST** /api/subscriptions/plans |
|
|
175
176
|
*SubscriptionsManagerApi* | [**deletePlan**](docs/SubscriptionsManagerApi.md#deleteplan) | **DELETE** /api/subscriptions/plans/{productId} |
|
|
176
177
|
*SubscriptionsManagerApi* | [**updatePlan**](docs/SubscriptionsManagerApi.md#updateplan) | **PUT** /api/subscriptions/plans |
|
|
@@ -200,7 +201,6 @@ Class | Method | HTTP request | Description
|
|
|
200
201
|
*UsersApi* | [**getNearestUsersFromCoordinates**](docs/UsersApi.md#getnearestusersfromcoordinates) | **GET** /api/users/nearest-players/coordinates |
|
|
201
202
|
*UsersApi* | [**getPlayerCategories**](docs/UsersApi.md#getplayercategories) | **GET** /api/users/players/categories |
|
|
202
203
|
*UsersApi* | [**getUserBookings**](docs/UsersApi.md#getuserbookings) | **GET** /api/users/me/bookings |
|
|
203
|
-
*UsersApi* | [**getUserEvents**](docs/UsersApi.md#getuserevents) | **GET** /api/users/me/events |
|
|
204
204
|
*UsersApi* | [**getUserProfileById**](docs/UsersApi.md#getuserprofilebyid) | **GET** /api/users/profile/{id} |
|
|
205
205
|
*UsersApi* | [**listPlayers**](docs/UsersApi.md#listplayers) | **GET** /api/users/players |
|
|
206
206
|
*UsersApi* | [**login**](docs/UsersApi.md#login) | **POST** /api/users/login |
|
|
@@ -258,8 +258,8 @@ Class | Method | HTTP request | Description
|
|
|
258
258
|
- [CheckInEventParticipants200Response](docs/CheckInEventParticipants200Response.md)
|
|
259
259
|
- [CheckInEventParticipants200ResponseInvoicesInner](docs/CheckInEventParticipants200ResponseInvoicesInner.md)
|
|
260
260
|
- [CheckInEventParticipantsRequest](docs/CheckInEventParticipantsRequest.md)
|
|
261
|
-
- [
|
|
262
|
-
- [
|
|
261
|
+
- [CheckInPlayerRequest](docs/CheckInPlayerRequest.md)
|
|
262
|
+
- [CheckInPlayerResponse](docs/CheckInPlayerResponse.md)
|
|
263
263
|
- [CheckTeamNameAvailability200Response](docs/CheckTeamNameAvailability200Response.md)
|
|
264
264
|
- [CheckedInPlayer](docs/CheckedInPlayer.md)
|
|
265
265
|
- [ClientFullOnboardingResponse](docs/ClientFullOnboardingResponse.md)
|
|
@@ -337,12 +337,6 @@ Class | Method | HTTP request | Description
|
|
|
337
337
|
- [EstimateEventPrice200Response](docs/EstimateEventPrice200Response.md)
|
|
338
338
|
- [EstimateEventPriceRequest](docs/EstimateEventPriceRequest.md)
|
|
339
339
|
- [EstimateEventPriceRequestSharesInner](docs/EstimateEventPriceRequestSharesInner.md)
|
|
340
|
-
- [EventBookingDetailSummary](docs/EventBookingDetailSummary.md)
|
|
341
|
-
- [EventBookingResponse](docs/EventBookingResponse.md)
|
|
342
|
-
- [EventBookingResponsePlayersInner](docs/EventBookingResponsePlayersInner.md)
|
|
343
|
-
- [EventBookingResponsePlayersInnerInvoiceStatus](docs/EventBookingResponsePlayersInnerInvoiceStatus.md)
|
|
344
|
-
- [EventBookingResponseSetupStatus](docs/EventBookingResponseSetupStatus.md)
|
|
345
|
-
- [EventBookingStatus](docs/EventBookingStatus.md)
|
|
346
340
|
- [EventConflictCheckRequest](docs/EventConflictCheckRequest.md)
|
|
347
341
|
- [EventConflictCheckResponse](docs/EventConflictCheckResponse.md)
|
|
348
342
|
- [EventResponse](docs/EventResponse.md)
|
|
@@ -382,8 +376,6 @@ Class | Method | HTTP request | Description
|
|
|
382
376
|
- [ImageReferencePayload](docs/ImageReferencePayload.md)
|
|
383
377
|
- [InvoiceInfo](docs/InvoiceInfo.md)
|
|
384
378
|
- [InvoiceStatus](docs/InvoiceStatus.md)
|
|
385
|
-
- [InvoiceStatusSETUPPENDING](docs/InvoiceStatusSETUPPENDING.md)
|
|
386
|
-
- [InvoiceStatusSETUPSUCCESS](docs/InvoiceStatusSETUPSUCCESS.md)
|
|
387
379
|
- [JoinEventRequest](docs/JoinEventRequest.md)
|
|
388
380
|
- [JoinEventRequestPlayersPaymentMethodsInner](docs/JoinEventRequestPlayersPaymentMethodsInner.md)
|
|
389
381
|
- [JoinEventResponse](docs/JoinEventResponse.md)
|
|
@@ -403,12 +395,13 @@ Class | Method | HTTP request | Description
|
|
|
403
395
|
- [PartialClubActiveResponse](docs/PartialClubActiveResponse.md)
|
|
404
396
|
- [PartialClubActiveResponseLocation](docs/PartialClubActiveResponseLocation.md)
|
|
405
397
|
- [PartialClubWeeklySchedule](docs/PartialClubWeeklySchedule.md)
|
|
406
|
-
- [ParticipationType](docs/ParticipationType.md)
|
|
407
398
|
- [PasswordResetRequestBody](docs/PasswordResetRequestBody.md)
|
|
408
399
|
- [PaymentByPlayerInfo](docs/PaymentByPlayerInfo.md)
|
|
409
400
|
- [PaymentMethod](docs/PaymentMethod.md)
|
|
410
401
|
- [PickIUserLocationExcludeKeyofIUserLocationType](docs/PickIUserLocationExcludeKeyofIUserLocationType.md)
|
|
411
402
|
- [PlanInterval](docs/PlanInterval.md)
|
|
403
|
+
- [PlanPrice](docs/PlanPrice.md)
|
|
404
|
+
- [PlanPriceInput](docs/PlanPriceInput.md)
|
|
412
405
|
- [PlayerCategoriesResponse](docs/PlayerCategoriesResponse.md)
|
|
413
406
|
- [PlayerCategory](docs/PlayerCategory.md)
|
|
414
407
|
- [PlayerCategoryId](docs/PlayerCategoryId.md)
|
|
@@ -486,6 +479,7 @@ Class | Method | HTTP request | Description
|
|
|
486
479
|
- [SubscriberPrice](docs/SubscriberPrice.md)
|
|
487
480
|
- [SubscriptionInfo](docs/SubscriptionInfo.md)
|
|
488
481
|
- [SubscriptionMutationResponse](docs/SubscriptionMutationResponse.md)
|
|
482
|
+
- [SubscriptionPlanDiscountResponse](docs/SubscriptionPlanDiscountResponse.md)
|
|
489
483
|
- [SubscriptionPlanResponse](docs/SubscriptionPlanResponse.md)
|
|
490
484
|
- [SurfaceType](docs/SurfaceType.md)
|
|
491
485
|
- [Team](docs/Team.md)
|
|
@@ -515,16 +509,12 @@ Class | Method | HTTP request | Description
|
|
|
515
509
|
- [UserClubMembership](docs/UserClubMembership.md)
|
|
516
510
|
- [UserClubMembershipsResponse](docs/UserClubMembershipsResponse.md)
|
|
517
511
|
- [UserClubSubscription](docs/UserClubSubscription.md)
|
|
518
|
-
- [UserEventParticipation](docs/UserEventParticipation.md)
|
|
519
|
-
- [UserEventSummary](docs/UserEventSummary.md)
|
|
520
|
-
- [UserEventsResponse](docs/UserEventsResponse.md)
|
|
521
512
|
- [UserInfo](docs/UserInfo.md)
|
|
522
513
|
- [UserLocationSummary](docs/UserLocationSummary.md)
|
|
523
514
|
- [UserProfileResponse](docs/UserProfileResponse.md)
|
|
524
515
|
- [UserRolesResponse](docs/UserRolesResponse.md)
|
|
525
516
|
- [UserSubscriptionsResponse](docs/UserSubscriptionsResponse.md)
|
|
526
517
|
- [VerifyEmailRequest](docs/VerifyEmailRequest.md)
|
|
527
|
-
- [VisibilityType](docs/VisibilityType.md)
|
|
528
518
|
- [YearlyTurnoverResponse](docs/YearlyTurnoverResponse.md)
|
|
529
519
|
|
|
530
520
|
|