@tennac-booking/sdk 1.0.109 → 1.0.110
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 +292 -292
- package/README.md +20 -25
- package/api.ts +952 -1663
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +563 -953
- package/dist/api.js +509 -1063
- 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 +563 -953
- package/dist/esm/api.js +501 -1051
- 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/CheckInEventParticipants200Response.md +22 -0
- package/docs/CheckInEventParticipants200ResponseInvoicesInner.md +28 -0
- package/docs/{ClientRegisterResponse.md → CheckInEventParticipantsRequest.md} +5 -7
- package/docs/ClientApi.md +59 -4
- package/docs/{ClientAccountOnboardingResponse.md → ClientFullOnboardingResponse.md} +7 -11
- package/docs/ClientFullOnboardingResponseClub.md +24 -0
- package/docs/ClientRegister201Response.md +26 -0
- package/docs/{ClientRegisterRequestBody.md → ClientRegisterRequest.md} +7 -7
- package/docs/ClubPlayerDetailResponse.md +0 -2
- package/docs/ClubSummary.md +2 -8
- package/docs/ClubsStaffApi.md +59 -55
- package/docs/CreateEventRequest.md +1 -3
- package/docs/CreateOnsiteInvoiceRequest.md +28 -0
- package/docs/CreateOnsiteInvoiceResponse.md +22 -0
- package/docs/CreateOnsiteInvoiceResponseInvoice.md +31 -0
- package/docs/EventConflictCheckRequest.md +28 -0
- package/docs/EventConflictCheckResponse.md +26 -0
- package/docs/EventsManagerApi.md +114 -0
- package/docs/EventsStaffApi.md +20 -159
- package/docs/JoinEventRequest.md +8 -0
- package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +22 -0
- package/docs/PaymentMethod.md +4 -0
- package/docs/PublishEventResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ActiveSubscriptionResponse.md +0 -22
- package/docs/ClientAccountOnboardingRequest.md +0 -29
- package/docs/ClientAccountResponse.md +0 -44
- package/docs/ClientAccountsApi.md +0 -408
- package/docs/ClientMeResponse.md +0 -28
- package/docs/ClientOnboardingResponse.md +0 -27
- package/docs/ClientSubscriptionResponse.md +0 -34
- package/docs/GetSubscriptionsHistory200Response.md +0 -22
- package/docs/UpdateUserCreditsRequest.md +0 -20
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.110
|
|
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.110 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -64,16 +64,9 @@ Class | Method | HTTP request | Description
|
|
|
64
64
|
*BookingsStaffApi* | [**getWeeklyBookings**](docs/BookingsStaffApi.md#getweeklybookings) | **GET** /api/bookings/weekly/{weekId} |
|
|
65
65
|
*BookingsUserApi* | [**cancelBooking**](docs/BookingsUserApi.md#cancelbooking) | **DELETE** /api/bookings/{bookingId} |
|
|
66
66
|
*BookingsUserApi* | [**createBooking**](docs/BookingsUserApi.md#createbooking) | **POST** /api/bookings |
|
|
67
|
+
*ClientApi* | [**clientRegister**](docs/ClientApi.md#clientregister) | **POST** /clients/register |
|
|
67
68
|
*ClientApi* | [**getManagedClubs**](docs/ClientApi.md#getmanagedclubs) | **GET** /clients/managed-clubs |
|
|
68
69
|
*ClientApi* | [**onboardClub**](docs/ClientApi.md#onboardclub) | **POST** /clients/onboarding |
|
|
69
|
-
*ClientAccountsApi* | [**clientAuthMe**](docs/ClientAccountsApi.md#clientauthme) | **GET** /client-accounts/client-auth/me |
|
|
70
|
-
*ClientAccountsApi* | [**getClientAccountById**](docs/ClientAccountsApi.md#getclientaccountbyid) | **GET** /client-accounts/{accountId} |
|
|
71
|
-
*ClientAccountsApi* | [**getMyActiveSubscription**](docs/ClientAccountsApi.md#getmyactivesubscription) | **GET** /client-accounts/me/subscription |
|
|
72
|
-
*ClientAccountsApi* | [**getMyClientAccount**](docs/ClientAccountsApi.md#getmyclientaccount) | **GET** /client-accounts/me |
|
|
73
|
-
*ClientAccountsApi* | [**getSubscriptionsHistory**](docs/ClientAccountsApi.md#getsubscriptionshistory) | **GET** /client-accounts/me/subscriptions-history |
|
|
74
|
-
*ClientAccountsApi* | [**listAvailablePrices**](docs/ClientAccountsApi.md#listavailableprices) | **GET** /client-accounts/plans/available-prices |
|
|
75
|
-
*ClientAccountsApi* | [**onboardClientAccount**](docs/ClientAccountsApi.md#onboardclientaccount) | **POST** /client-accounts/onboarding |
|
|
76
|
-
*ClientAccountsApi* | [**registerClientUser**](docs/ClientAccountsApi.md#registerclientuser) | **POST** /client-accounts/register-client-user |
|
|
77
70
|
*ClubAnalyticsApi* | [**getMostLikedClub**](docs/ClubAnalyticsApi.md#getmostlikedclub) | **GET** /api/club-analytics/most-liked-clubs |
|
|
78
71
|
*ClubAnalyticsApi* | [**getPopularClubs**](docs/ClubAnalyticsApi.md#getpopularclubs) | **GET** /api/club-analytics/popular-clubs |
|
|
79
72
|
*ClubAnalyticsStaffApi* | [**getAnalyticsBySport**](docs/ClubAnalyticsStaffApi.md#getanalyticsbysport) | **GET** /api/club-analytics/sport/{sportId}/analytics |
|
|
@@ -139,6 +132,7 @@ Class | Method | HTTP request | Description
|
|
|
139
132
|
*ClubsManagerApi* | [**updateClubPresentationSettings**](docs/ClubsManagerApi.md#updateclubpresentationsettings) | **PUT** /api/clubs/settings/presentation |
|
|
140
133
|
*ClubsManagerApi* | [**updateCourt**](docs/ClubsManagerApi.md#updatecourt) | **PUT** /api/clubs/courts/{courtId} |
|
|
141
134
|
*ClubsManagerApi* | [**updateSubscriptionPlanForClub**](docs/ClubsManagerApi.md#updatesubscriptionplanforclub) | **PUT** /api/clubs/subscription-plans/{priceId} |
|
|
135
|
+
*ClubsStaffApi* | [**createOnsiteInvoiceForBooking**](docs/ClubsStaffApi.md#createonsiteinvoiceforbooking) | **POST** /api/clubs/staff/bookings/{bookingId}/invoices |
|
|
142
136
|
*ClubsStaffApi* | [**getActualities**](docs/ClubsStaffApi.md#getactualities) | **GET** /api/clubs/staff/actualities |
|
|
143
137
|
*ClubsStaffApi* | [**getClubInfos**](docs/ClubsStaffApi.md#getclubinfos) | **GET** /api/clubs/infos |
|
|
144
138
|
*ClubsStaffApi* | [**getClubMembers**](docs/ClubsStaffApi.md#getclubmembers) | **GET** /api/clubs/members |
|
|
@@ -147,21 +141,20 @@ Class | Method | HTTP request | Description
|
|
|
147
141
|
*ClubsStaffApi* | [**getCourtsByClub**](docs/ClubsStaffApi.md#getcourtsbyclub) | **GET** /api/clubs/courts |
|
|
148
142
|
*ClubsStaffApi* | [**getInvoices**](docs/ClubsStaffApi.md#getinvoices) | **GET** /api/clubs/invoices |
|
|
149
143
|
*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} |
|
|
151
144
|
*DefaultApi* | [**createClub**](docs/DefaultApi.md#createclub) | **POST** /api/clubs |
|
|
152
145
|
*EventsApi* | [**getEventById**](docs/EventsApi.md#geteventbyid) | **GET** /api/events/{eventId} |
|
|
153
146
|
*EventsApi* | [**getPublishedEventsByClubId**](docs/EventsApi.md#getpublishedeventsbyclubid) | **GET** /api/events |
|
|
154
147
|
*EventsApi* | [**joinEvent**](docs/EventsApi.md#joinevent) | **POST** /api/events/{eventId}/join |
|
|
155
148
|
*EventsApi* | [**leaveEvent**](docs/EventsApi.md#leaveevent) | **DELETE** /api/events/{eventId}/leave |
|
|
149
|
+
*EventsManagerApi* | [**checkEventConflicts**](docs/EventsManagerApi.md#checkeventconflicts) | **POST** /api/events/manager/checkConflicts |
|
|
156
150
|
*EventsManagerApi* | [**createEvent**](docs/EventsManagerApi.md#createevent) | **POST** /api/events/manager/createEvent |
|
|
157
151
|
*EventsManagerApi* | [**deleteEvent**](docs/EventsManagerApi.md#deleteevent) | **DELETE** /api/events/manager/deleteEvent/{eventId} |
|
|
158
152
|
*EventsManagerApi* | [**publishEvent**](docs/EventsManagerApi.md#publishevent) | **PUT** /api/events/manager/publishEvent/{eventId} |
|
|
159
153
|
*EventsManagerApi* | [**unpublishEvent**](docs/EventsManagerApi.md#unpublishevent) | **PUT** /api/events/manager/unpublishEvent/{eventId} |
|
|
160
154
|
*EventsManagerApi* | [**updateEvent**](docs/EventsManagerApi.md#updateevent) | **PUT** /api/events/manager/updateEvent/{eventId} |
|
|
161
|
-
*
|
|
155
|
+
*EventsManagerApi* | [**updatePublishedEvent**](docs/EventsManagerApi.md#updatepublishedevent) | **PUT** /api/events/manager/updatePublishedEvent/{eventId} |
|
|
156
|
+
*EventsStaffApi* | [**checkInEventParticipants**](docs/EventsStaffApi.md#checkineventparticipants) | **POST** /api/events/{eventBookingId}/check-in |
|
|
162
157
|
*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 |
|
|
165
158
|
*SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
|
|
166
159
|
*SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
|
|
167
160
|
*SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
|
|
@@ -216,7 +209,6 @@ Class | Method | HTTP request | Description
|
|
|
216
209
|
|
|
217
210
|
### Documentation For Models
|
|
218
211
|
|
|
219
|
-
- [ActiveSubscriptionResponse](docs/ActiveSubscriptionResponse.md)
|
|
220
212
|
- [AddClubMember201Response](docs/AddClubMember201Response.md)
|
|
221
213
|
- [AddClubMemberRequest](docs/AddClubMemberRequest.md)
|
|
222
214
|
- [AddOrganizationRequest](docs/AddOrganizationRequest.md)
|
|
@@ -245,18 +237,17 @@ Class | Method | HTTP request | Description
|
|
|
245
237
|
- [CaptureResult](docs/CaptureResult.md)
|
|
246
238
|
- [ChangePasswordRequestBody](docs/ChangePasswordRequestBody.md)
|
|
247
239
|
- [ChangePasswordResponse](docs/ChangePasswordResponse.md)
|
|
240
|
+
- [CheckInEventParticipants200Response](docs/CheckInEventParticipants200Response.md)
|
|
241
|
+
- [CheckInEventParticipants200ResponseInvoicesInner](docs/CheckInEventParticipants200ResponseInvoicesInner.md)
|
|
242
|
+
- [CheckInEventParticipantsRequest](docs/CheckInEventParticipantsRequest.md)
|
|
248
243
|
- [CheckInPlayersRequest](docs/CheckInPlayersRequest.md)
|
|
249
244
|
- [CheckInPlayersResponse](docs/CheckInPlayersResponse.md)
|
|
250
245
|
- [CheckedInPlayer](docs/CheckedInPlayer.md)
|
|
251
|
-
- [
|
|
252
|
-
- [
|
|
253
|
-
- [ClientAccountResponse](docs/ClientAccountResponse.md)
|
|
254
|
-
- [ClientMeResponse](docs/ClientMeResponse.md)
|
|
246
|
+
- [ClientFullOnboardingResponse](docs/ClientFullOnboardingResponse.md)
|
|
247
|
+
- [ClientFullOnboardingResponseClub](docs/ClientFullOnboardingResponseClub.md)
|
|
255
248
|
- [ClientOnboardingRequestBody](docs/ClientOnboardingRequestBody.md)
|
|
256
|
-
- [
|
|
257
|
-
- [
|
|
258
|
-
- [ClientRegisterResponse](docs/ClientRegisterResponse.md)
|
|
259
|
-
- [ClientSubscriptionResponse](docs/ClientSubscriptionResponse.md)
|
|
249
|
+
- [ClientRegister201Response](docs/ClientRegister201Response.md)
|
|
250
|
+
- [ClientRegisterRequest](docs/ClientRegisterRequest.md)
|
|
260
251
|
- [ClubDaySchedule](docs/ClubDaySchedule.md)
|
|
261
252
|
- [ClubEvent](docs/ClubEvent.md)
|
|
262
253
|
- [ClubGeneralSettingsResponse](docs/ClubGeneralSettingsResponse.md)
|
|
@@ -301,6 +292,9 @@ Class | Method | HTTP request | Description
|
|
|
301
292
|
- [CreateCourtForClub201Response](docs/CreateCourtForClub201Response.md)
|
|
302
293
|
- [CreateCourtRequest](docs/CreateCourtRequest.md)
|
|
303
294
|
- [CreateEventRequest](docs/CreateEventRequest.md)
|
|
295
|
+
- [CreateOnsiteInvoiceRequest](docs/CreateOnsiteInvoiceRequest.md)
|
|
296
|
+
- [CreateOnsiteInvoiceResponse](docs/CreateOnsiteInvoiceResponse.md)
|
|
297
|
+
- [CreateOnsiteInvoiceResponseInvoice](docs/CreateOnsiteInvoiceResponseInvoice.md)
|
|
304
298
|
- [CreatePlan201Response](docs/CreatePlan201Response.md)
|
|
305
299
|
- [CreateSportForClub201Response](docs/CreateSportForClub201Response.md)
|
|
306
300
|
- [CreateSportForClubRequest](docs/CreateSportForClubRequest.md)
|
|
@@ -315,6 +309,8 @@ Class | Method | HTTP request | Description
|
|
|
315
309
|
- [DeleteSportResponse](docs/DeleteSportResponse.md)
|
|
316
310
|
- [DeleteSubscriptionPlanResponse](docs/DeleteSubscriptionPlanResponse.md)
|
|
317
311
|
- [DiscountType](docs/DiscountType.md)
|
|
312
|
+
- [EventConflictCheckRequest](docs/EventConflictCheckRequest.md)
|
|
313
|
+
- [EventConflictCheckResponse](docs/EventConflictCheckResponse.md)
|
|
318
314
|
- [EventResponse](docs/EventResponse.md)
|
|
319
315
|
- [EventsListResponse](docs/EventsListResponse.md)
|
|
320
316
|
- [FavoriteClubMutationResponse](docs/FavoriteClubMutationResponse.md)
|
|
@@ -334,7 +330,6 @@ Class | Method | HTTP request | Description
|
|
|
334
330
|
- [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
|
|
335
331
|
- [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.md)
|
|
336
332
|
- [GetSlotsByClubById200Response](docs/GetSlotsByClubById200Response.md)
|
|
337
|
-
- [GetSubscriptionsHistory200Response](docs/GetSubscriptionsHistory200Response.md)
|
|
338
333
|
- [GoogleAuthRequestBody](docs/GoogleAuthRequestBody.md)
|
|
339
334
|
- [GoogleAuthResponse](docs/GoogleAuthResponse.md)
|
|
340
335
|
- [GoogleAuthResponseUser](docs/GoogleAuthResponseUser.md)
|
|
@@ -346,6 +341,7 @@ Class | Method | HTTP request | Description
|
|
|
346
341
|
- [InvoiceInfo](docs/InvoiceInfo.md)
|
|
347
342
|
- [InvoiceStatus](docs/InvoiceStatus.md)
|
|
348
343
|
- [JoinEventRequest](docs/JoinEventRequest.md)
|
|
344
|
+
- [JoinEventRequestPlayersPaymentMethodsInner](docs/JoinEventRequestPlayersPaymentMethodsInner.md)
|
|
349
345
|
- [JoinEventResponse](docs/JoinEventResponse.md)
|
|
350
346
|
- [LastSixMonthsTurnoverItem](docs/LastSixMonthsTurnoverItem.md)
|
|
351
347
|
- [LevelBySportEntry](docs/LevelBySportEntry.md)
|
|
@@ -454,7 +450,6 @@ Class | Method | HTTP request | Description
|
|
|
454
450
|
- [UpdatePlanRequest](docs/UpdatePlanRequest.md)
|
|
455
451
|
- [UpdateSportRequest](docs/UpdateSportRequest.md)
|
|
456
452
|
- [UpdateSubscriptionPlanForClub200Response](docs/UpdateSubscriptionPlanForClub200Response.md)
|
|
457
|
-
- [UpdateUserCreditsRequest](docs/UpdateUserCreditsRequest.md)
|
|
458
453
|
- [UpdateUserRequestBody](docs/UpdateUserRequestBody.md)
|
|
459
454
|
- [UpdateUserRequestBodyLevelBySportsInner](docs/UpdateUserRequestBodyLevelBySportsInner.md)
|
|
460
455
|
- [UserBookingsResponse](docs/UserBookingsResponse.md)
|