@tennac-booking/sdk 1.0.107 → 1.0.109
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 +1 -0
- package/README.md +5 -0
- package/api.ts +601 -2
- package/dist/api.d.ts +368 -2
- package/dist/api.js +373 -2
- package/dist/esm/api.d.ts +368 -2
- package/dist/esm/api.js +371 -0
- package/docs/ClubPlayerDetailResponse.md +2 -0
- package/docs/ClubSummary.md +8 -2
- package/docs/ClubsStaffApi.md +55 -0
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventsStaffApi.md +198 -0
- package/docs/UpdateUserCreditsRequest.md +20 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -269,6 +269,7 @@ docs/UpdateLevelBySportsRequestBody.md
|
|
|
269
269
|
docs/UpdatePlanRequest.md
|
|
270
270
|
docs/UpdateSportRequest.md
|
|
271
271
|
docs/UpdateSubscriptionPlanForClub200Response.md
|
|
272
|
+
docs/UpdateUserCreditsRequest.md
|
|
272
273
|
docs/UpdateUserRequestBody.md
|
|
273
274
|
docs/UpdateUserRequestBodyLevelBySportsInner.md
|
|
274
275
|
docs/UserApi.md
|
package/README.md
CHANGED
|
@@ -147,6 +147,7 @@ Class | Method | HTTP request | Description
|
|
|
147
147
|
*ClubsStaffApi* | [**getCourtsByClub**](docs/ClubsStaffApi.md#getcourtsbyclub) | **GET** /api/clubs/courts |
|
|
148
148
|
*ClubsStaffApi* | [**getInvoices**](docs/ClubsStaffApi.md#getinvoices) | **GET** /api/clubs/invoices |
|
|
149
149
|
*ClubsStaffApi* | [**getUserProfileStaff**](docs/ClubsStaffApi.md#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} |
|
|
150
|
+
*ClubsStaffApi* | [**updateUserCreditsStaff**](docs/ClubsStaffApi.md#updateusercreditsstaff) | **PUT** /api/clubs/staff/user-credits/{id} |
|
|
150
151
|
*DefaultApi* | [**createClub**](docs/DefaultApi.md#createclub) | **POST** /api/clubs |
|
|
151
152
|
*EventsApi* | [**getEventById**](docs/EventsApi.md#geteventbyid) | **GET** /api/events/{eventId} |
|
|
152
153
|
*EventsApi* | [**getPublishedEventsByClubId**](docs/EventsApi.md#getpublishedeventsbyclubid) | **GET** /api/events |
|
|
@@ -157,7 +158,10 @@ Class | Method | HTTP request | Description
|
|
|
157
158
|
*EventsManagerApi* | [**publishEvent**](docs/EventsManagerApi.md#publishevent) | **PUT** /api/events/manager/publishEvent/{eventId} |
|
|
158
159
|
*EventsManagerApi* | [**unpublishEvent**](docs/EventsManagerApi.md#unpublishevent) | **PUT** /api/events/manager/unpublishEvent/{eventId} |
|
|
159
160
|
*EventsManagerApi* | [**updateEvent**](docs/EventsManagerApi.md#updateevent) | **PUT** /api/events/manager/updateEvent/{eventId} |
|
|
161
|
+
*EventsStaffApi* | [**getDailyEvents**](docs/EventsStaffApi.md#getdailyevents) | **GET** /api/events/calendar/daily |
|
|
160
162
|
*EventsStaffApi* | [**getEventsByClub**](docs/EventsStaffApi.md#geteventsbyclub) | **GET** /api/events/staff/getEvents |
|
|
163
|
+
*EventsStaffApi* | [**getMonthlyEvents**](docs/EventsStaffApi.md#getmonthlyevents) | **GET** /api/events/calendar/monthly |
|
|
164
|
+
*EventsStaffApi* | [**getWeeklyEvents**](docs/EventsStaffApi.md#getweeklyevents) | **GET** /api/events/calendar/weekly |
|
|
161
165
|
*SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
|
|
162
166
|
*SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
|
|
163
167
|
*SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
|
|
@@ -450,6 +454,7 @@ Class | Method | HTTP request | Description
|
|
|
450
454
|
- [UpdatePlanRequest](docs/UpdatePlanRequest.md)
|
|
451
455
|
- [UpdateSportRequest](docs/UpdateSportRequest.md)
|
|
452
456
|
- [UpdateSubscriptionPlanForClub200Response](docs/UpdateSubscriptionPlanForClub200Response.md)
|
|
457
|
+
- [UpdateUserCreditsRequest](docs/UpdateUserCreditsRequest.md)
|
|
453
458
|
- [UpdateUserRequestBody](docs/UpdateUserRequestBody.md)
|
|
454
459
|
- [UpdateUserRequestBodyLevelBySportsInner](docs/UpdateUserRequestBodyLevelBySportsInner.md)
|
|
455
460
|
- [UserBookingsResponse](docs/UserBookingsResponse.md)
|