@tennac-booking/sdk 1.0.25 → 1.0.26

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.
@@ -61,6 +61,7 @@ docs/CreateClubRequest.md
61
61
  docs/CreateClubRoleRequestBody.md
62
62
  docs/CreateClubSettingsRequest.md
63
63
  docs/CreateCourtRequest.md
64
+ docs/CreateEventRequest.md
64
65
  docs/CreatePriceRequest.md
65
66
  docs/CreateSportRequest.md
66
67
  docs/CreateSubscriptionPlanRequest.md
@@ -68,9 +69,14 @@ docs/DailyTurnoverResponse.md
68
69
  docs/DeleteClub200Response.md
69
70
  docs/DeleteClubRole200Response.md
70
71
  docs/DeleteClubSettingsRequest.md
72
+ docs/DeleteEvent200Response.md
71
73
  docs/DeleteSlotsByClubInRange200Response.md
72
74
  docs/DeleteSlotsResponse.md
73
75
  docs/DeleteSport200Response.md
76
+ docs/Event.md
77
+ docs/EventBooking.md
78
+ docs/EventRegistrationRequest.md
79
+ docs/EventsApi.md
74
80
  docs/FavoriteClubResponse.md
75
81
  docs/FrequentlyPlayedWithItem.md
76
82
  docs/FrequentlyVisitedClubItem.md
@@ -81,6 +87,7 @@ docs/GetClubSettingsRequest.md
81
87
  docs/GetCourtsByClubAndSport200Response.md
82
88
  docs/GetLastSixMonthsTurnover200ResponseInner.md
83
89
  docs/GetNumberOfClubUsers200Response.md
90
+ docs/GetPublishedEventsByClubId200Response.md
84
91
  docs/GetUserRolesResponse.md
85
92
  docs/GetUserRolesResponseRolesInner.md
86
93
  docs/GetUserSubscriptionsResponse.md
@@ -103,6 +110,8 @@ docs/ManagerClubRolesApi.md
103
110
  docs/ManagerClubSlotsApi.md
104
111
  docs/ManagerClubSubscriptionsApi.md
105
112
  docs/ManagerClubsApi.md
113
+ docs/ManagerEventResponse.md
114
+ docs/ManagerEventsApi.md
106
115
  docs/ManagerSportsApi.md
107
116
  docs/MonthlyTurnoverResponse.md
108
117
  docs/NoShowFeeResponse.md
@@ -115,6 +124,7 @@ docs/ProfilePictureResponse.md
115
124
  docs/ProfileVisibilityResponse.md
116
125
  docs/RefreshTokenRequestBody.md
117
126
  docs/RefreshTokenResponse.md
127
+ docs/RegisterForEvent201Response.md
118
128
  docs/RegisterRequestBody.md
119
129
  docs/RestoreSubscriptionPlanForClub200Response.md
120
130
  docs/SetupPaymentMethodRequestBody.md
@@ -129,6 +139,8 @@ docs/SportsResponse.md
129
139
  docs/StaffClubAnalyticsApi.md
130
140
  docs/StaffClubBookingsApi.md
131
141
  docs/StaffClubsApi.md
142
+ docs/StaffEventResponse.md
143
+ docs/StaffEventsApi.md
132
144
  docs/StaffProfileApi.md
133
145
  docs/StripeStatus.md
134
146
  docs/SubscribeToClubRequestBody.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.25
