@tennac-booking/sdk 1.0.89 → 1.0.90
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 +265 -247
- package/README.md +37 -12
- package/api.ts +2709 -1368
- package/dist/api.d.ts +1563 -557
- package/dist/api.js +739 -199
- package/dist/esm/api.d.ts +1563 -557
- package/dist/esm/api.js +734 -199
- package/docs/BookingPopulated.md +3 -3
- package/docs/ClubAnalyticsStaffApi.md +173 -0
- package/docs/{AddCreditsToCustomer200Response.md → ClubDaySchedule.md} +7 -5
- package/docs/ClubGeneralSettingsResponse.md +32 -0
- package/docs/ClubHoursSettingsResponse.md +22 -0
- package/docs/ClubLocationSettings.md +26 -0
- package/docs/ClubPlayerBookingItem.md +36 -0
- package/docs/ClubPlayerBookingsPagination.md +28 -0
- package/docs/ClubPlayerBookingsResponse.md +24 -0
- package/docs/ClubPlayerDetailResponse.md +46 -0
- package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponse.md +42 -0
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
- package/docs/ClubPlayerSubscriptionSummary.md +28 -0
- package/docs/ClubPresentationSettingsResponse.md +26 -0
- package/docs/ClubPricingPeriodResponse.md +30 -0
- package/docs/ClubReservationSettingsResponse.md +28 -0
- package/docs/ClubSettingsManagerApi.md +54 -60
- package/docs/ClubSettingsStaffApi.md +183 -0
- package/docs/ClubWeeklySchedule.md +32 -0
- package/docs/ClubsManagerApi.md +52 -58
- package/docs/ClubsStaffApi.md +44 -0
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventResponse.md +1 -1
- package/docs/PartialClubWeeklySchedule.md +33 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
- package/docs/UpdateClubHoursSettingsRequest.md +22 -0
- package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
- package/docs/UpdateClubReservationSettingsRequest.md +28 -0
- package/docs/UpdateEventRequest.md +1 -1
- package/package.json +1 -1
- package/docs/AddCreditsToCustomerRequest.md +0 -22
- package/docs/ClubSettingsResponse.md +0 -39
- package/docs/CreateClubSettingsRequest.md +0 -34
- package/docs/DeleteClubSettingsResponse.md +0 -20
- package/docs/EventResponseCourtsInner.md +0 -18
- package/docs/UpdateClubSettingsRequest.md +0 -32
package/README.md
CHANGED
|
@@ -67,6 +67,9 @@ Class | Method | HTTP request | Description
|
|
|
67
67
|
*ClubAnalyticsApi* | [**getMostLikedClub**](docs/ClubAnalyticsApi.md#getmostlikedclub) | **GET** /api/club-analytics/most-liked-clubs |
|
|
68
68
|
*ClubAnalyticsApi* | [**getPopularClubs**](docs/ClubAnalyticsApi.md#getpopularclubs) | **GET** /api/club-analytics/popular-clubs |
|
|
69
69
|
*ClubAnalyticsStaffApi* | [**getAnalyticsBySport**](docs/ClubAnalyticsStaffApi.md#getanalyticsbysport) | **GET** /api/club-analytics/sport/{sportId}/analytics |
|
|
70
|
+
*ClubAnalyticsStaffApi* | [**getClubPlayerBookingsById**](docs/ClubAnalyticsStaffApi.md#getclubplayerbookingsbyid) | **GET** /api/club-analytics/players/{playerId}/bookings |
|
|
71
|
+
*ClubAnalyticsStaffApi* | [**getClubPlayerById**](docs/ClubAnalyticsStaffApi.md#getclubplayerbyid) | **GET** /api/club-analytics/players/{playerId} |
|
|
72
|
+
*ClubAnalyticsStaffApi* | [**getClubPlayerStatisticsById**](docs/ClubAnalyticsStaffApi.md#getclubplayerstatisticsbyid) | **GET** /api/club-analytics/players/{playerId}/statistics |
|
|
70
73
|
*ClubAnalyticsStaffApi* | [**getClubPlayers**](docs/ClubAnalyticsStaffApi.md#getclubplayers) | **GET** /api/club-analytics/players |
|
|
71
74
|
*ClubAnalyticsStaffApi* | [**getDailyTurnOver**](docs/ClubAnalyticsStaffApi.md#getdailyturnover) | **GET** /api/club-analytics/daily-turnover |
|
|
72
75
|
*ClubAnalyticsStaffApi* | [**getGenderPercentage**](docs/ClubAnalyticsStaffApi.md#getgenderpercentage) | **GET** /api/club-analytics/gender-percentage |
|
|
@@ -82,10 +85,14 @@ Class | Method | HTTP request | Description
|
|
|
82
85
|
*ClubRolesStaffApi* | [**getAllClubRoles**](docs/ClubRolesStaffApi.md#getallclubroles) | **GET** /api/club-roles |
|
|
83
86
|
*ClubRolesStaffApi* | [**getClubRoleById**](docs/ClubRolesStaffApi.md#getclubrolebyid) | **GET** /api/club-roles/{id} |
|
|
84
87
|
*ClubRolesStaffApi* | [**getUserRolesInClubs**](docs/ClubRolesStaffApi.md#getuserrolesinclubs) | **GET** /api/club-roles/me/roles |
|
|
85
|
-
*ClubSettingsManagerApi* | [**
|
|
86
|
-
*ClubSettingsManagerApi* | [**
|
|
87
|
-
*ClubSettingsManagerApi* | [**
|
|
88
|
-
*ClubSettingsManagerApi* | [**
|
|
88
|
+
*ClubSettingsManagerApi* | [**updateClubGeneralSettings**](docs/ClubSettingsManagerApi.md#updateclubgeneralsettings) | **PUT** /api/club-settings/settings/general |
|
|
89
|
+
*ClubSettingsManagerApi* | [**updateHoursSettings**](docs/ClubSettingsManagerApi.md#updatehourssettings) | **PUT** /api/club-settings/hours |
|
|
90
|
+
*ClubSettingsManagerApi* | [**updatePresentationSettings**](docs/ClubSettingsManagerApi.md#updatepresentationsettings) | **PUT** /api/club-settings/presentation |
|
|
91
|
+
*ClubSettingsManagerApi* | [**updateReservationSettings**](docs/ClubSettingsManagerApi.md#updatereservationsettings) | **PUT** /api/club-settings/reservation |
|
|
92
|
+
*ClubSettingsStaffApi* | [**getClubGeneralSettings**](docs/ClubSettingsStaffApi.md#getclubgeneralsettings) | **GET** /api/club-settings/settings/general |
|
|
93
|
+
*ClubSettingsStaffApi* | [**getHoursSettings**](docs/ClubSettingsStaffApi.md#gethourssettings) | **GET** /api/club-settings/hours |
|
|
94
|
+
*ClubSettingsStaffApi* | [**getPresentationSettings**](docs/ClubSettingsStaffApi.md#getpresentationsettings) | **GET** /api/club-settings/presentation |
|
|
95
|
+
*ClubSettingsStaffApi* | [**getReservationSettings**](docs/ClubSettingsStaffApi.md#getreservationsettings) | **GET** /api/club-settings/reservation |
|
|
89
96
|
*ClubsApi* | [**getActiveClubs**](docs/ClubsApi.md#getactiveclubs) | **GET** /api/clubs/active |
|
|
90
97
|
*ClubsApi* | [**getAllClubs**](docs/ClubsApi.md#getallclubs) | **GET** /api/clubs |
|
|
91
98
|
*ClubsApi* | [**getAvailableSlotsByClubById**](docs/ClubsApi.md#getavailableslotsbyclubbyid) | **GET** /api/clubs/{clubID}/availableSlots |
|
|
@@ -99,7 +106,6 @@ Class | Method | HTTP request | Description
|
|
|
99
106
|
*ClubsApi* | [**getSlotsByClubById**](docs/ClubsApi.md#getslotsbyclubbyid) | **GET** /api/clubs/{id}/slots |
|
|
100
107
|
*ClubsApi* | [**getSportsByClubById**](docs/ClubsApi.md#getsportsbyclubbyid) | **GET** /api/clubs/{id}/sports |
|
|
101
108
|
*ClubsManagerApi* | [**addClubMember**](docs/ClubsManagerApi.md#addclubmember) | **POST** /api/clubs/members |
|
|
102
|
-
*ClubsManagerApi* | [**addCreditsToCustomer**](docs/ClubsManagerApi.md#addcreditstocustomer) | **POST** /api/clubs/customers/{userId}/credits |
|
|
103
109
|
*ClubsManagerApi* | [**archivePriceForSubscriptionPlan**](docs/ClubsManagerApi.md#archivepriceforsubscriptionplan) | **DELETE** /api/clubs/subscription-plans/{priceId}/archive-price |
|
|
104
110
|
*ClubsManagerApi* | [**createActuality**](docs/ClubsManagerApi.md#createactuality) | **POST** /api/clubs/actualities |
|
|
105
111
|
*ClubsManagerApi* | [**createCourtForClub**](docs/ClubsManagerApi.md#createcourtforclub) | **POST** /api/clubs/courts |
|
|
@@ -115,11 +121,13 @@ Class | Method | HTTP request | Description
|
|
|
115
121
|
*ClubsManagerApi* | [**updateActuality**](docs/ClubsManagerApi.md#updateactuality) | **PUT** /api/clubs/actualities/{actualityId} |
|
|
116
122
|
*ClubsManagerApi* | [**updateClub**](docs/ClubsManagerApi.md#updateclub) | **PUT** /api/clubs |
|
|
117
123
|
*ClubsManagerApi* | [**updateClubInfos**](docs/ClubsManagerApi.md#updateclubinfos) | **PUT** /api/clubs/infos |
|
|
124
|
+
*ClubsManagerApi* | [**updateClubPresentationSettings**](docs/ClubsManagerApi.md#updateclubpresentationsettings) | **PUT** /api/clubs/settings/presentation |
|
|
118
125
|
*ClubsManagerApi* | [**updateCourt**](docs/ClubsManagerApi.md#updatecourt) | **PUT** /api/clubs/courts/{courtId} |
|
|
119
126
|
*ClubsManagerApi* | [**updateSubscriptionPlanForClub**](docs/ClubsManagerApi.md#updatesubscriptionplanforclub) | **PUT** /api/clubs/subscription-plans/{priceId} |
|
|
120
127
|
*ClubsStaffApi* | [**getActualities**](docs/ClubsStaffApi.md#getactualities) | **GET** /api/clubs/staff/actualities |
|
|
121
128
|
*ClubsStaffApi* | [**getClubInfos**](docs/ClubsStaffApi.md#getclubinfos) | **GET** /api/clubs/infos |
|
|
122
129
|
*ClubsStaffApi* | [**getClubMembers**](docs/ClubsStaffApi.md#getclubmembers) | **GET** /api/clubs/members |
|
|
130
|
+
*ClubsStaffApi* | [**getClubPresentationSettings**](docs/ClubsStaffApi.md#getclubpresentationsettings) | **GET** /api/clubs/settings/presentation |
|
|
123
131
|
*ClubsStaffApi* | [**getClubRoles**](docs/ClubsStaffApi.md#getclubroles) | **GET** /api/clubs/roles |
|
|
124
132
|
*ClubsStaffApi* | [**getCourtsByClub**](docs/ClubsStaffApi.md#getcourtsbyclub) | **GET** /api/clubs/courts |
|
|
125
133
|
*ClubsStaffApi* | [**getInvoices**](docs/ClubsStaffApi.md#getinvoices) | **GET** /api/clubs/invoices |
|
|
@@ -191,8 +199,6 @@ Class | Method | HTTP request | Description
|
|
|
191
199
|
|
|
192
200
|
- [AddClubMember201Response](docs/AddClubMember201Response.md)
|
|
193
201
|
- [AddClubMemberRequest](docs/AddClubMemberRequest.md)
|
|
194
|
-
- [AddCreditsToCustomer200Response](docs/AddCreditsToCustomer200Response.md)
|
|
195
|
-
- [AddCreditsToCustomerRequest](docs/AddCreditsToCustomerRequest.md)
|
|
196
202
|
- [AddOrganizationRequest](docs/AddOrganizationRequest.md)
|
|
197
203
|
- [BookingAnalyticsResponse](docs/BookingAnalyticsResponse.md)
|
|
198
204
|
- [BookingClubInfo](docs/BookingClubInfo.md)
|
|
@@ -221,26 +227,43 @@ Class | Method | HTTP request | Description
|
|
|
221
227
|
- [CheckInPlayersRequest](docs/CheckInPlayersRequest.md)
|
|
222
228
|
- [CheckInPlayersResponse](docs/CheckInPlayersResponse.md)
|
|
223
229
|
- [CheckedInPlayer](docs/CheckedInPlayer.md)
|
|
230
|
+
- [ClubDaySchedule](docs/ClubDaySchedule.md)
|
|
231
|
+
- [ClubGeneralSettingsResponse](docs/ClubGeneralSettingsResponse.md)
|
|
232
|
+
- [ClubHoursSettingsResponse](docs/ClubHoursSettingsResponse.md)
|
|
233
|
+
- [ClubLocationSettings](docs/ClubLocationSettings.md)
|
|
224
234
|
- [ClubMemberResponse](docs/ClubMemberResponse.md)
|
|
225
235
|
- [ClubMemberResponseUser](docs/ClubMemberResponseUser.md)
|
|
236
|
+
- [ClubPlayerBookingItem](docs/ClubPlayerBookingItem.md)
|
|
237
|
+
- [ClubPlayerBookingsPagination](docs/ClubPlayerBookingsPagination.md)
|
|
238
|
+
- [ClubPlayerBookingsResponse](docs/ClubPlayerBookingsResponse.md)
|
|
239
|
+
- [ClubPlayerDetailResponse](docs/ClubPlayerDetailResponse.md)
|
|
240
|
+
- [ClubPlayerDetailResponseSportsLevelsInner](docs/ClubPlayerDetailResponseSportsLevelsInner.md)
|
|
226
241
|
- [ClubPlayerResponse](docs/ClubPlayerResponse.md)
|
|
242
|
+
- [ClubPlayerStatisticsResponse](docs/ClubPlayerStatisticsResponse.md)
|
|
243
|
+
- [ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner](docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md)
|
|
244
|
+
- [ClubPlayerStatisticsResponseFavoriteClub](docs/ClubPlayerStatisticsResponseFavoriteClub.md)
|
|
245
|
+
- [ClubPlayerStatisticsResponseMostPlayedClub](docs/ClubPlayerStatisticsResponseMostPlayedClub.md)
|
|
246
|
+
- [ClubPlayerStatisticsResponseMostPlayedPartnersInner](docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md)
|
|
247
|
+
- [ClubPlayerSubscriptionSummary](docs/ClubPlayerSubscriptionSummary.md)
|
|
248
|
+
- [ClubPresentationSettingsResponse](docs/ClubPresentationSettingsResponse.md)
|
|
249
|
+
- [ClubPricingPeriodResponse](docs/ClubPricingPeriodResponse.md)
|
|
250
|
+
- [ClubReservationSettingsResponse](docs/ClubReservationSettingsResponse.md)
|
|
227
251
|
- [ClubResponse](docs/ClubResponse.md)
|
|
228
252
|
- [ClubResponseCreatedAt](docs/ClubResponseCreatedAt.md)
|
|
229
253
|
- [ClubResponseLocation](docs/ClubResponseLocation.md)
|
|
230
254
|
- [ClubResponseLocationCoordinates](docs/ClubResponseLocationCoordinates.md)
|
|
231
255
|
- [ClubResponseUpdatedAt](docs/ClubResponseUpdatedAt.md)
|
|
232
256
|
- [ClubRoleResponse](docs/ClubRoleResponse.md)
|
|
233
|
-
- [ClubSettingsResponse](docs/ClubSettingsResponse.md)
|
|
234
257
|
- [ClubSubscriptions](docs/ClubSubscriptions.md)
|
|
235
258
|
- [ClubSummary](docs/ClubSummary.md)
|
|
236
259
|
- [ClubUserCountResponse](docs/ClubUserCountResponse.md)
|
|
260
|
+
- [ClubWeeklySchedule](docs/ClubWeeklySchedule.md)
|
|
237
261
|
- [CourtInfo](docs/CourtInfo.md)
|
|
238
262
|
- [CourtResponse](docs/CourtResponse.md)
|
|
239
263
|
- [CourtStatus](docs/CourtStatus.md)
|
|
240
264
|
- [CreateBookingRequest](docs/CreateBookingRequest.md)
|
|
241
265
|
- [CreateClubRequest](docs/CreateClubRequest.md)
|
|
242
266
|
- [CreateClubRoleRequest](docs/CreateClubRoleRequest.md)
|
|
243
|
-
- [CreateClubSettingsRequest](docs/CreateClubSettingsRequest.md)
|
|
244
267
|
- [CreateCourtForClub201Response](docs/CreateCourtForClub201Response.md)
|
|
245
268
|
- [CreateCourtRequest](docs/CreateCourtRequest.md)
|
|
246
269
|
- [CreateEventRequest](docs/CreateEventRequest.md)
|
|
@@ -253,14 +276,12 @@ Class | Method | HTTP request | Description
|
|
|
253
276
|
- [CreatorChargeResult](docs/CreatorChargeResult.md)
|
|
254
277
|
- [DailyTurnoverResponse](docs/DailyTurnoverResponse.md)
|
|
255
278
|
- [DeleteClubRoleResponse](docs/DeleteClubRoleResponse.md)
|
|
256
|
-
- [DeleteClubSettingsResponse](docs/DeleteClubSettingsResponse.md)
|
|
257
279
|
- [DeleteCourtResponse](docs/DeleteCourtResponse.md)
|
|
258
280
|
- [DeleteEventResponse](docs/DeleteEventResponse.md)
|
|
259
281
|
- [DeleteSportResponse](docs/DeleteSportResponse.md)
|
|
260
282
|
- [DeleteSubscriptionPlanResponse](docs/DeleteSubscriptionPlanResponse.md)
|
|
261
283
|
- [DiscountType](docs/DiscountType.md)
|
|
262
284
|
- [EventResponse](docs/EventResponse.md)
|
|
263
|
-
- [EventResponseCourtsInner](docs/EventResponseCourtsInner.md)
|
|
264
285
|
- [EventsListResponse](docs/EventsListResponse.md)
|
|
265
286
|
- [FavoriteClubMutationResponse](docs/FavoriteClubMutationResponse.md)
|
|
266
287
|
- [FavoriteClubRequestBody](docs/FavoriteClubRequestBody.md)
|
|
@@ -303,6 +324,7 @@ Class | Method | HTTP request | Description
|
|
|
303
324
|
- [NoShowFeeResponse](docs/NoShowFeeResponse.md)
|
|
304
325
|
- [OffPeakRule](docs/OffPeakRule.md)
|
|
305
326
|
- [PartialClubResponse](docs/PartialClubResponse.md)
|
|
327
|
+
- [PartialClubWeeklySchedule](docs/PartialClubWeeklySchedule.md)
|
|
306
328
|
- [PasswordResetRequestBody](docs/PasswordResetRequestBody.md)
|
|
307
329
|
- [PaymentByPlayerInfo](docs/PaymentByPlayerInfo.md)
|
|
308
330
|
- [PaymentMethod](docs/PaymentMethod.md)
|
|
@@ -375,11 +397,14 @@ Class | Method | HTTP request | Description
|
|
|
375
397
|
- [SurfaceType](docs/SurfaceType.md)
|
|
376
398
|
- [Team](docs/Team.md)
|
|
377
399
|
- [UpdateActuality200Response](docs/UpdateActuality200Response.md)
|
|
400
|
+
- [UpdateClubGeneralSettingsRequest](docs/UpdateClubGeneralSettingsRequest.md)
|
|
401
|
+
- [UpdateClubHoursSettingsRequest](docs/UpdateClubHoursSettingsRequest.md)
|
|
402
|
+
- [UpdateClubPresentationSettingsRequest](docs/UpdateClubPresentationSettingsRequest.md)
|
|
378
403
|
- [UpdateClubRequest](docs/UpdateClubRequest.md)
|
|
379
404
|
- [UpdateClubRequestLocation](docs/UpdateClubRequestLocation.md)
|
|
380
405
|
- [UpdateClubRequestLocationCoordinates](docs/UpdateClubRequestLocationCoordinates.md)
|
|
406
|
+
- [UpdateClubReservationSettingsRequest](docs/UpdateClubReservationSettingsRequest.md)
|
|
381
407
|
- [UpdateClubRoleRequest](docs/UpdateClubRoleRequest.md)
|
|
382
|
-
- [UpdateClubSettingsRequest](docs/UpdateClubSettingsRequest.md)
|
|
383
408
|
- [UpdateCustomerRequestBody](docs/UpdateCustomerRequestBody.md)
|
|
384
409
|
- [UpdateCustomerResponse](docs/UpdateCustomerResponse.md)
|
|
385
410
|
- [UpdateEventRequest](docs/UpdateEventRequest.md)
|