@tennac-booking/sdk 1.0.110 → 1.0.111
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 +296 -292
- package/README.md +30 -20
- package/api.ts +1991 -1063
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1222 -662
- package/dist/api.js +1140 -511
- 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 +1222 -662
- package/dist/esm/api.js +1126 -501
- 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/ActiveSubscriptionResponse.md +22 -0
- package/docs/AgendaBooking.md +30 -0
- package/docs/{JoinEventRequestPlayersPaymentMethodsInner.md → AgendaBookingPlayer.md} +9 -5
- package/docs/AgendaBookingSlot.md +30 -0
- package/docs/AgendaPaymentStatus.md +12 -0
- package/docs/BookingsWithTimeBoundsResponse.md +1 -1
- package/docs/ClientAccountOnboardingRequest.md +29 -0
- package/docs/{ClientFullOnboardingResponse.md → ClientAccountOnboardingResponse.md} +11 -7
- package/docs/ClientAccountResponse.md +44 -0
- package/docs/ClientAccountsApi.md +408 -0
- package/docs/ClientApi.md +4 -59
- package/docs/ClientMeResponse.md +28 -0
- package/docs/ClientOnboardingResponse.md +27 -0
- package/docs/{ClientRegisterRequest.md → ClientRegisterRequestBody.md} +7 -7
- package/docs/{CheckInEventParticipantsRequest.md → ClientRegisterResponse.md} +7 -5
- package/docs/ClientSubscriptionResponse.md +34 -0
- package/docs/ClubPlayerDetailResponse.md +2 -0
- package/docs/ClubSummary.md +8 -2
- package/docs/ClubsManagerApi.md +56 -0
- package/docs/ClubsStaffApi.md +55 -59
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventsManagerApi.md +0 -114
- package/docs/EventsStaffApi.md +159 -20
- package/docs/GetSubscriptionsHistory200Response.md +22 -0
- package/docs/JoinEventRequest.md +0 -8
- package/docs/PaymentMethod.md +0 -4
- package/docs/PublishEventResponse.md +0 -2
- package/docs/UpdateUserCreditsRequest.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/CheckInEventParticipants200Response.md +0 -22
- package/docs/CheckInEventParticipants200ResponseInvoicesInner.md +0 -28
- package/docs/ClientFullOnboardingResponseClub.md +0 -24
- package/docs/ClientRegister201Response.md +0 -26
- package/docs/CreateOnsiteInvoiceRequest.md +0 -28
- package/docs/CreateOnsiteInvoiceResponse.md +0 -22
- package/docs/CreateOnsiteInvoiceResponseInvoice.md +0 -31
- package/docs/EventConflictCheckRequest.md +0 -28
- package/docs/EventConflictCheckResponse.md +0 -26
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.104
|
|
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.104 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -64,9 +64,16 @@ 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 |
|
|
68
67
|
*ClientApi* | [**getManagedClubs**](docs/ClientApi.md#getmanagedclubs) | **GET** /clients/managed-clubs |
|
|
69
68
|
*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 |
|
|
70
77
|
*ClubAnalyticsApi* | [**getMostLikedClub**](docs/ClubAnalyticsApi.md#getmostlikedclub) | **GET** /api/club-analytics/most-liked-clubs |
|
|
71
78
|
*ClubAnalyticsApi* | [**getPopularClubs**](docs/ClubAnalyticsApi.md#getpopularclubs) | **GET** /api/club-analytics/popular-clubs |
|
|
72
79
|
*ClubAnalyticsStaffApi* | [**getAnalyticsBySport**](docs/ClubAnalyticsStaffApi.md#getanalyticsbysport) | **GET** /api/club-analytics/sport/{sportId}/analytics |
|
|
@@ -119,6 +126,7 @@ Class | Method | HTTP request | Description
|
|
|
119
126
|
*ClubsManagerApi* | [**createPriceForSubscriptionPlan**](docs/ClubsManagerApi.md#createpriceforsubscriptionplan) | **POST** /api/clubs/subscription-plans/{productId}/prices |
|
|
120
127
|
*ClubsManagerApi* | [**createSportForClub**](docs/ClubsManagerApi.md#createsportforclub) | **POST** /api/clubs/sports |
|
|
121
128
|
*ClubsManagerApi* | [**deleteActuality**](docs/ClubsManagerApi.md#deleteactuality) | **DELETE** /api/clubs/actualities/{actualityId} |
|
|
129
|
+
*ClubsManagerApi* | [**deleteClubMember**](docs/ClubsManagerApi.md#deleteclubmember) | **DELETE** /api/clubs/members/{userId} |
|
|
122
130
|
*ClubsManagerApi* | [**deleteCourt**](docs/ClubsManagerApi.md#deletecourt) | **DELETE** /api/clubs/courts/{courtId} |
|
|
123
131
|
*ClubsManagerApi* | [**deleteSlotsByClubInRange**](docs/ClubsManagerApi.md#deleteslotsbyclubinrange) | **DELETE** /api/clubs/slots |
|
|
124
132
|
*ClubsManagerApi* | [**deleteSubscriptionPlanForClub**](docs/ClubsManagerApi.md#deletesubscriptionplanforclub) | **DELETE** /api/clubs/subscription-plans/{productId} |
|
|
@@ -132,7 +140,6 @@ Class | Method | HTTP request | Description
|
|
|
132
140
|
*ClubsManagerApi* | [**updateClubPresentationSettings**](docs/ClubsManagerApi.md#updateclubpresentationsettings) | **PUT** /api/clubs/settings/presentation |
|
|
133
141
|
*ClubsManagerApi* | [**updateCourt**](docs/ClubsManagerApi.md#updatecourt) | **PUT** /api/clubs/courts/{courtId} |
|
|
134
142
|
*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 |
|
|
136
143
|
*ClubsStaffApi* | [**getActualities**](docs/ClubsStaffApi.md#getactualities) | **GET** /api/clubs/staff/actualities |
|
|
137
144
|
*ClubsStaffApi* | [**getClubInfos**](docs/ClubsStaffApi.md#getclubinfos) | **GET** /api/clubs/infos |
|
|
138
145
|
*ClubsStaffApi* | [**getClubMembers**](docs/ClubsStaffApi.md#getclubmembers) | **GET** /api/clubs/members |
|
|
@@ -141,20 +148,21 @@ Class | Method | HTTP request | Description
|
|
|
141
148
|
*ClubsStaffApi* | [**getCourtsByClub**](docs/ClubsStaffApi.md#getcourtsbyclub) | **GET** /api/clubs/courts |
|
|
142
149
|
*ClubsStaffApi* | [**getInvoices**](docs/ClubsStaffApi.md#getinvoices) | **GET** /api/clubs/invoices |
|
|
143
150
|
*ClubsStaffApi* | [**getUserProfileStaff**](docs/ClubsStaffApi.md#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} |
|
|
151
|
+
*ClubsStaffApi* | [**updateUserCreditsStaff**](docs/ClubsStaffApi.md#updateusercreditsstaff) | **PUT** /api/clubs/staff/user-credits/{id} |
|
|
144
152
|
*DefaultApi* | [**createClub**](docs/DefaultApi.md#createclub) | **POST** /api/clubs |
|
|
145
153
|
*EventsApi* | [**getEventById**](docs/EventsApi.md#geteventbyid) | **GET** /api/events/{eventId} |
|
|
146
154
|
*EventsApi* | [**getPublishedEventsByClubId**](docs/EventsApi.md#getpublishedeventsbyclubid) | **GET** /api/events |
|
|
147
155
|
*EventsApi* | [**joinEvent**](docs/EventsApi.md#joinevent) | **POST** /api/events/{eventId}/join |
|
|
148
156
|
*EventsApi* | [**leaveEvent**](docs/EventsApi.md#leaveevent) | **DELETE** /api/events/{eventId}/leave |
|
|
149
|
-
*EventsManagerApi* | [**checkEventConflicts**](docs/EventsManagerApi.md#checkeventconflicts) | **POST** /api/events/manager/checkConflicts |
|
|
150
157
|
*EventsManagerApi* | [**createEvent**](docs/EventsManagerApi.md#createevent) | **POST** /api/events/manager/createEvent |
|
|
151
158
|
*EventsManagerApi* | [**deleteEvent**](docs/EventsManagerApi.md#deleteevent) | **DELETE** /api/events/manager/deleteEvent/{eventId} |
|
|
152
159
|
*EventsManagerApi* | [**publishEvent**](docs/EventsManagerApi.md#publishevent) | **PUT** /api/events/manager/publishEvent/{eventId} |
|
|
153
160
|
*EventsManagerApi* | [**unpublishEvent**](docs/EventsManagerApi.md#unpublishevent) | **PUT** /api/events/manager/unpublishEvent/{eventId} |
|
|
154
161
|
*EventsManagerApi* | [**updateEvent**](docs/EventsManagerApi.md#updateevent) | **PUT** /api/events/manager/updateEvent/{eventId} |
|
|
155
|
-
*
|
|
156
|
-
*EventsStaffApi* | [**checkInEventParticipants**](docs/EventsStaffApi.md#checkineventparticipants) | **POST** /api/events/{eventBookingId}/check-in |
|
|
162
|
+
*EventsStaffApi* | [**getDailyEvents**](docs/EventsStaffApi.md#getdailyevents) | **GET** /api/events/calendar/daily |
|
|
157
163
|
*EventsStaffApi* | [**getEventsByClub**](docs/EventsStaffApi.md#geteventsbyclub) | **GET** /api/events/staff/getEvents |
|
|
164
|
+
*EventsStaffApi* | [**getMonthlyEvents**](docs/EventsStaffApi.md#getmonthlyevents) | **GET** /api/events/calendar/monthly |
|
|
165
|
+
*EventsStaffApi* | [**getWeeklyEvents**](docs/EventsStaffApi.md#getweeklyevents) | **GET** /api/events/calendar/weekly |
|
|
158
166
|
*SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
|
|
159
167
|
*SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
|
|
160
168
|
*SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
|
|
@@ -209,9 +217,14 @@ Class | Method | HTTP request | Description
|
|
|
209
217
|
|
|
210
218
|
### Documentation For Models
|
|
211
219
|
|
|
220
|
+
- [ActiveSubscriptionResponse](docs/ActiveSubscriptionResponse.md)
|
|
212
221
|
- [AddClubMember201Response](docs/AddClubMember201Response.md)
|
|
213
222
|
- [AddClubMemberRequest](docs/AddClubMemberRequest.md)
|
|
214
223
|
- [AddOrganizationRequest](docs/AddOrganizationRequest.md)
|
|
224
|
+
- [AgendaBooking](docs/AgendaBooking.md)
|
|
225
|
+
- [AgendaBookingPlayer](docs/AgendaBookingPlayer.md)
|
|
226
|
+
- [AgendaBookingSlot](docs/AgendaBookingSlot.md)
|
|
227
|
+
- [AgendaPaymentStatus](docs/AgendaPaymentStatus.md)
|
|
215
228
|
- [BookingAnalyticsResponse](docs/BookingAnalyticsResponse.md)
|
|
216
229
|
- [BookingClubInfo](docs/BookingClubInfo.md)
|
|
217
230
|
- [BookingCourtInfo](docs/BookingCourtInfo.md)
|
|
@@ -237,17 +250,18 @@ Class | Method | HTTP request | Description
|
|
|
237
250
|
- [CaptureResult](docs/CaptureResult.md)
|
|
238
251
|
- [ChangePasswordRequestBody](docs/ChangePasswordRequestBody.md)
|
|
239
252
|
- [ChangePasswordResponse](docs/ChangePasswordResponse.md)
|
|
240
|
-
- [CheckInEventParticipants200Response](docs/CheckInEventParticipants200Response.md)
|
|
241
|
-
- [CheckInEventParticipants200ResponseInvoicesInner](docs/CheckInEventParticipants200ResponseInvoicesInner.md)
|
|
242
|
-
- [CheckInEventParticipantsRequest](docs/CheckInEventParticipantsRequest.md)
|
|
243
253
|
- [CheckInPlayersRequest](docs/CheckInPlayersRequest.md)
|
|
244
254
|
- [CheckInPlayersResponse](docs/CheckInPlayersResponse.md)
|
|
245
255
|
- [CheckedInPlayer](docs/CheckedInPlayer.md)
|
|
246
|
-
- [
|
|
247
|
-
- [
|
|
256
|
+
- [ClientAccountOnboardingRequest](docs/ClientAccountOnboardingRequest.md)
|
|
257
|
+
- [ClientAccountOnboardingResponse](docs/ClientAccountOnboardingResponse.md)
|
|
258
|
+
- [ClientAccountResponse](docs/ClientAccountResponse.md)
|
|
259
|
+
- [ClientMeResponse](docs/ClientMeResponse.md)
|
|
248
260
|
- [ClientOnboardingRequestBody](docs/ClientOnboardingRequestBody.md)
|
|
249
|
-
- [
|
|
250
|
-
- [
|
|
261
|
+
- [ClientOnboardingResponse](docs/ClientOnboardingResponse.md)
|
|
262
|
+
- [ClientRegisterRequestBody](docs/ClientRegisterRequestBody.md)
|
|
263
|
+
- [ClientRegisterResponse](docs/ClientRegisterResponse.md)
|
|
264
|
+
- [ClientSubscriptionResponse](docs/ClientSubscriptionResponse.md)
|
|
251
265
|
- [ClubDaySchedule](docs/ClubDaySchedule.md)
|
|
252
266
|
- [ClubEvent](docs/ClubEvent.md)
|
|
253
267
|
- [ClubGeneralSettingsResponse](docs/ClubGeneralSettingsResponse.md)
|
|
@@ -292,9 +306,6 @@ Class | Method | HTTP request | Description
|
|
|
292
306
|
- [CreateCourtForClub201Response](docs/CreateCourtForClub201Response.md)
|
|
293
307
|
- [CreateCourtRequest](docs/CreateCourtRequest.md)
|
|
294
308
|
- [CreateEventRequest](docs/CreateEventRequest.md)
|
|
295
|
-
- [CreateOnsiteInvoiceRequest](docs/CreateOnsiteInvoiceRequest.md)
|
|
296
|
-
- [CreateOnsiteInvoiceResponse](docs/CreateOnsiteInvoiceResponse.md)
|
|
297
|
-
- [CreateOnsiteInvoiceResponseInvoice](docs/CreateOnsiteInvoiceResponseInvoice.md)
|
|
298
309
|
- [CreatePlan201Response](docs/CreatePlan201Response.md)
|
|
299
310
|
- [CreateSportForClub201Response](docs/CreateSportForClub201Response.md)
|
|
300
311
|
- [CreateSportForClubRequest](docs/CreateSportForClubRequest.md)
|
|
@@ -309,8 +320,6 @@ Class | Method | HTTP request | Description
|
|
|
309
320
|
- [DeleteSportResponse](docs/DeleteSportResponse.md)
|
|
310
321
|
- [DeleteSubscriptionPlanResponse](docs/DeleteSubscriptionPlanResponse.md)
|
|
311
322
|
- [DiscountType](docs/DiscountType.md)
|
|
312
|
-
- [EventConflictCheckRequest](docs/EventConflictCheckRequest.md)
|
|
313
|
-
- [EventConflictCheckResponse](docs/EventConflictCheckResponse.md)
|
|
314
323
|
- [EventResponse](docs/EventResponse.md)
|
|
315
324
|
- [EventsListResponse](docs/EventsListResponse.md)
|
|
316
325
|
- [FavoriteClubMutationResponse](docs/FavoriteClubMutationResponse.md)
|
|
@@ -330,6 +339,7 @@ Class | Method | HTTP request | Description
|
|
|
330
339
|
- [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
|
|
331
340
|
- [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.md)
|
|
332
341
|
- [GetSlotsByClubById200Response](docs/GetSlotsByClubById200Response.md)
|
|
342
|
+
- [GetSubscriptionsHistory200Response](docs/GetSubscriptionsHistory200Response.md)
|
|
333
343
|
- [GoogleAuthRequestBody](docs/GoogleAuthRequestBody.md)
|
|
334
344
|
- [GoogleAuthResponse](docs/GoogleAuthResponse.md)
|
|
335
345
|
- [GoogleAuthResponseUser](docs/GoogleAuthResponseUser.md)
|
|
@@ -341,7 +351,6 @@ Class | Method | HTTP request | Description
|
|
|
341
351
|
- [InvoiceInfo](docs/InvoiceInfo.md)
|
|
342
352
|
- [InvoiceStatus](docs/InvoiceStatus.md)
|
|
343
353
|
- [JoinEventRequest](docs/JoinEventRequest.md)
|
|
344
|
-
- [JoinEventRequestPlayersPaymentMethodsInner](docs/JoinEventRequestPlayersPaymentMethodsInner.md)
|
|
345
354
|
- [JoinEventResponse](docs/JoinEventResponse.md)
|
|
346
355
|
- [LastSixMonthsTurnoverItem](docs/LastSixMonthsTurnoverItem.md)
|
|
347
356
|
- [LevelBySportEntry](docs/LevelBySportEntry.md)
|
|
@@ -450,6 +459,7 @@ Class | Method | HTTP request | Description
|
|
|
450
459
|
- [UpdatePlanRequest](docs/UpdatePlanRequest.md)
|
|
451
460
|
- [UpdateSportRequest](docs/UpdateSportRequest.md)
|
|
452
461
|
- [UpdateSubscriptionPlanForClub200Response](docs/UpdateSubscriptionPlanForClub200Response.md)
|
|
462
|
+
- [UpdateUserCreditsRequest](docs/UpdateUserCreditsRequest.md)
|
|
453
463
|
- [UpdateUserRequestBody](docs/UpdateUserRequestBody.md)
|
|
454
464
|
- [UpdateUserRequestBodyLevelBySportsInner](docs/UpdateUserRequestBodyLevelBySportsInner.md)
|
|
455
465
|
- [UserBookingsResponse](docs/UserBookingsResponse.md)
|