1
+ ## @tennac-booking/sdk@1.0.26
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.25 --save
39
+ npm install @tennac-booking/sdk@1.0.26 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -72,6 +72,8 @@ Class | Method | HTTP request | Description
72
72
  *ClubAnalyticsApi* | [**getInvoices**](docs/ClubAnalyticsApi.md#getinvoices) | **GET** /api/clubs/invoices | Récupérer les factures du club courant
73
73
  *ClubAnalyticsApi* | [**getMonthlyTurnOver**](docs/ClubAnalyticsApi.md#getmonthlyturnover) | **GET** /api/analytics/monthlyTurnover | Chiffre d\'affaires mensuel (club courant)
74
74
  *ClubAnalyticsApi* | [**getYearlyTurnOver**](docs/ClubAnalyticsApi.md#getyearlyturnover) | **GET** /api/analytics/yearlyTurnover | Chiffre d\'affaires annuel (club courant)
75
+ *EventsApi* | [**getPublishedEventsByClubId**](docs/EventsApi.md#getpublishedeventsbyclubid) | **GET** /api/events | Get all published events for a club
76
+ *EventsApi* | [**registerForEvent**](docs/EventsApi.md#registerforevent) | **POST** /api/events/{eventId}/register | Register for an event
75
77
  *ManagerBookingsApi* | [**applyNoShowFee**](docs/ManagerBookingsApi.md#applynoshowfee) | **POST** /api/bookings/{bookingId}/apply-noshow-fee | Appliquer les frais de no-show
76
78
  *ManagerBookingsApi* | [**managerCancelBooking**](docs/ManagerBookingsApi.md#managercancelbooking) | **DELETE** /api/bookings/{bookingId}/manager-cancel | Annuler une réservation (gestionnaire)
77
79
  *ManagerClubCourtsApi* | [**createCourtForClub**](docs/ManagerClubCourtsApi.md#createcourtforclub) | **POST** /api/clubs/courts | Créer un terrain pour le club courant
@@ -95,6 +97,10 @@ Class | Method | HTTP request | Description
95
97
  *ManagerClubsApi* | [**getClubMembers**](docs/ManagerClubsApi.md#getclubmembers) | **GET** /api/clubs/members | Récupérer les membres du club courant
96
98
  *ManagerClubsApi* | [**getClubRoles**](docs/ManagerClubsApi.md#getclubroles) | **GET** /api/clubs/roles | Récupérer les rôles du club courant
97
99
  *ManagerClubsApi* | [**updateClubNoId**](docs/ManagerClubsApi.md#updateclubnoid) | **PUT** /api/clubs | Mettre à jour un club existant (club courant)
100
+ *ManagerEventsApi* | [**createEvent**](docs/ManagerEventsApi.md#createevent) | **POST** /api/events/manager/createEvent | Create a new event
101
+ *ManagerEventsApi* | [**deleteEvent**](docs/ManagerEventsApi.md#deleteevent) | **DELETE** /api/events/manager/deleteEvent/{eventId} | Delete an event
102
+ *ManagerEventsApi* | [**publishEvent**](docs/ManagerEventsApi.md#publishevent) | **PUT** /api/events/manager/publishEvent/{eventId} | Publish an event
103
+ *ManagerEventsApi* | [**unpublishEvent**](docs/ManagerEventsApi.md#unpublishevent) | **PUT** /api/events/manager/unpublishEvent/{eventId} | Unpublish an event
98
104
  *ManagerSportsApi* | [**createSport**](docs/ManagerSportsApi.md#createsport) | **POST** /api/sports | Créer un sport dans un club
99
105
  *ManagerSportsApi* | [**deleteSport**](docs/ManagerSportsApi.md#deletesport) | **DELETE** /api/sports/{id} | Supprimer un sport
100
106
  *ManagerSportsApi* | [**updateSport**](docs/ManagerSportsApi.md#updatesport) | **PUT** /api/sports/{id} | Mettre à jour un sport
@@ -103,6 +109,7 @@ Class | Method | HTTP request | Description
103
109
  *StaffClubBookingsApi* | [**getTenNextBookings**](docs/StaffClubBookingsApi.md#gettennextbookings) | **GET** /api/analytics/next-bookings | Get the ten next bookings for the current club
104
110
  *StaffClubsApi* | [**getClubInfos**](docs/StaffClubsApi.md#getclubinfos) | **GET** /api/clubs/infos | Get current club information
105
111
  *StaffClubsApi* | [**getClubSettings**](docs/StaffClubsApi.md#getclubsettings) | **GET** /api/club-settings | Récupère les paramètres d’un club
112
+ *StaffEventsApi* | [**getEventsByClub**](docs/StaffEventsApi.md#geteventsbyclub) | **GET** /api/events/staff/getEvents | Get all events for current club (including unpublished)
106
113
  *StaffProfileApi* | [**getUserRolesInClubs**](docs/StaffProfileApi.md#getuserrolesinclubs) | **GET** /api/users/me/roles | Récupère les rôles de l\'utilisateur dans les clubs
107
114
  *UserApi* | [**updateCustomer**](docs/UserApi.md#updatecustomer) | **PUT** /api/users/me/customer | Met à jour le Customer Stripe de l\'utilisateur
108
115
  *UserAuthenticationApi* | [**login**](docs/UserAuthenticationApi.md#login) | **POST** /api/users/login | Authentifie un utilisateur
@@ -193,6 +200,7 @@ Class | Method | HTTP request | Description
193
200
  - [CreateClubRoleRequestBody](docs/CreateClubRoleRequestBody.md)
194
201
  - [CreateClubSettingsRequest](docs/CreateClubSettingsRequest.md)
195
202
  - [CreateCourtRequest](docs/CreateCourtRequest.md)
203
+ - [CreateEventRequest](docs/CreateEventRequest.md)
196
204
  - [CreatePriceRequest](docs/CreatePriceRequest.md)
197
205
  - [CreateSportRequest](docs/CreateSportRequest.md)
198
206
  - [CreateSubscriptionPlanRequest](docs/CreateSubscriptionPlanRequest.md)
@@ -200,9 +208,13 @@ Class | Method | HTTP request | Description
200
208
  - [DeleteClub200Response](docs/DeleteClub200Response.md)
201
209
  - [DeleteClubRole200Response](docs/DeleteClubRole200Response.md)
202
210
  - [DeleteClubSettingsRequest](docs/DeleteClubSettingsRequest.md)
211
+ - [DeleteEvent200Response](docs/DeleteEvent200Response.md)
203
212
  - [DeleteSlotsByClubInRange200Response](docs/DeleteSlotsByClubInRange200Response.md)
204
213
  - [DeleteSlotsResponse](docs/DeleteSlotsResponse.md)
205
214
  - [DeleteSport200Response](docs/DeleteSport200Response.md)
215
+ - [Event](docs/Event.md)
216
+ - [EventBooking](docs/EventBooking.md)
217
+ - [EventRegistrationRequest](docs/EventRegistrationRequest.md)
206
218
  - [FavoriteClubResponse](docs/FavoriteClubResponse.md)
207
219
  - [FrequentlyPlayedWithItem](docs/FrequentlyPlayedWithItem.md)
208
220
  - [FrequentlyVisitedClubItem](docs/FrequentlyVisitedClubItem.md)
@@ -213,6 +225,7 @@ Class | Method | HTTP request | Description
213
225
  - [GetCourtsByClubAndSport200Response](docs/GetCourtsByClubAndSport200Response.md)
214
226
  - [GetLastSixMonthsTurnover200ResponseInner](docs/GetLastSixMonthsTurnover200ResponseInner.md)
215
227
  - [GetNumberOfClubUsers200Response](docs/GetNumberOfClubUsers200Response.md)
228
+ - [GetPublishedEventsByClubId200Response](docs/GetPublishedEventsByClubId200Response.md)
216
229
  - [GetUserRolesResponse](docs/GetUserRolesResponse.md)
217
230
  - [GetUserRolesResponseRolesInner](docs/GetUserRolesResponseRolesInner.md)
218
231
  - [GetUserSubscriptionsResponse](docs/GetUserSubscriptionsResponse.md)
@@ -229,6 +242,7 @@ Class | Method | HTTP request | Description
229
242
  - [ManagerCancelBookingRequest](docs/ManagerCancelBookingRequest.md)
230
243
  - [ManagerCancelBookingResponse](docs/ManagerCancelBookingResponse.md)
231
244
  - [ManagerCancelBookingResponseBooking](docs/ManagerCancelBookingResponseBooking.md)
245
+ - [ManagerEventResponse](docs/ManagerEventResponse.md)
232
246
  - [MonthlyTurnoverResponse](docs/MonthlyTurnoverResponse.md)
233
247
  - [NoShowFeeResponse](docs/NoShowFeeResponse.md)
234
248
  - [NoShowFeeResponseCaptureResultsInner](docs/NoShowFeeResponseCaptureResultsInner.md)
@@ -240,6 +254,7 @@ Class | Method | HTTP request | Description
240
254
  - [ProfileVisibilityResponse](docs/ProfileVisibilityResponse.md)
241
255
  - [RefreshTokenRequestBody](docs/RefreshTokenRequestBody.md)
242
256
  - [RefreshTokenResponse](docs/RefreshTokenResponse.md)
257
+ - [RegisterForEvent201Response](docs/RegisterForEvent201Response.md)
243
258
  - [RegisterRequestBody](docs/RegisterRequestBody.md)
244
259
  - [RestoreSubscriptionPlanForClub200Response](docs/RestoreSubscriptionPlanForClub200Response.md)
245
260
  - [SetupPaymentMethodRequestBody](docs/SetupPaymentMethodRequestBody.md)
@@ -251,6 +266,7 @@ Class | Method | HTTP request | Description
251
266
  - [Sport](docs/Sport.md)
252
267
  - [SportResponse](docs/SportResponse.md)
253
268
  - [SportsResponse](docs/SportsResponse.md)
269
+ - [StaffEventResponse](docs/StaffEventResponse.md)
254
270
  - [StripeStatus](docs/StripeStatus.md)
255
271
  - [SubscribeToClubRequestBody](docs/SubscribeToClubRequestBody.md)
256
272
  - [SubscriptionPlan](docs/SubscriptionPlan.md)